[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35996: User account password got locked when booting old generation
From: |
Ludovic Courtès |
Subject: |
bug#35996: User account password got locked when booting old generation |
Date: |
Mon, 03 Jun 2019 17:22:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
"pelzflorian (Florian Pelz)" <address@hidden> skribis:
> Please add more logging and/or locking. Note that the elogind has the
> following comment in its locking implementation in
> /gnu/store/dm2ri0qvjirl0iq2ndfk5z9lq9dyk4jf-elogind-241.3-checkout/src/basic/user-util.c:
>
> /* This is roughly the same as lckpwdf(), but not as awful. We
> * don't want to use alarm() and signals, hence we implement
> * our own trivial version of this.
Attach is a set of patches to lock /etc/.pwd.lock when we access
/etc/{passwd,shadow,group} from the activation snippets. It should
ensure that, when running ‘guix system reconfigure’, we’re honoring the
locking protocol that Shadow & co. follow.
It would be great if you could test again in this context.
Thanks!
Ludo’.
0001-syscalls-Add-with-file-lock-macro.patch
Description: Text Data
0002-syscalls-with-file-lock-expands-to-a-call-to-call-wi.patch
Description: Text Data
0003-syscalls-with-lock-file-catches-ENOSYS.patch
Description: Text Data
0004-activation-Lock-etc-.pwd.lock-before-accessing-datab.patch
Description: Text Data
0005-nar-Really-lock-store-files.patch
Description: Text Data
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/01
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/01
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/01
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/02
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/02
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/02
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/02
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation, Gábor Boskovits, 2019/06/03
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation,
Ludovic Courtès <=
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/03
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/04
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/04
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/04
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/04
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/04
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/05
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/05