0
votes
1answer
120 views

init is the parent for a script: how can I find what initially launched the script?

The box in question is RHEL/CentOS 5.5 x86_64. It has been up for 80+ days. A custom watchdog script exists on the server which performs a variety of tasks and this particular script accepts a few ...
0
votes
2answers
137 views

Correct way to treat iptables init failure?

I'm initializing my iptables rules via /etc/network/if-pre-up.d/iptables, using iptables-restore. This works fine, but I'm a bit worried about what would happen, if that script failed for some reason ...
2
votes
2answers
480 views

Explain steps RedHat distros take to boot into Emergency mode?

Please, I am not looking for a rehash of what's stated in RedHat's documentation regarding emergency mode. I would like to know what steps are involved from the time grub hands off to the kernel to ...
1
vote
2answers
520 views

init.d not executing stop command on reboot

I have an init.d script to start a Python script: #!/bin/sh # ############################################################################### # sd-agent # # Written by Boxed Ice ...
6
votes
1answer
6k views

What are the correct permissions for /etc/init.d/ scripts?

What are the correct permissions for /etc/init.d/ scripts and what chmod options sets them?