GNU bug report logs - #78047
WiFi stops working if managed with NetworkManager after migration to unprivileged guix daemon

Previous Next

Package: guix;

Reported by: Rodion Goritskov <rodion <at> goritskov.com>

Date: Thu, 24 Apr 2025 19:05:02 UTC

Severity: important

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Danny Milosavljevic <dannym <at> friendly-machines.com>
Cc: guix-devel <at> gnu.org, 78047 <at> debbugs.gnu.org, Rodion Goritskov <rodion <at> goritskov.com>
Subject: bug#78047: WiFi stops working if managed with NetworkManager after migration to unprivileged guix daemon
Date: Fri, 06 Jun 2025 15:24:27 +0200
Hi,

Danny Milosavljevic <dannym <at> friendly-machines.com> writes:

> Maybe for a really really paranoid way we could replace the check by a
> check whether geteuid() == st_uid, no ?  The idea being that the check
> wouldn't change behavior if it's actually run as root and would change
> behavior if it's run as your real user.

But what would this check buy us?

> For the record, on guix system, network manager is run like this:
>
> $ ps -ef |grep -i networkmana
> root 1650 1 0 Jun05 ?  00:00:06
> /gnu/store/8fg4facbxkd31r4yl1q6zl2df28mjixg-network-manager-1.52.0/sbin/NetworkManager
> --config=/gnu/store/3cp48fvxfivj2255bbxj7363qj33ajs9-NetworkManager.conf
> --no-daemon

Yes, so it’s in the store and the configuration file (and thus plugin
directory) is defined statically by the system administrator.

So I feel like there cannot be a situation where an unprivileged user
would trick NetworkManager into loading user-owned plugins.

Thoughts?

Ludo’.




This bug report was last modified 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.