unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: muradm <mail@muradm.net>, lgcoelho@disroot.org
Cc: 70318@debbugs.gnu.org
Subject: [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory
Date: Sat, 04 Jan 2025 15:06:56 +0100	[thread overview]
Message-ID: <87o70mzn9b.fsf@ngraves.fr> (raw)
In-Reply-To: <87msg73h8x.fsf@muradm.net>

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




  reply	other threads:[~2025-01-04 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 23:58 [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory lgcoelho--- via Guix-patches via
2025-01-03 18:05 ` muradm
2025-01-04 14:06   ` Nicolas Graves via Guix-patches via [this message]
2025-01-04 15:05     ` muradm
2025-01-04 17:08       ` muradm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o70mzn9b.fsf@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=70318@debbugs.gnu.org \
    --cc=lgcoelho@disroot.org \
    --cc=mail@muradm.net \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).