Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 826319] New: DHCP gets autostarted too early (network interface not up yet - Systemd/LSB problem)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 22 Jun 2013 18:48:49 +0000
  • Message-id: <bug-826319-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=826319

https://bugzilla.novell.com/show_bug.cgi?id=826319#c0


Summary: DHCP gets autostarted too early (network interface not
up yet - Systemd/LSB problem)
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dirk@xxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101
Firefox/21.0

OpenSuSE 12.3 system with network statically configured via NetworkManager,
DHCPD activated via the Yast2 runlevel manager. Interface with static address
is eth1. After rebooting the system dhcpd is
not available:

# systemctl status dhcpd
dhcpd.service - LSB: ISC DHCP 4.x Server
Loaded: loaded (/etc/init.d/dhcpd)
Active: failed (Result: exit-code) since Sat, 2013-06-22 17:49:19
CEST; 43min ago
Process: 1006 ExecStart=/etc/init.d/dhcpd start (code=exited,
status=1/FAILURE)
CGroup: name=systemd:/system/dhcpd.service

Jun 22 17:49:19 linux-4q60.site dhcpd[1485]: Not configured to listen on any
interfaces!
Jun 22 17:49:19 linux-4q60.site dhcpd[1485]:
Jun 22 17:49:19 linux-4q60.site dhcpd[1485]: If you did not get this software
from ftp.isc.org, please
Jun 22 17:49:19 linux-4q60.site dhcpd[1485]: get the latest from ftp.isc.org
and install that before
Jun 22 17:49:19 linux-4q60.site dhcpd[1485]: requesting help.
Jun 22 17:49:19 linux-4q60.site dhcpd[1485]:
Jun 22 17:49:19 linux-4q60.site dhcpd[1006]: Starting ISC DHCPv4 4.x Server
Jun 22 17:49:19 linux-4q60.site dhcpd[1006]: please see /var/log/rc.dhcpd.log
for details ..failed
Jun 22 17:49:19 linux-4q60.site systemd[1]: Failed to start LSB: ISC DHCP 4.x
Server.
Jun 22 17:49:19 linux-4q60.site systemd[1]: Unit dhcpd.service entered failed
state

When I start the daemon later on, everything works as expected:

# systemctl status dhcpd
dhcpd.service - LSB: ISC DHCP 4.x Server
Loaded: loaded (/etc/init.d/dhcpd)
Active: active (running) since Sat, 2013-06-22 18:34:25 CEST; 3s ago
Process: 11308 ExecStart=/etc/init.d/dhcpd start (code=exited,
status=0/SUCCESS)
CGroup: name=systemd:/system/dhcpd.service
└ 11501 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf
/var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user...

Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: All rights reserved.
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: For info, please visit
https://www.isc.org/software/dhcp/
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: Not searching LDAP since
ldap-server, ldap-port and ldap-base-dn were not specified ...ig file
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: Wrote 0 deleted host decls to
leases file.
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: Wrote 0 new dynamic host decls to
leases file.
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: Wrote 5 leases to leases file.
Jun 22 18:34:25 linux-4q60.site dhcpd[11500]: Listening on
LPF/eth1/00:1f:d0:49:06:70/192.168.192.0/24
Jun 22 18:34:25 linux-4q60.site dhcpd[11308]: Starting ISC DHCPv4 4.x Server
[chroot]..done
Jun 22 18:34:25 linux-4q60.site systemd[1]: Started LSB: ISC DHCP 4.x Server.
Jun 22 18:34:26 linux-4q60.site dhcpd[11501]: DHCPREQUEST for 192.168.192.220
from a0:88:b4:0d:68:50 via eth1
Jun 22 18:34:26 linux-4q60.site dhcpd[11501]: DHCPACK on 192.168.192.220 to
a0:88:b4:0d:68:50 via eth1

An expert friend gave the hint, that this one is an issue of not-yet-systemd
compliant startup scripts (LSB).

Reproducible: Always

Steps to Reproduce:
1. Reboot the machine
2. run "systemctl status dhcpd"
3. run "systemctl start dhcpd"
4. check with "systemctl status dhcpd"
Actual Results:
Deamon starts not properly and needs to be started by hand.

Expected Results:
DHCPD should be available.

--
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.
< Previous Next >
Follow Ups