[Pkg-mpd-maintainers] Bug#1049454: mpd: purge script will forget a PulseAudio cookie in /var/lib/mpd/.config

Alexandre Detiste alexandre.detiste at gmail.com
Wed Aug 16 12:23:10 BST 2023


Hi,

I know mpd does not do that _on purpose_

It it's libpulse that does that (on behalf of MPD) when called from MPD
with HOME=/var/lib/mpd/

> Deleting ".config" seems so arbitrary
It's your own private $HOME, you can.

> Whoever put it there should be changed to store it
> in /run, where it will be cleaned up automatically.

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

-----

Lightdm is even much worse,
but as long as it get cleared on purge it's fine.

cat rules/lightdm
...
/var/lib/lightdm/.Xauthority
/var/lib/lightdm/.cache
/var/lib/lightdm/.cache/dconf
/var/lib/lightdm/.cache/dconf/user
/var/lib/lightdm/.cache/fontconfig
/var/lib/lightdm/.cache/fontconfig/*
/var/lib/lightdm/.cache/gstreamer-1.0
/var/lib/lightdm/.cache/gstreamer-1.0/registry.*.bin
/var/lib/lightdm/.cache/lightdm-gtk-greeter
/var/lib/lightdm/.cache/lightdm-gtk-greeter/state
/var/lib/lightdm/.cache/mesa_shader_cache
/var/lib/lightdm/.cache/mesa_shader_cache/index
/var/lib/lightdm/.config
/var/lib/lightdm/.config/pulse
/var/lib/lightdm/.config/pulse/*
/var/lib/lightdm/.dbus
/var/lib/lightdm/.dbus/session-bus
/var/lib/lightdm/.dbus/session-bus/*
...



More information about the Pkg-mpd-maintainers mailing list