[Bug 228372] Re: [SRU] better daemon install support
Copied to hardy-updates. ** Changed in: ubuntu-vm-builder (Ubuntu Hardy) Status: Fix Committed = Fix Released -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
** Tags added: verification-done ** Tags removed: verification-needed -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
Tested from -proposed, fixed the issue for me. -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
** Description changed: Binary package hint: ubuntu-vm-builder The current ubuntu-vm-builder can not install dbus. The attached patch the way do_avoid_starting_daemons() to write a policy-rc.d file in the same way as pbuilder does. This fixes the dbus install issue for me. + + TEST CASE: + 1. install ubuntu-vm-builder on stock hardy + 2. run sudo ubuntu-vm-builder --addpkg dbus kvm hardy + 3. verify (you may have to scrollback some lines) that installing dbus fails with: + Setting up dbus (1.1.20-1ubuntu1) ... + Adding system user `messagebus' (UID 104) ... + Adding new group `messagebus' (GID 108) ... + Adding new user `messagebus' (UID 104) with group `messagebus' ... + Not creating home directory `/var/run/dbus'. + invoke-rc.d: initscript dbus, action start failed. + dpkg: error processing dbus (--configure): +subprocess post-installation script returned error exit status 1 + + 4. enable hardy-proposed + 5. install new ubuntu-vm-builder + 6. repeat step 2 + 7. verify that it does not fail this time ** Description changed: Binary package hint: ubuntu-vm-builder The current ubuntu-vm-builder can not install dbus. The attached patch the way do_avoid_starting_daemons() to write a policy-rc.d file in the same way as pbuilder does. This fixes the dbus install issue for me. TEST CASE: 1. install ubuntu-vm-builder on stock hardy 2. run sudo ubuntu-vm-builder --addpkg dbus kvm hardy 3. verify (you may have to scrollback some lines) that installing dbus fails with: Setting up dbus (1.1.20-1ubuntu1) ... Adding system user `messagebus' (UID 104) ... Adding new group `messagebus' (GID 108) ... Adding new user `messagebus' (UID 104) with group `messagebus' ... Not creating home directory `/var/run/dbus'. invoke-rc.d: initscript dbus, action start failed. dpkg: error processing dbus (--configure): subprocess post-installation script returned error exit status 1 4. enable hardy-proposed 5. install new ubuntu-vm-builder - 6. repeat step 2 - 7. verify that it does not fail this time + 6.cd into a new directory + 7 repeat step 2 + 8. verify that it does not fail this time -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
** Changed in: ubuntu-vm-builder (Ubuntu) Target: ubuntu-8.04.1 = None -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
This bug was fixed in the package ubuntu-vm-builder - 0.6 --- ubuntu-vm-builder (0.6) intrepid; urgency=low * Release into Ubuntu proper. ubuntu-vm-builder (0.5ubuntu1~ppa4) intrepid; urgency=low [Loic Minier] * Call sh -c $EXEC_SCRIPT instead of $EXEC_SCRIPT; allows to pass arguments to the script; also remove check that EXEC_SCRIPT exists. [Nick Barcet] * Adding an error handler to fix LP: #217950 * Lots of sanitization to allow for error handler * Add an interrupt handler to cleanup if user interrupts script * Stop on error in user script to fix LP: #228675 * --ssh-key adds key to root and --ssh-user-key adds key to user * Added --raw option to install on raw devices/files. WARNING: the variables used in template files for disk definition have been modified. Please insure that locally created templates are updated to reflect this change. * Add --firstboot and --firstlogin options * First login always execute sudo dpkg-reconfigure console-setup so that the local keyboard setting is taken into account. * Adding the --iso parameter to create image from an iso. This requires suite and kernel-flavour parameters to match what is available on the iso, obviously. * Include hostname in default destination directory if defined * Do not use a tmpfs by default anymore * Place the working directory in the same directory as dest if using --tmp - * Added --tmpfs option to specify usage of a tmpfs for the working directory * VM specific parameters do not need to be the last ones anymore * Unknown parameters now return an error and prints usage * Added --overwrite for overwriting of destination directory and libvirt domain * Added ~/.ubuntu-vm-builder config handling * Man page improvements and reorganization [Soren Hansen] * Fix for LP: #234062 ssh root login broken ubuntu-vm-builder (0.4ubuntu2~ppa7) hardy; urgency=low [ Michael Vogt ] * patch the way do_avoid_starting_daemons() to write a policy-rc.d file in the same way as pbuilder does (LP: #228372) [ Nick Barcet ] * Lock the root account by default (LP: #230291) * Add ssh keys to the user account and not to root (LP: #230291) * Added function do_copy_settings to fix bug LP: #221231 * Fix missing ipv6 entries in host file (LP: #230299) * Fix issue with template arguments fetching (LP: #228268) * Create the /etc/apt/sources.list properly (LP: #218195) * Use a tmpfs for $WORKINGDIR to avoid case when file system is mounted with no suid (LP: #228744) * Unproper letters variable initialization (LP: #230312) * Option --net failed other than for Class C (LP: #232361) [ Loic Minier ] * Fix v / --verbose getopt parsing. (LP: #230319) * Compute the default ARCH with dpkg --print-architecture. (LP: #230323) * Add support for lpia. - Allow lpia arch, lpia and lpiacompat kernel flavours. - Use http://ports.ubuntu.com/ubuntu-ports as default mirror for lpia. - Update help/documentation. * Check Release files against the archive keyring; depend on ubuntu-keyring. (LP: #230334) -- Soren Hansen [EMAIL PROTECTED] Wed, 28 May 2008 11:36:02 +0200 ** Changed in: ubuntu-vm-builder (Ubuntu) Status: Fix Committed = Fix Released -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
Accepted into -proposed, please test and give feedback here ** Changed in: ubuntu-vm-builder (Ubuntu Hardy) Status: New = Fix Committed ** Tags added: verification-needed -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
** Changed in: ubuntu-vm-builder (Ubuntu) Target: None = ubuntu-8.04.1 -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 228372] Re: [SRU] better daemon install support
And a syntax error at http://bazaar.launchpad.net/~ubuntu-virt/ubuntu- jeos/trunk/revision/63 -- [SRU] better daemon install support https://bugs.launchpad.net/bugs/228372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs