GNU bug report logs - #70318
[PATCH] Fix unitentional creation of greeter's home directory

Previous Next

Package: guix-patches;

Reported by: lgcoelho <at> disroot.org

Date: Tue, 9 Apr 2024 23:59:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: muradm <mail <at> muradm.net>, lgcoelho <at> disroot.org
Cc: 70318 <at> debbugs.gnu.org
Subject: Re: [bug#70318] [PATCH] Fix unitentional creation of greeter's home
 directory
Date: Sat, 04 Jan 2025 15:06:56 +0100
On 2025-01-03 21:05, muradm wrote:

> This may break greeters which are more complex than agreety. For 
> instance, gtkgreet/wlgreet run under sway. One of subdependencies 
> is mesa, which will want to write shader caches somewhere. Another 
> one is fontconfig, doing similar thing for fonts. There may be 
> others, which hard to track and tune. Some could be impossible to 
> tune at all.

Then maybe we can make it conditional on agreety?

If all greetd-configuration-terminals have their
greet-default-session-command being an greetd-agreety-session?, we could
set it to #f.

Something like this could work: 
(create-home-directory? (not (every greetd-agreety-session? (map greetd-default-session-command (greetd-configuration-terminals config)))))

WDYT?

-- 
Best regards,
Nicolas Graves




This bug report was last modified 161 days ago.

Previous Next


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