Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 846611

Summary: gnome-base/gnome-session-41.3 / Failed to Upload Environment to systemd: (OpenRC/EloginD)
Product: Gentoo Linux Reporter: Ciaran <turbopascalwiz>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ciaran 2022-05-20 18:07:40 UTC
hello, I have this issue : 

it appears gnome-session is attempting to communicate org.freedesktop.systemd1 despite my not having systemd, or it supported by gnome-session/etc... I have a pretty clean install of gnome on openrc, w/ elogind. The problem arises when I log out and try to log back in as another user. I first started noticing this after I added a different user to the system (more than 1) to test something out.

 syslog reports - 

May 20 10:47:07 X syslog-ng[15665]: syslog-ng starting up; version='3.35.1'
May 20 10:47:19 X kernel: rfkill: input handler disabled
May 20 10:47:23 X gdm-password][15869]: gkr-pam: unable to locate daemon control file
May 20 10:47:23 X gdm-password][15869]: gkr-pam: stashed password to try later in open session
May 20 10:47:23 X gdm-password][15869]: pam_unix(gdm-password:session): session opened for user sysop(uid=1000) by (uid=0)
May 20 10:47:23 X kernel: elogind-daemon[13373]: New session 7 of user sysop.
May 20 10:47:23 X gdm-password][15869]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
May 20 10:47:23 X kernel: rfkill: input handler enabled
May 20 10:47:23 X gnome-session-binary[15908]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
May 20 10:47:24 X gnome-session-binary[15908]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
May 20 10:47:24 X gdm-password][15869]: pam_unix(gdm-password:session): session closed for user sysop
May 20 10:47:24 X gdm[13794]: Gdm: GdmDisplay: Session never registered, failing
May 20 10:47:24 X kernel: rfkill: input handler disabled
May 20 10:47:24 X kernel: elogind-daemon[13373]: Removed session 7.

------------------------------------------

I don't believe GKR-PAM has any real issues pertaining to this problem, as it appears to start the keyring daemon "properly". It looks like this could be an issue with respect to the scope of the code/build, although I haven't looked.
Comment 1 Ciaran 2022-05-21 00:38:16 UTC
I did look @ sys-auth/polkit and it appears systemd is not used for session tracking, if I try to enable it, dbus complains about supporting both eLoginD and SystemD.
Comment 2 Ciaran 2022-06-18 03:46:13 UTC
This appears to be a duplicate of bug # 

Bug 844919 - gnome-base/gnome-shell-42.1-r1 with sys-auth/polkit-0.120_p20220509: /usr/include/glib-2.0/glib/gmacros.h:1195:49: error: redefinition of ‘glib_autoptr_clear_PolkitAgentListener’

I downgraded polkit to 0.120_p20220221-r1 and I was able to successfully compile gnome-shell, no issues.

I suggest MASKING polkit 0.120_p20220509  <<<<
Comment 3 Ciaran 2022-06-18 03:46:15 UTC
This appears to be a duplicate of bug # 

Bug 844919 - gnome-base/gnome-shell-42.1-r1 with sys-auth/polkit-0.120_p20220509: /usr/include/glib-2.0/glib/gmacros.h:1195:49: error: redefinition of ‘glib_autoptr_clear_PolkitAgentListener’

I downgraded polkit to 0.120_p20220221-r1 and I was able to successfully compile gnome-shell, no issues.

I suggest MASKING polkit 0.120_p20220509  <<<<
Comment 4 Ciaran 2022-06-18 03:47:19 UTC

*** This bug has been marked as a duplicate of bug 844919 ***