Bug#887456: init-system-helpers: deb-systemd-helper does not honor the same package-relevant unit paths as systemd
Michael Biebl
biebl at debian.org
Thu Jan 18 00:44:14 GMT 2018
Am 17.01.2018 um 11:35 schrieb Guillem Jover:
> --- a/script/deb-systemd-helper
> +++ b/script/deb-systemd-helper
> @@ -122,6 +122,8 @@ sub find_unit {
> $service_path = "/etc/systemd/system/$scriptname";
> } elsif (-f "/lib/systemd/system/$scriptname") {
> $service_path = "/lib/systemd/system/$scriptname";
> + } elsif (-f "/usr/lib/systemd/system/$scriptname") {
> + $service_path = "/usr/lib/systemd/system/$scriptname";
> }
> return $service_path;
> }
Looks ok to me on a cursory glance.
With merged-usr in mind, I wonder though if we should prefer
/usr/lib/systemd over /lib/systemd. The latter will be a symlink in such
a case and by prefering /usr/lib/systemd we'd avoid one indirection.
Felipe, wdyt?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180118/cde22049/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list