[Bug 261543] Re: awful hack to avoid kernel-helper debconf clash

Colin Watson cjwatson at canonical.com
Thu Feb 16 01:03:48 UTC 2012


Since last-good-boot and kernel-helper are all gone, replaced
(conceptually) with smarter code in grub2, this is no longer an issue;
and the offending code in oem-config-firstboot was removed long ago.

** Changed in: ubiquity (Ubuntu)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/261543

Title:
  awful hack to avoid kernel-helper debconf clash

Status in “ubiquity” package in Ubuntu:
  Won't Fix
Status in “ubiquity” source package in Intrepid:
  Won't Fix

Bug description:
  Binary package hint: oem-config

  I've had to institute an awful hack in oem-config-firstboot to work
  around a clash with an /etc/event.d script in Intrepid. It's perhaps
  easiest if I just quote the code and its accompanying comment, added
  in oem-config 1.47:

  # TODO: This is an awful, awful hack. In Ubuntu intrepid, kernel-helper runs
  # from an /etc/event.d script (in parallel to rc2) and uses debconf; as a
  # result, it is often running while oem-config is trying to start and locks
  # the debconf database. I can't think of a way to declare that
  # /etc/event.d/last-good-boot needs to complete before our single init
  # script in rc2 starts, so we're left with this piece of pure evil.
  while pidof -x kernel-helper; do
          sleep 1
  done

  Scott, is there something better I can do here?

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




More information about the foundations-bugs mailing list