local policy-rc.d file preventing services from running in CI
Bug #1995954 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lpci |
Fix Released
|
Low
|
Simone Pelosi |
Bug Description
The presence of the following file is preventing services from running in CI:
/usr/local/
:: #!/bin/sh
::
:: # policy-rc.d script for chroots.
:: # Copyright (c) 2007 Peter Palfrader <email address hidden>
:: # License: <weasel> MIT, if you want one.
::
:: while true; do
:: case "$1" in
:: -*) shift ;;
:: makedev) exit 0;;
:: *) echo "Not running services in chroot."; exit 101 ;;
:: esac
:: done
In my `.launchpad.yaml` I ran `rm /usr/local/
Related branches
~pelpsi/lpci:policy-rc-preventing-services-from-running
- Colin Watson (community): Approve
-
Diff: 54 lines (+21/-0)3 files modifiedNEWS.rst (+3/-0)
lpci/providers/_lxd.py (+6/-0)
lpci/providers/tests/test_lxd.py (+12/-0)
Changed in lpci: | |
assignee: | nobody → Simone Pelosi (pelpsi) |
Changed in lpci: | |
status: | Triaged → Fix Committed |
status: | Fix Committed → In Progress |
Changed in lpci: | |
status: | In Progress → Fix Committed |
Changed in lpci: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks a lot for filing this issue and providing a workaround.
More info about that issue: jpetazzo. github. io/2013/ 10/06/policy- rc-d-do- not-start- services- automatically/
http://