* [gentoo-user] dbus problems - am I the only one who has these?
@ 2013-07-11 6:36 Helmut Jarausch
2013-07-11 8:31 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Helmut Jarausch @ 2013-07-11 6:36 UTC (permalink / raw
To: gentoo-user
Hi,
(too) often I get dbus errors, especial when running an application as
root
e.g.
Error getting authority: Error initializing authority: Error calling
StartServiceByName for org.freedesktop.PolicyKit1:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to
execute program /usr/libexec/dbus-daemon-launch-helper: Success
What might be the reason for these errors?
Many thanks for a hint,
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 6:36 [gentoo-user] dbus problems - am I the only one who has these? Helmut Jarausch
@ 2013-07-11 8:31 ` Neil Bothwick
2013-07-11 9:32 ` Helmut Jarausch
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2013-07-11 8:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
On Thu, 11 Jul 2013 08:36:29 +0200, Helmut Jarausch wrote:
> Error getting authority: Error initializing authority: Error calling
> StartServiceByName for org.freedesktop.PolicyKit1:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to
> execute program /usr/libexec/dbus-daemon-launch-helper: Success
I get this on my desktop but not my laptop, yet I have been unable to
find the difference that accounts for it. In the end I gave up and made
/usr/libexec/dbus-daemon-launch-helper world-executable :(
--
Neil Bothwick
In a classified ad: "Tired of cleaning yourself? Let me do it."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 8:31 ` Neil Bothwick
@ 2013-07-11 9:32 ` Helmut Jarausch
2013-07-11 9:39 ` Samuli Suominen
0 siblings, 1 reply; 7+ messages in thread
From: Helmut Jarausch @ 2013-07-11 9:32 UTC (permalink / raw
To: gentoo-user
On 07/11/2013 10:31:04 AM, Neil Bothwick wrote:
> On Thu, 11 Jul 2013 08:36:29 +0200, Helmut Jarausch wrote:
>
> > Error getting authority: Error initializing authority: Error calling
> > StartServiceByName for org.freedesktop.PolicyKit1:
> > GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to
> > execute program /usr/libexec/dbus-daemon-launch-helper: Success
>
> I get this on my desktop but not my laptop, yet I have been unable to
> find the difference that accounts for it. In the end I gave up and
> made
> /usr/libexec/dbus-daemon-launch-helper world-executable :(
>
>
Thanks, that fixed it. It looks as if a process switches its UID to a
non-root UID.
Perhaps the ebuild should be fixed to install sys-apps/dbus with these
permissions.
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 9:32 ` Helmut Jarausch
@ 2013-07-11 9:39 ` Samuli Suominen
2013-07-11 9:53 ` Helmut Jarausch
2013-07-11 12:27 ` Neil Bothwick
0 siblings, 2 replies; 7+ messages in thread
From: Samuli Suominen @ 2013-07-11 9:39 UTC (permalink / raw
To: gentoo-user
On 11/07/13 12:32, Helmut Jarausch wrote:
> On 07/11/2013 10:31:04 AM, Neil Bothwick wrote:
>> On Thu, 11 Jul 2013 08:36:29 +0200, Helmut Jarausch wrote:
>>
>> > Error getting authority: Error initializing authority: Error calling
>> > StartServiceByName for org.freedesktop.PolicyKit1:
>> > GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to
>> > execute program /usr/libexec/dbus-daemon-launch-helper: Success
>>
>> I get this on my desktop but not my laptop, yet I have been unable to
>> find the difference that accounts for it. In the end I gave up and made
>> /usr/libexec/dbus-daemon-launch-helper world-executable :(
>>
>>
>
> Thanks, that fixed it. It looks as if a process switches its UID to a
> non-root UID.
> Perhaps the ebuild should be fixed to install sys-apps/dbus with these
> permissions.
Making it world executable is same as giving root to every user on your
system -- as it makes it possible to escalate to user 'root' or at least
group 'messagebus'
So... Instead, the problem is often solved by simple re-emerge:
# emerge -1 glib dbus dbus-glib
Often caused by glib's upgrade (or downgrade) or dbus's upgrade (or
downgrade) where dbus-glib hasn't been rebuilt with it
- Samuli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 9:39 ` Samuli Suominen
@ 2013-07-11 9:53 ` Helmut Jarausch
2013-07-11 12:27 ` Neil Bothwick
1 sibling, 0 replies; 7+ messages in thread
From: Helmut Jarausch @ 2013-07-11 9:53 UTC (permalink / raw
To: gentoo-user
On 07/11/2013 11:39:21 AM, Samuli Suominen wrote:
> Making it world executable is same as giving root to every user on
> your system -- as it makes it possible to escalate to user 'root' or
> at least group 'messagebus'
>
> So... Instead, the problem is often solved by simple re-emerge:
>
> # emerge -1 glib dbus dbus-glib
>
> Often caused by glib's upgrade (or downgrade) or dbus's upgrade (or
> downgrade) where dbus-glib hasn't been rebuilt with it
>
Many thanks, Samuli, that fixed the problem, as well, and doesn't imply
a security risk.
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 9:39 ` Samuli Suominen
2013-07-11 9:53 ` Helmut Jarausch
@ 2013-07-11 12:27 ` Neil Bothwick
2013-07-11 15:45 ` Stroller
1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2013-07-11 12:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
On Thu, 11 Jul 2013 12:39:21 +0300, Samuli Suominen wrote:
> >> I get this on my desktop but not my laptop, yet I have been unable to
> >> find the difference that accounts for it. In the end I gave up and
> >> made /usr/libexec/dbus-daemon-launch-helper world-executable :(
> Making it world executable is same as giving root to every user on your
> system -- as it makes it possible to escalate to user 'root' or at
> least group 'messagebus'
I realise that, but I was unable to find a proper fix.
> So... Instead, the problem is often solved by simple re-emerge:
>
> # emerge -1 glib dbus dbus-glib
Often, maybe - always, definitely not. This machine has suffered from
that issue for some time and none of the suggested solutions, including
that one, or a few more desperate measures, have made any difference.
--
Neil Bothwick
Never ask a geek why, just nod your head and slowly back away
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] dbus problems - am I the only one who has these?
2013-07-11 12:27 ` Neil Bothwick
@ 2013-07-11 15:45 ` Stroller
0 siblings, 0 replies; 7+ messages in thread
From: Stroller @ 2013-07-11 15:45 UTC (permalink / raw
To: gentoo-user
On 11 July 2013, at 13:27, Neil Bothwick wrote:
> ...
>> So... Instead, the problem is often solved by simple re-emerge:
>>
>> # emerge -1 glib dbus dbus-glib
>
> Often, maybe - always, definitely not. This machine has suffered from
> that issue for some time and none of the suggested solutions, including
> that one, or a few more desperate measures, have made any difference.
It's not for me to tell you what to do, but in this case the bug should be taken to the dbus developers.
They'll probably want to know about it, and probably be glad to help you fix it.
Stroller.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-07-11 15:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-11 6:36 [gentoo-user] dbus problems - am I the only one who has these? Helmut Jarausch
2013-07-11 8:31 ` Neil Bothwick
2013-07-11 9:32 ` Helmut Jarausch
2013-07-11 9:39 ` Samuli Suominen
2013-07-11 9:53 ` Helmut Jarausch
2013-07-11 12:27 ` Neil Bothwick
2013-07-11 15:45 ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox