On Thu, 15 Jun 2023 21:44:27 +0100 Luca Boccassi <bl...@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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to