Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdm-hw-accel.service: Two services allocated for the same bus name #223

Closed
lucabelluccini opened this issue Oct 7, 2018 · 5 comments
Closed
Assignees
Labels

Comments

@lucabelluccini
Copy link

lucabelluccini commented Oct 7, 2018

Describe the bug
Prior to update 25430, I had no more the graphical login and desktop.
I updated to the version mentioned above and I can get to login but I get:

> dmesg
...
...
[    4.475524] systemd[1]: Failed to put bus name to hashmap: File exists
[    4.475535] systemd[1]: gdm-hw-accel.service: Two services allocated for the same bus name org.gnome.DisplayManager, refusing operation.

And I've got

> journalctl -b | grep gnome-session
Oct 07 17:44:23 udoox86 gnome-session-binary[366]: Entering running state
Oct 07 17:44:31 udoox86 /usr/libexec/gdm-x-session[584]: /usr/share/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- /usr/bin/gnome-session
Oct 07 17:44:31 udoox86 dbus-daemon[589]: [session uid=1000 pid=589] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.6' (uid=1000 pid=632 comm="/usr/libexec/gnome-session-check-accelerated ")
Oct 07 17:44:31 udoox86 at-spi-bus-launcher[634]: dbus-daemon[639]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=632 comm="/usr/libexec/gnome-session-check-accelerated ")
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file baloo_file.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file baloo_file.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file krunner.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file krunner.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file tracker-extract.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file tracker-extract.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file gmenudbusmenuproxy.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file gmenudbusmenuproxy.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file org.kde.plasmashell.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file org.kde.plasmashell.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file gnome-flashback-screensaver.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file gnome-flashback-screensaver.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file tracker-miner-fs.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file tracker-miner-fs.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file klipper.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file klipper.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session[591]: gnome-session-binary[591]: WARNING: Could not parse desktop file xembedsniproxy.desktop or it references a not found TryExec binary
Oct 07 17:44:32 udoox86 gnome-session-binary[591]: WARNING: Could not parse desktop file xembedsniproxy.desktop or it references a not found TryExec binary
Oct 07 17:44:37 udoox86 gnome-session-binary[591]: Entering running state
Oct 07 17:44:40 udoox86 gnome-session-binary[366]: WARNING: Application 'org.gnome.SettingsDaemon.Rfkill.desktop' killed by signal 15
Oct 07 17:44:40 udoox86 gnome-session[366]: gnome-session-binary[366]: WARNING: Application 'org.gnome.SettingsDaemon.Rfkill.desktop' killed by signal 15

To Reproduce
Steps to reproduce the behavior:

  1. Install os
  2. Update up to 25430

Environment (please complete the following information):

  • Clear Linux OS version:
VERSION=1
ID=clear-linux-os
VERSION_ID=25430
PRETTY_NAME="Clear Linux OS"
ANSI_COLOR="1;35"
HOME_URL="https://clearlinux.org"
SUPPORT_URL="https://clearlinux.org"
BUG_REPORT_URL="mailto:dev@lists.clearlinux.org"
PRIVACY_POLICY_URL="http://www.intel.com/privacy"
  • Bundles:
bootloader
containers-basic
darktable
desktop
desktop-apps
desktop-apps-extras
desktop-assets
desktop-autostart
desktop-gnomelibs
desktop-kde-apps
desktop-kde-libs
desktop-locales
dev-utils
editors
emacs
ethtool
gimp
git
iproute2
joe
kernel-native
kvm-host
libX11client
mail-utils
network-basic
openssh-server
openssl
os-core
os-core-update
p11-kit
perl-basic
python-basic
python2-basic
python3-basic
qt-basic
shells
storage-utils
sudo
sysadmin-basic
thunderbird
user-basic
vim
vlc
which
wpa_supplicant
xemacs

Additional context
I have started startx once manually.

Similar issues: #10 clearlinux/swupd-client#346

@iphutch iphutch added the bug label Oct 8, 2018
@mrkz
Copy link

mrkz commented Oct 8, 2018

This looks like a leftover from a swupd update, this was removed from a while now, (May 7 apparently: clearlinux-pkgs/gdm@68e0e80 ).

What's the output of running the following command?

$ sudo swupd verify --picky

@lucabelluccini
Copy link
Author

Hello! Thank you for assisting on this.

I get:

Verifying version 25480
Generating list of extra files under /usr
Inspected 229056 files
Verify successful

Notably:

/usr/lib/systemd/system/multi-user.target.wants/gdm-hw-accel.service
/usr/lib/systemd/system/gdm-hw-accel.service

Service:

luca@udoox86 ~ $ sudo systemctl status gdm-hw-accel.service
● gdm-hw-accel.service - GNOME Display Manager (Hardware Accelerated)
   Loaded: error (Reason: Unit gdm-hw-accel.service failed to loaded properly: File exists.)
   Active: inactive (dead)

Oct 08 19:12:13 udoox86 systemd[1]: gdm-hw-accel.service: Two services allocated for the same bus name org.gnome.DisplayManager, refusing operation.
Oct 08 20:26:10 udoox86 systemd[1]: gdm-hw-accel.service: Two services allocated for the same bus name org.gnome.DisplayManager, refusing operation.
Oct 09 00:36:05 udoox86 systemd[1]: gdm-hw-accel.service: Two services allocated for the same bus name org.gnome.DisplayManager, refusing operation.

Should I issue a swupd verify --fix --picky ?

@fenrus75
Copy link
Contributor

fenrus75 commented Oct 9, 2018 via email

@mrkz
Copy link

mrkz commented Oct 9, 2018

from swupd (1)

       verify
          Perform system software installation verification. The program will obtain all the manifests needed from version url and  content  url
          to establish whether the system software is correctly installed and not overwritten, modified, missing or otherwise incorrect (permis‐
          sions, etc.).

          After obtaining the proper resources, all files that are under control of the software update program are verified  according  to  the
          manifest data

          · -f, --fix
                Correct  any  issues found. This will overwrite incorrect file content, add missing files and do additional corrections, permis‐
                sions etc.

          · -Y, --picky
                List (without --fix) or remove (with --fix) files which should not exist. Only files listed in the manifests should exist.

so likely a # swupd verify --fix --picky should be performed.

@lucabelluccini
Copy link
Author

Thank you @mrkz @fenrus75
Worked like a charm.
It solved the issue. The service was removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants