SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Free Guide: Linux from Scratch
Linux from Scratch describes the process of creating your own Linux system from scratch from an already installed Linux distribution, using nothing but the source code of software that you need.
This 318 page eBook provides readers with the background and instruction to design and build custom Linux systems. The resulting system will be compiled completely from the source code, and the user will be able to specify where, why, and how programs are installed. This eBook allows readers to fully customize Linux systems to their own needs and allows users more control over their system.
Click Here to receive the Linux from Scratch Guide absolutely free.
Any of you have experience with KDE Bluetooth? I have installed the
Slackbuild on Slack 12.2, but it keeps crashing.
This is what I get:
Code:
~ $ kbluetooth
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const
QString&, const QString&, DBusConnection*)] : org.bluez
path: /org/bluez interface: org.bluez.Manager conn: 0x80da748
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const
QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager
method: ListAdapters kbluetooth: libkbluetooth: getStringList(): A
security policy in place prevents this sender from sending this message
to this recipient, see message bus configuration file (rejected message
had interface "org.bluez.Manager" member "ListAdapters" error name
"(unset)" destination "org.bluez") kbluetooth: [QValueList<QString>
KBluetooth::Manager::listAdapters()] 0 kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Manager" member "ListAdapters" error name "(unset)"
destination "org.bluez") kbluetooth:
[KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&,
const QString&, DBusConnection*)] : org.bluez path: /org/bluez
interface: org.bluez.Security conn: 0x80da748 kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Security method:
RegisterDefaultPasskeyAgent kbluetooth: libkbluetooth:
setString(RegisterDefaultPasskeyAgent): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Security" member "RegisterDefaultPasskeyAgent" error name
"(unset)" destination "org.bluez") kbluetooth:
[KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&,
const QString&, DBusConnection*)] : org.bluez path: /org/bluez
interface: org.bluez.Security conn: 0x80da748 kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Security method:
RegisterDefaultAuthorizationAgent kbluetooth: libkbluetooth:
setString(RegisterDefaultAuthorizationAgent): A security policy in
place prevents this sender from sending this message to this recipient,
see message bus configuration file (rejected message had interface
"org.bluez.Security" member "RegisterDefaultAuthorizationAgent" error
name "(unset)" destination "org.bluez") kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Manager" member "ListAdapters" error name "(unset)"
destination "org.bluez") kbluetooth: [QValueList<QString>
KBluetooth::Manager::listAdapters()] 0 kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Manager" member "ListAdapters" error name "(unset)"
destination "org.bluez") kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Manager" member "ListAdapters" error name "(unset)"
destination "org.bluez") kbluetooth: [QValueList<QString>
KBluetooth::Manager::listAdapters()] 0 kbluetooth: [DBusMessage*
KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez
path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
"org.bluez.Manager" member "ListAdapters" error name "(unset)"
destination "org.bluez")
This... somewhat blinds me. Has anyone used this? Any ideas?
I have tried writing to the maintainer, but have not received a response - and this is unlikely to be relevant anyway, since I got the same result with a package from Slacky.
Try changing your /etc/dbus-1/system.conf file, so that the rules for accepting replies (they are somewhere in the second part of the file) would be:
--------
<!-- allow sending valid replies -->
<allow send_requested_reply="true"/>
<!-- allow receiving valid replies -->
<allow receive_requested_reply="true"/>
-----------
and without rules with 'receive_type' in them.
after this, restart messagebus (maybe hal also) and bluetooth, and then start kbluetooth again, it should work.
I am not aware of any security problems with this, but there is always a probability. Also, I think that the problem with the bluetooth was caused by using the configuration for the latest dbus with the older version of the dbus shipped with slackware.
Try changing your /etc/dbus-1/system.conf file, so that the rules for accepting replies (they are somewhere in the second part of the file) would be:
--------
<!-- allow sending valid replies -->
<allow send_requested_reply="true"/>
<!-- allow receiving valid replies -->
<allow receive_requested_reply="true"/>
-----------
and without rules with 'receive_type' in them.
after this, restart messagebus (maybe hal also) and bluetooth, and then start kbluetooth again, it should work.
I am not aware of any security problems with this, but there is always a probability. Also, I think that the problem with the bluetooth was caused by using the configuration for the latest dbus with the older version of the dbus shipped with slackware.
Yes there is, what that does is undo part of the fix for CVE-2008-4311.
You need to edit your /etc/dbus-1/system.d/bluetooth.conf to look like
this and revert your /etc/dbus-1/system.conf back to stock:
Code:
<!-- This configuration file specifies the required security policies
for Bluetooth core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.Agent"/>
</policy>
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
You need to edit your /etc/dbus-1/system.d/bluetooth.conf to look like
this and revert your /etc/dbus-1/system.conf back to stock:
Code:
<!-- This configuration file specifies the required security policies
for Bluetooth core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.Agent"/>
</policy>
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
As an addendum, I would like to add that making the changes in /etc/dbus-1/system.conf did not work on my 12.2 installation. Adding the rules posted by XGizzmo to /etc/dbus-1/system.d/bluetooth inside the <policy context=default> container did the trick for me.
As an addendum, I would like to add that making the changes in /etc/dbus-1/system.conf did not work on my 12.2 installation. Adding the rules posted by XGizzmo to /etc/dbus-1/system.d/bluetooth inside the <policy context=default> container did the trick for me.
Braynycat - I wonder if you could explain exactly what you did. I'm not having any luck out here. Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.