[Pkg-utopia-maintainers] Bug#928609: network-manager: Invalid system-connections configuration during preseeding

Yannick Schinko y.schinko at connectingmedia.de
Tue May 7 16:12:34 BST 2019


Package: network-manager
Version: 1.14.6-2
Severity: normal
Tags: d-i

I'm currently trying to install network-manager during a preseeded installation on a SBC (sing board computer) (It's an APU.2D4) with multiple network interfaces.
I added the package to the `d-i pkgsel/include string` option. It installs just fine and network access during the installation works fine.
However after the installation finishes and the system boots, there is single file under `/etc/NetworkManager/system-connections` called `Wired Connection 1`. This file won't get created when I install the package on a live system.
The huge issue with the file is that all 3 network interfaces are now considered "Wired Connection 1" and cannot be controlled seperately. Running the commands `nmcli con delete $(nmcli -g uuid con); systemctl restart NetworkManager.service` fixes the issue permanetly. (Meaning all 3 interfaces now are named `Wired Connection 1-3` and can be conttrolled independetly. Or the package behaves as it would if it was installed on a live system) (Alternatively the file can be removed while network-manager is off)

The only way I was able to fix this issue was by disabling the NetworkManager service during the late_command script, adding a first boot script and first removing the file then restarting and reenabling the service.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages network-manager depends on:
ii  adduser                3.118
ii  dbus                   1.12.12-1
ii  init-system-helpers    1.56+nmu1
ii  libaudit1              1:2.8.4-3
ii  libbluetooth3          5.50-1
ii  libc6                  2.28-10
ii  libcurl3-gnutls        7.64.0-2
ii  libglib2.0-0           2.58.3-1
ii  libgnutls30            3.6.6-2
ii  libjansson4            2.12-1
ii  libmm-glib0            1.10.0-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.20-8
ii  libnm0                 1.14.6-2
ii  libpam-systemd         241-3
ii  libpolkit-agent-1-0    0.105-25
ii  libpolkit-gobject-1-0  0.105-25
ii  libpsl5                0.20.2-2
ii  libreadline7           7.0-5
ii  libselinux1            2.8-1+b1
ii  libsystemd0            241-3
ii  libteamdctl0           1.28-1
ii  libudev1               241-3
ii  libuuid1               2.33.1-0.1
ii  lsb-base               10.2019031300
ii  policykit-1            0.105-25
ii  udev                   241-3
ii  wpasupplicant          2:2.7+git20190128+0c1e29f-5

Versions of packages network-manager recommends:
ii  crda                         3.18-1
ii  dnsmasq-base [dnsmasq-base]  2.80-1
ii  iptables                     1.8.2-4
ii  isc-dhcp-client              4.4.1-2
ii  modemmanager                 1.10.0-1
ii  ppp                          2.4.7-2+4.1

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list