From: <jam...@te...> - 2002-08-27 19:44:52
|
Hi Jamie, I am trying to build a trimmed down RPM of webmin for our internal purposes and came across what I believe is a discrepency (or maybe its not). In the webmin init script you have the following comments: # chkconfig: 235 99 00 # description: Start or stop the Webmin server Which of course are for the chkconfig program. What I find strange is that your RPM's specfile does not use the chkconfig command to setup the sybolic links for the init script but instead do these as files that are part of the package. Furthermore in the spec file you are setting the init scripts links to have it run at different priority (or order) than you have in your chkconfig entry in the init script: /etc/rc.d/rc2.d/S99webmin /etc/rc.d/rc3.d/S99webmin /etc/rc.d/rc5.d/S99webmin /etc/rc.d/rc2.d/K10webmin /etc/rc.d/rc3.d/K10webmin /etc/rc.d/rc5.d/K10webmin Furthermore, and I just noticed this, you have kill scripts in the same run level as your start scripts. So my questions are: - Which priorities do you consider correct (I am assuming the links in the spec file, but I figure I would ask)? - Why don't you use chkconfig? I will most definately alter the package for my purposes to use it, but I was wondering if you had a reason? - Did you really mean to have kill and start scripts in the same run level? I thought the kill scripts belonged in the run levels where you don't want webmin to run, such as 0, 1, and 6. Cheers...james |