[Pkg-utopia-maintainers] Bug#1054017: network-manager: cannot edit network connection from inside xephyr instance
Josh Voorkamp
josh at voorka.mp
Sun Oct 15 22:09:42 BST 2023
Package: network-manager
Version: 1.42.4-1
Severity: normal
Hello,
So the set up is that I have a user I want to be able to
alter/bring-up/bring-down network connections.
I have a main user `user` that can do it fine. I created a new user
`newuser` and added them to the `netdev` group.
If I login to the new account via `sudo -i -u newuser` I can alter the
existing connection fine.
However I'm also running xephyr for nested logins. To start the instance
I run the command `dm-tool add-nested-seat`. If I login as `newuser`,
open a terminal and run, say, `nmcli con down 'Wired connection 1` I'm
told: `Connection 'Wired connection 1' deactivation failed: Not
authorized to deactivate connections`.
I'm not clear why this works in one case but not the other. I'd expect
it to work in both!
-- System Information:
Debian Release: 12.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages network-manager depends on:
ii adduser 3.134
ii dbus [default-dbus-system-bus] 1.14.10-1~deb12u1
ii libaudit1 1:3.0.9-1
ii libbluetooth3 5.66-1
ii libc6 2.36-9+deb12u3
ii libcurl3-gnutls 7.88.1-10+deb12u4
ii libglib2.0-0 2.74.6-2
ii libgnutls30 3.7.9-2
ii libjansson4 2.14-2
ii libmm-glib0 1.20.4-1
ii libndp0 1.8-1
ii libnewt0.52 0.52.23-1+b1
ii libnm0 1.42.4-1
ii libpsl5 0.21.2-1
ii libreadline8 8.2-1.3
ii libselinux1 3.4-1+b6
ii libsystemd0 252.17-1~deb12u1
ii libteamdctl0 1.31-1
ii libudev1 252.17-1~deb12u1
ii policykit-1 122-3
ii polkitd 122-3
ii udev 252.17-1~deb12u1
Versions of packages network-manager recommends:
ii dnsmasq-base [dnsmasq-base] 2.89-1
ii libpam-systemd 252.17-1~deb12u1
ii modemmanager 1.20.4-1
ii ppp 2.4.9-1+1.1+b1
ii wireless-regdb 2022.06.06-1
ii wpasupplicant 2:2.10-12
Versions of packages network-manager suggests:
pn iptables <none>
pn libteam-utils <none>
Versions of packages network-manager is related to:
ii isc-dhcp-client 4.4.3-P1-2
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20231016/c9da5bb2/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list