vmbuilder policy-rc.d denied access
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
vmbuilder reports error "invoke-rc.d: policy-rc.d denied execution" many times and either doesn't work properly or crashes. I've tried this on a 12.04 Precise server and desktop - both fail. I was able to do this on 10.04 Lucid. Desktop output and cfg file contents follow:
user@computer:
2012-06-04 11:46:17,204 INFO : Calling hook: preflight_check
2012-06-04 11:46:17,213 INFO : Calling hook: set_defaults
2012-06-04 11:46:17,214 INFO : Calling hook: bootstrap
2012-06-04 11:54:41,051 INFO : Calling hook: configure_os
Extracting templates from packages: 100%
2012-06-04 12:01:40,860 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:01:48,674 INFO : Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done.
2012-06-04 12:01:48,678 INFO : Running hooks in /etc/ca-
2012-06-04 12:01:54,746 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:01:58,692 INFO : update-binfmts: warning: /usr/share/
2012-06-04 12:01:58,698 INFO : update-binfmts: warning: found manually created entry for python2.7 in /proc/sys/
2012-06-04 12:01:58,742 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:02:03,393 INFO :
2012-06-04 12:02:03,394 INFO : Creating config file /etc/idmapd.conf with new version
2012-06-04 12:02:04,057 INFO :
2012-06-04 12:02:04,058 INFO : Creating config file /etc/default/
2012-06-04 12:02:05,343 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:02:05,380 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:02:05,422 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:02:07,010 INFO : Creating SSH2 RSA key; this may take some time ...
2012-06-04 12:02:07,226 INFO : Creating SSH2 DSA key; this may take some time ...
2012-06-04 12:02:07,240 INFO : Creating SSH2 ECDSA key; this may take some time ...
2012-06-04 12:02:08,819 INFO : invoke-rc.d: policy-rc.d denied execution of stop.
2012-06-04 12:02:08,822 INFO :
2012-06-04 12:02:08,822 INFO : Warning: Fake initctl called, doing nothing
2012-06-04 12:02:08,824 INFO :
2012-06-04 12:02:08,824 INFO : Warning: Fake initctl called, doing nothing
2012-06-04 12:02:15,158 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:02:59,073 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:03:35,968 INFO : Using mono-apache-
2012-06-04 12:03:36,187 INFO : Enabling module mod_mono.
2012-06-04 12:03:36,187 INFO : To activate the new configuration, you need to run:
2012-06-04 12:03:36,188 INFO : service apache2 restart
2012-06-04 12:03:45,052 INFO :
2012-06-04 12:03:45,053 INFO : Current default time zone: 'Etc/UTC'
2012-06-04 12:03:45,060 INFO : Local time is now: Mon Jun 4 16:03:45 UTC 2012.
2012-06-04 12:03:45,061 INFO : Universal Time is now: Mon Jun 4 16:03:45 UTC 2012.
2012-06-04 12:03:45,061 INFO :
2012-06-04 12:04:10,732 INFO : invoke-rc.d: policy-rc.d denied execution of stop.
2012-06-04 12:04:17,295 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:04:22,015 INFO : invoke-rc.d: policy-rc.d denied execution of start.
2012-06-04 12:04:32,714 INFO : umount: /tmp/tmp5xQnXw/
2012-06-04 12:04:32,715 INFO : (In some cases useful info about processes that use
2012-06-04 12:04:32,716 INFO : the device is found by lsof(8) or fuser(1))
2012-06-04 12:04:32,717 INFO : Cleaning up
2012-06-04 12:04:33,763 ERROR : Process (['umount', '/tmp/tmp5xQnXw
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
distro.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(
File "/usr/lib/
self.
File "/usr/lib/
run_
File "/usr/lib/
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
tweb.cfg contents:
[DEFAULT]
arch = amd64
hostname = tweb
domain = sample.office
ip = 192.168.1.34
dns = 192.168.1.19
part = tweb.partition
user = username
name = User Name
pass = password
tmpfs = -
[ubuntu]
install_mirror = http://
install_
mirror = http://
security_mirror = http://
suite = precise
flavour = virtual
addpkg = openssh-server, apache2, libapache2-
[kvm]
bridge = clbrint
I can confirm that this runs successfully on 10.04 Lucid - the only change to the cfg file is the name of the suite.