curtin leaves behind /usr/sbin/policy-rc.d file that prevents invoke-rc.d from starting services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
curtin |
Fix Released
|
High
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Saucy |
Fix Released
|
High
|
Unassigned |
Bug Description
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# dpkg -l | grep keystone
ii keystone 1:2013.
ii python-keystone 1:2013.
ii python-
When installing the package, the service fails to start due to a invoke-rc.d: policy-rc.d denied execution of start.
So far I've only hit this on precise nodes that I've provisioned with MAAS using curtin.
# apt-get install keystone
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
keystone
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 16.7 kB of archives.
After this operation, 143 kB of additional disk space will be used.
Get:1 http://
Fetched 16.7 kB in 0s (0 B/s)
Selecting previously unselected package keystone.
(Reading database ... 42113 files and directories currently installed.)
Unpacking keystone (from .../keystone_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up keystone (1:2013.
Generating RSA private key, 1024 bit long modulus
.......
...........++++++
e is 65537 (0x10001)
Generating RSA private key, 1024 bit long modulus
.......
.......
e is 65537 (0x10001)
Using configuration from /etc/keystone/
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
stateOrProvinceName :PRINTABLE:'Unset'
localityName :PRINTABLE:'Unset'
organizationName :PRINTABLE:'Unset'
commonName :PRINTABLE:
Certificate is to be certified until Oct 11 18:27:33 2014 GMT (365 days)
Write out database with 1 new entries
Data Base Updated
invoke-rc.d: policy-rc.d denied execution of start.
tags: | added: theme-oil |
summary: |
- Keystone fails to start after installation: invoke-rc.d: policy-rc.d - denied execution of start. + curtin leaves behind /usr/sbin/policy-rc.d file that prevents invoke- + rc.d from starting services |
Changed in cloud-archive: | |
status: | New → Fix Released |
importance: | Undecided → High |
/usr/sbin/ policy- rc.d contains the following:
#!/bin/sh x11-common) exit 0;;
# see invoke-rc.d for exit codes. 101 is "do not run"
while true; do
case "$1" in
-*) shift;;
makedev|
*) exit 101;;
esac
done