Hello Didier, sysvinit maintainers, Didier Roche [2014-11-07 16:38 +0100]: > + systemctl --quiet is-enabled "${UNIT}" > + ENABLED=$?
This is causing some grief: In case $UNIT is from the sysv-generator (or another generator), is-enabled will fail with $ systemctl --quiet is-enabled apache2.service; echo $? Failed to get unit file state for apache2.service: No such file or directory 1 as is-enabled/enable/disable doesn't take /run/systemd/generator* into account. I fixed this in Ubuntu with http://launchpadlibrarian.net/199513710/sysvinit_2.88dsf-53.2ubuntu9_2.88dsf-53.2ubuntu10.diff.gz but that uses an different version of the patch. (See my previous comment about readability). Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature