GNU bug report logs - #78497
[PATCH] environment: Provide a writable /run/user/$UID.

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 19 May 2025 19:32:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Full log


Message #14 received at 78497 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 78497 <at> debbugs.gnu.org
Subject: Re: [bug#78497] [PATCH] environment: Provide a writable
 /run/user/$UID.
Date: Tue, 20 May 2025 18:55:31 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

>> For normal users this is fine, but for root the whole /run should be
>> writable, the way it is on normal system.  Thoughts?
>
> For root, the whole root file system should be writable.

Well... That would be one way to solve this.  Default to --writable-root
if UID is zero.

> So I wonder if it makes sense to special-case the above to be “/run”
> when UID is zero; WDYT?

I was thinking about programs that are expected to be run as a root and
have hard-coded PID file, lock file or something else under /run.  But I
have no example to put forward.  So maybe your version is enough, and we
can revisit this in another pass later if the need realizes?

I do not really have a strong opinion either way here, just wanted to
raise the point for consideration.  Feel free to proceed with the
original version. ^_^

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 22 days ago.

Previous Next


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