Bug#951595: isc-dhcp-client: disallowing ipv6 in sysctl breaks dhcp address renewal

2020-02-18 Thread Cosimo Simeone
Package: isc-dhcp-client
Version: 4.4.1-2
Severity: normal
Tags: ipv6

Dear Maintainer,

   * What led up to the situation? i disabled ipv6 networking in 
/etc/sysctl.conf, and since then dhcp ip renewal fails with error relater to 
RFC-3442
   * What exactly did you do (or not do) that was effective (or
 ineffective)? Disable ipv6 networking
   * What was the outcome of this action? dhcp ip renewal fails with error 
relater to RFC-3442; lost of networking
   * What outcome did you expect instead?  well.. networking to work.. :-)

Longer desciption:
unsetting ipv6 (/etc/sysctl.conf -> net.ipv6.conf.all.disable_ipv6 = 0 
net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0) 
generates dhcp 3442 non zero exit error. 
Disabling 3442 (dhclient.conf, removing request 
rfc3442-classless-static-routes) raises RTNETLINK answers: Permission denied



-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-client depends on:
ii  debianutils4.8.6.1
ii  iproute2   4.20.0-2
ii  libc6  2.28-10
ii  libdns-export1104  1:9.11.5.P4+dfsg-5.1
ii  libisc-export1100  1:9.11.5.P4+dfsg-5.1

Versions of packages isc-dhcp-client recommends:
ii  isc-dhcp-common  4.4.1-2

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd 
pn  isc-dhcp-client-ddns  
pn  resolvconf

-- Configuration Files:
/etc/dhcp/dhclient.conf changed:
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;


-- no debconf information



Bug#951312: networking: unsetting ipv6 brings many problems

2020-02-14 Thread Cosimo Simeone
Package: networking
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

   * What led up to the situation? lost of networking, caused by dhcp not 
renewing IP address
   * What exactly did you do (or not do) that was effective (or
 ineffective)? disabled ipv6
   * What was the outcome of this action? dhcp 3442 non zero exit error
   * What outcome did you expect instead? well... Networking to work :-)

Longer description:
unsetting ipv6 (/etc/sysctl.conf -> net.ipv6.conf.all.disable_ipv6 = 0 
net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0) 
generates dhcp 3442 non zero error. Disabling 3442 (dhclient.conf, removing 
request rfc3442-classless-static-routes) raises RTNETLINK answers: Permission 
denied


-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)