* Debugging bluetoothd, dbus and selinux help?
@ 2016-06-15 17:00 Don Zickus
2016-06-17 8:32 ` Szymon Janc
0 siblings, 1 reply; 3+ messages in thread
From: Don Zickus @ 2016-06-15 17:00 UTC (permalink / raw)
To: linux-bluetooth
Hi,
I am trying to debug why bluetoothd decides to disconnect from the d-bus on
the host, when the client does an object push to an obex agent on the host.
When I set selinux to permissive mode ('setenforce 0'), things work fine (ie
the object push goes through).
I tried searching /var/log/audit/audit.log, journalctl and dbus-monitor for
clues (on the host) and can't find anything obvious.
Does anyone have any tips on how to find what security policy might be
interfering with my test?
Cheers,
Don
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Debugging bluetoothd, dbus and selinux help?
2016-06-15 17:00 Debugging bluetoothd, dbus and selinux help? Don Zickus
@ 2016-06-17 8:32 ` Szymon Janc
2016-06-17 14:43 ` Don Zickus
0 siblings, 1 reply; 3+ messages in thread
From: Szymon Janc @ 2016-06-17 8:32 UTC (permalink / raw)
To: Don Zickus; +Cc: linux-bluetooth
Hi,
On Wednesday 15 June 2016 13:00:25 Don Zickus wrote:
> Hi,
>
> I am trying to debug why bluetoothd decides to disconnect from the d-bus on
> the host, when the client does an object push to an obex agent on the host.
>
> When I set selinux to permissive mode ('setenforce 0'), things work fine (ie
> the object push goes through).
>
> I tried searching /var/log/audit/audit.log, journalctl and dbus-monitor for
> clues (on the host) and can't find anything obvious.
>
> Does anyone have any tips on how to find what security policy might be
> interfering with my test?
>
To me it looks like FD passing on D-Bus is being blocked by SELinux.
--
pozdrawiam
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Debugging bluetoothd, dbus and selinux help?
2016-06-17 8:32 ` Szymon Janc
@ 2016-06-17 14:43 ` Don Zickus
0 siblings, 0 replies; 3+ messages in thread
From: Don Zickus @ 2016-06-17 14:43 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
On Fri, Jun 17, 2016 at 10:32:23AM +0200, Szymon Janc wrote:
> Hi,
>
> On Wednesday 15 June 2016 13:00:25 Don Zickus wrote:
> > Hi,
> >
> > I am trying to debug why bluetoothd decides to disconnect from the d-bus on
> > the host, when the client does an object push to an obex agent on the host.
> >
> > When I set selinux to permissive mode ('setenforce 0'), things work fine (ie
> > the object push goes through).
> >
> > I tried searching /var/log/audit/audit.log, journalctl and dbus-monitor for
> > clues (on the host) and can't find anything obvious.
> >
> > Does anyone have any tips on how to find what security policy might be
> > interfering with my test?
> >
>
> To me it looks like FD passing on D-Bus is being blocked by SELinux.
Hi Szymon,
Thanks for the tip! Is there a way I can verify that. I am scratching my
head for the right log file or monitor probe. Or better yet, the right file
to modify to fix that permission problem..
Cheers,
Don
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-17 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 17:00 Debugging bluetoothd, dbus and selinux help? Don Zickus
2016-06-17 8:32 ` Szymon Janc
2016-06-17 14:43 ` Don Zickus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).