[Bug 842357] New: dhcp server does not start properly when using "service dhcpd start"
https://bugzilla.novell.com/show_bug.cgi?id=842357 https://bugzilla.novell.com/show_bug.cgi?id=842357#c0 Summary: dhcp server does not start properly when using "service dhcpd start" Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Mathias.Homann@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 "service dhcpd start" does not start the dhcpd server Reproducible: Always Steps to Reproduce: 1. killall dhcpd 2. run "service dhcpd start" 3. check the process list, dhcpd is not running Actual Results: dhcpd does not get started properly, the only way to start it is "service dhcpd restart". Expected Results: "service dhcpd start" should start the dhcpd process -- 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=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c
Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c1
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c2
--- Comment #2 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c3
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c7
Marius Tomaschewski
I do not understand ... why does /etc/init.d/dhcpd return status 6 (comment #3) if dhcpd is configured (comment #2)
In _my_ case it were unconfigured and the script returned code 6. (In reply to comment #5)
And from a look at systemd code, are considered succesfull exit code, in addition to 0, for LSB services, exit code 5 and 6 (and this is wanted, since 2010 at least).
This is IMO nonsense and why I've ressigned it to systemd. You call "systemctl start X" -- service returns _failure_ because it is not configured. Then you fix it and call "systemctl start X" again -- no effect, because it is already in started state -- as systemd assumes wrong [it is not running -- it reported an error]. So I repat Werners question: Why this is wanted? -- 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=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c8
Frederic Crozat
You call "systemctl start X" -- service returns _failure_ because it is not configured. Then you fix it and call "systemctl start X" again -- no effect, because it is already in started state -- as systemd assumes wrong [it is not running -- it reported an error].
So I repat Werners question: Why this is wanted?
I don't know, you would have to ask the systemd folks, I wasn't there when it was designed. -- 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=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=842357
https://bugzilla.novell.com/show_bug.cgi?id=842357#c10
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com