unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: 40652@debbugs.gnu.org
Subject: bug#40652: #36924 way solves the problem for me
Date: Sat, 18 Apr 2020 18:40:17 +0200	[thread overview]
Message-ID: <87wo6c7nny.fsf@gnu.org> (raw)
In-Reply-To: <87y2qucwgn.fsf@yamatai> (Guillaume Le Vaillant's message of "Fri, 17 Apr 2020 11:06:48 +0200")

Hi,

Guillaume Le Vaillant <glv@posteo.net> skribis:

> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> ‘%gdm-activation’ would throw an exception if the “gdm” user didn’t
>> exist, so apparently it’s run before the activation snippet of
>> ‘account-service-type’ (the ordering guarantee is not explicit.)
>>
>> Hmm I wonder what I’m missing then.  Would you like to try again?
>
> I tried again and I wasn't able to reproduce the problem.
> Maybe I did something weird with my config last time, but I can't
> remember what it could have been...

OK.

>> Now, I think we should generalize this chown thing and apply it to all
>> the user accounts.  ‘user-homes’ would chown recursively if needed or
>> use the newfangled shiftfs, like systemd-homed does¹.
>>
>> Thoughts?
>> Ludo’.
>>
>> ¹ https://systemd.io/HOME_DIRECTORY/
>
> A recursive chown for system accounts (with their home directory
> somewhere in '/var') sounds like a good idea.
>
> For user accounts (in '/home'), I guess it could be slightly annoying if
> a user wants to set a specific group id to some of their files and if it
> gets set back to the 'users' group at each system reconfiguration.
> However it's probably not a very common use case, and if we only change
> the files' uid, they could end up with an invalid gid anyway.

Right.  The recursive chown would only happen if the home directory
itself has the wrong UID though, so that would still let you fiddle with
ownership of the files within it.  Worth trying!

Thanks,
Ludo’.

  reply	other threads:[~2020-04-18 16:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16  0:20 bug#40652: GDM does not starts after April 10 system reconfigure R Veera Kumar
2020-04-16  1:14 ` bug#40652: SLIM is working though with gnome, mate, xfce and enlightenment R Veera Kumar
2020-04-16  2:58 ` bug#40652: Local build of gdm without gdm-xsession.patch still fails to start R Veera Kumar
2020-04-16  4:19 ` bug#40652: GDM does not starts after April 10 system reconfigure sirgazil via Bug reports for GNU Guix
2020-04-16  4:53 ` Rene via Bug reports for GNU Guix
2020-04-16  5:31 ` bug#40652: #36924 way solves the problem for me R Veera Kumar
2020-04-16  7:32   ` Guillaume Le Vaillant
2020-04-16  8:43     ` Ludovic Courtès
2020-04-16  8:57       ` Guillaume Le Vaillant
2020-04-16  9:24         ` Guillaume Le Vaillant
2020-04-16 21:03           ` Ludovic Courtès
2020-04-17  9:06             ` Guillaume Le Vaillant
2020-04-18 16:40               ` Ludovic Courtès [this message]
2022-06-10  0:40   ` bug#40652: GDM does not starts after April 10 system reconfigure Maxim Cournoyer
2020-04-16 14:05 ` sirgazil via Bug reports for GNU Guix

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=87wo6c7nny.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=40652@debbugs.gnu.org \
    --cc=glv@posteo.net \
    /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).