Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Udev deadlock on ubuntu during contextualization (re)configure #239

@ospalax

Description

@ospalax

When one-context reconfigure is started (e.g. after attaching new NIC to the VM) then udevadm settle is triggered and it will deadlock with the udevadm service until it is killed off by timeout:

sr0: Spawned process '/usr/sbin/service one-context-reconfigure start' [1466] timed out after 2min 59s, killing
sr0: Worker [1436] processing SEQNUM=2590 killed
Worker [1436] terminated by signal 9 (KILL)
sr0: Worker [1436] failed

This is the udevadm service which triggered one-context upon emerging of the new NIC:

/lib/systemd/systemd-udevd
 \_ /lib/systemd/systemd-udevd
 \_ /lib/systemd/systemd-udevd
     \_ systemctl start one-context-reconfigure.service

And here we are waiting for over two minutes (udevadm settle):

bash /usr/sbin/one-context-run
 \_ bash /usr/sbin/one-contextd all reconfigure
     \_ bash /usr/sbin/one-contextd all reconfigure
         \_ bash /etc/one-context.d/loc-05-grow-rootfs reconfigure
             \_ bash /etc/one-context.d/loc-05-grow-rootfs reconfigure
                 \_ /bin/sh /bin/growpart /dev/sda 1
                     \_ udevadm settle

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions