Questions tagged [dbus]

35 questions
2
votes
1 answer

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 root by (uid=0) Dec 31 08:28:10 ip-172-31-36-176…
2
votes
0 answers

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 will opt for sudo if needed. Anyway, I have seen…
pid_1
  • 21
  • 4
2
votes
1 answer

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:41:07 sshd[22198]: Accepted publickey…
Gargravarr
  • 493
  • 5
  • 14
2
votes
2 answers

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 connect. This is the message error: session-start:…
digitai
  • 151
  • 1
  • 6
1
vote
1 answer

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 Message Bus.
boardrider
  • 949
  • 2
  • 18
  • 29
1
vote
0 answers

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 boot process and d-bus and login service fails so…
Jchieppa
  • 168
  • 4
  • 10
1
vote
1 answer

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…
jlanza
  • 113
  • 1
  • 2
  • 7
1
vote
0 answers

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 as PrintMotd. It seems that something is trying to…
1
vote
0 answers

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 connect to socket /org/freedesktop/systemd1/private:…
Pierre
  • 133
  • 2
  • 7
0
votes
1 answer

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…
Stephen L
  • 105
  • 3
0
votes
1 answer

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 hald is different from HAL. It is a service which…
GP92
  • 681
  • 2
  • 9
  • 27
0
votes
2 answers

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 launched with name: net.reactivated.Fprint 4/7/2016,…
alexus
  • 13,112
  • 32
  • 117
  • 174
0
votes
1 answer

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 told me: E: dpkg was interrupted, you must…
Finn
  • 223
  • 1
  • 2
  • 8
0
votes
1 answer

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 bus : Failed to connect to socket…
0
votes
1 answer

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.hinet.net * extras: mirror01.idc.hinet.net *…
Hengjie
  • 3,123
  • 1
  • 16
  • 10