On Wednesday 02 May 2007, G T Smith wrote:
I think YaST does something slightly different to insserv, my /etc/insserv.conf file contains no references to squid (or a lot of other stuff which is enabled via YaST) there is a named entry in this file but again this was originally enabled via YaST. I think this may be a case of use insserv or use YaST but not both, as YaST may not update the /etc/insserv.conf file.... I am not going to test this but this could lead to duplicate entries in the runlevel folders....
man 8 insserv "insserv scans for System Facilities in the configuration file /etc/insserv.conf and each file in the directory /etc/insserv.conf.d/. Each line which begins with $ and a following name defines a system facility accordingly to the Linux Standard Base Specification (LSB), All names followed by such a system facility will declare the required dependencies of the facility." And the /etc/init.d/squid file will have reference to those facilities, which are used to determine the starting order of the scripts. Nothing about squid is required there. If one looks at the /etc/init.d/squid file one can see: ### BEGIN INIT INFO # Provides: squid # Required-Start: $local_fs $remote_fs $network $named $time # X-UnitedLinux-Should-Start: apache # Required-Stop: $local_fs $remote_fs $network # X-UnitedLinux-Should-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: Squid web cache # Description: Start the Squid web cache, providing # HTTP, FTP and other proxy services ### END INIT INFO So $local_fs $remote_fs $network $named $time is required to start before Squid. insserv has referance to all those requirements. But if one wants to see what scripts provides e.g. network one can issue: #grep 'Provides.*network' /etc/init.d/* /etc/init.d/network:# Provides: network insserv is IMHO rather save, I can issue "insserv sshd" many times on my system, it does not do anything as sshd is enabled, "insserv -r sshd" will remove sshd. regards j -- Jonas Helgi Palsson "Microsoft is not the answer. Microsoft is the question. NO is the answer." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org