Bug#879087: 'systemctl disable' on an enabled service which is an instance of a template unit fails !

Michael Biebl biebl at debian.org
Thu Oct 19 16:31:19 BST 2017


Am 19.10.2017 um 09:22 schrieb denis.barbaron at orange.com:
> [Install]
> WantedBy=multi-user.target
> Alias=%p@%i.service 
Btw, if you drop this line
Alias=%p@%i.service

then systemctl disable will work just fine.
I don't think you need the Alias anyway.
"systemctl start/stop/restart/status foo at 1.service" will work without it.

Is there a reason why create this symlink/alias?

I have to admit, I haven't seen anyone creating an alias like this for
instanced services before. That's why I don't consider it an important
problem which needs a fix for stretch via a stable upload.

Michael
-- 
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/20171019/f0f91971/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list