Questions tagged [dbus]

The tag has no usage guidance.

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

FreeIPA fails to deploy in kubernetes due to dbus error

I'm facing issues with deploying FreeIPA in kubernetes. I'm using provided image based on rocky 9, but this issue also happens on other images (based on fedora, CentOS etc.). Deploying it my local ...
Art's user avatar
  • 1
1 vote
1 answer
38 views

Running systemd-run --user inside a systemd service

I have a web app that handles user input, and as part of that, runs some commands with systemd-run --user --scope ... to limit memory and CPU usage. The application runs fine when run normally, but ...
user2141650's user avatar
0 votes
0 answers
438 views

Failed to start dbus.serviuce and dbus.socket

I have a Debian Bokworm Server which was migrated from bare metal to a Proxmox VM and then single services lock docker were migrated to their own VMs. I uninstalled for example all the docker content ...
Powerriegel's user avatar
0 votes
0 answers
408 views

NetworkManager not starting and dbus not working correctly after reboot - AlmaLinux9 (RHEL)

I have a Server with AlmaLinux9 installed which worked perfectly and i rebooted the server often and nothing happend. But recently i rebooted the server and now it get's no internet connection anymore....
Jonathan's user avatar
1 vote
1 answer
74 views

after migrating kvm virtual machine with Centos7 to LXD container, the only process that starts at boot is systemd (/sbin/init)

the title pretty much describes it all. After starting the container the only running process is /sbin/init which is a link to systemd. No syslog, empty journalctl, lxc-start with console attached ...
Seweryn Niemiec's user avatar
0 votes
0 answers
2k views

failed to create bus connection: no such file or directory

Virtualbox with ubuntu 22.04 [root@container www]# systemctl start NetworkManager Failed to get D-Bus connection: No such file or directory Virtualbox with ubuntu 20.04 docker run --privileged -d -...
Rajsekar Reddy's user avatar
0 votes
1 answer
159 views

Lost of PPP Connection between Debian <--> PDA / HandHeld using SynCE

I am currently able to connect a handheld to the PC running Linux with a very old Ubuntu 14.04, adding repository PPA for SynCE to source list. Now, the goal is to update the operating system, I chose ...
Gustavo's user avatar
0 votes
0 answers
1k 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 ...
mac13k's user avatar
  • 143
2 votes
1 answer
2k 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:...
Gargravarr's user avatar
2 votes
2 answers
6k 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 ...
digitai's user avatar
  • 151
3 votes
0 answers
4k 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 ...
1Z10's user avatar
  • 131
2 votes
1 answer
2k 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 ...
oblio's user avatar
  • 385
0 votes
1 answer
467 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/...
Stephen L's user avatar
  • 105
3 votes
0 answers
2k 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 ...
Esteban's user avatar
  • 35
1 vote
1 answer
5k 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 ...
boardrider's user avatar
3 votes
2 answers
8k 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='...
OrangeDog's user avatar
  • 588
2 votes
1 answer
4k 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 ...
Alexander Gerasimov's user avatar
1 vote
0 answers
500 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 ...
Jchieppa's user avatar
  • 168
21 votes
4 answers
68k 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:...
xenoid's user avatar
  • 393
1 vote
1 answer
1k 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] ...
jlanza's user avatar
  • 113
4 votes
2 answers
10k 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....
Sameer T's user avatar
2 votes
0 answers
3k 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 ...
pid_1's user avatar
  • 21
0 votes
1 answer
850 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 ...
GP92's user avatar
  • 741
22 votes
1 answer
32k 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 ...
Ole Wolf's user avatar
  • 440
0 votes
2 answers
8k 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 ...
alexus's user avatar
  • 13.4k
3 votes
1 answer
4k 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 ...
RandomUser's user avatar
3 votes
1 answer
15k 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 ...
Merglyn's user avatar
  • 33
3 votes
0 answers
4k 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 ...
skatkov's user avatar
  • 33
6 votes
2 answers
1k 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 ...
Quintesse's user avatar
  • 161
0 votes
1 answer
73 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 ...
Finn's user avatar
  • 223
1 vote
0 answers
753 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 ...
FeatherKing's user avatar
3 votes
2 answers
4k 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 ...
totaam's user avatar
  • 202
0 votes
1 answer
262 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 ...
Arush Salil's user avatar
8 votes
2 answers
8k 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). ...
schedar's user avatar
  • 261
22 votes
4 answers
38k 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 ...
taftster's user avatar
  • 323
1 vote
0 answers
932 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 ...
Pierre's user avatar
  • 133
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....
Hengjie's user avatar
  • 3,203
0 votes
1 answer
457 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 ...
Kristaps Karlsons's user avatar
48 votes
7 answers
84k 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