Bug#1038137: accountsservice: unit requires /usr/share/accountsservice/interfaces but it is not installed

Michael Biebl biebl at debian.org
Sun Dec 17 22:09:02 GMT 2023


On Thu, 15 Jun 2023 21:44:27 +0100 Luca Boccassi <bluca at debian.org> wrote:
> accountsservice's unit has:
> 
> ReadOnlyPaths=\
>   /usr/share/accountsservice/interfaces/ \
>   /usr/share/dbus-1/interfaces/ \
>   /var/log/wtmp \
>   /run/systemd/seats/
> 
> But at least /usr/share/accountsservice/interfaces/ is not installed by
> the package itself. As far as I can see on my machine, the malcontent
> package installs files under it.
> 
> This means that on systemd's autopkgtest it fails to start. The
> solution is very simple, just prefix each path listed there with "-" to
> make it optional - if the directory exists on the host then it will be
> made read-only, otherwise it will be ignored.
> 

The other valid alternative is to ship the (empty) directory in the 
accountsservice package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20231217/e5104751/attachment.sig>


More information about the Pkg-freedesktop-maintainers mailing list