[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571056: marked as done (chroot_upstart: divert initctl (like policy-rc.d) to fix start(8) in Ubuntu Lucid postinsts.)

Your message dated Sun, 14 Mar 2010 22:47:27 +0000
with message-id <E1Nqwal-0005yu-22@ries.debian.org>
and subject line Bug#571056: fixed in live-helper 2.0~a9-1
has caused the Debian Bug report #571056,
regarding chroot_upstart: divert initctl (like policy-rc.d) to fix start(8) in Ubuntu Lucid postinsts.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

571056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571056
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-helper
Version: 2.0~a7-1
Severity: normal

See also http://bugs.debian.org/571054 (same issue, in pbuilder).

In chroot_sysv-rc, live-helper currently creates a policy-rc.d that
prevents daemons from starting when they are installed.  This works
well for sysvinit packages.

However, when working with Ubuntu Lucid[0] chroots, many daemons use
upstart instead of sysvinit.  Thus, they ignore policy-rc.d, try (and
fail) to start, further causing dpkg and thus "lh build" to fail.

According to CJ Watson of #ubuntu-devel, this can be done by diverting
/sbin/initctl and substituting a stub.  An example of this can be seen
in debootstrap's "gutsy" script (excerpt below).  Please add something
similar, I guess to /usr/share/live-helper/helpers/chroot_upstart.

        mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL"
        echo \
    echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon"
        chmod 755 "$TARGET/sbin/start-stop-daemon"

        if [ -x "$TARGET/sbin/initctl" ]; then
          mv "$TARGET/sbin/initctl" "$TARGET/sbin/initctl.REAL"
          echo \
    echo \"Warning: Fake initctl called, doing nothing\"" > "$TARGET/sbin/initctl"
          chmod 755 "$TARGET/sbin/initctl"

[0] In theory this was an issue with earlier Ubuntu releases, but it
    seems to be far more prevalent in Lucid.

-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-helper depends on:
ii  cdebootstrap                  0.5.5      Bootstrap a Debian system
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system

Versions of packages live-helper recommends:
ii  gettext-base                  0.17-9     GNU Internationalization utilities

Versions of packages live-helper suggests:
ii  dosfstools        3.0.9-1                utilities for making and checking 
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  genext2fs         1.4.1-2.2              ext2 filesystem generator for embe
ii  genisoimage       9:1.1.10-1             Creates ISO-9660 CD-ROM filesystem
ii  memtest86+        4.00-2.2               thorough real-mode memory tester
ii  mtd-utils [mtd-to 20090606-1             Memory Technology Device Utilities
ii  mtools            4.0.12-1               Tools for manipulating MSDOS files
ii  parted            1.8.8.git.2009.07.19-5 The GNU Parted disk partition resi
ii  squashfs-tools    1:4.0-6                Tool to create and append to squas
ii  sudo              1.7.2p1-1              Provide limited super user privile
ii  syslinux          2:3.83+dfsg-3          utilities for the syslinux bootloa
ii  uuid-runtime      2.16.2-0               runtime components for the Univers
pn  win32-loader      <none>                 (no description available)

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: live-helper
Source-Version: 2.0~a9-1

We believe that the bug you reported is fixed in the latest version of
live-helper, which is due to be installed in the Debian FTP archive:

  to main/l/live-helper/live-helper_2.0~a9-1.diff.gz
  to main/l/live-helper/live-helper_2.0~a9-1.dsc
  to main/l/live-helper/live-helper_2.0~a9-1_all.deb
  to main/l/live-helper/live-helper_2.0~a9.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 571056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel@debian.org> (supplier of updated live-helper package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sun, 14 Mar 2010 23:31:59 +0100
Source: live-helper
Binary: live-helper
Architecture: source all
Version: 2.0~a9-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
 live-helper - Debian Live build scripts
Closes: 571056 572976 572983
 live-helper (2.0~a9-1) unstable; urgency=low
   [ Daniel Baumann ]
   * Applying slightly modified patch from Cody A.W. Somerville
     <cody.somerville@canonical.com> to add support for custom debian
     installer images mirror.
   [ Trent W. Buck ]
   * Adding helper to prevent upstart from being run during chroot phase
     (Closes: #571056).
   [ Daniel Baumann ]
   * Adding lh_chroot_upstart manpage.
   * Updating year to 2010 in copyright notices.
   * Adding support for debian-volatile archive.
   * Setting debian-installer-gui default to false for squeeze and sid.
   * Removing outdated crontab and cronjob examples.
   * Merging live-webhelper.
   * Removing obsolete common file in cgi.
   * Updating function reading in the cgi.
   * Updating copyright headers in cgi.
   * Shuffeling cgi files arround.
   * Updating filesystem pathes in cgi.
   * Removing obsolete mechanism of using alternatives for templates, has
     never been used anyway and it's more suitable to directly specify
     them in the config tree instead.
   * Removing obsolete removal of (not used) logfile in the maintainer
   * Excluding cgi from checkbashism (checkbashism is too stupid).
   * Correcting she-bang in cgi.
   [ Steven Shiau ]
   * Fixing build failure with indices caching.
   [ Daniel Baumann ]
   * Only remove auxilliary packages in rootfs when not using pre-cached
     chroot (Closes: #572976).
   [ Richard Nelson ]
   * Removing LH_MIRROR_BOOTSTRAP_SECURITY in the cgi.
   * Cleaning up cgi templates.
   * Updating variables for live-helper 2 in the cgi.
   [ Daniel Baumann ]
   * Adding temporary makefile for the cgi.
   [ Richard Nelson ]
   * Removing etch legacy options in the cgi.
   * Updating booleans for live-helper 2 in the cgi.
   * Updating mail contents in the cgi.
   * Updating cron for live-helper 2 in the cgi.
   * Updating packages lists for live-helper 2 in the cgi.
   * Removing unused version variable in the cgi templates.
   * Updating homepage location in the cgi templates.
   [ Daniel Baumann ]
   * Updating hostname of ubuntu security updates.
   * Adding update repositories as volatile when building in ubuntu mode
     (Closes: #572983).
   * Correcting typo in desktop hacks.
   * Updating rescue list for squeeze.
   * Updating debian-forensics list.
   * Manually removing resolvconf when building kde-desktop release
   * Updating menu splash image for new syslinux.
   * Updating contact information in copyright file.
   * Updating autobuild script for squeeze alpha1 images.
   [ Richard Nelson ]
   * Clean out trailing white space and tabs on l-h.cgi cron.
   * Added debug option on l-h.cgi cron.
   * Added debug option on l-h.cgi cgi.
   * Clean out leading white space on l-h.cgi cgi.
   [ Daniel Baumann ]
   * Simplifying wording in bug-presubj file.
   * Reordering auto install overrides in rules file.
 eb492770677f4c56f3b22abdc56e190f7f3c8a22 1242 live-helper_2.0~a9-1.dsc
 1ca947f306e076fc287502581cb3eebcf8edc16f 2253784 live-helper_2.0~a9.orig.tar.gz
 3ec5b0f71c1940864c3232afd6c3a89e6edf34d6 30156 live-helper_2.0~a9-1.diff.gz
 2f7986a2780810b63d72aedb895527da49b09d27 1117140 live-helper_2.0~a9-1_all.deb
 65e6932cf8b36a81bc315bd02d89742587f621e6eb97e3b64be87dd3877ea32e 1242 live-helper_2.0~a9-1.dsc
 d62257d18d794b7562a93333670e5410e65feb7118200b5c329b3241ab1422b6 2253784 live-helper_2.0~a9.orig.tar.gz
 7c282ec259207f27b109da88d7e68be5637cce36121262566ebe923d5fb12d35 30156 live-helper_2.0~a9-1.diff.gz
 2d7a814949291d8e71ffc4e529209a5fb84a7ba886189289a36abba9511c2a63 1117140 live-helper_2.0~a9-1_all.deb
 6a91aa223c53f3f0e67b877d88ab5834 1242 misc optional live-helper_2.0~a9-1.dsc
 3ccf292b8c31962786658acbc44a0371 2253784 misc optional live-helper_2.0~a9.orig.tar.gz
 ab96721182e5066b0d6869555acc8355 30156 misc optional live-helper_2.0~a9-1.diff.gz
 2fea5136afe7119df610b9c37c38feb1 1117140 misc optional live-helper_2.0~a9-1_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: