[CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?
R P Herrold
herrold at owlriver.com
Wed Oct 5 05:54:11 UTC 2011
On Tue, 4 Oct 2011, Johnny Tan wrote:
> Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init.
>
> Likely, you will want this in /etc/init/ -- note!, not the same as
> /etc/init.d/
I don't know WHAT you are looking at, if anything, but it is
not a CentOS 6 install; 'upstart' is a non-starter for the
future, and certainly not in CentOS' upstream's plans
[root at centos6-32 ~]# rpm -qa sys\*
sysvinit-tools-2.87-3.dsf.el6.i686
system-config-firewall-base-1.2.27-3.el6_0.2.noarch
[root at centos6-32 ~]# cd /etc/init.d/
[root at centos6-32 init.d]# ls
atd crond iptables netfs rsyslog single udev-post
auditd functions killall network sandbox snmpd
cgconfig halt named rdisc saslauthd snmptrapd
cgred ip6tables netconsole restorecond sendmail sshd
[root at centos6-32 init.d]# ls -al ../rc*
-rwxr-xr-x. 1 root root 2617 Jun 25 00:07 ../rc
-rwxr-xr-x. 1 root root 220 Jun 25 00:07 ../rc.local
-rwxr-xr-x. 1 root root 19088 Jun 25 00:07 ../rc.sysinit
../rc0.d:
total 8
drwxr-xr-x. 2 root root 4096 Oct 3 12:27 .
drwxr-xr-x. 10 root root 4096 Aug 18 07:03 ..
lrwxrwxrwx. 1 root root 13 Oct 3 12:02 K05atd -> ../init.d/atd
lrwxrwxrwx. 1 root root 19 Oct 3 12:02 K10saslauthd -> ../init.d/saslauthd
lrwxrwxrwx. 1 root root 14 Oct 3 12:02 K25sshd -> ../init.d/sshd
lrwxrwxrwx. 1 root root 18 Oct 3 12:02 K30sendmail -> ../init.d/sendmail
lrwxrwxrwx. 1 root root 20 Oct 3 12:02 K50netconsole -> ../init.d/netconsole
lrwxrwxrwx. 1 root root 15 Oct 3 12:02 K50snmpd -> ../init.d/snmpd
...
-- Russ herrold
More information about the CentOS
mailing list