3
votes
1answer
31 views

SIGKILLing after a grace period

I've seen a lot of process managers that try to do this. It was my understanding that you should only use SIGTERM to kill a process. The process could take an unknown amount of time to clean up after ...
2
votes
1answer
91 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
1
vote
0answers
94 views

How to determine which init system is used? [duplicate]

Is there a way to determine which init system is being used in Linux? (such as sysvinit, upstart, systemd, etc.) I don't care if it can be programmatically determined, I just want to know how I can ...
0
votes
0answers
36 views

Bash script to identify which init system the system currently using [duplicate]

I have to create a script that will mount my /usr folder as aufs. I compressed it using squashfs. I've managed to install a working systemd init in ubuntu which I am currently using. Because the ...
0
votes
2answers
216 views

How to delete (not disable/mask) a unit in Systemd?

Sometimes I make a new unit in mistake, and then I have to go to /etc/systemd to look for the unit and delete all of its associated files/scripts/links/etc. Is there a better way? Like a single ...
1
vote
2answers
205 views

Once the system has been started, is there any advantage in using systemd?

I'm running Gentoo with the default SysV-style OpenRC init system. The boot time is short enough to not bother me. Is there any reason to try systemd?
19
votes
1answer
1k views

How does systemd survive a kill -9?

Between the recent "Why does 'kill -9 0' end my console session" and "How to get a kernel panic" questions, I got a bur under my saddle and tried kill -9 1 on a mostly up-to-date Arch linux laptop. I ...
5
votes
2answers
386 views

Why is a service being started if it isn't mentioned in /etc/init.d?

After a clean install of Fedora 17 and distcc-server, I did a service distccd start, which completed successfully. man service indicates that it would merely be running the distccd script at ...
1
vote
2answers
1k views

inittab equivalent in fedora 15?

I have just installed Fedora 15 on my laptop. I want to study /etc/inittab as I studied it in RedHat 9. I don't see any script in /etc/inittab. Also , the way the default runlevel can be changed in ...
60
votes
4answers
24k views

What are the pros/cons of Upstart and systemd?

It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?