Package: laptop-mode-tools
Version: 1.72-3
Severity: normal
Tags: ipv6

By default, laptop-mode is configured to control eth0.  However, this
seems to cause eth0 to become active prematurely before NetworkManager
can take control of it.

Excerpt from journalctl:
[...]
Mar 29 00:24:53 ritchie laptop-mode[7040]: enabled, not active
Mar 29 00:24:53 ritchie kernel: r8169 0000:03:00.0 eth0: Link is Up -
1Gbps/Full - flow control rx/tx
Mar 29 00:24:53 ritchie kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0:
link becomes ready
[...]
Mar 29 00:24:58 ritchie avahi-daemon[597]: Joining mDNS multicast group
on interface eth0.IPv6 with address [...].
Mar 29 00:24:58 ritchie avahi-daemon[597]: New relevant interface
eth0.IPv6 for mDNS.
Mar 29 00:24:58 ritchie avahi-daemon[597]: Network interface enumeration
completed.
Mar 29 00:24:58 ritchie avahi-daemon[597]: Registering new address
record for [...] on eth0.*.
[...]

After that, the device appears managed to NetworkManager, such that it
does not do any IPv4 configuration for it and does not set up
/etc/resolv.conf, either.  As a workaround, I need to either reconnect
eth0 from the NetworkManager GUI after each start-up or remove eth0 from
the devices controlled by laptop-mode.  The role of avahi-daemon in this
scenario is not entirely clear to me.

In newer configurations, this bug will likely not show up due to the new
naming scheme of networking interfaces, but then the primary network
device will not be controlled by laptop-mode, either.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500,
'stable-updates'), (500, 'proposed-updates'), (500, 'testing'), (500,
'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages laptop-mode-tools depends on:
ii  lsb-base    10.2019031300
ii  psmisc      23.2-1
ii  util-linux  2.33.1-0.1

Versions of packages laptop-mode-tools recommends:
ii  ethtool         1:4.19-1
ii  hdparm          9.58+ds-1
ii  net-tools       1.60+git20180626.aebd88e-1
ii  python3-pyqt5   5.11.3+dfsg-1+b3
ii  rfkill          2.33.1-0.1
ii  sdparm          1.10-1
ii  udev            241-1
ii  wireless-tools  30~pre9-13

Versions of packages laptop-mode-tools suggests:
ii  acpid  1:2.0.31-1

-- Configuration Files:
/etc/laptop-mode/conf.d/usb-autosuspend.conf changed [not included]

-- no debconf information

Reply via email to