[systemd-devel] udev now crashes in daemon mode

Filipe Brandenburger filbranden at google.com
Tue May 26 09:08:51 PDT 2015


Hi Tom,

On Sun, May 24, 2015 at 6:30 AM, Tom Gundersen <teg at jklm.no> wrote:
> On Sun, May 24, 2015 at 11:40 AM, Mantas Mikulėnas <grawity at gmail.com> wrote:
>> So, udev v220 crashes in my initramfs with the following message:
>>
>>> starting version v220
>>> Assertion 'manager->pid == getpid()' failed at src/udev/udevd.c:568,
>>> function ev
>>> Aborting.
>>
>> It seems main calls manager_new() before forking, so the parent PID is
>> stored instead of child PID.
>>
>> (I'm using Arch Linux with the traditional mkinitcpio-based initramfs, which
>> starts udev using "systemd-udevd --daemon --resolve-names=never".)
>
> Thanks for the report. This should be fixed now in git, please let me
> know if that is not the case.

I was testing the same setup (ArchLinux with mkinitcpio), seeing the
same crash in udevd from initramfs and I can confirm that
040e689654ef08 ("udevd: event - fix event queue in daemenozied mode")
fixed it. Thanks!

HTH,
Filipe


More information about the systemd-devel mailing list