[opensuse] systemd says "Failed to open private bus connection: ... /run/user/9/dbus/user_bus_socket"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I get this entry in the _warning_ log: <3.4> 2015-01-26 12:23:01 Telcontar systemd 6618 - - Failed to open private bus connection: Failed to connect to socket /run/user/9/dbus/user_bus_socket: No such file or directory User 9 is "news", can login but does not, and runs some cron jobs with fetchnews, and the leafnode daemon, serving nntp on localhost. By the timestamp I know that it is cron. This entry in "/etc/cron.d/mine": - -3,8,13,18,23,28,33,38,43,48,53,58 * * * * news /var/lib/news/bin/cronscriptparafetchnews That script contains: #!/bin/bash HORA=`date --rfc-3339=ns` echo "================> $HORA Start fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1 /usr/sbin/fetchnews -vv >> /var/lib/news/fetchnews.cron.log 2>&1 HORA=`date --rfc-3339=ns` echo "================> $HORA End fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1 I know, or guess, that the bus connection is created on login, but a cron job does not login. In fact, the tree does exist: Telcontar:~ # tree /run/user/9 /run/user/9 └── systemd └── private 1 directory, 1 file Telcontar:~ # But not the dbus directory. I'd tend to ignore that log entry, but it comes in the warning log, not in the messages log, so whoever designed that thought the error to be important. But I don't know what real effect it may have. The recent thread "[opensuse] What is /run/user/<user-id> directory and how to make sure it's created?" maybe related to this issue. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlTGKrsACgkQtTMYHG2NR9W0ngCglIDssD11t9/4pPcCsMUrbbEC 7lYAni8eCHAqv+aF/XxeURg6KCPQx+Ib =oSze -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
Date: Mon, 26 Jan 2015 12:53:22 +0100 (CET) To: OS-EN
Subject: systemd says "Failed to open private bus connection: ... /run/user/9/dbus/user_bus_socket"
Hi, I get this entry in the _warning_ log: <3.4> 2015-01-26 12:23:01 Telcontar systemd 6618 - - Failed to open private bus connection: Failed to connect to socket /run/user/9/dbus/user_bus_socket: No such file or directory User 9 is "news", can login but does not, and runs some cron jobs with fetchnews, and the leafnode daemon, serving nntp on localhost. By the timestamp I know that it is cron. This entry in "/etc/cron.d/mine": - -3,8,13,18,23,28,33,38,43,48,53,58 * * * * news /var/lib/news/bin/cronscriptparafetchnews That script contains: #!/bin/bash HORA=`date --rfc-3339=ns` echo "================> $HORA Start fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1 /usr/sbin/fetchnews -vv >> /var/lib/news/fetchnews.cron.log 2>&1 HORA=`date --rfc-3339=ns` echo "================> $HORA End fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1 I know, or guess, that the bus connection is created on login, but a cron job does not login. In fact, the tree does exist: Telcontar:~ # tree /run/user/9 /run/user/9 └── systemd └── private 1 directory, 1 file Telcontar:~ # But not the dbus directory. I'd tend to ignore that log entry, but it comes in the warning log, not in the messages log, so whoever designed that thought the error to be important. But I don't know what real effect it may have. The recent thread "[opensuse] What is /run/user/<user-id> directory and how to make sure it's created?" maybe related to this issue. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlTGXBkACgkQtTMYHG2NR9ULzACfardxnQMlPBF5BZTC9Qso2nv+ cAwAnj/Ras4t7OKBWavJXFyB8+/kPQ86 =OIEm -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Mon, 26 Jan 2015 16:24:00 +0100 (CET)
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Content-ID:
Resent because it previous attempt did not reach the list in 3 hours.
El 2015-01-26 a las 12:53 +0100, Carlos E. R. escribió:
Date: Mon, 26 Jan 2015 12:53:22 +0100 (CET) To: OS-EN
Subject: systemd says "Failed to open private bus connection: ... /run/user/9/dbus/user_bus_socket" Hi,
I get this entry in the _warning_ log:
<3.4> 2015-01-26 12:23:01 Telcontar systemd 6618 - - Failed to open private bus connection: Failed to connect to socket /run/user/9/dbus/user_bus_socket: No such file or directory
And your openSUSE version? I cannot find this message in 13.2 sources.
User 9 is "news", can login but does not, and runs some cron jobs with fetchnews, and the leafnode daemon, serving nntp on localhost. By the timestamp I know that it is cron. This entry in "/etc/cron.d/mine":
- -3,8,13,18,23,28,33,38,43,48,53,58 * * * * news /var/lib/news/bin/cronscriptparafetchnews
That script contains:
#!/bin/bash
HORA=`date --rfc-3339=ns` echo "================> $HORA Start fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1 /usr/sbin/fetchnews -vv >> /var/lib/news/fetchnews.cron.log 2>&1 HORA=`date --rfc-3339=ns` echo "================> $HORA End fetchnews session" >> /var/lib/news/fetchnews.cron.log 2>&1
I know, or guess, that the bus connection is created on login, but a cron job does not login. In fact, the tree does exist:
Telcontar:~ # tree /run/user/9 /run/user/9 └── systemd └── private
1 directory, 1 file Telcontar:~ #
But not the dbus directory.
I'd tend to ignore that log entry, but it comes in the warning log, not in the messages log, so whoever designed that thought the error to be important. But I don't know what real effect it may have.
The recent thread "[opensuse] What is /run/user/<user-id> directory and how to make sure it's created?" maybe related to this issue.
- -- Cheers Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlTGXBkACgkQtTMYHG2NR9ULzACfardxnQMlPBF5BZTC9Qso2nv+ cAwAnj/Ras4t7OKBWavJXFyB8+/kPQ86 =OIEm -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlTGd4EACgkQR6LMutpd94xW3gCcC7Rx/mFeffeUY81c63YteTlP uNwAoI/1l0BAZhq5xCMW7W2+AQfW7bgU =PvAn -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-01-26 18:21, Andrei Borzenkov wrote:
В Mon, 26 Jan 2015 16:24:00 +0100 (CET) "Carlos E. R." <> пишет:
I get this entry in the _warning_ log:
<3.4> 2015-01-26 12:23:01 Telcontar systemd 6618 - - Failed to open private bus connection: Failed to connect to socket /run/user/9/dbus/user_bus_socket: No such file or directory
And your openSUSE version? I cannot find this message in 13.2 sources.
See signature, please.
- -- Cheers Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)
- -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlTGimcACgkQtTMYHG2NR9UWxACdHb9f5LZWj7XgbvQLbaLPS4FO 0dsAn1XQ/HK1bGzeE+Fc8DCgX95dnCme =zeNq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.