Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597526 - media-sound/bluez-alsa: checkpath access mode in /etc/init.d/bluealsa is too restrictive
Summary: media-sound/bluez-alsa: checkpath access mode in /etc/init.d/bluealsa is too ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 12:29 UTC by BT
Modified: 2016-10-19 13:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2016-10-19 12:29:12 UTC
bluealsa is run as root:root but checkpath in /etc/init.d/bluealsa sets the access mode to 0700.

checkpath -q -D -m 0700 -o :audio /var/run/bluealsa

This prevents members of the audio group from creating a socket in the /var/run/bluealsa directory when connecting to A2DP devices. The access mode check should be 0750 or 0770. In my case it worked with 0750.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-10-19 13:30:07 UTC
commit 0dcd4b29f28560dc1edc953ac22f764adf4a005e
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Oct 19 14:48:00 2016

    media-sound/bluez-alsa: Revbump to fix access to /var/run/bluezalsa

    This fixes Gentoo bug #597526.
    Added "hcitop" USE flag to live ebuild and adjust dependencies
    accordingly. Thanks to Aleksei Timofeyev for reporting this via
    e-mail.

    Package-Manager: portage-2.3.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>