Your message dated Mon, 20 Feb 2017 11:35:29 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#855180: Networkmanager sends
bad DHCP-requests
has caused the Debian Bug report #855180,
regarding Networkmanager sends bad DHCP-requests
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
855180: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855180
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: network-manager
Version: 1.6.0-1
When i am using the default NetowkManager.conf which looks like:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
NM sends bad DHCP-Requests. Here is an example dump:
% sudo dhcpdump -i enp0s31f6
TIME: 2017-02-15 07:53:30.353
IP: 0.0.0.0 (18:db:f2:4f:0:59) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: d404c631
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 18:db:f2:4f:00:59:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST)
OPTION: 50 ( 4) Request IP address 192.168.168.107
OPTION: 12 ( 12) Host name mschirmacher
OPTION: 55 ( 23) Parameter Request List 1 (Subnet mask)
28 (Broadcast address)
2 (Time offset)
3 (Routers)
15 (Domainname)
6 (DNS server)
12 (Host name)
1 (Subnet mask)
28 (Broadcast address)
2 (Time offset)
3 (Routers)
15 (Domainname)
6 (DNS server)
119 (Domain Search)
12 (Host name)
44 (NetBIOS name server)
47 (NetBIOS scope)
26 (Interface MTU)
121 (Classless Static Route)
42 (NTP servers)
249 (MSFT - Classless route)
33 (Static route)
252 (MSFT - WinSock Proxy Auto
Detect)
---------------------------------------------------------------------------
TIME: 2017-02-15 07:53:30.457
IP: 192.168.168.7 (5c:f3:fc:e6:20:7c) > 255.255.255.255
(ff:ff:ff:ff:ff:ff)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: d404c631
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 192.168.168.107
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 18:db:f2:4f:00:59:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 5 (DHCPACK)
OPTION: 58 ( 4) T1 86400 (24h)
OPTION: 59 ( 4) T2 151200 (1d18h)
OPTION: 51 ( 4) IP address leasetime 172800 (2d)
OPTION: 54 ( 4) Server identifier 192.168.168.7
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 3 ( 4) Routers 192.168.168.6
OPTION: 15 ( 19) Domainname intern.our.domain
OPTION: 6 ( 12) DNS server
192.168.168.7,172.29.0.8,172.29.0.9
OPTION: 3 ( 4) Routers 192.168.168.6
OPTION: 15 ( 19) Domainname intern.our.domain
OPTION: 6 ( 12) DNS server
192.168.168.7,172.29.0.8,172.29.0.9
OPTION: 42 ( 16) NTP servers
129.250.35.251,85.114.132.52,5.9.39.18,193.175.73.151
As you can see most options, especially Option 15 appears twice in the
request as well as in the response. Comsequently the genererates
/etc/resolv.conf would look like:
% cat /etc/resolv.conf
# Generated by NetworkManager
search intern.our.domainintern.our.domain
nameserver 192.168.168.7
nameserver 172.29.0.8
nameserver 172.29.0.9
Note the bad line "search intern.our.domainintern.our.domain" where NM
concatenated the domain names from the two Option 15 responses.
When i add the line dhcp=internal to the [main] section of the
NetworkManager.conf the DHCP request sent will not contain duplicate
option requests hence the answer will be correct, too, resulting in a
valid resolv.conf
FWIW here some more installed packages that might be relevant:
ii network-manager 1.6.0-1
ii network-manager-gnome 1.4.4-1
ii network-manager-openvpn 1.2.8-2
ii network-manager-openvpn-gnome 1.2.8-2
ii network-manager-vpnc 1.2.4-4
ii network-manager-vpnc-gnome 1.2.4-4
ii isc-dhcp-client 4.3.5-3
ii isc-dhcp-common 4.3.5-3
Thank you
--- End Message ---
--- Begin Message ---
Version: 1.6.2-1
Am 15.02.2017 um 08:41 schrieb Michael Biebl:
> Am 15.02.2017 um 08:17 schrieb [email protected]:
>> Note the bad line "search intern.our.domainintern.our.domain" where NM
>> concatenated the domain names from the two Option 15 responses.
>
> This looks like a duplicate of
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854343
>
> You might try the patch that was proposed by upstream at
> https://bugzilla.gnome.org/show_bug.cgi?id=778430#c10
>
> and verify if that fixes your problem.
1.6.2-1 should fix your problem.
If not, please reopen the bug report.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers