Bug#823980: udev: setting udev_log="debug" in /etc/udev/udev.conf == 90 second hang during boot
Michael Biebl
biebl at debian.org
Wed Dec 21 19:05:48 GMT 2016
On Tue, 10 May 2016 18:47:47 -0400 Daniel Kahn Gillmor
<dkg at fifthhorseman.net> wrote:
> Package: udev
> Version: 229-5
> Severity: normal
>
> I put udev_log="debug" into /etc/udev/udev.conf to try to understand
> part of what udev is doing. Then i needed to reboot my computer (for
> other reasons).
>
> Normal bootup is quite fast. But right when the transition from the
> initramfs to the regular system would normally happen, i see something
> like this:
>
> [*** ] (1 of 4) A start job is running for dev-sda1.device (16s / 1min 30s)
>
> And it cycles through multiple "start jobs", each of them a .device
> job. after the designated timeout elapses, i'm given a chance to
> enter into the emergency mode. (even more problematically, on systems
> where the keyboard is only available via USB, i can't enter the root
> password or hit ^D to get past the emergency mode prompt).
>
> From emergency mode, "systemctl default" brings up the system as
> usual, with no problems. If i remove udev_log="debug" from
> /etc/udev/udev.conf and reboot, i don't have this hang on boot.
>
> the systems i've tested this on all tend to use lvm, fwiw. some of
> them use encrypted volumes, some do not. I haven't tested it on
> systems without lvm yet.
>
> My initramfs is built with dracut 044+38-1, using the standard debian
> kernel hooks, in case it matters. I see the issue when the system
> udev.conf has the debug line in it -- it doesn't seem to matter
> whether the udev.conf in the initramfs has the debug line or not.
I just tried to reproduce this in an up-to-date stretch system with
systemd_232-7 and dracut_044+109-1.
It works fine here.
The test VM doesn't use LVM though.
Can you please test, if you still encounter this problem or not.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161221/328293b6/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list