Questions tagged [sysvinit]
21 questions
55
votes
8 answers
Start a systemd service inside chroot from a non systemd based rootfs
With init scripts (or with openrc) I alway could run services from a different installation root.
but when I run chroot /somepath/to_root /usr/bin/systemctl start someservice I got:
Running in chroot, ignoring request.
Is there a way to force…
user2284570
- 1,799
- 7
- 35
- 62
6
votes
2 answers
shutdown: /run/initctl: No such file or directory
I updated my server to Debian wheezy and played around with it. After a while I wanted to restart and encountered the error
shutdown: /run/initctl: No such file or directory
I searched on the web and found out that initctl comes from upstart. Even…
henje
- 161
- 1
- 1
- 3
6
votes
2 answers
Bash script to wait for Virtualbox VM shutdown?
Virtualbox has the ability to issue a command to a running vm:
vboxmanage controlvm NameOfRunningVM acpipowerbutton
However this command returns immediately which results in non-graceful shutdown for my situation.
The situation: I plan on using…
Trevor Boyd Smith
- 2,635
- 11
- 42
- 60
4
votes
4 answers
ZFS pool disappears after reboot on Debian 8
I'm getting started with ZFS and I got the basics down, but I'm having an issue with keeping it running.
Pools are created, mounts are created, I'm able to save data and see disk activity… things are looking good. However, after rebooting zpool list…
Peter B
- 333
- 2
- 11
3
votes
0 answers
Shutdown hangs when cryptsetup try to close partition
I have two laptop with Devuan installed. When shutting down it hangs for about one minute when cryptsetup try to close the encrypted partitions.
Messages:
Stopping remaining crypto disks...sda5_crypt (busy)... failed.
Stopping early crypto…
dblouis
- 341
- 1
- 3
- 13
3
votes
2 answers
How to find out which service manager is installed on my Linux OS?
I know that my Linux installation comes with one of the service manager implementations. It could be either Systemd, Upstart, or any of the others.
So, my question is how can I find out which one of those is installed on my Linux system?…
feeling_lonely
- 249
- 1
- 4
- 15
2
votes
1 answer
Problems with (local) mount at boot (sysvinit)
During boot, some/many mount points in /etc/fstab are not mounted.
The /etc/mtab file contains these mount points - my understanding is that the system believes the filesystems are already mounted.
Modifying my /etc/rc.d/init.d/mountfs script (taken…
chrisb2244
- 317
- 4
- 14
2
votes
1 answer
Running a command at startup
How would I go about running a command at startup in ArchLinux using Systemd like rc.local in Sysv?
Jordan Doyle
- 137
- 1
- 8
2
votes
1 answer
How to re-enable sysvinit on Debian
So we had a couple of Arch guys hack a Debian install up for an embedded system (that is no longer so embedded) and they disabled Sysvinit in favour of using multiple linked /etc/rc.* files. Unfortunately I can't do a fresh install at this point in…
hamstar
- 529
- 8
- 11
1
vote
1 answer
I have a SysV init script on Fedora 18. How can I make it start after the network is ready?
I have a SysV init script on Fedora 18. Fedora 18 uses systemd (and apparently, there is no way to switch back to SysV).
My script requires the network to be ready.
That is, I must be able to reach another host on the network via ping by…
mfichman
- 11
- 2
1
vote
1 answer
How to execute ipp-over-usb at startup?
I using a non-systemd distribution of Linux (sysvint) am using CUPS for printing. However, the ipp-usb program doesn't execute at startup by default. Somehow I suspect it is because I am not using systemd. What is the appropriate way to set it up to…
Mikkel Rev
- 179
- 1
- 8
1
vote
0 answers
How do I start a daemon on startup with SysV init?
I use MX Linux, which uses SysV init.
Some softwares (like mullvad-vpn in my case) made for SystemD have their daemons not launching on startup. I can launch it with sudo service mullvad-daemon start but I can't find how to have it to be…
Alva Vially
- 11
- 3
1
vote
1 answer
How to make sysv service dependent on a systemd service?
I have installed distribution packages of Redis and Tomcat on Ubuntu 18.04.
I'm trying to start the Tomcat only after a successful start of Redis, but so far no luck.
The tomcat8 package has sysv init script in /etc/init.d/tomcat8 and I see the…
elkarel
- 113
- 6
1
vote
0 answers
Constructing a service/daemon using runit
I need to make a time syncing service for some SysV-based Linux system, but I want to use Ubuntu as a development environment. For this and some other reasons I've decided to use runit as a universal and convenient tool. But here are some troubles I…
Dmitry Ilukhin
- 111
- 3
0
votes
1 answer
sysvinit postfix startup script - only called with "status" argument
I'm having a problem with postfix not starting up on boot. boot.log doesn't show any information whatsoever. Starting the postfix service afterwards works as expected.
I added debug information to the startup script. Following lines were added:
exec…
Klaus
- 126
- 5