[Pkg-mpd-maintainers] mpd logrotate issue
Antonio Larrosa
larrosa at kde.org
Mon Jul 29 07:58:10 BST 2024
Hi,
I recently installed the Moode audio player on a raspberry pi (which
uses debian packages) and I noticed that the mpd logrotate file in
/etc/logrotate.d/mpd has a small issue.
It contains a rule for /var/log/mpd/*.log but the mpd log file is at
/var/log/mpd/log so it doesn't match the glob and thus it's not
rotated.
I tested that just replacing the wrong file path with /var/log/mpd/log
in /etc/logrotate.d/mpd fixes the issue and the file is rotated
correctly. You can see that running `logrotate -df
/etc/logrotate.d/mpd` )
I also checked that the mpd.logrotate file in
mpd_0.23.15-1~bpo12+1.debian.tar.xz still contains the wrong path so I
thought you'd like to fix it. I'm not familiar with submitting patches
to debian so I assumed it would be faster to just write a mail about
it and let someone with more experience fix it.
Greetings,
--
Antonio Larrosa
larrosa at kde.org
alarrosa at suse.com
More information about the Pkg-mpd-maintainers
mailing list