Mailinglist Archive: opensuse-buildservice (349 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] obsworker fails to automatically start on reboot
- From: "Razi Khaja" <razi.khaja@xxxxxxxxx>
- Date: Fri, 16 Nov 2007 18:23:39 -0500
- Message-id: <62e9dabc0711161523i675a1705heeabbc7561722449@xxxxxxxxxxxxxx>
/etc/init.d/obsworker should contain 'obsrepserver' in the
'Should-Start' section, i.e. add the line
Should-Start: obsrepserver
right after the Required-Start line and run
/etc/init.d/obsworker has been modified to include the Should-Start as below.
### BEGIN INIT INFO
# Provides: obsworker
# Required-Start: $time $network $syslog
# Should-Start: obsrepserver
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 4 6
# Description: openSUSE build service worker
### END INIT INFO
#ls -la /etc/rc.d/rc3.d/*obs*
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/K08obsscheduler -> ../obsscheduler
lrwxrwxrwx 1 root root 12 2007-11-16 17:47
/etc/rc.d/rc3.d/K08obsworker -> ../obsworker
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/K09obsrepserver -> ../obsrepserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/K09obssrcserver -> ../obssrcserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/S13obsrepserver -> ../obsrepserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/S13obssrcserver -> ../obssrcserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc3.d/S14obsscheduler -> ../obsscheduler
lrwxrwxrwx 1 root root 12 2007-11-16 17:47
/etc/rc.d/rc3.d/S14obsworker -> ../obsworker
#ls -la /etc/rc.d/rc5.d/*obs*
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/K08obsscheduler -> ../obsscheduler
lrwxrwxrwx 1 root root 12 2007-11-16 17:47
/etc/rc.d/rc5.d/K08obsworker -> ../obsworker
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/K09obsrepserver -> ../obsrepserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/K09obssrcserver -> ../obssrcserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/S13obsrepserver -> ../obsrepserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/S13obssrcserver -> ../obssrcserver
lrwxrwxrwx 1 root root 15 2007-11-16 01:08
/etc/rc.d/rc5.d/S14obsscheduler -> ../obsscheduler
lrwxrwxrwx 1 root root 12 2007-11-16 17:47
/etc/rc.d/rc5.d/S14obsworker -> ../obsworker
If you then do 'ls /etc/init.d/rc3.d'
you should see that obsworker has a bigger number than obsrepserver.
I read http://www.novell.com/coolsolutions/feature/11256.html
So now I know that: "The 'K' means that the script is executed with a
"stop" argument when leaving the runlevel. A 'S' means the script is
executed with a "start" argument when entering the runlevel. The
numbers determine the order in which the scripts are executed."
So S14 is bigger than S13, so thats good, but obsworker still does not
start after a reboot.
When starting obsworker using the Yast System Services (Runlevel)
module, a dialog explains the boot.clock needs to be started. Could
this be a hint as to some other dependency. How should this dependency
be dealt with (in Required-Start or Should-Start or some other place)?
Or is there some other reason why obsworker does not start?
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |