User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Build Identifier: After recent update (dnf update) gnome does not provide ssh agent services on first login. SSH_AUTH_SOCK is not set. After logout and subsequent login the environment variable SSH_AUTH_SOCK is set and ssh agent works as expected, i.e. it loads key pairs from ~/.ssh/ Reproducible: Always Steps to Reproduce: 1. Boot FC25 2. Login to Gnome 3. Try to use ssh agent for ssh session authentication - fails 4. Look for environment variable SSH_AUTH_SOCK - does not exist 5. Logout 6. Login to Gnome again 7. Try to use ssh agent for ssh session authentication - succeeds 8. Look for environment variable SSH_AUTH_SOCK, it exists: [mirek@localhost ~]$ env | grep SOCK SSH_AUTH_SOCK=/home/mirek/.cache/keyring-P6ZSUY/ssh Actual Results: On first login after boot, use of ssh agent for ssh session authentication fails, environment variable SSH_AUTH_SOCK does not exist. Expected Results: On first login after boot, use of ssh agent for ssh session authentication succeeds, environment variable SSH_AUTH_SOCK exists. It worked before most recent dnf update: #### Console output BEGIN #### dnf history info 199 Transaction ID : 199 Begin time : Thu Jan 19 11:47:47 2017 Begin rpmdb : 2435:668360c0151859d824b4aef28dcd2b06683ca2e3 End time : 11:52:53 2017 (5 minutes) End rpmdb : 2434:4a11460136ee3fa51849082df4121f6c20903d27 User : Mirek Svoboda <mirek> Return-Code : Success Command Line : update Transaction performed with: Installed dnf-1.1.10-4.fc25.noarch @@commandline Installed rpm-4.13.0-6.fc25.x86_64 @@commandline Packages Altered: Upgraded PackageKit-glib-1.1.5-0.1.20161221.fc25.x86_64 @updates Upgrade 1.1.5-1.fc25.x86_64 @updates Upgraded appstream-data-25-13.fc25.noarch @updates Upgrade 25-14.fc25.noarch @updates Upgraded audit-2.7-1.fc25.x86_64 @@commandline Upgrade 2.7.1-1.fc25.x86_64 @updates Upgraded audit-libs-2.7-1.fc25.i686 @@commandline Upgraded audit-libs-2.7-1.fc25.x86_64 @@commandline Upgrade 2.7.1-1.fc25.i686 @updates Upgrade 2.7.1-1.fc25.x86_64 @updates Upgraded audit-libs-python-2.7-1.fc25.x86_64 @@commandline Upgrade 2.7.1-1.fc25.x86_64 @updates Upgraded audit-libs-python3-2.7-1.fc25.x86_64 @@commandline Upgrade 2.7.1-1.fc25.x86_64 @updates Upgraded evolution-data-server-3.22.3-1.fc25.x86_64 @@commandline Upgrade 3.22.4-1.fc25.x86_64 @updates Upgraded gnome-session-3.22.2-1.fc25.x86_64 @@commandline Upgrade 3.22.2-3.fc25.x86_64 @updates Upgraded gnome-session-wayland-session-3.22.2-1.fc25.x86_64 @@commandline Upgrade 3.22.2-3.fc25.x86_64 @updates Upgraded gnome-session-xsession-3.22.2-1.fc25.x86_64 @@commandline Upgrade 3.22.2-3.fc25.x86_64 @updates Upgraded google-talkplugin-5.41.0.0-1.x86_64 (unknown) Upgrade 5.41.3.0-1.x86_64 @google-talkplugin Upgraded hplip-common-3.16.11-4.fc25.x86_64 @updates Upgrade 3.16.11-5.fc25.x86_64 @updates Upgraded hplip-libs-3.16.11-4.fc25.x86_64 @updates Upgrade 3.16.11-5.fc25.x86_64 @updates Upgraded iproute-4.6.0-5.fc25.x86_64 @@commandline Upgrade 4.6.0-6.fc25.x86_64 @updates Upgraded iproute-tc-4.6.0-5.fc25.x86_64 @@commandline Upgrade 4.6.0-6.fc25.x86_64 @updates Erase kernel-4.8.13-100.fc23.x86_64 @updates/23 Install kernel-4.9.3-200.fc25.x86_64 @updates Erase kernel-core-4.8.13-100.fc23.x86_64 @updates/23 Install kernel-core-4.9.3-200.fc25.x86_64 @updates Erase kernel-debug-devel-4.8.13-100.fc23.x86_64 @updates/23 Install kernel-debug-devel-4.9.3-200.fc25.x86_64 @updates Erase kernel-devel-4.8.13-100.fc23.x86_64 @updates/23 Install kernel-devel-4.9.3-200.fc25.x86_64 @updates Upgraded kernel-headers-4.8.16-300.fc25.x86_64 @updates Upgrade 4.9.3-200.fc25.x86_64 @updates Erase kernel-modules-4.8.13-100.fc23.x86_64 @updates/23 Install kernel-modules-4.9.3-200.fc25.x86_64 @updates Upgraded kernel-tools-4.8.16-300.fc25.x86_64 @updates Upgrade 4.9.3-200.fc25.x86_64 @updates Upgraded kernel-tools-libs-4.8.16-300.fc25.x86_64 @updates Upgrade 4.9.3-200.fc25.x86_64 @updates Erase kmod-VirtualBox-4.8.13-100.fc23.x86_64-5.1.10-1.fc23.x86_64 @@commandline/23 Upgraded lftp-4.7.3-1.fc25.x86_64 @@commandline Upgrade 4.7.5-1.fc25.x86_64 @updates Upgraded libinput-1.5.3-1.fc25.x86_64 @@commandline Upgrade 1.5.901-1.fc25.x86_64 @updates Upgraded libsane-hpaio-3.16.11-4.fc25.x86_64 @updates Upgrade 3.16.11-5.fc25.x86_64 @updates Upgrade libtasn1-4.10-1.fc25.i686 @updates Upgrade libtasn1-4.10-1.fc25.x86_64 @updates Upgraded libtasn1-4.9-1.fc25.i686 @@commandline Upgraded libtasn1-4.9-1.fc25.x86_64 @@commandline Upgraded libvpx-1.6.0-1.fc25.x86_64 @@commandline Upgrade 1.6.1-1.fc25.x86_64 @updates Upgraded llvm-libs-3.8.0-1.fc25.x86_64 @@commandline Upgrade 3.8.1-2.fc25.x86_64 @updates Upgraded osinfo-db-20170107-1.fc25.noarch @updates Upgrade 20170114-1.fc25.noarch @updates Upgraded perl-Errno-1.25-380.fc25.x86_64 @@commandline Upgrade 1.25-381.fc25.x86_64 @updates Upgraded perl-IO-1.36-380.fc25.x86_64 @@commandline Upgrade 1.36-381.fc25.x86_64 @updates Upgraded perl-Math-Complex-1.59-380.fc25.noarch @@commandline Upgrade 1.59-381.fc25.noarch @updates Upgraded perl-Net-Ping-2.43-380.fc25.noarch @@commandline Upgrade 2.43-381.fc25.noarch @updates Upgraded perl-Pod-Html-1.22.01-380.fc25.noarch @@commandline Upgrade 1.22.01-381.fc25.noarch @updates Upgraded python2-lxml-3.7.1-1.fc25.x86_64 @updates Upgrade 3.7.2-1.fc25.x86_64 @updates Upgraded python3-lxml-3.7.1-1.fc25.x86_64 @updates Upgrade 3.7.2-1.fc25.x86_64 @updates Upgraded systemd-231-11.fc25.x86_64 @updates Upgrade 231-12.fc25.x86_64 @updates Upgraded systemd-container-231-11.fc25.x86_64 @updates Upgrade 231-12.fc25.x86_64 @updates Upgraded systemd-libs-231-11.fc25.i686 @updates Upgraded systemd-libs-231-11.fc25.x86_64 @updates Upgrade 231-12.fc25.i686 @updates Upgrade 231-12.fc25.x86_64 @updates Upgraded systemd-pam-231-11.fc25.x86_64 @updates Upgrade 231-12.fc25.x86_64 @updates Upgraded systemd-udev-231-11.fc25.x86_64 @updates Upgrade 231-12.fc25.x86_64 @updates Upgraded xorg-x11-server-Xephyr-1.19.1-1.fc25.x86_64 @updates Upgrade 1.19.1-2.fc25.x86_64 @updates Upgraded xorg-x11-server-Xorg-1.19.1-1.fc25.x86_64 @updates Upgrade 1.19.1-2.fc25.x86_64 @updates Upgraded xorg-x11-server-Xwayland-1.19.1-1.fc25.x86_64 @updates Upgrade 1.19.1-2.fc25.x86_64 @updates Upgraded xorg-x11-server-common-1.19.1-1.fc25.x86_64 @updates Upgrade 1.19.1-2.fc25.x86_64 @updates Upgraded NetworkManager-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-adsl-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-bluetooth-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-config-connectivity-fedora-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-glib-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-glib-devel-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-libnm-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-team-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-wifi-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded NetworkManager-wwan-1:1.4.2-2.fc25.x86_64 @@commandline Upgrade 1:1.4.4-3.fc25.x86_64 @updates Upgraded epiphany-runtime-1:3.22.4-1.fc25.x86_64 @updates Upgrade 1:3.22.5-1.fc25.x86_64 @updates Upgraded perl-IO-Zlib-1:1.10-380.fc25.noarch @@commandline Upgrade 1:1.10-381.fc25.noarch @updates Upgraded perl-Locale-Maketext-Simple-1:0.21-380.fc25.noarch @@commandline Upgrade 1:0.21-381.fc25.noarch @updates Upgraded perl-Module-CoreList-1:5.20161220-1.fc25.noarch @@commandline Upgrade 1:5.20170115-1.fc25.noarch @updates Upgraded vim-X11-2:8.0.160-1.fc25.x86_64 @updates Upgrade 2:8.0.194-1.fc25.x86_64 @updates Upgraded vim-common-2:8.0.160-1.fc25.x86_64 @updates Upgrade 2:8.0.194-1.fc25.x86_64 @updates Upgraded vim-enhanced-2:8.0.160-1.fc25.x86_64 @updates Upgrade 2:8.0.194-1.fc25.x86_64 @updates Upgraded vim-filesystem-2:8.0.160-1.fc25.x86_64 @updates Upgrade 2:8.0.194-1.fc25.x86_64 @updates Upgraded vim-minimal-2:8.0.160-1.fc25.x86_64 @updates Upgrade 2:8.0.194-1.fc25.x86_64 @updates Upgraded perl-4:5.24.0-380.fc25.x86_64 @@commandline Upgrade 4:5.24.1-381.fc25.x86_64 @updates Upgraded perl-devel-4:5.24.0-380.fc25.x86_64 @@commandline Upgrade 4:5.24.1-381.fc25.x86_64 @updates Upgraded perl-libs-4:5.24.0-380.fc25.x86_64 @@commandline Upgrade 4:5.24.1-381.fc25.x86_64 @updates Upgraded perl-macros-4:5.24.0-380.fc25.x86_64 @@commandline Upgrade 4:5.24.1-381.fc25.x86_64 @updates Upgraded bind-libs-32:9.10.4-3.P5.fc25.x86_64 @updates Upgrade 32:9.10.4-4.P5.fc25.x86_64 @updates Upgraded bind-libs-lite-32:9.10.4-3.P5.fc25.x86_64 @updates Upgrade 32:9.10.4-4.P5.fc25.x86_64 @updates Upgraded bind-license-32:9.10.4-3.P5.fc25.noarch @updates Upgrade 32:9.10.4-4.P5.fc25.noarch @updates Upgraded bind-utils-32:9.10.4-3.P5.fc25.x86_64 @updates Upgrade 32:9.10.4-4.P5.fc25.x86_64 @updates Scriptlet output: 1 Redirecting to /bin/systemctl start atd.service 2 warning: commands will be executed using /bin/sh 3 job 55 at Thu Jan 19 11:53:00 2017 4 warning: file /lib/modules/4.8.13-100.fc23.x86_64/updates: remove failed: No such file or directory #### Console output END #### The affected system does not run Wayland. The system has been upgraded from FC21 through FC22 through FC23 to FC25 (FC24 skipped). #### Console output BEGIN #### [mirek@localhost ~]$ ps aux | grep gnome-shell mirek 1996 0.0 0.4 888720 35176 ? Sl 10:40 0:00 /usr/libexec/gnome-shell-calendar-server mirek 3753 3.4 2.0 2132208 166408 ? Sl 10:56 0:51 /usr/bin/gnome-shell mirek 5628 0.0 0.0 118520 1004 pts/1 S+ 11:20 0:00 grep --color=auto gnome-shell [mirek@localhost ~]$ loginctl show-session 2 -p Type Type=x11 [mirek@localhost ~]$ loginctl show-session 5 -p Type Type=x11 [mirek@localhost ~]$ loginctl SESSION UID USER SEAT 5 1000 mirek seat0 2 1000 mirek seat0 2 sessions listed. #### Console output END #### Display manager in use is lightdm #### Console output BEGIN #### [root@localhost mirek]# lsof /tmp/.X11-unix/X${DISPLAY#:} lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME Xorg 3594 root 6u unix 0xffffa0cb818c4c00 0t0 47823 /tmp/.X11-unix/X0 type=STREAM [root@localhost mirek]# ps -fp 3594 UID PID PPID C STIME TTY TIME CMD root 3594 1278 1 10:55 tty1 00:00:31 /usr/libexec/Xorg -background none :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch [root@localhost mirek]# ps -fp 1278 UID PID PPID C STIME TTY TIME CMD root 1278 1 0 10:39 ? 00:00:00 /usr/sbin/lightdm #### Console output END ####
The issue disappeared after the recent upgrade.