[Bug 798828] New: [21-dhcpcd-hook-samba]No dhcpcd info nor dhclient leases file found for wlan0
https://bugzilla.novell.com/show_bug.cgi?id=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c0 Summary: [21-dhcpcd-hook-samba]No dhcpcd info nor dhclient leases file found for wlan0 Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 2 Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: i@marguerite.su QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/25.0.1352.0 Safari/537.21 SUSE/25.0.1352.0 Hi, Samba maintainers, Here's a bug already found and fixed by forum users. https://forums.opensuse.org/english/get-technical-help-here/network-internet... /etc/sysconfig/network/if-up.d/21-dhcpcd-hook-samba, which belongs to samba-client package. in details, it is located at vendor-files.tar.bz2/tools/dhcpd-hook-samba on OBS. has a: HostLeaseFiles="/var/lib/dhcp/dhclient-${interface}.lease /var/run/dhclient-${interface}.lease /var/lib/dhcp/dhclient-${interface}.leases" which should be HostLeaseFiles="/var/lib/dhcp/dhclient-*-${interface}.lease /var/run/dhclient-${interface}.lease /var/lib/dhcp/dhclient-${interface}.leases" because the actual file is named like: dhclient-73887979-3c80-447f-8a77-c335c5c4a096-wlan0.lease so the file names are mis-matched, which will cause the error in /var/log/messages or journalctl "No dhcpcd info nor dhclient leases file found for wlan0." according to the time of the forum post, this bug exists in openSUSE <= 12.3 M2 but it's a minor one. so it's your choice to see if we want a maintenance update. Greetings, Marguerite Reproducible: Always -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c1 --- Comment #1 from Marguerite Su <i@marguerite.su> 2013-01-16 17:24:32 UTC --- fix arrives in SR#148742. So after you accept it, you can close the bug. -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |samba-maintainers@SuSE.de AssignedTo|samba-maintainers@SuSE.de |lmuelle@suse.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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c2 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO CC| |mt@suse.com, | |varkoly@suse.com InfoProvider| |mt@suse.com --- Comment #2 from Lars Müller <lmuelle@suse.com> 2013-01-16 20:16:12 CET --- Good spot! But I fear the suggested fix will not work. I see two issues: a) We have to respect the setting made in /etc/sysconfig/network/dhcp for DHCLIENT_BIN Depending of DHCLIENT_BIN being empty, , 'dhcpcd', or 'dhclient' we have to check for different files. That's even different bug of /etc/sysconfig/network/scripts/dhcpcd-hook-samba b) In the dhclient case we have to consider stale files. On one of my 12.2 systems I had more than 100. It's a desktop using network manager. @Marius or Peter: does this issue ring a bell to you? -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c3 --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2013-01-17 10:24:23 UTC --- See dhcp4_client and dhcp6_client variables /dev/.sysconfig/network/if-eth0. BTW: dhcp6_client is currently set to "dhclient" -- this should be dhclient6 I think (same as in DHCLIENT6_BIN). -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c4 --- Comment #4 from Marius Tomaschewski <mt@suse.com> 2013-01-17 10:34:56 UTC --- Created an attachment (id=520599) --> (http://bugzilla.novell.com/attachment.cgi?id=520599) Fixed to use dhclient6 in dhcp6_client state variable -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c5 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|mt@suse.com | --- Comment #5 from Marius Tomaschewski <mt@suse.com> 2013-01-17 10:42:06 UTC --- (In reply to comment #2)
It's a desktop using network manager.
AFAIK, NetworkManager always uses dhclient; No idea where lease file is. See also $OBS/home:mtomaschewski:tests/{sysconfig,NetworkManager} which will go to factory as soon as yast2 is adopted. NETWORKMANAGER=yes/no is gone there, no ifup hooks aren't executed when NM is running. -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c6 --- Comment #6 from Marius Tomaschewski <mt@suse.com> 2013-01-17 10:45:37 UTC --- BTW: Content of my /dev/.sysconfig/network/if-eth0 file: primary=yes hostname=xanthos dhcp4_client=dhclient dhcp6_client=dhclient dhcp6_state=complete config=eth0 status=connected dhcp4_state=complete dhcp[46]_state is still "up" or "new" while "ifup xxx -o dhcp is running"; it changes to complete after. -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:50702:low -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-24 21:00:28 CET --- This is an autogenerated message for OBS integration: This bug (798828) was mentioned in https://build.opensuse.org/request/show/149829 Factory / sysconfig https://build.opensuse.org/request/show/149830 Factory / sysconfig -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-28 15:00:33 CET --- This is an autogenerated message for OBS integration: This bug (798828) was mentioned in https://build.opensuse.org/request/show/150166 Factory / sysconfig https://build.opensuse.org/request/show/150169 Factory / sysconfig -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c9 Andrej Semen <asemen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asemen@suse.com --- Comment #9 from Andrej Semen <asemen@suse.com> 2013-02-04 11:36:27 UTC --- on SLE-11-SP2 the fix is missing it should be (see comment 0) HostLeaseFiles="/var/lib/dhcp/dhclient-*-${interface}.lease /var/run/dhclient-${interface}.lease /var/lib/dhcp/dhclient-${interface}.leases" it is: # rpm -q sysconfig sysconfig-0.71.48-0.7.1 # grep HostLeaseFiles /etc/sysconfig/network/scripts/dhcpcd-hook-samba HostLeaseFiles="/var/lib/dhcp/dhclient-${interface}.lease /var/run/dhclient-${interface}.lease /var/lib/dhcp/dhclient-${interface}.leases" for HostLease in ${HostLeaseFiles}; do for OldHostLease in ${OldHostLeaseFiles}; do fix is mentioned in changelog rpm -q sysconfig --changelog | head -n 20 | grep 798828 - Fixed to use dhclient6 in dhcp6_client state variable (bnc#798828). -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c Andrej Semen <asemen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |i@marguerite.su -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c15 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:50702:low |maint:running:50702:low | |maint:released:sle11-sp2:50 | |983 --- Comment #15 from Swamp Workflow Management <swamp@suse.de> 2013-02-05 20:22:32 UTC --- Update released for: sysconfig, sysconfig-debuginfo, sysconfig-debugsource Products: SLE-DEBUGINFO 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP2 (i386, x86_64) SLE-SERVER 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP2 (i386, x86_64) -- 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=798828 https://bugzilla.novell.com/show_bug.cgi?id=798828#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:50702:low |maint:released:sle11-sp2:50 |maint:released:sle11-sp2:50 |983 |983 | -- 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