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: Thu, 16 Apr 2020 23:03:02 +0200	[thread overview]
Message-ID: <87eesnf8jd.fsf@gnu.org> (raw)
In-Reply-To: <87mu7bye95.fsf@yamatai> (Guillaume Le Vaillant's message of "Thu, 16 Apr 2020 11:24:38 +0200")

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

> Guillaume Le Vaillant <glv@posteo.net> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> skribis:
>>
>>> Hi Guillaume,
>>>
>>> Guillaume Le Vaillant <glv@posteo.net> skribis:
>>>
>>>> I don't know if it's related, but recently I had GDM crashes at boot
>>>> after reconfiguring a system using gdm-service-type (generation n) to
>>>> make it use slim-service-type instead (generation n+1), and then
>>>> reconfiguring to gdm-service-type again (generation n+2).
>>>>
>>>> The problem was that the 'gdm' user id number (or group id number) was
>>>> not the same in generations n and n+2, which prevented GDM from
>>>> accessing the '/var/lib/gdm' directory.
>>>
>>> When did that happen?
>>>
>>> Commit a43e9157ef479e94c19951cc9d228cf153bf78ee (Sep. 2019) supposedly
>>> ensures that /var/lib/gdm has proper ownership.
>>>
>>> Thanks,
>>> Ludo’.
>>
>> I think it was around 2 weeks ago.
>
> Concerning the service extensions of gdm-service-type, is it guaranteed
> that %gdm-activation will be run after %gdm-accounts and not before?
> If it's not the case it could explain the problem...

‘%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?

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/

  reply	other threads:[~2020-04-16 21:04 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 [this message]
2020-04-17  9:06             ` Guillaume Le Vaillant
2020-04-18 16:40               ` Ludovic Courtès
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=87eesnf8jd.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).