Bug 445816 - Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
Summary: Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: PolicyKit
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-09 09:38 UTC by Harald Hoyer
Modified: 2013-03-06 03:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-09 13:25:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2008-05-09 09:38:58 UTC
SELinux enforcing:

$ dbus-send --system --print-reply --dest=org.freedesktop.PolicyKit /
org.freedesktop.PolicyKit.IsProcessAuthorized
string:org.freedesktop.policykit.read uint32:$$ boolean:true
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with
unknown return code 1

Raw Audit Messages :host=harryh type=AVC msg=audit(1210325755.432:3447): avc:
denied { search } for pid=5430 comm="polkitd"
scontext=system_u:system_r:polkit_t:s0-s0:c0.c1023
tcontext=system_u:object_r:sysctl_kernel_t:s0 tclass=dir host=harryh
type=SYSCALL msg=audit(1210325755.432:3447): arch=c000003e syscall=2 success=no
exit=-13 a0=328d536ef2 a1=0 a2=2224d10 a3=7fc3d9588780 items=0 ppid=5429
pid=5430 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="polkitd" exe="/usr/libexec/polkitd"
subj=system_u:system_r:polkit_t:s0-s0:c0.c1023 key=(null) 

Raw Audit Messages :host=harryh type=AVC msg=audit(1210325755.400:3446): avc:
denied { read } for pid=5430 comm="polkitd" path="inotify" dev=inotifyfs ino=1
scontext=system_u:system_r:polkit_t:s0-s0:c0.c1023
tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir host=harryh type=SYSCALL
msg=audit(1210325755.400:3446): arch=c000003e syscall=59 success=yes exit=0
a0=21a36a0 a1=21a3630 a2=21a3010 a3=328d767a70 items=0 ppid=5429 pid=5430
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="polkitd" exe="/usr/libexec/polkitd"
subj=system_u:system_r:polkit_t:s0-s0:c0.c1023 key=(null) 

Raw Audit Messages :host=harryh type=AVC msg=audit(1210325755.432:3448): avc:
denied { setgid } for pid=5430 comm="polkitd" capability=6
scontext=system_u:system_r:polkit_t:s0-s0:c0.c1023
tcontext=system_u:system_r:polkit_t:s0-s0:c0.c1023 tclass=capability host=harryh
type=SYSCALL msg=audit(1210325755.432:3448): arch=c000003e syscall=116
success=no exit=-1 a0=1 a1=2225c00 a2=2224d10 a3=7fc3d9588780 items=0 ppid=5429
pid=5430 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="polkitd" exe="/usr/libexec/polkitd"
subj=system_u:system_r:polkit_t:s0-s0:c0.c1023 key=(null)

Comment 1 Harald Hoyer 2008-05-09 09:40:27 UTC
SELinux is preventing polkitd (polkit_t) "search" to <Unknown> (sysctl_kernel_t). 
SELinux is preventing polkitd (polkit_t) "read" to inotify (inotifyfs_t). 
SELinux is preventing polkitd (polkit_t) "setgid" to <Unknown> (polkit_t). 

Comment 2 Daniel Walsh 2008-05-09 13:25:00 UTC
-Fixed in selinux-policy-3.3.1-49.fc9


Note You need to log in before you can comment on or make changes to this bug.