From: ludo@gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: 28772@debbugs.gnu.org
Subject: bug#28772: guix system reconfigure after kernel panic user or group not created
Date: Fri, 13 Oct 2017 10:25:52 +0200 [thread overview]
Message-ID: <87wp3zqwrz.fsf@gnu.org> (raw)
In-Reply-To: <87o9pceq8b.fsf@gmail.com> (Oleg Pykhalov's message of "Thu, 12 Oct 2017 11:15:48 +0300")
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> ludo@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’.
next prev parent reply other threads:[~2017-10-13 8:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-10 5:51 bug#28772: guix system reconfigure after kernel panic user or group not created Oleg Pykhalov
2017-10-10 14:55 ` Oleg Pykhalov
2017-10-11 13:27 ` Ludovic Courtès
2017-10-10 15:37 ` Ludovic Courtès
2017-10-11 17:19 ` Oleg Pykhalov
2017-10-12 7:57 ` Ludovic Courtès
2017-10-12 8:15 ` Oleg Pykhalov
2017-10-13 8:25 ` Ludovic Courtès [this message]
2017-10-20 16:02 ` Ludovic Courtès
2017-10-22 14:41 ` Oleg Pykhalov
2017-10-22 23:01 ` Ludovic Courtès
2017-10-22 20:39 ` Oleg Pykhalov
2021-11-26 1:19 ` zimoun
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wp3zqwrz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=28772@debbugs.gnu.org \
--cc=go.wigust@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.