Anyone know how to stop SuSEconfig from moving scripts? example: <thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf <thom> but everytime I do a yast update <thom> all my startup scripts in /etc/rc.d/rc3.d get reordered to some default setting <thom> where any script it doesn't recognize goes to S01script, and f'ks things up! ;-) <marsaro> Hum, I will look at that, Yast2? <thom> it appears to be the only thing that it will do <thom> yast or yast2 Regards, Jon
Check rc.config you will see settings for controlling SuSEconfig. Matt -- "You know you have a Supernorn when he learns to run as root" On Tue, 3 Jul 2001 marsaro@interearth.com wrote:
Anyone know how to stop SuSEconfig from moving scripts?
example:
<thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf <thom> but everytime I do a yast update <thom> all my startup scripts in /etc/rc.d/rc3.d get reordered to some default setting <thom> where any script it doesn't recognize goes to S01script, and f'ks things up! ;-) <marsaro> Hum, I will look at that, Yast2? <thom> it appears to be the only thing that it will do <thom> yast or yast2
Regards,
Jon
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
* marsaro@interearth.com
Anyone know how to stop SuSEconfig from moving scripts?
example:
<thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf
Is he having it like this syntax in /etc/rc.config(!): ? ENABLE_SUSECONFIG="no" I just tried: (mmj@panther) /etc> sudo SuSEconfig [15:47] Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/rc.config and updating the system... SuSEconfig is disabled in /etc/rc.config. Exit... -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
Yes, that setting is set in rc.config which is really driving us mad. We are using scripts in the run levels for a Sendmail product, and the scripts are moved back to S0.....THis is happening when updates are pulled down and SuSEconfig is ran, in-facct, yes, we get the same notification that it is diabled, but Yast calls SuSEconfig after the packages are updated regardless. We have looked all over the place to see what script actually goes and moves the custom scripts, any ideas? Regards, Jon On Tue, 3 Jul 2001, Mads Martin [iso-8859-1] J�rgensen wrote:
* marsaro@interearth.com
[Jul 03. 2001 15:33]: Anyone know how to stop SuSEconfig from moving scripts?
example:
<thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf
Is he having it like this syntax in /etc/rc.config(!): ? ENABLE_SUSECONFIG="no"
I just tried:
(mmj@panther) /etc> sudo SuSEconfig [15:47] Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/rc.config and updating the system... SuSEconfig is disabled in /etc/rc.config. Exit...
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
Hi, I need to call a start-up script (for Tomcat), during the boot process. This script has to run before Apache, and the JAVA_HOME and CLASS_PATH variables need to be set-up. Where is the best place to call it from? Many thanks Phil
Insert your script in /etc/rc.d/boot.local, it runs before all other init scripts. Alternatively, learn how to insert init scripts, consult your suse manual on the suse SYS V boot process. -- Rafael
On 4 Jul 2001, Phil Shrimpton wrote:
I need to call a start-up script (for Tomcat), during the boot process. This script has to run before Apache, and the JAVA_HOME and CLASS_PATH variables need to be set-up. Where is the best place to call it from?
Putting them in /etc/rc.d/boot.local should work... AFAIK, /etc/rc.d/boot.local is run right before runlevel initialization. If this doesn't work, you'll just have to write a little script and run at as the first thing in your default runlevel. -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
On Tue, Jul 03, 2001 at 04:37:50PM -0700, marsaro@interearth.com wrote:
Yes, that setting is set in rc.config which is really driving us mad. We are using scripts in the run levels for a Sendmail product, and the scripts are moved back to S0.....THis is happening when updates are pulled down and SuSEconfig is ran, in-facct, yes, we get the same notification that it is diabled, but Yast calls SuSEconfig after the packages are updated regardless.
We have looked all over the place to see what script actually goes and moves the custom scripts, any ideas?
Did you look at insserv(8) ? -Kastus
Regards,
Jon
On Tue, 3 Jul 2001, Mads Martin [iso-8859-1] JЬrgensen wrote:
* marsaro@interearth.com
[Jul 03. 2001 15:33]: Anyone know how to stop SuSEconfig from moving scripts?
example:
<thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf
Is he having it like this syntax in /etc/rc.config(!): ? ENABLE_SUSECONFIG="no"
I just tried:
(mmj@panther) /etc> sudo SuSEconfig [15:47] Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/rc.config and updating the system... SuSEconfig is disabled in /etc/rc.config. Exit...
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Have a look at the script itself if should look likte this: #!/bin/sh ### BEGIN INIT INFO # Provides: cybermax # Required-Start: sendmail ------------- The required start lines should do the trick # Default-Start: 3 5 # Description: silly script ### END INIT INFO case "$1" in 'start') marsaro@interearth.com wrote:
Yes, that setting is set in rc.config which is really driving us mad. We are using scripts in the run levels for a Sendmail product, and the scripts are moved back to S0.....THis is happening when updates are pulled down and SuSEconfig is ran, in-facct, yes, we get the same notification that it is diabled, but Yast calls SuSEconfig after the packages are updated regardless.
We have looked all over the place to see what script actually goes and moves the custom scripts, any ideas?
Regards,
Jon
On Tue, 3 Jul 2001, Mads Martin [iso-8859-1] Jørgensen wrote:
* marsaro@interearth.com
[Jul 03. 2001 15:33]: Anyone know how to stop SuSEconfig from moving scripts?
example:
<thom> SuSEconfig is pissing me off <marsaro> OK, how? <thom> I have SuSEconfig set to no in my rc.conf
Is he having it like this syntax in /etc/rc.config(!): ? ENABLE_SUSECONFIG="no"
I just tried:
(mmj@panther) /etc> sudo SuSEconfig [15:47] Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/rc.config and updating the system... SuSEconfig is disabled in /etc/rc.config. Exit...
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
On 3 Jul 2001, marsaro@interearth.com wrote:
Yes, that setting is set in rc.config which is really driving us mad. We are using scripts in the run levels for a Sendmail product, and the scripts are moved back to S0.....THis is happening when updates are pulled down and SuSEconfig is ran, in-facct, yes, we get the same notification that it is diabled, but Yast calls SuSEconfig after the packages are updated regardless.
We have looked all over the place to see what script actually goes and moves the custom scripts, any ideas?
Dirty hack that probably won't work but worth a try: Remove the 'x' permissions of whatever the symlink /etc/.../S0Xsendmail points to. i.e. this should do it: chmod -x /etc/rc.d/sendmail -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
On Tue, 3 Jul 2001 marsaro@interearth.com wrote:
Yes, that setting is set in rc.config which is really driving us mad. We are using scripts in the run levels for a Sendmail product, and the scripts are moved back to S0.....THis is happening when updates are pulled down and SuSEconfig is ran, in-facct, yes, we get the same notification that it is diabled, but Yast calls SuSEconfig after the packages are updated regardless.
We have looked all over the place to see what script actually goes and moves the custom scripts, any ideas?
I assume this is not SuSEconfig but "insserv", that is changing the run level links. Every time a package including an init script is being installed, it calls insserv in its %post section to install the required run level links. Have a look at the insserv(8) and init.d(7) man pages. I assume your init script is lacking the required comments in the header that determine the default run levels and startup dependencies (as specified by the LSB). Have a look at my Package-Conventions document for more info: http://www.suse.de/~grimmer/Package-Conventions/SuSE-Package-Conventions-4.h... Note that this document is still work in progress... Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany Please come back to Detroit, we missed you the first time
participants (9)
-
jimmy montano
-
Karol Pietrzak
-
Konstantin (Kastus) Shchuka
-
Lenz Grimmer
-
Mads Martin Jørgensen
-
marsaro@interearth.com
-
Phil Shrimpton
-
Rafael Herrera
-
StarTux