Questions tagged [sysvinit]
SysVinit is a set of programs and scripts that control the startup, running and shutdown of all other programs.
476 questions
0
votes
0
answers
66
views
Docker attach on a container running /sbin/init
I run a Cisco XRd docker container on my Linux Ubuntu host. I run the image using docker run -it -d command. The image's entrypoint is /usr/sbin/init, indeed:
root@eve-ng-6:/opt/unetlab/html# docker ...
1
vote
2
answers
232
views
systemd-random-seed.service takes a lot of time to start / timeout
I have a Linux device with several services of my own.
Kernel: 4.14.151
systemd: systemd 249 (249.11-0ubuntu3.12)
My services are written as sysvinit services and automatically generated as systemd ...
2
votes
1
answer
177
views
start-stop-daemon does not start because: "process already running"
I have an init script to start qbittorrent-nox on my server. It works fine when I first start the server, but if I shut down the qbittorrent-nox process (service qbittorrent stop) it will not start ...
0
votes
1
answer
248
views
Why can I not upgrade sysv-rc-conf on Debian as it's held back? (is there an alternative tool)
Why was sysv-rc-conf removed from the Debian repos? Is there for example a better alternative with a GUI?
When I run sudo apt-get upgrade it's the only package held back:
The following packages have ...
0
votes
1
answer
156
views
Debian Bookworm (SysV init): ISC dhcpd hangs during boot
I have a VM that is acting as a DC for a Windows VM, however, due to some shenanigans that systemd had been playing repeatedly (the boot process would hang inexplicably with the CPU load going ...
0
votes
1
answer
70
views
Why does KDE's Discover and Apper show "orphan-sysvinit-scripts" should be updated but not apt-get upgrade --- should it be installed?
After upgrading to Debain12 with KDE, the package managers Apper and Discover show that a package "orphan-sysvinit-scripts" should be updated.
But I don't have that package installed so why ...
0
votes
1
answer
59
views
What approach is recommended for defining important startup processes? (Independent of shell)
Note on formatting
I've gone back and added bold text to my specific questions, because I feel the details have lead to the question getting lost. However, the details are kind of necessary to ...
0
votes
1
answer
135
views
Apache refuses to start claiming a wrong PID
I'm facing an odd problem on a Buildroot environment for RPi3.
I have this init.d service to start apache2 (version 2.4.57):
# cat /etc/init.d/S50apache
#!/bin/sh
case "$1" in
start|...
1
vote
0
answers
90
views
Manual removal of Nvidia driver fails due to init and busybox
I'm using PorteuX (Slackware based) and in the shutdown/reboot process I want to unmount everything, which works fine unless I boot with Nvidia drivers. In this case, just before reboot -f step if I ...
4
votes
2
answers
2k
views
ssh connection hangs on server shutdown / restart
When I shut down or restart my server while logged in via SSH, the SSH connection hangs or freezes. The terminal becomes completely unresponsive, and it takes up to one minute for the SSH session to ...
1
vote
0
answers
2k
views
How to start and manage a process in busybox inittab, and rcS as early as possible?
I am working on an embedded Linux system where busybox is being used as init.
I have 2 requirements on running my application.
My application needs to start as early as possible;
It needs to be ...
0
votes
1
answer
440
views
Stop not called for init rc.d service
I have a very simple SysVinit service in /etc/rc.d:
#!/bin/bash
PIDFILE="/var/run/test.pid"
status() {
if [ -f "$PIDFILE" ]; then
echo 'Service running'
return 1
fi
...
1
vote
0
answers
425
views
init.d script for a foreground program
I have to write a portal init.d script for a program that runs on foreground (no daemon option; no pidfile option) and logs to stdout/stderr.
The program should log into syslog service. The program ...
1
vote
1
answer
429
views
Application does not start from inittab
I am trying to launch an application via inittab in an embedded system. The desire to do this via inittab rather than through an init.d script is to avail of respawn. There is no systemd on this ...
0
votes
0
answers
307
views
systemd service
I'm wondering how services launched by means of systemd working.
When system was running by means of System V init, there was scripts under runlevels (/etc/rc"level".d/) which described ...