[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    Re: [systemd-devel] A start job is running for /dev/gpt-auto-root
From:       Arian van Putten <arian.vanputten () gmail ! com>
Date:       2021-04-27 16:21:51
Message-ID: CAE0h124dQAux6NSyMRJJSn17o9zTE9t+StG1r7qPg2u=fH61ig () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,

In case anybody is interested.
After some heavy debugging I was able to bisect the issue to the following
pull request (which was backported to v247)
https://github.com/systemd/systemd/pull/18802#issuecomment-827707662  . I
left comments there on what broke.

Thanks for the help either way!


On Sat, Apr 24, 2021 at 5:03 PM Arian van Putten <arian.vanputten@gmail.com>
wrote:

> Dear list,
>
> I've been working on trying to integrate systemd-gpt-auto and
> systemd-cryptsetup into NixOS's stage-1 init.
>
> Everything was working great on 246; but  when I updated from  kernel 5.4
> to 5.10 and from systemd 246 to 247, the setup stopped working.
>
> After entering my LUKS password, the boot keeps hanging with:
>
> A start job is running for /dev/gpt-auto-root
>
> and eventually fails with:
>
> [ TIME ] Timed out waiting for device /dev/gpt-auto-root.
>
> Interestingly.  Both /dev/gpt-auto-root  and /dev/gpt-auto-root-luks
> exist in the /dev tree so the udev rules are all fired correctly; but for
> some reason they are not propagating to the device unit.
> Also the btrfs kernel module didn't seem to get automatically loaded for
> some reason.
>
> For the failed boot on 247; this seems to be the interesting bit of the
> log:
> Apr 24 12:18:46 localhost systemd-udevd[209]: dm-0: Adding watch on
> '/dev/dm-0'
> Apr 24 12:18:46 localhost systemd-udevd[209]: dm-0: sd-device: Created db
> file '/run/udev/data/b254:0' for '/devices/virtual/block/dm-0'
> Apr 24 12:18:46 localhost systemd-udevd[209]: dm-0: Device (SEQNUM=1720,
> ACTION=change) processed
> Apr 24 12:18:46 localhost systemd-udevd[209]: dm-0: sd-device-monitor:
> Passed 947 byte to netlink monitor
> Apr 24 12:18:46 localhost systemd[1]: systemd-journald.service: Received
> EPOLLHUP on stored fd 46 (stored), closing.
> Apr 24 12:18:46 localhost systemd[1]: Received SIGCHLD from PID 192
> (systemd-cryptse).
> Apr 24 12:18:46 localhost systemd[1]: Child 192 (systemd-cryptse) died
> (code=exited, status=0/SUCCESS)
> Apr 24 12:18:46 localhost systemd[1]: systemd-cryptsetup@root.service:
> Child 192 belongs to systemd-cryptsetup@root.service.
> Apr 24 12:18:46 localhost systemd[1]: systemd-cryptsetup@root.service:
> Main process exited, code=exited, status=0/SUCCESS
> Apr 24 12:18:46 localhost systemd[1]: systemd-cryptsetup@root.service:
> Changed start -> exited
> Apr 24 12:18:46 localhost systemd[1]: systemd-cryptsetup@root.service:
> Job 59 systemd-cryptsetup@root.service/start finished, result=done
> Apr 24 12:18:46 localhost systemd[1]: Finished Cryptography Setup for root.
> Apr 24 12:18:46 localhost audit[1]: SERVICE_START pid=1 uid=0
> auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-cryptsetup@root
> comm="systemd"
> exe="/nix/store/ixpwj1cxl4rp2qbyn0s2h4k5zj731q7c-systemd-247.6/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
> Apr 24 12:18:46 localhost systemd[1]: systemd-cryptsetup@root.service:
> Control group is empty.
> Apr 24 12:18:46 localhost systemd[1]: blockdev@dev-mapper-root.target
> changed dead -> active
> Apr 24 12:18:46 localhost systemd[1]: blockdev@dev-mapper-root.target:
> Job 72 blockdev@dev-mapper-root.target/start finished, result=done
> Apr 24 12:18:46 localhost systemd[1]: Reached target Block Device
> Preparation for /dev/mapper/root.
> Apr 24 12:18:46 localhost kernel: kauditd_printk_skb: 4 callbacks
> suppressed
> Apr 24 12:18:46 localhost kernel: audit: type=1130
> audit(1619266726.241:15): pid=1 uid=0 auid=4294967295 ses=4294967295
> subj=kernel msg='unit=systemd-cryptsetup@root comm="systemd"
> exe="/nix/store/ixpwj1cxl4rp2qbyn0s2h4k5zj731q7c-systemd-247.6/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
> Apr 24 12:18:50 localhost systemd-udevd[148]: Cleanup idle workers
> Apr 24 12:18:50 localhost systemd-udevd[207]: Unload module index
> Apr 24 12:18:50 localhost systemd-udevd[209]: Unload module index
> Apr 24 12:18:50 localhost systemd-udevd[205]: Unload module index
> Apr 24 12:18:50 localhost systemd-udevd[206]: Unload module index
> Apr 24 12:18:50 localhost systemd-udevd[207]: Unloaded link configuration
> context.
> Apr 24 12:18:50 localhost systemd-udevd[209]: Unloaded link configuration
> context.
> Apr 24 12:18:50 localhost systemd-udevd[205]: Unloaded link configuration
> context.
> Apr 24 12:18:50 localhost systemd-udevd[206]: Unloaded link configuration
> context.
> Apr 24 12:18:50 localhost systemd-udevd[148]: Worker [205] exited
> Apr 24 12:18:50 localhost systemd-udevd[148]: Worker [206] exited
> Apr 24 12:18:50 localhost systemd-udevd[148]: Worker [207] exited
> Apr 24 12:18:50 localhost systemd-udevd[148]: Worker [209] exited
> Apr 24 12:19:48 localhost systemd[1]: dev-gpt\x2dauto\x2droot.device: Job
> dev-gpt\x2dauto\x2droot.device/start timed out.
> Apr 24 12:19:48 localhost systemd[1]: dev-gpt\x2dauto\x2droot.device: Job
> 56 dev-gpt\x2dauto\x2droot.device/start finished, result=timeout
> Apr 24 12:19:48 localhost systemd[1]: Timed out waiting for device
> /dev/gpt-auto-root.
> Apr 24 12:19:48 localhost systemd[1]: initrd-root-device.target: Job 57
> initrd-root-device.target/start finished, result=dependency
> Apr 24 12:19:48 localhost systemd[1]: Dependency failed for Initrd Root
> Device.
> Apr 24 12:19:48 localhost systemd[1]: initrd-root-device.target: Job
> initrd-root-device.target/start failed with result 'dependency'.
>
> Whilst the successful boot on 246 looks like this:
>
> r 24 12:44:32 localhost systemd-cryptsetup[176]: root: retaining kernel
> read ahead of 256 (requested 256)
> Apr 24 12:44:32 localhost systemd-cryptsetup[176]: Releasing crypt device
> /dev/gpt-auto-root-luks context.
> Apr 24 12:44:32 localhost systemd-cryptsetup[176]: Releasing device-mapper
> backend.
> Apr 24 12:44:32 localhost systemd-udevd[193]: dm-0: Adding watch on
> '/dev/dm-0'
> Apr 24 12:44:32 localhost systemd-cryptsetup[176]: Closing read only fd
> for /dev/gpt-auto-root-luks.
> Apr 24 12:44:32 localhost systemd-udevd[193]: dm-0: sd-device: Created db
> file '/run/udev/data/b254:0' for '/devices/virtual/block/dm-0'
> Apr 24 12:44:32 localhost systemd-udevd[193]: dm-0: Device (SEQNUM=2066,
> ACTION=change) processed
> Apr 24 12:44:32 localhost systemd-udevd[193]: dm-0: sd-device-monitor:
> Passed 891 byte to netlink monitor
> Apr 24 12:44:32 localhost systemd[1]: dev-gpt\x2dauto\x2droot.device:
> Changed dead -> plugged
> Apr 24 12:44:32 localhost systemd[1]: dev-gpt\x2dauto\x2droot.device: Job
> 52 dev-gpt\x2dauto\x2droot.device/start finished, result=done
> Apr 24 12:44:32 localhost systemd[1]: Found device /dev/gpt-auto-root.
> Apr 24 12:44:32 localhost systemd[1]:
> dev-disk-by\x2did-dm\x2dname\x2droot.device: Changed dead -> plugged
> Apr 24 12:44:32 localhost systemd[1]:
> dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d0c642ebc2b7643dcb9ba34f1125d7f16\x2droot.device:
> Changed dead -> plugged
> Apr 24 12:44:32 localhost systemd[1]: dev-mapper-root.device: Changed dead
> -> plugged
> Apr 24 12:44:32 localhost systemd[1]:
> dev-disk-by\x2duuid-5cb38441\x2d7012\x2d4aaf\x2da70c\x2db11aaaa212d3.device:
> Changed dead -> plugged
> Apr 24 12:44:32 localhost systemd[1]: dev-dm\x2d0.device: Changed dead ->
> plugged
> Apr 24 12:44:32 localhost systemd[1]:
> sys-devices-virtual-block-dm\x2d0.device: Changed dead -> plugged
> Apr 24 12:44:32 localhost systemd[1]: Received SIGCHLD from PID 176
> (systemd-cryptse).
> Apr 24 12:44:32 localhost systemd[1]: Child 176 (systemd-cryptse) died
> (code=exited, status=0/SUCCESS)
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Failed to read oom_kill field of memory.events cgroup attribute: No such
> file or directory
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Child 176 belongs to systemd-cryptsetup@root.service.
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Main process exited, code=exited, status=0/SUCCESS
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Changed start -> exited
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Job 56 systemd-cryptsetup@root.service/start finished, result=done
> Apr 24 12:44:32 localhost systemd[1]: Finished Cryptography Setup for root.
> Apr 24 12:44:32 localhost audit[1]: SERVICE_START pid=1 uid=0
> auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-cryptsetup@root
> comm="systemd"
> exe="/nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
> Apr 24 12:44:32 localhost systemd[1]: systemd-cryptsetup@root.service:
> Control group is empty.
> Apr 24 12:44:32 localhost kernel: kauditd_printk_skb: 1 callbacks
> suppressed
> Apr 24 12:44:32 localhost kernel: audit: type=1130
> audit(1619268272.815:12): pid=1 uid=0 auid=4294967295 ses=4294967295
> subj=kernel msg='unit=systemd-cryptsetup@root comm="systemd"
> exe="/nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
> Apr 24 12:44:32 localhost systemd[1]: systemd-journald.service: Received
> EPOLLHUP on stored fd 43 (stored), closing.
> Apr 24 12:44:32 localhost systemd[1]: blockdev@dev-mapper-root.target
> changed dead -> active
> Apr 24 12:44:32 localhost systemd[1]: blockdev@dev-mapper-root.target:
> Job 69 blockdev@dev-mapper-root.target/start finished, result=done
> Apr 24 12:44:32 localhost systemd[1]: Reached target Block Device
> Preparation for /dev/mapper/root.
> Apr 24 12:44:32 localhost systemd[1]: initrd-root-device.target:
> ConditionPathExists=/etc/initrd-release succeeded.
> Apr 24 12:44:32 localhost systemd[1]: initrd-root-device.target changed
> dead -> active
> Apr 24 12:44:32 localhost systemd[1]: initrd-root-device.target: Job 55
> initrd-root-device.target/start finished, result=done
> Apr 24 12:44:32 localhost systemd[1]: Reached target Initrd Root Device.
> Apr 24 12:44:32 localhost systemd[1]: initrd.target: starting held back,
> waiting for: initrd-root-fs.target
> Apr 24 12:44:32 localhost systemd[1]: Failed to read pids.max attribute of
> cgroup root, ignoring: No data available
> Apr 24 12:44:32 localhost systemd[1]: sysroot.mount: About to execute:
> /nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount
> /dev/gpt-auto-root /sysroot -o ro
> Apr 24 12:44:32 localhost systemd[1]: sysroot.mount: Forked
> /nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount
> as 202
> Apr 24 12:44:32 localhost systemd[1]: sysroot.mount: Changed dead ->
> mounting
> Apr 24 12:44:32 localhost systemd[1]: Mounting Root Partition...
> Apr 24 12:44:32 localhost systemd[202]: sysroot.mount: Executing:
> /nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount
> /dev/gpt-auto-root /sysroot -o ro
>
>
> I have attached the full boot log of the initrd as an attachment.
> initrd-246.log succeeds; whilst initrd-247.log fails
>
> Would love to get some pointers on how to further debug this. I can't tell
> from the logs what exactly is going wrong.
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>Hi all,<br><br></div><div>In case anybody is \
interested.<br></div>After some heavy debugging I was able to bisect the issue to the \
following pull request (which was backported to v247) <a \
href="https://github.com/systemd/systemd/pull/18802#issuecomment-827707662" \
target="_blank">https://github.com/systemd/systemd/pull/18802#issuecomment-827707662</a> \
. I left comments there on what broke.<br><br></div><div>Thanks for the help either \
way!<br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sat, Apr 24, 2021 at 5:03 PM Arian van Putten &lt;<a \
href="mailto:arian.vanputten@gmail.com" \
target="_blank">arian.vanputten@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear \
list,</div><div><br></div><div>I&#39;ve been working on trying to integrate \
systemd-gpt-auto and systemd-cryptsetup into NixOS&#39;s stage-1 \
init.</div><div><br></div><div>Everything  was working great on 246; but   when I \
updated from   kernel 5.4 to 5.10  and from systemd 246 to 247, the setup stopped \
working.<br><br></div><div>After entering my LUKS password, the boot keeps hanging \
with:</div><div><br></div><div><span style="font-family:monospace">A start job is \
running for /dev/gpt-auto-root</span><br><br></div><div>and eventually fails \
with:</div><div><br></div><div><span style="font-family:monospace">[ TIME ] Timed out \
waiting for device /dev/gpt-auto-root.</span></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace"></span>Interestingly.   Both <span \
style="font-family:monospace">/dev/gpt-auto-root</span>   and <span \
style="font-family:monospace">/dev/gpt-auto-root-luks</span> exist in the <span \
style="font-family:monospace">/dev</span> tree so the udev rules are all fired \
correctly; but for some reason they are not propagating to the device \
unit.</div><div>Also the <span style="font-family:monospace">btrfs</span> kernel \
module didn&#39;t seem to get automatically loaded for some \
reason.</div><div><br></div><div>For the failed boot on 247; this seems to be the \
interesting bit of the log:</div><div><span style="font-family:monospace">Apr 24 \
12:18:46 localhost systemd-udevd[209]: dm-0: Adding watch on \
&#39;/dev/dm-0&#39;<br>Apr 24 12:18:46 localhost systemd-udevd[209]: dm-0: sd-device: \
Created db file &#39;/run/udev/data/b254:0&#39; for \
&#39;/devices/virtual/block/dm-0&#39;<br>Apr 24 12:18:46 localhost \
systemd-udevd[209]: dm-0: Device (SEQNUM=1720, ACTION=change) processed<br>Apr 24 \
12:18:46 localhost systemd-udevd[209]: dm-0: sd-device-monitor: Passed 947 byte to \
netlink monitor<br>Apr 24 12:18:46 localhost systemd[1]: systemd-journald.service: \
Received EPOLLHUP on stored fd 46 (stored), closing.<br>Apr 24 12:18:46 localhost \
systemd[1]: Received SIGCHLD from PID 192 (systemd-cryptse).<br>Apr 24 12:18:46 \
localhost systemd[1]: Child 192 (systemd-cryptse) died (code=exited, \
status=0/SUCCESS)<br>Apr 24 12:18:46 localhost systemd[1]: \
systemd-cryptsetup@root.service: Child 192 belongs to \
systemd-cryptsetup@root.service.<br>Apr 24 12:18:46 localhost systemd[1]: \
systemd-cryptsetup@root.service: Main process exited, code=exited, \
status=0/SUCCESS<br>Apr 24 12:18:46 localhost systemd[1]: \
systemd-cryptsetup@root.service: Changed start -&gt; exited<br>Apr 24 12:18:46 \
localhost systemd[1]: systemd-cryptsetup@root.service: Job 59 \
systemd-cryptsetup@root.service/start finished, result=done<br>Apr 24 12:18:46 \
localhost systemd[1]: Finished Cryptography Setup for root.<br>Apr 24 12:18:46 \
localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 \
subj=kernel msg=&#39;unit=systemd-cryptsetup@root comm=&quot;systemd&quot; \
exe=&quot;/nix/store/ixpwj1cxl4rp2qbyn0s2h4k5zj731q7c-systemd-247.6/lib/systemd/systemd&quot; \
hostname=? addr=? terminal=? res=success&#39;<br>Apr 24 12:18:46 localhost \
systemd[1]: systemd-cryptsetup@root.service: Control group is empty.<br>Apr 24 \
12:18:46 localhost systemd[1]: blockdev@dev-mapper-root.target changed dead -&gt; \
active<br>Apr 24 12:18:46 localhost systemd[1]: blockdev@dev-mapper-root.target: Job \
72 blockdev@dev-mapper-root.target/start finished, result=done<br>Apr 24 12:18:46 \
localhost systemd[1]: Reached target Block Device Preparation for \
/dev/mapper/root.<br>Apr 24 12:18:46 localhost kernel: kauditd_printk_skb: 4 \
callbacks suppressed<br>Apr 24 12:18:46 localhost kernel: audit: type=1130 \
audit(1619266726.241:15): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel \
msg=&#39;unit=systemd-cryptsetup@root comm=&quot;systemd&quot; \
exe=&quot;/nix/store/ixpwj1cxl4rp2qbyn0s2h4k5zj731q7c-systemd-247.6/lib/systemd/systemd&quot; \
hostname=? addr=? terminal=? res=success&#39;<br>Apr 24 12:18:50 localhost \
systemd-udevd[148]: Cleanup idle workers<br>Apr 24 12:18:50 localhost \
systemd-udevd[207]: Unload module index<br>Apr 24 12:18:50 localhost \
systemd-udevd[209]: Unload module index<br>Apr 24 12:18:50 localhost \
systemd-udevd[205]: Unload module index<br>Apr 24 12:18:50 localhost \
systemd-udevd[206]: Unload module index<br>Apr 24 12:18:50 localhost \
systemd-udevd[207]: Unloaded link configuration context.<br>Apr 24 12:18:50 localhost \
systemd-udevd[209]: Unloaded link configuration context.<br>Apr 24 12:18:50 localhost \
systemd-udevd[205]: Unloaded link configuration context.<br>Apr 24 12:18:50 localhost \
systemd-udevd[206]: Unloaded link configuration context.<br>Apr 24 12:18:50 localhost \
systemd-udevd[148]: Worker [205] exited<br>Apr 24 12:18:50 localhost \
systemd-udevd[148]: Worker [206] exited<br>Apr 24 12:18:50 localhost \
systemd-udevd[148]: Worker [207] exited<br>Apr 24 12:18:50 localhost \
systemd-udevd[148]: Worker [209] exited<br>Apr 24 12:19:48 localhost systemd[1]: \
dev-gpt\x2dauto\x2droot.device: Job dev-gpt\x2dauto\x2droot.device/start timed \
out.<br>Apr 24 12:19:48 localhost systemd[1]: dev-gpt\x2dauto\x2droot.device: Job 56 \
dev-gpt\x2dauto\x2droot.device/start finished, result=timeout<br>Apr 24 12:19:48 \
localhost systemd[1]: Timed out waiting for device /dev/gpt-auto-root.<br>Apr 24 \
12:19:48 localhost systemd[1]: initrd-root-device.target: Job 57 \
initrd-root-device.target/start finished, result=dependency<br>Apr 24 12:19:48 \
localhost systemd[1]: Dependency failed for Initrd Root Device.<br>Apr 24 12:19:48 \
localhost systemd[1]: initrd-root-device.target: Job initrd-root-device.target/start \
failed with result &#39;dependency&#39;.</span></div><div><br></div><div>Whilst the \
successful boot on 246 looks like this:<br><br><span style="font-family:monospace">r \
24 12:44:32 localhost systemd-cryptsetup[176]: root: retaining kernel read ahead of \
256 (requested 256)<br>Apr 24 12:44:32 localhost systemd-cryptsetup[176]: Releasing \
crypt device /dev/gpt-auto-root-luks context.<br>Apr 24 12:44:32 localhost \
systemd-cryptsetup[176]: Releasing device-mapper backend.<br>Apr 24 12:44:32 \
localhost systemd-udevd[193]: dm-0: Adding watch on &#39;/dev/dm-0&#39;<br>Apr 24 \
12:44:32 localhost systemd-cryptsetup[176]: Closing read only fd for \
/dev/gpt-auto-root-luks.<br>Apr 24 12:44:32 localhost systemd-udevd[193]: dm-0: \
sd-device: Created db file &#39;/run/udev/data/b254:0&#39; for \
&#39;/devices/virtual/block/dm-0&#39;<br>Apr 24 12:44:32 localhost \
systemd-udevd[193]: dm-0: Device (SEQNUM=2066, ACTION=change) processed<br>Apr 24 \
12:44:32 localhost systemd-udevd[193]: dm-0: sd-device-monitor: Passed 891 byte to \
netlink monitor<br>Apr 24 12:44:32 localhost systemd[1]: \
dev-gpt\x2dauto\x2droot.device: Changed dead -&gt; plugged<br>Apr 24 12:44:32 \
localhost systemd[1]: dev-gpt\x2dauto\x2droot.device: Job 52 \
dev-gpt\x2dauto\x2droot.device/start finished, result=done<br>Apr 24 12:44:32 \
localhost systemd[1]: Found device /dev/gpt-auto-root.<br>Apr 24 12:44:32 localhost \
systemd[1]: dev-disk-by\x2did-dm\x2dname\x2droot.device: Changed dead -&gt; \
plugged<br>Apr 24 12:44:32 localhost systemd[1]: \
dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d0c642ebc2b7643dcb9ba34f1125d7f16\x2droot.device: \
Changed dead -&gt; plugged<br>Apr 24 12:44:32 localhost systemd[1]: \
dev-mapper-root.device: Changed dead -&gt; plugged<br>Apr 24 12:44:32 localhost \
systemd[1]: dev-disk-by\x2duuid-5cb38441\x2d7012\x2d4aaf\x2da70c\x2db11aaaa212d3.device: \
Changed dead -&gt; plugged<br>Apr 24 12:44:32 localhost systemd[1]: \
dev-dm\x2d0.device: Changed dead -&gt; plugged<br>Apr 24 12:44:32 localhost \
systemd[1]: sys-devices-virtual-block-dm\x2d0.device: Changed dead -&gt; \
plugged<br>Apr 24 12:44:32 localhost systemd[1]: Received SIGCHLD from PID 176 \
(systemd-cryptse).<br>Apr 24 12:44:32 localhost systemd[1]: Child 176 \
(systemd-cryptse) died (code=exited, status=0/SUCCESS)<br>Apr 24 12:44:32 localhost \
systemd[1]: systemd-cryptsetup@root.service: Failed to read oom_kill field of \
memory.events cgroup attribute: No such file or directory<br>Apr 24 12:44:32 \
localhost systemd[1]: systemd-cryptsetup@root.service: Child 176 belongs to \
systemd-cryptsetup@root.service.<br>Apr 24 12:44:32 localhost systemd[1]: \
systemd-cryptsetup@root.service: Main process exited, code=exited, \
status=0/SUCCESS<br>Apr 24 12:44:32 localhost systemd[1]: \
systemd-cryptsetup@root.service: Changed start -&gt; exited<br>Apr 24 12:44:32 \
localhost systemd[1]: systemd-cryptsetup@root.service: Job 56 \
systemd-cryptsetup@root.service/start finished, result=done<br>Apr 24 12:44:32 \
localhost systemd[1]: Finished Cryptography Setup for root.<br>Apr 24 12:44:32 \
localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 \
subj=kernel msg=&#39;unit=systemd-cryptsetup@root comm=&quot;systemd&quot; \
exe=&quot;/nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib/systemd/systemd&quot; \
hostname=? addr=? terminal=? res=success&#39;<br>Apr 24 12:44:32 localhost \
systemd[1]: systemd-cryptsetup@root.service: Control group is empty.<br>Apr 24 \
12:44:32 localhost kernel: kauditd_printk_skb: 1 callbacks suppressed<br>Apr 24 \
12:44:32 localhost kernel: audit: type=1130 audit(1619268272.815:12): pid=1 uid=0 \
auid=4294967295 ses=4294967295 subj=kernel msg=&#39;unit=systemd-cryptsetup@root \
comm=&quot;systemd&quot; \
exe=&quot;/nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib/systemd/systemd&quot; \
hostname=? addr=? terminal=? res=success&#39;<br>Apr 24 12:44:32 localhost \
systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 43 (stored), \
closing.<br>Apr 24 12:44:32 localhost systemd[1]: blockdev@dev-mapper-root.target \
changed dead -&gt; active<br>Apr 24 12:44:32 localhost systemd[1]: \
blockdev@dev-mapper-root.target: Job 69 blockdev@dev-mapper-root.target/start \
finished, result=done<br>Apr 24 12:44:32 localhost systemd[1]: Reached target Block \
Device Preparation for /dev/mapper/root.<br>Apr 24 12:44:32 localhost systemd[1]: \
initrd-root-device.target: ConditionPathExists=/etc/initrd-release succeeded.<br>Apr \
24 12:44:32 localhost systemd[1]: initrd-root-device.target changed dead -&gt; \
active<br>Apr 24 12:44:32 localhost systemd[1]: initrd-root-device.target: Job 55 \
initrd-root-device.target/start finished, result=done<br>Apr 24 12:44:32 localhost \
systemd[1]: Reached target Initrd Root Device.<br>Apr 24 12:44:32 localhost \
systemd[1]: initrd.target: starting held back, waiting for: \
initrd-root-fs.target<br>Apr 24 12:44:32 localhost systemd[1]: Failed to read \
pids.max attribute of cgroup root, ignoring: No data available<br>Apr 24 12:44:32 \
localhost systemd[1]: sysroot.mount: About to execute: \
/nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount \
/dev/gpt-auto-root /sysroot -o ro<br>Apr 24 12:44:32 localhost systemd[1]: \
sysroot.mount: Forked \
/nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount as \
202<br>Apr 24 12:44:32 localhost systemd[1]: sysroot.mount: Changed dead -&gt; \
mounting<br>Apr 24 12:44:32 localhost systemd[1]: Mounting Root Partition...<br>Apr \
24 12:44:32 localhost systemd[202]: sysroot.mount: Executing: \
/nix/store/wcbrp1x2xfmqdpg4vs759irmm1k74c0s-util-linux-2.36-bin/bin/mount \
/dev/gpt-auto-root /sysroot -o ro</span><br><br></div><div><br><div>I have attached \
the full boot log of the initrd as an attachment.     initrd-246.log succeeds; whilst \
initrd-247.log fails <br></div><div><br></div><div>Would love to get some pointers on \
how to further debug this. I can&#39;t tell from the logs what exactly is going \
wrong.<br></div><div><br></div></div></div> </blockquote></div>



_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic