gnome-keyring-daemon[PID]: failed to unlock login keyring on startup
System Installs/Updates and configurations seem to behave as expected.
However, I've performed this process 4 times; after installing the guest additions (either from the GUI/or in the terminal) the Gnome GUI login becomes unusable. SSH Logins still work as they are not reliant on the gnome-keyring.
I have all the logs to support this issue but this forum has limitations to 3 attachments and up to a size. If anyone has ideas about working around these limitations let me know.
The Host OS X Yosemite (10.10.5)
Code: Select all
vboxmanage list hostinfo
Host Information:
Host time: 2017-01-05T18:50:17.676000000Z
Processor online count: 8
Processor count: 8
Processor online core count: 4
Processor core count: 4
Processor supports HW virtualization: yes
Processor supports PAE: yes
Processor supports long mode: yes
Processor supports nested paging: yes
Processor#0 speed: 2600 MHz
Processor#0 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#1 speed: 2600 MHz
Processor#1 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#2 speed: 2600 MHz
Processor#2 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#3 speed: 2600 MHz
Processor#3 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#4 speed: 2600 MHz
Processor#4 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#5 speed: 2600 MHz
Processor#5 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#6 speed: 2600 MHz
Processor#6 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Processor#7 speed: 2600 MHz
Processor#7 description: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Memory size: 16384 MByte
Memory available: 3557 MByte
Operating system: Darwin
Operating system version: 14.5.0
Code: Select all
vboxmanage --version
5.1.12r112440
Code: Select all
vboxmanage showvminfo "F25_max"
Name: F25_max
Groups: /client_linux
Guest OS: Fedora (64-bit)
UUID: 997eb8e8-ee61-461e-a8ea-5992ce5fecae
Config file: /Users/myUser/vms/vbox/client_linux/F25_max/F25_max.vbox
Snapshot folder: /Users/myUser/vms/vbox/client_linux/F25_max/Snapshots
Log folder: /Users/myUser/vms/vbox/client_linux/F25_max/Logs
Hardware UUID: 997eb8e8-ee61-461e-a8ea-5992ce5fecae
Memory size: 4096MB
Page Fusion: off
VRAM size: 64MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
PAE: off
Long Mode: on
Triple Fault Reset: off
APIC: on
X2APIC: on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
BIOS APIC mode: APIC
Time offset: 0ms
RTC: UTC
Hardw. virt.ext: on
Nested Paging: on
Large Pages: on
VT-x VPID: on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: KVM
State: running (since 2017-01-05T14:30:03.103000000)
Monitor count: 1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (1): SATA
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 1
Storage Controller Bootable (1): on
IDE (1, 0): /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso (UUID: 8d677575-7f59-45ab-b7e4-00348ca43f57) (temp eject)
SATA (0, 0): /Users/myUser/vms/vbox/client_linux/F25_max/F25_max.vdi (UUID: 237f88ad-0eb4-496e-a1bb-36b9c4dddc0b)
NIC 1: MAC: 080027EE946B, Attachment: Bridged Interface 'en0: Wi-Fi (AirPort)', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: CoreAudio, Controller: AC97, Codec: AD1980)
Clipboard Mode: Bidirectional
Drag and drop Mode: disabled
Session name: GUI/Qt
Video mode: 800x600x32 at 0,0 enabled
VRDE: disabled
USB: enabled
EHCI: enabled
XHCI: disabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Bandwidth groups: <none>
Shared folders:
Name: 'code', Host path: '/Users/myUser/code' (machine mapping), writable
VRDE Connection: not active
Clients so far: 0
Video capturing: not active
Capture screens: 0
Capture file: /Users/myUser/vms/vbox/client_linux/F25_max/F25_max.webm
Capture dimensions: 1024x768
Capture rate: 512 kbps
Capture FPS: 25
Description:
F25 build for Max.
Guest:
Configured memory balloon size: 0 MB
OS type: Linux26_64
Additions run level: 2
Additions version: 5.1.12 r112440
Guest Facilities:
Facility "VirtualBox Base Driver": active/running (last update: 2017/01/05 17:08:18 UTC)
Facility "VirtualBox System Service": active/running (last update: 2017/01/05 17:22:11 UTC)
Facility "Seamless Mode": not active (last update: 2017/01/05 17:08:18 UTC)
Facility "Graphics Mode": not active (last update: 2017/01/05 17:08:18 UTC)
Install F25 OS:
* accept all defaults.
* Set root password
* Create new user
Reboot the system:
Code: Select all
sudo poweroff --rebootGnome GUI login: successful.
Modify sudoers file: only the last line has changed.
Before:
Code: Select all
$ sudo egrep -v '^(#|$)' /etc/sudoers
....
%wheel ALL=(ALL) ALLCode: Select all
$ sudo egrep -v '^(#|$)' /etc/sudoers
Defaults !visiblepw
Defaults env_reset
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS"
Defaults env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
root ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD: ALLssh login: successful.
Code: Select all
journalctl --list-boots
0 94d4de4733c640ce8722b8705438184e Wed 2017-01-04 19:15:46 CST—Wed 2017-01-04 19:31:02 CSTCode: Select all
journalctl -b > boot-0.outCode: Select all
journalctl -b -p err > boot-0-errors.outUpdate OS
Code: Select all
sudo dnf -y upgrade | tee -a dnf-upgrade.outCode: Select all
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n" > rpm-upgrade-packages.outCode: Select all
sudo poweroff --reboot* boot-0.out
* boot-0-errors.out
* dnf-upgrade.out
* rpm-upgrade-packages.out
--------------------------------------------------------------------------------
Gnome GUI login: successful.
ssh login: successful.
Code: Select all
journalctl --list-boots
-1 94d4de4733c640ce8722b8705438184e Wed 2017-01-04 19:15:46 CST—Wed 2017-01-04 19:55:32 CST
0 e9c7b5d03ef943afa2617f0d898f1bc6 Wed 2017-01-04 19:55:40 CST—Wed 2017-01-04 19:58:05 CSTCode: Select all
journalctl -b > logs/boot-1.outCode: Select all
journalctl -b -p err > logs/boot-1-errors.outPrep to install VirtualBox
Add ENV VARS to
Code: Select all
~/.bashrcCode: Select all
$ cat ~/.bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
###############################################################################
### System ###
###############################################################################
export KERN_DIR="/usr/src/kernels/$(uname -r)"
###############################################################################
### VirtualBox ###
###############################################################################
export VBOX_USER_HOME="$HOME/vms"
Code: Select all
source ~/.bashrcCode: Select all
echo "$KERN_DIR"
/usr/src/kernels/4.8.15-300.fc25.x86_64
uname -a
Linux guihost 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15 23:10:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
echo "$VBOX_USER_HOME"
/home/myUser/vmsUpdate OS
Code: Select all
sudo dnf -y install dkms kernel-headers gcc kernel-devel | tee -a logs/dnf-install-vbox-support.out
Code: Select all
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n" > logs/rpm-post-vbox-support.out
Code: Select all
diff logs/rpm-upgrade-packages.out logs/rpm-post-vbox-support.out
53a54
> dkms-2.3-1.20161202gitde1dca9.fc25
1452a1454
> kernel-devel-4.8.15-300.fc25
Code: Select all
sudo poweroff --reboot* boot-1.out
* boot-1-errors.out
* dnf-install-vbox-support.out
* rpm-post-vbox-support.out
--------------------------------------------------------------------------------
Gnome GUI login: successful.
ssh login: successful.
Code: Select all
journalctl --list-boots
-2 94d4de4733c640ce8722b8705438184e Wed 2017-01-04 19:15:46 CST—Wed 2017-01-04 19:55:32 CST
-1 e9c7b5d03ef943afa2617f0d898f1bc6 Wed 2017-01-04 19:55:40 CST—Wed 2017-01-04 20:09:49 CST
0 bd1ee979bf85487ca8fb2d05ed94167b Wed 2017-01-04 20:09:57 CST—Wed 2017-01-04 20:11:16 CSTFull log since last boot:
Code: Select all
journalctl -b > logs/boot-2.outCode: Select all
journalctl -b -p err > logs/boot-2-errors.outVerify variables still expand properly:
Code: Select all
echo "$KERN_DIR"
/usr/src/kernels/4.8.15-300.fc25.x86_64
uname -a
Linux guihost 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15 23:10:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
echo "$VBOX_USER_HOME"
/home/myUser/vms
Check SELinux Issues:
Code: Select all
sudo ausearch -m avc > logs/boot-2-avcs.out
----
time->Wed Jan 4 19:41:30 2017
type=AVC msg=audit(1483580490.614:387): avc: denied { create } for pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
date -d @1483580490.614
Wed Jan 4 19:41:30 CST 2017
Code: Select all
sudo ausearch -c 'systemd' --raw | audit2allow -M systemdCreate
sudo semodule -i systemdCreate.ppReboot the system:
Code: Select all
sudo poweroff --reboot* boot-2.out
* boot-2-errors.out
* logs/boot-2-avcs.out
* SELinux Policy: logs/selinux/systemdCreate.pp
--------------------------------------------------------------------------------
Gnome GUI login: successful.
ssh login: successful.
Code: Select all
journalctl --list-boots
-3 94d4de4733c640ce8722b8705438184e Wed 2017-01-04 19:15:46 CST—Wed 2017-01-04 19:55:32 CST
-2 e9c7b5d03ef943afa2617f0d898f1bc6 Wed 2017-01-04 19:55:40 CST—Wed 2017-01-04 20:09:49 CST
-1 bd1ee979bf85487ca8fb2d05ed94167b Wed 2017-01-04 20:09:57 CST—Thu 2017-01-05 04:54:52 CST
0 fe804aceaae24d818fd2beb53f7a3333 Thu 2017-01-05 04:43:15 CST—Thu 2017-01-05 11:04:10 CST
Full log since last boot:
Code: Select all
journalctl -b > logs/boot-3.outCode: Select all
journalctl -b -p err > logs/boot-3-errors.out
* Still nothing related to the gnome-keyring.Check SELinux Issues:
Code: Select all
sudo ausearch -m avc > logs/boot-3-avcs.out
----------
Install the vbox guest additions
1) Insert the CD (from VM menu)
2) GUI: authenticate
3) Installed without errors to stdOut
4) Saved logs:
Code: Select all
journalctl -b -p err > logs/boot-3-errors-vbox.out (no vbox-related errors)Code: Select all
journalctl -b | grep vboxadd.sh > logs/boot-3-vbox-install.outReboot the system:
Code: Select all
sudo poweroff --reboot* logs/boot-3.out
* logs/boot-3-errors.out
* logs/boot-3-avcs.out
* logs/boot-3-errors-vbox.out
* logs/boot-3-vbox-install.out
* SELinux Policy: logs/selinux/systemdCreate.pp
--------------------------------------------------------------------------------
ssh login: successful.
Code: Select all
journalctl --list-boots
-4 94d4de4733c640ce8722b8705438184e Wed 2017-01-04 19:15:46 CST—Wed 2017-01-04 19:55:32 CST
-3 e9c7b5d03ef943afa2617f0d898f1bc6 Wed 2017-01-04 19:55:40 CST—Wed 2017-01-04 20:09:49 CST
-2 bd1ee979bf85487ca8fb2d05ed94167b Wed 2017-01-04 20:09:57 CST—Thu 2017-01-05 04:54:52 CST
-1 fe804aceaae24d818fd2beb53f7a3333 Thu 2017-01-05 04:43:15 CST—Thu 2017-01-05 11:21:49 CST
0 decb47c63de742689f3b497016126f04 Thu 2017-01-05 05:01:51 CST—Thu 2017-01-05 11:24:02 CST
Full log since last boot:
Code: Select all
journalctl -b > logs/boot-4.outCode: Select all
journalctl -b -p err > logs/boot-4-errors.out----------
Check SELinux Issues:
Code: Select all
sudo ausearch -m avc > logs/boot-4-avcs.out
----------
Check running processes: (before first login attempt)
Code: Select all
ps aux | grep key
myUser 1688 0.0 0.0 119372 912 pts/0 S+ 11:32 0:00 grep --color=auto keyGnome GUI login: FAIL.
These log entries detail a gnome/GUI login failure: attempt 1
Code: Select all
Jan 05 11:29:15 guihost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 05 11:29:24 guihost audit[1568]: USER_AUTH pid=1568 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix,pam_gnome_keyring acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty1 res=success'
Jan 05 11:29:24 guihost audit[1568]: USER_ACCT pid=1568 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty1 res=success'
Jan 05 11:29:24 guihost audit[1568]: CRED_ACQ pid=1568 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_unix,pam_gnome_keyring acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty1 res=success'
Jan 05 11:29:24 guihost audit[1568]: USER_ROLE_CHANGE pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty2 res=success'
Jan 05 11:29:24 guihost systemd[1]: Started Session 4 of user myUser.
Jan 05 11:29:24 guihost systemd-logind[711]: New session 4 of user myUser.
Jan 05 11:29:24 guihost gdm-password][1568]: pam_unix(gdm-password:session): session opened for user myUser by (uid=0)
Jan 05 11:29:25 guihost audit[1568]: USER_START pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty2 res=success'
Jan 05 11:29:25 guihost audit[1568]: USER_LOGIN pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='uid=1000 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=? res=success'
Jan 05 11:29:25 guihost systemd[1489]: Started D-Bus User Message Bus.
Jan 05 11:29:25 guihost dbus-daemon[1593]: [session uid=1000 pid=1593] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.5' (uid=1000 pid=1614 comm="/usr/libexec/gnome-initial-setup-copy-worker " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Jan 05 11:29:25 guihost kernel: fuse init (API version 7.25)
Jan 05 11:29:25 guihost systemd[1489]: Starting Virtual filesystem service...
Jan 05 11:29:25 guihost dbus-daemon[1593]: [session uid=1000 pid=1593] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 05 11:29:25 guihost systemd[1489]: Started Virtual filesystem service.
Jan 05 11:29:25 guihost gnome-keyring-ssh.desktop[1624]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Jan 05 11:29:25 guihost gnome-keyring-secrets.desktop[1626]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Jan 05 11:29:25 guihost org.gnome.Shell.desktop[1641]: pci id for fd 9: 80ee:beef, driver (null)
Jan 05 11:29:25 guihost gnome-shell[1641]: Unable to initialize Clutter: Unable to initialize the Clutter backend: no available drivers found.
Jan 05 11:29:25 guihost gnome-shell[1641]: Unable to initialize Clutter.
Jan 05 11:29:25 guihost gnome-session[1598]: gnome-session-binary[1598]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 05 11:29:25 guihost gnome-session-binary[1598]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 05 11:29:25 guihost gnome-session-binary[1598]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 05 11:29:25 guihost gdm-password][1568]: pam_unix(gdm-password:session): session closed for user myUser
Jan 05 11:29:25 guihost audit[1568]: USER_END pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty2 res=success'
Jan 05 11:29:25 guihost audit[1568]: USER_LOGOUT pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='uid=1000 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=? res=success'
Jan 05 11:29:25 guihost audit[1568]: CRED_DISP pid=1568 uid=0 auid=1000 ses=4 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_unix,pam_gnome_keyring acct="myUser" exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=/dev/tty2 res=success'
Jan 05 11:29:25 guihost gdm[917]: GdmDisplay: display lasted 0.391821 secondsCheck running processes: (after first login attempt)
Code: Select all
ps aux | grep key
myUser 1580 0.0 0.1 323520 7200 ? Sl 11:29 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
myUser 1688 0.0 0.0 119372 912 pts/0 S+ 11:32 0:00 grep --color=auto key
Code: Select all
ps aux | grep key
myUser 1580 0.0 0.1 323520 7200 ? Sl 11:29 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
myUser 1703 0.0 0.1 323524 7128 ? Sl 11:33 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
myUser 1763 0.0 0.0 119372 980 pts/0 S+ 11:33 0:00 grep --color=auto key
----------
Save full log:
Code: Select all
journalctl > logs/boot-4-complete.out
Code: Select all
sudo poweroff* logs/boot-4.out
* logs/boot-4-errors.out
* logs/boot-4-avcs.out
* logs/boot-4-complete.out
Questions:
1. Am I the only one with this problem?
Nobody else seems to have this issue.
2. Any known method to fix it?
I can't seem to find anything. My Googles turn up nothing.
Thanks in advance,
TT