Your message dated Fri, 20 Oct 2023 15:30:12 +0200
with message-id <[email protected]>
and subject line Re: network-manager: cannot edit network connection from 
inside xephyr instance
has caused the Debian Bug report #1054017,
regarding network-manager: cannot edit network connection from inside xephyr 
instance
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.)


-- 
1054017: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054017
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
On Mon, 16 Oct 2023 10:09:42 +1300 Josh Voorkamp <[email protected]> wrote:
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!

This also requires policykit to work for that user (that error message is from policykit).

Please set it up accordingly.
I know too little about Xephyr though to help you here.


Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to