[Bug 841573] New: gdm does not start up after installation
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c0 Summary: gdm does not start up after installation Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: wolfgang@rosenauer.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- I just installed 13.1 beta 1 on a new machine (no update) from the NET media. (package selection: basically just default Gnome) After installation gdm/gnome didn't start. I just had an X mouse cursor without any gdm UI but just previous background. Interesting part of logging: Sep 20 19:59:25 ox.rosenauer.org gdm-launch-environment][1307]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (unknown)(uid=0) Sep 20 19:59:25 ox.rosenauer.org xdm[1274]: GLib: g_variant_new_string: assertion 'string != NULL' failed Sep 20 19:59:25 ox.rosenauer.org xdm[1274]: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files Sep 20 19:59:25 ox.rosenauer.org gnome-session[1311]: gnome-session[1311]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is ge Sep 20 19:59:25 ox.rosenauer.org gnome-session[1311]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login. With Dimstar's help on IRC we checked /etc/pam.d/common-session but there was no trace of pam_systemd: #%PAM-1.0 # # This file is autogenerated by pam-config. All changes # will be overwritten. # # Session-related modules common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define tasks to be performed # at the start and end of sessions of *any* kind (both interactive and # non-interactive # session required pam_limits.so session required pam_unix.so try_first_pass session optional pam_umask.so session optional pam_gnome_keyring.so auto_start only_if=gdm,gdm-password,lxdm,lightdm session optional pam_env.so After running /usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || : it created a new one: ox:/etc/pam.d # diff -wu common-session.pam-config-backup common-session --- common-session.pam-config-backup 2013-09-16 16:33:19.000000000 +0200 +++ common-session 2013-09-20 18:25:16.951741777 +0200 @@ -1,12 +1,18 @@ +#%PAM-1.0 # -# /etc/pam.d/common-session - session-related modules common to all services +# This file is autogenerated by pam-config. All changes +# will be overwritten. +# +# Session-related modules common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define tasks to be performed # at the start and end of sessions of *any* kind (both interactive and -# non-interactive). +# non-interactive # session required pam_limits.so session required pam_unix.so try_first_pass session optional pam_umask.so +session optional pam_systemd.so +session optional pam_gnome_keyring.so auto_start only_if=gdm,gdm-password,lxdm,lightdm session optional pam_env.so Now gdm is starting up correctly and I can log in to Gnome -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-20 16:40:07 UTC --- (In reply to comment #0)
After running /usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || :
FWIW, this is part of systemd's %post scriptlet, but considering it was not there, I assume that there is / was a sequencing issue on installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c2 --- Comment #2 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2013-09-20 16:48:13 UTC --- from zypp's history the order was basically: pam pam-config systemd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c3 Bjørn Lie <zaitor@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zaitor@opensuse.org --- Comment #3 from Bjørn Lie <zaitor@opensuse.org> 2013-09-21 17:41:08 CEST --- I just did a netinstall (with G:F and GA:GF repos enabled in plus) and I hit the exact same issue.. /usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || : fixed it for me too. Seems to be an issue with netinstall media -- if it happens from livecd or dvd we should have more complaints about it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c4 --- Comment #4 from Frederic Crozat <fcrozat@suse.com> 2013-09-23 08:01:07 UTC --- was common-session still a real file or a symlink to /etc/pam.d/common-session-pc ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c5 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2013-09-23 08:20:37 UTC --- Unfortunately at least I cannot tell what it was before the pam-config call. Afterwards/Currently it is a link to common-session-pc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-09-23 08:43:37 UTC --- this bug looks similar to bnc#812462 (although it is a install, not an upgrade). could you check yast logs for the rpm install process ? Maybe we'll find something in the std/error logs.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c7 --- Comment #7 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2013-09-23 09:03:50 UTC --- Created an attachment (id=559482) --> (http://bugzilla.novell.com/attachment.cgi?id=559482) y2logs I couldn't find something. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c8 --- Comment #8 from Frederic Crozat <fcrozat@suse.com> 2013-09-23 11:10:35 UTC --- This is very strange, because in your log, I get : 2013-09-20 16:44:48|install|pam-modules|12.1-19.3|x86_64||openSUSE-13.1-1.19|9421189303dd26d6ef3a2427a5ebc675ff6774b656f72df11a26a509dd119db4| # 2013-09-20 16:44:49 pam-config-0.86-1.4.x86_64.rpm installed ok # Additional rpm output: # *** write_config (account, /etc/pam.d/common-account-pc, ...) # **** write config for pam_unix2.so (account, disabled) # **** write config for pam_unix.so (account, enabled) # **** write config for pam_krb5.so (account, disabled) # **** write config for pam_localuser.so (account, disabled) # **** write config for pam_sss.so (account, disabled) # **** write config for pam_ldap.so (account, disabled) # **** write config for pam_nam.so (account, disabled) # **** write config for pam_winbind.so (account, disabled) # **** write config for pam_time.so (account, disabled) # *** write_config (auth, /etc/pam.d/common-auth-pc, ...) # **** write config for pam_env.so (auth, enabled) # **** write config for pam_group.so (auth, disabled) # **** write config for pam_pkcs11.so (auth, disabled) # **** write config for pam_fp.so (auth, disabled) # **** write config for pam_fprint.so (auth, disabled) # **** write config for pam_fprintd.so (auth, disabled) # **** write config for pam_thinkfinger.so (auth, disabled) # **** write config for pam_gnome_keyring.so (auth, disabled) # **** write config for pam_ssh.so (auth, disabled) # **** write config for pam_unix2.so (auth, disabled) # **** write config for pam_unix.so (auth, enabled) # **** write config for pam_ecryptfs.so (auth, disabled) # **** write config for pam_krb5.so (auth, disabled) # **** write config for pam_sss.so (auth, disabled) # **** write config for pam_ldap.so (auth, disabled) # **** write config for pam_nam.so (auth, disabled) # **** write config for pam_winbind.so (auth, disabled) # *** write_config (password, /etc/pam.d/common-password-pc, ...) # **** write config for pam_winbind.so (password, disabled) # **** write config for pam_pwcheck.so (password, disabled) # **** write config for pam_passwdqc.so (password, disabled) # **** write config for pam_cracklib.so (password, enabled) # **** write config for pam_pwhistory.so (password, disabled) # **** write config for pam_gnome_keyring.so (password, disabled) # **** write config for pam_unix2.so (password, disabled) # **** write config for pam_unix.so (password, enabled) # **** write config for pam_make.so (password, disabled) # **** write config for pam_exec.so (password, disabled) # **** write config for pam_krb5.so (password, disabled) # **** write config for pam_sss.so (password, disabled) # **** write config for pam_ldap.so (password, disabled) # **** write config for pam_nam.so (password, disabled) # *** write_config (session, /etc/pam.d/common-session-pc, ...) # **** write config for pam_selinux.so (session, disabled) # **** write config for pam_mkhomedir.so (session, disabled) # **** write config for pam_limits.so (session, enabled) # **** write config for pam_unix2.so (session, disabled) # **** write config for pam_unix.so (session, enabled) # **** write config for pam_apparmor.so (session, disabled) # **** write config for pam_krb5.so (session, disabled) # **** write config for pam_sss.so (session, disabled) # **** write config for pam_ldap.so (session, disabled) # **** write config for pam_winbind.so (session, disabled) # **** write config for pam_nam.so (session, disabled) # **** write config for pam_umask.so (session, enabled) # **** write config for pam_ssh.so (session, disabled) # **** write config for pam_systemd.so (session, disabled) # **** write config for pam_selinux.so (session, disabled) # **** write config for pam_gnome_keyring.so (session, disabled) # **** write config for pam_exec.so (session, disabled) # **** write config for pam_ecryptfs.so (session, disabled) # **** write config for pam_env.so (session, enabled) And then, later, systemd is installed. so everything should have been fine :( I'll remove /dev/null redirection in systemd package for pam-config call, maybe it will help us for future install.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fcrozat@suse.com |systemd-maintainers@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841573 https://bugzilla.novell.com/show_bug.cgi?id=841573#c Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 13.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com