Hi Sebastien,
Am Wed, May 15, 2024 at 02:19:01PM +0200 schrieb Sebastien KOECHLIN:
> The /etc/logrotate.d/webfs file should probably be patched the same way:
>
> May 15 00:00:00 X systemd[1]: Starting Rotate log files...
> May 15 00:00:00 X logrotate[34644]: start-stop-daemon: matching only on
> non-root pidfile /var/run/webfs/webfsd.pid is insecure
> May 15 00:00:00 X logrotate[34637]: error: error running non-shared
> postrotate script for /var/log/webfs/webfs.log of '/var/log/webfs/webfs.log '
> May 15 00:00:00 X systemd[1]: logrotate.service: Main process exited,
> code=exited, status=1/FAILURE
> May 15 00:00:00 X systemd[1]: logrotate.service: Failed with result
> 'exit-code'.
> May 15 00:00:00 X systemd[1]: Failed to start Rotate log files.
Since webfs came up in the Bug of the Day[1] on 2024-08-17 I've filed an
ITS bug. Once the waiting period is over I will probably upload. You
can support this by providing a full patch which you might possibly have
tested at your site.
Thank you
Andreas.
[1] https://salsa.debian.org/tille/tiny_qa_tools/-/wikis/Tiny-QA-tasks
--
https://fam-tille.de