[Bug 473346] New: insserv incorrectly complains about satisfied start dependency
https://bugzilla.novell.com/show_bug.cgi?id=473346 Summary: insserv incorrectly complains about satisfied start dependency Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 I'm trying to install RPMs asterisk and dahdi (home:vitsoft:asterisk-dahdi OBS project). Asterisk depends on dahdi. The corresponding init scripts seem to be properly configured to reflect this. However, insserv still complains: $ grep -E '(Start|Stop):' /etc/init.d/{asterisk,dahdi} /etc/init.d/asterisk:# Required-Start: $local_fs $remote_fs $networki dahdi $named $time /etc/init.d/asterisk:# Required-Stop: $local_fs $remote_fs $network /etc/init.d/asterisk:# Default-Start: 3 5 /etc/init.d/asterisk:# Default-Stop: 0 1 2 4 6 /etc/init.d/dahdi:# Required-Start: $local_fs /etc/init.d/dahdi:# Should-Start: /etc/init.d/dahdi:# Required-Stop: $local_fs /etc/init.d/dahdi:# Should-Stop: /etc/init.d/dahdi:# Default-Start: 1 2 3 5 /etc/init.d/dahdi:# Default-Stop: 0 6 $ chkconfig --del asterisk dahdi asterisk 0:off 1:off 2:off 3:off 4:off 5:off 6:off dahdi 0:off 1:off 2:off 3:off 4:off 5:off 6:off $ chkconfig --add dahdi dahdi 0:off 1:on 2:on 3:on 4:off 5:on 6:off [root@ivr1.test] 195 chkconfig --add asterisk insserv: Service dahdi has to be enabled for service asterisk insserv: exiting now! /sbin/insserv failed, exit code 1 asterisk 0:off 1:off 2:off 3:off 4:off 5:off 6:off It appears to me that dahdi is enabled in every run level in which asterisk wishes to be enabled (and then some). Yet insserv still complains about a broken dependency. Am I misunderstanding something? Reproducible: Always Steps to Reproduce: See 'Details'. Actual Results: See 'Details'. Expected Results: "chkconfig --add asterisk" should succeed. $ rpm -q aaa_base insserv aaa_base-11.0-79.4 insserv-1.11.0-31.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473346 User archie@dellroad.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473346#c1 --- Comment #1 from Archie Cobbs <archie@dellroad.org> 2009-02-06 09:11:01 MST --- Bleh, nevermind. I found the problem: $ grep Provides: /etc/init.d/dahdi # Provides: Dahdi The dadhi init script is broken: it provides "Dahdi" instead of "dahdi". Hey, maybe insserv should emit a warning in the case that the "Provides" header doesn't contain the name of the script? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473346 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puzel@novell.com AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473346 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473346#c2 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2009-02-18 08:11:56 MST --- This idea is not an very useful as there are scripts which provides not their script name but their service name. This would break a lot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com