diskimage-builder/elements
Thom Leggett 46a14ae0e6 Uses policy-rc.d to prevent dpkg starting daemons
Currently the dpkg element fakes start-stop-daemon, initctl and
invoke-rc.d to stop dpkg from starting a bunch of daemons in the
chroot. This is problematic when packages use service, start, stop or
restart commands.

This patch uses a policy-rc.d instead of faking invoke-rc.d to achieve
the same thing. This approach now aligns exactly with debootstrap.
Without this patch DIB runs on some debian distributions fail
when trying to umount the chroot loop device as there are daemons
running.

The log will now show "invoke-rc.d: policy-rc.d denied execution of
start." instead of "Warning: Fake invoke-rc.s called, doing nothing."

Change-Id: I6db192127aca19b5b7915179b781f5192078bfc7
Related-Bug: #1211564
2014-03-26 20:59:49 +00:00
..
apt-conf Enable custom apt.conf in apt-conf element 2014-02-26 19:10:23 +00:00
apt-sources Better apt-sources docs. 2014-03-06 13:29:13 +13:00
baremetal baremetal: correct the path of ifcfg-eth0 2014-03-24 09:20:40 -04:00
base Move install type enablement into base element 2014-03-14 12:25:11 -04:00
cache-url Teach cache-url to handle file:// URIs. 2014-02-13 19:43:50 +00:00
cloud-init-nocloud Make cloud-init-nocloud work cross-platform. 2013-07-11 08:21:51 -07:00
debian Merge "Fix unbound variable in debian element" 2014-03-12 10:59:46 +00:00
debian-upstart Add debian-upstart for experimenting with upstart 2014-01-14 22:41:25 -08:00
deploy Add bash as a dependency to the deploy ramdisk 2014-01-27 09:32:24 +01:00
deploy-ironic Fix the curl command in the ironic-deploy element 2014-01-16 13:16:47 +00:00
deploy-kexec /bin/bash all the things. 2013-11-17 16:59:31 -06:00
dhcp-all-interfaces DHCP: make udev rules want dhcp-interface@.service 2014-03-19 14:33:14 -04:00
dib-run-parts Don't hardcode environment.d 2014-02-11 08:33:45 -05:00
disable-selinux/post-install.d Modify /etc/selinux/config if it exists 2013-12-03 15:35:49 +08:00
dkms /bin/bash all the things. 2013-11-17 16:59:31 -06:00
dpkg Uses policy-rc.d to prevent dpkg starting daemons 2014-03-26 20:59:49 +00:00
dracut-network /bin/bash all the things. 2013-11-17 16:59:31 -06:00
fedora Alphabetize all element-deps 2014-03-26 15:23:18 -05:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery Make pxe_mac accurate in two common cases. 2013-11-17 21:43:59 -06:00
local-config Set +x on executable files 2014-03-20 15:38:30 -05:00
mellanox Split network bringup out of base ramdisk init. 2013-11-17 20:37:26 +00:00
modprobe-blacklist Add new modprobe-blacklist element. 2014-01-13 15:43:29 -05:00
opensuse Merge "Update openSUSE package mapping for libffi-dev" 2014-03-19 01:18:17 +00:00
pip-cache Add a pip-cache element. 2013-08-26 15:17:41 -04:00
pypi Permit use of wheel mirrors in pypi element. 2014-03-25 16:48:18 +13:00
ramdisk Set +x on executable files 2014-03-20 15:38:30 -05:00
redhat-common Adding pypi-mirror dependencies for redhat 2014-03-26 06:44:15 -06:00
rhel Alphabetize all element-deps 2014-03-26 15:23:18 -05:00
rhel7 Add RHEL 7 image element 2014-03-17 16:14:41 -05:00
rpm-distro Skip relabel unless SELinux is enforcing 2014-01-23 15:29:29 -05:00
selinux-permissive /bin/bash all the things. 2013-11-17 16:59:31 -06:00
serial-console serial-console: Use udev rules to startup getty 2014-03-21 15:01:39 -04:00
source-repositories Move install type enablement into base element 2014-03-14 12:25:11 -04:00
ubuntu Alphabetize all element-deps 2014-03-26 15:23:18 -05:00
vm Add console kernel parameters to extlinux configuration 2014-03-25 14:24:43 +01:00
yum Add $EXTRA_ARGS back to yum call 2014-03-03 17:42:18 +00:00
zypper Add zypper element 2013-12-11 17:09:24 +01:00