Bug 144657 - /etc/init.d/mysql failing dependancies.
Summary: /etc/init.d/mysql failing dependancies.
Status: RESOLVED FIXED
: 144705 144908 145461 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 1
Hardware: i686 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 15:51 UTC by Anders Norrbring
Modified: 2006-01-25 12:56 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
insserv-1.04.0-4.i586.rpm (29.86 KB, application/x-rpm)
2006-01-23 12:24 UTC, Dr. Werner Fink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Norrbring 2006-01-22 15:51:55 UTC
When trying to make a 'chkconfig mysql on' command, it fails dependencies. It complains about:

# chkconfig mysql on
insserv: Service network has to be enabled for service mysql
insserv: Service boot.localfs has to be enabled for service mysql
insserv: exiting now!
/sbin/insserv failed, exit code 1

Then this is their statuses:
# chkconfig network 
network  on
# chkconfig boot.localfs
boot.localfs  on
Comment 1 Dr. Werner Fink 2006-01-23 10:31:57 UTC
Please run /sbin/insserv -d
The problem is known and hopefully fixed.
Comment 2 Dr. Werner Fink 2006-01-23 10:34:44 UTC
*** Bug 144705 has been marked as a duplicate of this bug. ***
Comment 3 Anders Norrbring 2006-01-23 11:13:06 UTC
Didn't do any difference..

# insserv -d mysql
insserv: Service network has to be enabled for service mysql
insserv: Service boot.localfs has to be enabled for service mysql
insserv: exiting now!

Anyway, if I use yast runlevel, it works.. It shows this text in the dialog box when I use it:

To start service mysql and enable it in runlevels 2, 3, 5, these services must be additionally started and enabled, because it depends on them:
dbus, acpid, haldaemon.
Comment 4 Dr. Werner Fink 2006-01-23 11:19:18 UTC
Hmmm ... I've meant

    insserv -d

without any further argument.
Comment 5 Andreas Kleen 2006-01-23 11:29:51 UTC
Doesn't work for me neither. 

gershwin:~ # insserv  -d
gershwin:~ # chkconfig icecream on
insserv: Service network has to be enabled for service icecream
insserv: Service syslog has to be enabled for service icecream
insserv: exiting now!
/sbin/insserv failed, exit code 1
gershwin:~ # 
Comment 6 Anders Norrbring 2006-01-23 12:02:28 UTC
Nope, I agree..

# insserv -d
# chkconfig mysql off
# insserv -d 
# chkconfig mysql on
insserv: Service network has to be enabled for service mysql
insserv: Service boot.localfs has to be enabled for service mysql
insserv: exiting now!
/sbin/insserv failed, exit code 1

This is from the beta1 ISOs, are there any update available for us that we can test right now, in factory or so?  Or should we just live with it until later?
Comment 7 Dr. Werner Fink 2006-01-23 12:24:28 UTC
Created attachment 64482 [details]
insserv-1.04.0-4.i586.rpm

Please try out the fixed insserv. It is for i586.
Note that this version of insserv will detect also
broken LSB boot scripts, that is mising `Provides'
and `Required-Start' entries.
Comment 8 Anders Norrbring 2006-01-23 12:39:29 UTC
Not a very good result primarily... I had mysql enabled, updated insserv and gave the command chkconfig mysql off;

:/usr/src # chkconfig mysql off
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty

And then I tried insserv -d;

 # insserv -d
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
Comment 9 Anders Norrbring 2006-01-23 12:41:06 UTC
insserv -rv mysql also listed a lot of errors:

