Bug#851500: g-s-d tmp-cleaner uses wrong age metric, deletes sockets still in use

Ben Hutchings ben at decadent.org.uk
Sun Jan 15 16:58:54 UTC 2017


Package: gnome-settings-daemon
Version: 3.22.1-1
Severity: important

The tmp-cleaner checks whether a file's change time (ctime) is within
the last 7 days, not whether it has been accessed (atime) in the last 7
days.

This results in deleting long-lived sockets, such as those used by
emacs's server.  The only reason it doesn't also break X is that the
.X11-unix directory is specifically excluded!  Such special-casing is
obviously the wrong way to do things.

Ben.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-settings-daemon depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2
ii  gsettings-desktop-schemas                    3.22.0-1
ii  libasound2                                   1.1.2-1
ii  libc6                                        2.24-8
ii  libcairo2                                    1.14.8-1
ii  libcanberra-gtk3-0                           0.30-3
ii  libcanberra0                                 0.30-3
ii  libcolord2                                   1.3.3-2
ii  libcups2                                     2.2.1-4
ii  libfontconfig1                               2.11.0-6.7
ii  libgdk-pixbuf2.0-0                           2.36.2-1
ii  libgeoclue-2-0                               2.4.4-1
ii  libgeocode-glib0                             3.20.1-2
ii  libglib2.0-0                                 2.50.2-2
ii  libgnome-desktop-3-12                        3.22.2-1
ii  libgtk-3-0                                   3.22.5-1
ii  libgudev-1.0-0                               230-3
ii  libgweather-3-6                              3.20.4-1
ii  liblcms2-2                                   2.8-3
ii  libnm0                                       1.4.4-1
ii  libnotify4                                   0.7.7-1
ii  libnspr4                                     2:4.12-6
ii  libnss3                                      2:3.26.2-1
ii  libpam-systemd                               232-8
ii  libpango-1.0-0                               1.40.3-3
ii  libpangocairo-1.0-0                          1.40.3-3
ii  libpolkit-gobject-1-0                        0.105-17
ii  libpulse-mainloop-glib0                      9.0-5
ii  libpulse0                                    9.0-5
ii  librsvg2-2                                   2.40.16-1
ii  libupower-glib3                              0.99.4-4
ii  libwacom2                                    0.22-1
ii  libwayland-client0                           1.12.0-1
ii  libx11-6                                     2:1.6.4-2
ii  libxext6                                     2:1.3.3-1
ii  libxi6                                       2:1.7.8-2
ii  libxtst6                                     2:1.2.3-1
ii  nautilus-data                                3.22.2-1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy  2.0-1
ii  pulseaudio        9.0-5

gnome-settings-daemon suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list