[Pkg-sysvinit-devel] Bug#768450: Correct second version of the patch
Martin Pitt
martin.pitt at ubuntu.com
Fri Mar 6 10:10:26 UTC 2015
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20150306/671ff23d/attachment.sig>
More information about the Pkg-sysvinit-devel
mailing list