insserv -rv mysql
insserv: Loading /etc/insserv.conf
insserv: Loading S20halt
insserv: Loading S07kbd
insserv: Loading S07splash
insserv: Loading S07microcode
insserv: Loading S20single
insserv: Loading S01fbset
insserv: Loading S05network
insserv: Loading S01vmware-tools
insserv: Loading S06syslog
insserv: Loading S07splash_early
insserv: Loading S07kbd
insserv: Loading S07powersaved
insserv: Loading S07splash
insserv: Loading S01random
insserv: Loading S01resmgr
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading S07microcode
insserv: Loading S07alsasound
insserv: Loading S07running-kernel
insserv: Loading S08cups
insserv: Loading S10cron
insserv: Loading S01acpid
insserv: Loading S01fbset
insserv: Loading S05network
insserv: Loading S01vmware-tools
insserv: Loading S06syslog
insserv: Loading S07splash_early
insserv: Loading S06nfs
insserv: Loading S07kbd
insserv: Loading S07powersaved
insserv: Loading S07splash
insserv: Loading S01random
insserv: Loading S01resmgr
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading S01haldaemon
insserv: Loading S07microcode
insserv: Loading S07alsasound
insserv: Loading S06nfsboot
insserv: Loading S07portmap
insserv: Loading S07postfix
insserv: Loading S07running-kernel
insserv: Loading S01dbus
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading S07nscd
insserv: Loading S08cups
insserv: Loading S07sshd
insserv: Loading S10cron
insserv: Loading S01acpid
insserv: Loading S01fbset
insserv: Loading S06mdnsd
insserv: Loading S07smbfs
insserv: Loading S05network
insserv: Loading S01vmware-tools
insserv: Loading S06syslog
insserv: Loading S07splash_early
insserv: Loading S06nfs
insserv: Loading S07kbd
insserv: Loading S08xdm
insserv: Loading S01earlysyslog
insserv: Loading S07powersaved
insserv: Loading S07splash
insserv: Loading S01random
insserv: Loading S01resmgr
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading S01haldaemon
insserv: Loading S07microcode
insserv: Loading S01earlykbd
insserv: Loading S01earlykdm
insserv: Loading S07alsasound
insserv: Loading S06nfsboot
insserv: Loading S07portmap
insserv: Loading S07postfix
insserv: Loading S07running-kernel
insserv: Loading S01dbus
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading S07nscd
insserv: Loading S08cups
insserv: Loading S07sshd
insserv: Loading S10cron
insserv: Loading S01acpid
insserv: Loading S01fbset
insserv: Loading S06mdnsd
insserv: Loading S07smbfs
insserv: Loading S11cupsrenice
insserv: Loading S20reboot
insserv: Loading S07kbd
insserv: Loading S07splash
insserv: Loading S07microcode
insserv: Loading S20single
insserv: Loading S05boot.clock
insserv: Loading S05boot.udev_retry
insserv: Loading S05boot.cleanup
insserv: Loading S07boot.localnet
insserv: Loading S05boot.preload_early
insserv: Loading S04boot.localfs
insserv: Loading S02boot.udev
insserv: Loading S05boot.loadmodules
insserv: Loading S08boot.ldconfig
insserv: Loading S09boot.isapnp
insserv: Loading S07boot.swap
insserv: Loading S10boot.ipconfig
insserv: Loading S09boot.sysctl
insserv: Loading S01setserial
insserv: Loading S01boot.rootfsck
insserv: Loading S07boot.preload
insserv: Loading S05boot.videobios
insserv: Loading S05boot.clock
insserv: Loading S01boot.device-mapper
insserv: Loading S06boot.crypto
insserv: Loading S05boot.klog
insserv: Loading S05boot.scpm
insserv: Loading S01boot.proc
insserv: Loading atd
insserv: Loading fam
insserv: Loading gpm
insserv: Loading kbd
insserv: Loading nfs
insserv: Loading ntp
insserv: Loading raw
insserv: Loading xdm
insserv: Loading xfs
insserv: Loading boot.videobios
insserv: Loading dbus
insserv: script dbus is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading cron
insserv: Loading cups
insserv: Loading halt
insserv: Loading gssd
insserv: Loading isdn
insserv: Loading nscd
insserv: Loading sshd
insserv: Loading boot.clock
insserv: Loading boot.sched
insserv: Loading sane-dev
insserv: Loading earlysyslog
insserv: Loading acpid
insserv: Loading boot.preload
insserv: Loading fbset
insserv: Loading hplip
insserv: Loading mdnsd
insserv: Loading mysql
insserv: Loading pcscd
insserv: Loading smbfs
insserv: Loading snmpd
insserv: Loading vmware-tools
insserv: Loading boot.cleanup
insserv: Loading svnserve
insserv: Loading powersaved
insserv: Loading boot.loadmodules
insserv: Loading cupsrenice
insserv: Loading autoyast
insserv: Loading boot.subdomain
insserv: Loading SuSEfirewall2_setup
insserv: Loading boot.crypto
insserv: Loading lm_sensors
insserv: Loading ksysguardd
insserv: Loading boot.rootfsck
insserv: Loading boot.isapnp
insserv: Loading haldaemon
insserv: Loading boot.scsidev
insserv: Loading skeleton.compat
insserv: Loading autofs
insserv: Loading svcgssd
insserv: Loading setserial
insserv: Loading esound
insserv: Loading boot.localfs
insserv: Loading boot.localnet
insserv: Loading boot.sysctl
insserv: Loading network
insserv: Loading idmapd
insserv: Loading nfsboot
insserv: Loading boot.device-mapper
insserv: Loading rpasswdd
insserv: Loading mdadmd
insserv: Loading openct
insserv: Loading random
insserv: Loading reboot
insserv: Loading resmgr
insserv: script resmgr is broken: incomplete LSB comment
insserv: Missing entry for Required-Start: please add even if empty
insserv: Loading single
insserv: Loading rsyncd
insserv: Loading smpppd
insserv: Loading splash
insserv: Loading syslog
insserv: Loading earlykbd
insserv: Loading earlykdm
insserv: Loading xinetd
insserv: Loading splash_early
insserv: Loading ypbind
insserv: Loading apache2
insserv: Loading joystick
insserv: Loading boot.udev_retry
insserv: Loading saslauthd
insserv: Loading running-kernel
insserv: Loading bluetooth
insserv: Loading microcode
insserv: Loading boot.ipconfig
insserv: Loading boot.klog
insserv: Loading boot.proc
insserv: Loading boot.scpm
insserv: Loading boot.swap
insserv: Loading boot.udev
insserv: Loading boot.ldconfig
insserv: Loading SuSEfirewall2_init
insserv: Loading portmap
insserv: Loading postfix
insserv: Loading boot.preload_early
insserv: Loading alsasound
insserv: Loading rpmconfigcheck
insserv: Loading nfsserver
insserv: remove service /etc/init.d/rc3.d/S07postfix
insserv: enable service ../postfix -> /etc/init.d/rc3.d/S08postfix
insserv: remove service /etc/init.d/rc3.d/K15postfix
insserv: enable service ../postfix -> /etc/init.d/rc3.d/K14postfix
insserv: remove service /etc/init.d/rc3.d/S08postfix
insserv: enable service ../postfix -> /etc/init.d/rc3.d/S07postfix
insserv: remove service /etc/init.d/rc3.d/K14postfix
insserv: enable service ../postfix -> /etc/init.d/rc3.d/K15postfix
insserv: remove service /etc/init.d/rc5.d/S07postfix
insserv: enable service ../postfix -> /etc/init.d/rc5.d/S08postfix
insserv: remove service /etc/init.d/rc5.d/K15postfix
insserv: enable service ../postfix -> /etc/init.d/rc5.d/K14postfix
insserv: remove service /etc/init.d/rc5.d/S08postfix
insserv: enable service ../postfix -> /etc/init.d/rc5.d/S07postfix
insserv: remove service /etc/init.d/rc5.d/K14postfix
insserv: enable service ../postfix -> /etc/init.d/rc5.d/K15postfix
insserv: creating .depend.boot
insserv: creating .depend.start
insserv: creating .depend.stop
Comment 10 Dr. Werner Fink 2006-01-23 12:48:21 UTC
These messages are no error but simply warnings.
Nevertheless, the boot dependcies mapped to the runlevel links in boot.d/
and rc<X>.d/ with X=0,...,6,S are correct even with the warnings.

Beside this, the scripts are fixed for the next test and also
insserv is fixed.
Comment 11 Anders Norrbring 2006-01-23 13:48:34 UTC
Verified.
It's possible to switch on and off my mysql now with "chkconfig mysql on(off)".
Comment 12 Dr. Werner Fink 2006-01-23 18:21:36 UTC
*** Bug 144908 has been marked as a duplicate of this bug. ***
Comment 13 Dr. Werner Fink 2006-01-25 12:56:16 UTC
*** Bug 145461 has been marked as a duplicate of this bug. ***