[Pkg-mpd-maintainers] Bug#1049454: mpd: purge script will forget a PulseAudio cookie in /var/lib/mpd/.config
Max Kellermann
max at blarg.de
Wed Aug 16 12:28:28 BST 2023
On 2023/08/16 13:23, Alexandre Detiste <alexandre.detiste at gmail.com> wrote:
> Some other packages have similar problems...
> Here HOME=/ and users get tiny useless files at the root of the filesystem:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042725
Just because others are doing it just as wrong doesn't prove libpulse
correct. If you delete those files during purge, you're sidestepping
the problem instead of fixing it.
> /var/lib/lightdm/.cache
Cache file, forgot to set CacheDirectory or didn't obey
$XDG_CACHE_DIRECTORY. Either way it's a bug that can be fixed easily.
> /var/lib/lightdm/.config/pulse
> /var/lib/lightdm/.config/pulse/*
Belongs in $XDG_RUNTIME_DIR, not in $XDG_CONFIG_HOME. Can be fixed
easily.
> /var/lib/lightdm/.dbus
> /var/lib/lightdm/.dbus/session-bus
> /var/lib/lightdm/.dbus/session-bus/*
What the .... is ~/.dbus? Looks like runtime files that belong in
$XDG_RUNTIME_DIR, not in $HOME.
More information about the Pkg-mpd-maintainers
mailing list