GNU bug report logs -
#28772
guix system reconfigure after kernel panic user or group not created
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Tue, 10 Oct 2017 05:52:01 UTC
Severity: normal
Tags: moreinfo
Done: Simon Tournier <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 28772 <at> debbugs.gnu.org (full text, mbox):
Hi Oleg,
Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
> ludo <at> gnu.org (Ludovic Courtès) writes:
>
> [...]
>
>> I think we can avoid the problem by forcefully removing these two lock
>> files at boot time:
>>
>> diff --git a/gnu/services.scm b/gnu/services.scm
>> index 329b7b151..2ef1d8530 100644
>> --- a/gnu/services.scm
>> +++ b/gnu/services.scm
>> @@ -368,6 +368,8 @@ boot."
>> #t))))
>> ;; Ignore I/O errors so the system can boot.
>> (fail-safe
>> + (delete-file "/etc/group.lock")
>> + (delete-file "/etc/passwd.lock")
>> (delete-file-recursively "/tmp")
>> (delete-file-recursively "/var/run")
>> (mkdir "/tmp")
>>
>>
>
> There is also a '/etc/.pwd.lock'. Info about this file
> https://lists.debian.org/debian-user/2005/07/msg02949.html
>
>
> I'm not sure if any files are exist. Days past after reconfigure
> failure.
>
> $ sudo find /etc -name '*.lock' # Shows nothing.
I’ve pushed it as aad8a143000600abec5c8ebfadec4c09f34f1b73.
> [...]
>
>> IOW, shepherd caught the exceptions and didn’t die.
>>
>> What am I missing?
>
> I'll try to make a reproducible thing later.
Awesome.
Thanks,
Ludo’.
This bug report was last modified 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.