← Back to team overview

touch-packages team mailing list archive

[Bug 1377624] Re: udev fails without devtmpfs and sysvinit in OpenVZ

 

Not sure this is a bug.

The error:
Setting up udev (204-5ubuntu20.7) ...
 * udev requires hotplug support, not started
   ...fail!

occurs in /etc/init.d/udev when the script checks for the existence of
"/sys/kernel/uevent_helper" which does't exist unless the config option
"CONFIG_UEVENT_HELPER" was set at kernel compile time.  (Open the
.config file, search for CONFIG_UEVENT_HELPER and set it to "y".  Save
the .config file and recompile the kernel and boot it. The above error
should not occur. )

If recompiling your kernel is not an option, suggest the following workaround:
edit /etc/init.d/udev
comment out the following lines (at approx line 128-131):
if [ ! -e /sys/kernel/uevent_helper ]; then
  log_failure_msg "udev requires hotplug support, not started"
  log_end_msg 1
fi

The script should then run without error.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1377624

Title:
  udev fails without devtmpfs and sysvinit in OpenVZ

Status in systemd package in Ubuntu:
  Incomplete
Status in systemd source package in Trusty:
  Incomplete

Bug description:
  I'm running 14.04 LTS in an OpenVZ container.

  Upgrades failed today, due to failure to configure udev:
  $ sudo apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  3 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up udev (204-5ubuntu20.7) ...
   * udev requires hotplug support, not started
     ...fail!
  invoke-rc.d: initscript udev, action "restart" failed.
  dpkg: error processing package udev (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of systemd-services:
   systemd-services depends on udev (>= 175-0ubuntu23); however:
    Package udev is not configured yet.

  dpkg: error processing package systemd-services (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libpam-systemd:amd64:
   libpam-systemd:amd64 depends on systemd-services (= 204-5ubuntu20.7); however:
    Package systemd-services is not configured yet.

  dpkg: error processing package libpam-systemd:amd64 (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   udev
   systemd-services
   libpam-systemd:amd64
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1377624/+subscriptions


References