unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory
@ 2024-04-09 23:58 lgcoelho--- via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: lgcoelho--- via Guix-patches via @ 2024-04-09 23:58 UTC (permalink / raw)
  To: 70318


[-- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-09 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09 23:58 [bug#70318] [PATCH] Fix unitentional creation of greeter's home directory lgcoelho--- via Guix-patches via

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).