From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Le Vaillant Subject: bug#40652: #36924 way solves the problem for me Date: Fri, 17 Apr 2020 11:06:48 +0200 Message-ID: <87y2qucwgn.fsf@yamatai> References: <20200416002020.GA381@tulip> <20200416053137.GA787@tulip> <87pnc7yjgd.fsf@yamatai> <877dyfkegp.fsf@gnu.org> <87o8rryfih.fsf@yamatai> <87mu7bye95.fsf@yamatai> <87eesnf8jd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPMyh-00007h-Lr for bug-guix@gnu.org; Fri, 17 Apr 2020 05:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPMyg-0006kF-HP for bug-guix@gnu.org; Fri, 17 Apr 2020 05:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPMyg-0006jh-Et for bug-guix@gnu.org; Fri, 17 Apr 2020 05:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPMyg-0008Dv-8i for bug-guix@gnu.org; Fri, 17 Apr 2020 05:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87eesnf8jd.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40652@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > =E2=80=98%gdm-activation=E2=80=99 would throw an exception if the =E2=80= =9Cgdm=E2=80=9D user didn=E2=80=99t > exist, so apparently it=E2=80=99s run before the activation snippet of > =E2=80=98account-service-type=E2=80=99 (the ordering guarantee is not exp= licit.) > > Hmm I wonder what I=E2=80=99m 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... > Now, I think we should generalize this chown thing and apply it to all > the user accounts. =E2=80=98user-homes=E2=80=99 would chown recursively = if needed or > use the newfangled shiftfs, like systemd-homed does=C2=B9. > > Thoughts? > Ludo=E2=80=99. > > =C2=B9 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXplxqAAKCRCPP4Yfgut6 mhOVAPwM1/J6kBrTMoAlBEPRZlCAhLbUzOF4MsDJ0YyEgkzb7gD9FaF5S2dHHRvc zu1CQOoGNn5yUp2L7RDt9NiyvMIVrwQ= =UVAQ -----END PGP SIGNATURE----- --=-=-=--