Subject: Re: bug#78047: WiFi stops working if managed with NetworkManager after migration to unprivileged guix daemon

From: Ludovic Courtès <[email-masked]>
Date: Thu, 05 Jun 2025 22:47:17 +0200

Hello,

Ludovic Courtès <[email-masked]> writes:

> So I’m tempted to just remove the check, but I’d rather have more
> eyeballs on this:
>
> diff --git a/src/core/nm-core-utils.c b/src/core/nm-core-utils.c
> index 895a991..738f8c7 100644
> --- a/src/core/nm-core-utils.c
> +++ b/src/core/nm-core-utils.c
> @@ -4319,14 +4319,6 @@ nm_utils_validate_plugin(const char *path, struct stat *st, GError **error)
>          return FALSE;
>      }
>  
> -    if (st->st_uid != 0) {
> -        g_set_error_literal(error,
> -                            NM_UTILS_ERROR,
> -                            NM_UTILS_ERROR_UNKNOWN,
> -                            "file has invalid owner (should be root)");
> -        return FALSE;
> -    }

Any objections to this?

See <https://issues.guix.gnu.org/78047> for context.

Ludo’.