Bug#825981: failure message upon install
Michael Biebl
biebl at debian.org
Wed Jun 1 08:14:02 BST 2016
Am 01.06.2016 um 08:51 schrieb Michael Biebl:
> Can you attach your /etc/fstab please and the file /run/systemd/was-enabled.
> Is there a file /etc/systemd/system/tmp.mount (or was in the past)?
I'm assuming there is an /tmp entry in /etc/fstab.
systemctl is-enabled in jessie vs stretch:
$ systemctl is-enabled tmp.mount
disabled
$ echo $?
1
$ systemctl is-enabled tmp.mount
generated
$ echo $?
0
So there was a change in behaviour (recently)
Atm, we only check the return code in preinst to determine whether a
service was enabled or not an if we need to reenable in postinst:
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/systemd.preinst#n9
We should probably now explicitly check for the string "enabled":
https://www.freedesktop.org/software/systemd/man/systemctl.html#is-enabled%20NAME...
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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160601/bb5b5cba/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list