-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Dachs dockerfile has the line:
RUN sed -i 's/exit 101/exit 0/' /usr/sbin/policy-rc.dto avoid services auto-start after install.
See:
- https://serverfault.com/questions/812859/what-does-bin-sh-nexit-0-usr-sbin-policy-rc-d-do
- https://stackoverflow.com/questions/46247032/how-to-solve-invoke-rc-d-policy-rc-d-denied-execution-of-start-when-building
- http://jpetazzo.github.io/2013/10/06/policy-rc-d-do-not-start-services-automatically/
- https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt
This is a popular solution in the realm of docker. At least, it used to be.
It causes no harm, but -- being a "hack" as it is -- causes some eyebrow moves.
This issue is a placeholder for further investigation/discussion on its existence and possible future removal.
Metadata
Metadata
Assignees
Labels
No labels