Bug 1968699
Summary: | gnome-shell: crash upon login after having logged-out from existing session | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Scheel <alexander.m.scheel> |
Component: | dracut | Assignee: | dracut-maint-list |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | dracut-maint-list, fmuellner, gnome-sig, jadahl, jonathan, otaylor, philip.wyett, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-07 23:45:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Scheel
2021-06-07 20:29:04 UTC
The line here might be most telling:
> Jun 07 16:22:39 x1c.cipherboy.com gnome-shell[37355]: Failed to start X Wayland: Directory "/tmp/.X11-unix" is not writable
---
Using an auditd rule for this file, I see:
----
time->Mon Jun 7 17:55:59 2021
type=PROCTITLE msg=audit(1623102959.542:253): proctitle="/usr/bin/gnome-shell"
type=PATH msg=audit(1623102959.542:253): item=1 name="/tmp/.X11-unix" inode=39 dev=00:26 mode=041755 ouid=42 ogid=42 rdev=00:00 obj=unlabeled nametype=CREATE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
type=PATH msg=audit(1623102959.542:253): item=0 name="/tmp/" inode=1 dev=00:26 mode=041777 ouid=0 ogid=0 rdev=00:00 obj=unlabeled nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
type=CWD msg=audit(1623102959.542:253): cwd="/var/lib/gdm"
type=SYSCALL msg=audit(1623102959.542:253): arch=c000003e syscall=83 success=yes exit=0 a0=7fae099fc586 a1=3ff a2=7ffd178af7e0 a3=1000 items=2 ppid=1424 pid=1478 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=tty1 ses=4294967295 comm="gnome-shell" exe="/usr/bin/gnome-shell" subj=kernel key="monitor-unix"
----
(Implying this path got created not by systemd-tmpfiles-setup but by gnome-shell running as user gdm).
This means the owner/group-owner is wrong on this file, which I can confirm by manually looking at it. Changing the owner back to root:root does indeed fix this problem.
Pointed to 1965585 by chrisawi on #fedora, downgrading dracut appears to fix my issues. *** This bug has been marked as a duplicate of bug 1965585 *** |