Questions tagged [dbus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Docker - Failed to connect to bus error on some containers provisioned with docker-compose

I have 3 clusters to deploy on containers provisioned with docker-compose, the clusters have 3, 4 and 14 nodes each. All containers are built from the same image of Rocky Linux 8 and have SystemD with ...
user avatar
  • 133
1 vote
0 answers
256 views

Slow SSH - Failed to activate service 'org.freedesktop.login1': timed out - no systemd

I run Devuan Linux, which still uses sysvinit and does not use systemd. For a while now, I've noticed SSH logins are very slow. The log (/var/log/auth.log) indicates that DBus is timing out: Feb 19 10:...
user avatar
2 votes
2 answers
2k views

Openvpn3 client failed calling D-Bus method Connect on Debian buster

I had a healthy Openvpn3 client running on my laptop, and every day used to successfully connect to my company's vpn without any hurdle. However today things went wrong, and I'm no longer able to ...
user avatar
  • 151
2 votes
0 answers
2k views

CentOS: how to fix GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded (Maximum active connections)?

On a CentOS 7 server I'm getting this error while trying to reboot: # reboot Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The ...
user avatar
  • 121
2 votes
0 answers
746 views

Is there a way to reliably check that systemd supports --user?

I'm trying to set up some user services using Ansible and systemd. On Ubuntu and RHEL 7 I'm getting # systemctl --user status Failed to get D-Bus connection: Connection refused For Ubuntu I ...
user avatar
  • 375
0 votes
1 answer
298 views

Publishing CNAME to Avahi over DBUS requires long lived process

I am attempting to setup CNAMEs in Avahi in order to broadcast multiple hostnames. I've found a variety of examples online that all work but they all require long lived processes: https://github.com/...
user avatar
  • 105
3 votes
0 answers
1k views

Obscure systemd-logind message on Centos 7 running on OpenVZ 7

I am seeing the message below appear several times at random times on a Centos 7 64-bit virtual private server running on OpenVZ 7. I have no idea what it means, how to fix it or if it can be safely ...
user avatar
  • 33
1 vote
1 answer
4k views

Is there a way to restart the D-Bus on CentOS 7 - without crashing the system?

On CentOS 7, doing sudo systemctl restart messagebus[1], will bring the system to its knees. Is there a way to restart the D-Bus without crashing the system? [1] This is dbus.service - D-Bus System ...
user avatar
2 votes
2 answers
5k views

Why is dbus-org.freedesktop.timedate1 started so frequently?

I have some Ubuntu 18.04.1 servers. They all show this service being started rougly every 10 minutes. Jan 7 06:29:05 csrf-prod1-vm dbus-daemon[434]: [system] Activating via systemd: service name='...
user avatar
  • 515
2 votes
1 answer
3k views

SELinux: pam_systemd(sudo:session): Failed to connect to system bus: Permission denied

On one of CentOS 7 servers I cannot perform sudo from nrpe user (Nagios daemon remote monitoring). Error message: Dec 31 08:28:10 ip-172-31-36-176 sudo: pam_unix(sudo:session): session opened for ...
user avatar
1 vote
0 answers
324 views

Centos 7.3x & 7.4x VM's fail to bringup login service and network manager after a yum update and restart

I'm running into an odd problem that I've never encountered before. On any of our Centos 7.3x or 7.4x after I do a yum update and restart the VM will eventually come back up, but hangs during the ...
user avatar
  • 168
11 votes
3 answers
42k views

Cannot use `systemctl --user` due to "Failed to get D-bus connection: permission denied"

I'm trying to set up user-level services, using this answer to a similar question. I have create the required files and rebooted. I'm making progress because I now get "Failed to get D-bus connection:...
user avatar
  • 233
1 vote
1 answer
693 views

One Dbus message triggers multiple systemd services

How can I trigger multiple systemd services when a dbus signal is lauched. I'm trying to do so for org.freedesktop.hostname1 by creating a service like: [Unit] Description=Set host name [Service] ...
user avatar
  • 113
3 votes
2 answers
7k views

Getting "Couldn't connect to realm service" error while joining rhel7 instance to a domain

I am trying to join a rhel7 node to a domain using a chef cookbook but getting error: realm: Couldn't connect to realm service: Error calling StartServiceByName for org.freedesktop.realmd: GDBus....
user avatar
2 votes
0 answers
2k views

Allow non root user to run certain systemd services (not *), without a password by using a polkit rule

I have a non root user that I need to have able to start/stop/restart a subset of services on my system without prompting for an authorization password. Ideally I would like this done via polkit but ...
user avatar
  • 21
0 votes
1 answer
636 views

How to findout if haldaemon is being used or udev in RHEL server?

I am quite confused if hal is really in use or just udev. What I understood: In general, HAL is an abstraction layer that allows an operating system to interact with a hardware device. And daemon ...
user avatar
  • 589
18 votes
1 answer
23k views

Starting systemd services sharing a session D-Bus on headless system

I need help starting services that communicate via a session (not system) D-Bus on a headless Linux system. The key is that no-one will be logged in on the headless system. So far I've been able to ...
user avatar
  • 390
0 votes
2 answers
7k views

fprintd: ** Message: No devices in use, exit

I keep getting following messages inside of /var/log/messages: 4/7/2016, 11:03:49 AM fprintd[3277] Launching FprintObject 4/7/2016, 11:03:49 AM fprintd[3277] ** Message: D-Bus service ...
user avatar
  • 12.2k
3 votes
1 answer
3k views

How do I determine the Linux user/group which executes systemd manager jobs?

I am trying to determine which Linux user/group runs systemd jobs so that I can set D-Bus permissions accordingly. When I do this: sudo systemctl start myservice That ultimately calls an executable ...
user avatar
3 votes
1 answer
14k views

How do I properly launch a dbus-monitor --session as root?

I am working on a script that will detect if and when a Gnome session is "locked" by a user in order to kick that user and prevent people locking screens in a public use lab. However, it ...
user avatar
  • 33
3 votes
0 answers
3k views

Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error: stdin: is not a tty /etc/init/delayed_job.conf: line 7: description: command not found start: Unable to ...
user avatar
  • 33
6 votes
2 answers
803 views

Slow authentication on Fedora VM due to /var/run/dbus/system_bus_socket connect timeout

I have this Fedora VM that for some reason after a while always starts having very slow "sudo" authentication (or an authentication in general, like GUI apps asking for credentials). It's will work ...
user avatar
  • 161
0 votes
1 answer
60 views

Server shuts down during apt upgrades (specifically libdbus)

I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it ...
user avatar
  • 213
1 vote
0 answers
752 views

Identify mystery output on ssh login

How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well ...
user avatar
3 votes
2 answers
3k views

system suspend - dbus upower signals are not seen

I want to get notifications via dbus when the system resumes from suspended state. Following these existing questions: What DBus signal is sent on system suspend? How do I detect when my system wakes ...
user avatar
  • 191
0 votes
1 answer
177 views

After trying to remove SELinux, system doesn't start; shows error of “unable to connect to system bus”

I had SELinux installed on my system which actually was a bit annoying. I tried to remove it. After that my system is unable to start. The error that is showing up is: unable to connect to system ...
user avatar
8 votes
2 answers
6k views

Access D-Bus remotely using socat

Description: I'd like to access a D-Bus system service from another machine, knowing only machine's IP address and the service to connect to. What I have recently found is Gabriel (D-Bus over SSH). ...
user avatar
  • 161
21 votes
3 answers
35k views

How to configure D-Bus and SSH X-Forwarding to prevent SSH from hanging on exit?

I am attempting to run various Gnome applications via X11 Forwarding and SSH. Some applications will cause the 'dbus-launch' application to be spawned first. The problem is that dbus-launch doesn't ...
user avatar
  • 313
1 vote
0 answers
795 views

Fedora Failed to get D-Bus connection

I have a VPS with fedora 16 installed. I have setup mysql and it was working a couple of days ago. Now suddenly when I try to start mysql I get the error: Failed to get D-Bus connection: Failed to ...
user avatar
  • 123
0 votes
1 answer
3k views

dbus dependency with yum

Whenever, I try and run yum update I get the following error: [root@server ~]# yum update Loaded plugins: dellsysid, fastestmirror Loading mirror speeds from cached hostfile * base: mirror01.idc....
user avatar
  • 2,803
0 votes
1 answer
393 views

Remotely reinstall dbus and libdbus

OS: Ubuntu 11.04 amd64 After several updates, dbus didn't get to install correctly (carelessly used &&; long night), which I found out after server restart – no network services are ...
user avatar
47 votes
6 answers
78k views

How to find other end of unix socket connection?

I have a process (dbus-daemon) which has many open connection over UNIX sockets. One of these connections is fd #36: =$ ps uw -p 23284 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
user avatar