[Bug 2051405] Re: ProtectHome setting in debian/rsyslog.service isn't understood by systemd
Heinrich Schuchardt
2051405 at bugs.launchpad.net
Fri Feb 16 16:43:25 UTC 2024
With ProtectHome=read-only autopkgtests passed but when updating locally
the systemd service failed to start due to an access problem in the /run
directory.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/2051405
Title:
ProtectHome setting in debian/rsyslog.service isn't understood by
systemd
Status in rsyslog package in Ubuntu:
Confirmed
Bug description:
Small bug introduced in commit e175f5c3668adc1c65f66efb61f70060569c9fe8
https://git.launchpad.net/ubuntu/+source/rsyslog/commit/?id=e175f5c3668adc1c65f66efb61f70060569c9fe8
which changed the rsyslog.service line of
ProtectHome=yes to ProtectHome=readonly
Systemd doesn't understand "readonly" https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html
and will mention in its journal:
systemd[1]: /lib/systemd/system/rsyslog.service:24: Failed to parse
protect home value, ignoring: readonly
Quickfix: just needs a hyphen on line 24 to read 'read-only'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2051405/+subscriptions
More information about the foundations-bugs
mailing list