Bug 2213662 - gdm systemd unit fails on reboot [NEEDINFO]
Summary: gdm systemd unit fails on reboot
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gdm
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: Michal Odehnal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-08 22:56 UTC by Orion Poplawski
Modified: 2023-08-16 07:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
rstrode: needinfo? (orion)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gdm merge_requests 156 0 None merged local-display-factory: Don't try to respawn displays on shutdown 2023-06-13 13:34:13 UTC
Red Hat Issue Tracker RHELPLAN-159348 0 None None None 2023-06-08 23:01:26 UTC

Description Orion Poplawski 2023-06-08 22:56:30 UTC
Description of problem:

On reboot we are seeing:

Jun 07 18:22:45 gdm[3311]: Gdm: Failed to contact accountsservice: Error calling StartServiceByName for org.freedesktop.Accounts: GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
Jun 07 18:22:45 systemd[1]: gdm.service: Main process exited, code=exited, status=1/FAILURE
Jun 07 18:22:45 systemd[1]: gdm.service: Failed with result 'exit-code'.
Jun 07 18:22:45 systemd[1]: gdm.service: Triggering OnFailure= dependencies.

Version-Release number of selected component (if applicable):
gdm-40.0-27.el8.x86_64

How reproducible:
Very frequently/all the time


Expected results:
No systemd unit failures

Additional info:
I don't think we are seeing this on current Fedora machines

I know this seem nit-picky - but it clutters up tracking of service status on machines.

Comment 1 Ray Strode [halfline] 2023-06-13 13:34:14 UTC
I think it just needs this fix:

https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/156

Comment 4 Ray Strode [halfline] 2023-07-14 14:45:38 UTC
So we actually already ship that patch in the build you're using.

I'm not reproducing here, either.

Can you set Enable=true in the [debug] of /etc/gdm/custom.conf, reboot,
reproduce by rebooting again, and then attach the full, unfiltered output of

journalctl -b -1

So we can see the shutdown messages from the reproducing reboot
?


Note You need to log in before you can comment on or make changes to this bug.