** 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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs