Bug#883605: stale obsolete /var/lib/systemd/clock left present on upgrade

Alexandre Detiste alexandre.detiste at gmail.com
Tue Dec 5 16:34:41 GMT 2017


Package: systemd
Version: 235-3
Severity: minor

Hi,

While working on 'cruft' package, I noticed that systemd forgot to
'rm -f /var/lib/systemd/clock' when upgrading to 235-2.

Can you please remove this (empty) file on upgrade,
because an inode is a terrible thing to waste ?

Greetings,


PS: this file now lives on the 'timesync/' subdirectory.

pi at pi ~/cruft $ ls -l  /var/lib/systemd/clock  
-rw-r--r-- 1 systemd-timesync systemd-timesync 0 oct 18 07:09 /var/lib/systemd/clock   
pi at pi ~/cruft $ ls -l /var/lib/systemd/timesync/clock
-rw-r--r-- 1 systemd-timesync systemd-timesync 0 déc  5 16:38 /var/lib/systemd/timesync/clock


-- Package-specific info:
-- System Information:
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux testing (buster)
Release:	testing
Codename:	buster
Architecture: armv6l

Kernel: Linux 4.9.59+
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.116
ii  libacl1         2.2.52-3
ii  libapparmor1    2.11.1-3
ii  libaudit1       1:2.8.1-2
ii  libblkid1       2.30.2-0.1
ii  libc6           2.25-2+rpi1
ii  libcap2         1:2.25-1.1
ii  libcryptsetup4  2:1.7.5-1
ii  libgcrypt20     1.8.1-4
ii  libgpg-error0   1.27-5
ii  libidn11        1.33-2
ii  libip4tc0       1.6.1-2+b1
ii  libkmod2        24-1
ii  liblz4-1        0.0~r131-2
ii  liblzma5        5.2.2-1.3
ii  libmount1       2.30.2-0.1
ii  libpam0g        1.1.8-3.6+rpi1
ii  libseccomp2     2.3.1-2.1
ii  libselinux1     2.7-2
ii  libsystemd0     235-3
ii  mount           2.30.2-0.1
ii  procps          2:3.3.12-3
ii  util-linux      2.30.2-0.1

Versions of packages systemd recommends:
ii  dbus            1.12.2-1
ii  libpam-systemd  235-3

Versions of packages systemd suggests:
ii  policykit-1        0.105-18
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.130
ii  udev             235-3

-- no debconf information


More information about the Pkg-systemd-maintainers mailing list