unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: lgcoelho--- via Guix-patches via <guix-patches@gnu.org>
To: 70318@debbugs.gnu.org
Subject: [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory
Date: Wed, 10 Apr 2024 01:58:01 +0200	[thread overview]
Message-ID: <c45600de103d560b3487772b103d7e4b@disroot.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 110 bytes --]

This patch adresses the unintentional creation of the greeter's home 
directory when using the greetd-service.

[-- Attachment #1.2: Type: text/html, Size: 296 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-services-base-Fix-unintentional-creation-of-greeter-.patch --]
[-- Type: text/x-diff; name=0001-services-base-Fix-unintentional-creation-of-greeter-.patch, Size: 1159 bytes --]

From 4be55c2b63c050ae837e9afa7969cfb3ee8df1e5 Mon Sep 17 00:00:00 2001
From: Luis Guilherme Coelho <lgcoelho@disroot.org>
Date: Tue, 9 Apr 2024 20:38:33 -0300
Subject: [PATCH] services: base: Fix unintentional creation of greeter's home
 directory

* gnu/services/base.scm (greetd-account) [create-home-directory?]: Set to false.
---
 gnu/services/base.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 3f912225a0..b39b8418ed 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
 ;;; Copyright © 2022 ( <paren@disroot.org>
 ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
+;;; Copyright © 2024 Luis Guilherme Coelho <lgcoelho@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3481,6 +3482,7 @@ (define (greetd-accounts config)
          (name "greeter")
          (group "greeter")
          (supplementary-groups (greetd-greeter-supplementary-groups config))
+         (create-home-directory? #f)
          (system? #t))))
 
 (define (make-greetd-pam-mount-conf-file config)
-- 
2.41.0


             reply	other threads:[~2024-04-09 23:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 23:58 lgcoelho--- via Guix-patches via [this message]
2025-01-03 18:05 ` [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory muradm
2025-01-04 14:06   ` Nicolas Graves via Guix-patches via
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=c45600de103d560b3487772b103d7e4b@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=70318@debbugs.gnu.org \
    --cc=lgcoelho@disroot.org \
    /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).