Bug#762041: systemd: upgrading systemd results in /run/user/<uid> being emptied
brian m. carlson
sandals at crustytoothpaste.net
Thu Sep 18 00:08:10 BST 2014
Package: systemd
Version: 215-4
Severity: important
I just upgraded to systemd 215-4 from whatever was in unstable as of a
couple days ago. I then tried to sign a git commit, and got:
vauxhall ok % git commit -sS
You need a passphrase to unlock the secret key for
user: "brian m. carlson <sandals at crustytoothpaste.net>"
4096-bit RSA key, ID 1F52F68B, created 2007-05-14 (main key ID 0223B187)
can't connect to `/run/user/1000/keyring/gpg': No such file or directory
gpg: can't connect to `/run/user/1000/keyring/gpg': connect failed
And now that directory is just about empty (it was empty until some
other package's upgrade completed):
vauxhall ok % ls -l /run/user/1000
total 0
drwx------ 2 bmc bmc 60 Sep 17 22:45 dconf
I had this issue on another sid system the other day where my SSH agent
disappeared, and since I rely on forwarding my SSH agent to push commits
at work, I was suddenly unable to perform any useful work until I logged
out and logged back in again.
The appropriate time to clear /run and /var/run is at boot. systemd
should not remove (or cause to be removed) anything under /run/user at
any other time, as doing so breaks things.
For reference, after logging out and logging back in, the following
directories are available:
vauxhall ok % ls -l /run/user/1000
total 0
drwx------ 2 bmc bmc 60 Sep 17 23:01 dconf
dr-x------ 2 bmc bmc 0 Sep 17 23:00 gvfs
drwx------ 2 bmc bmc 120 Sep 17 23:00 keyring
drwx------ 2 bmc bmc 40 Sep 17 23:01 pulse
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53.4
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1
ii libblkid1 2.20.1-5.8
ii libc6 2.19-11
ii libcap2 1:2.24-4
ii libcap2-bin 1:2.24-4
ii libcryptsetup4 2:1.6.6-1
ii libgcrypt11 1.5.4-3
ii libkmod2 18-1
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-4
ii sysv-rc 2.88dsf-53.4
ii udev 215-4
ii util-linux 2.20.1-5.8
Versions of packages systemd recommends:
ii dbus 1.8.8-1
ii libpam-systemd 215-4
Versions of packages systemd suggests:
pn systemd-ui <none>
-- Configuration Files:
/etc/systemd/system.conf changed:
[Manager]
LogLevel=warning
LogTarget=console
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140917/db185d7c/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list