Re: Bluez: Read-only config dir install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fiona,

On Wed, Dec 4, 2024 at 2:51 PM Fiona Klute <fiona.klute@xxxxxx> wrote:
>
> Hi,
>
> since February Bluez installs a config directory with mode 0555 [1].
> This broke the Buildroot build, because files in that directory cannot
> be deleted any more. Buildroot disabled the datafiles installation as a
> workaround [2], but at least in my setup this breaks *running*
> bluetoothd because the D-bus policy is missing that way.
>
> The commit message mentions needing specific permission, but does not
> explain why /etc/bluetooth can't have mode 0755 (as it does on my Debian
> system, with Bluetooth working just fine).
>
> So my questions are: Can I just send a patch to change the permissions?
> If not, why does it need to be read-only? I think I'll need to
> understand that for a proper fix if changing permissions isn't right.
>
> Kind regards,
> Fiona
>
>
> [1]
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=be0e796299b0e7a73bf06c5655b56180588550b0
> [2]
> https://gitlab.com/buildroot.org/buildroot/-/commit/1a8676aa6e4b0e372a1a744eac6e53c90c03bf0e

Here is the discussion why end up setting it as 0555:

https://github.com/bluez/bluez/issues/329#issuecomment-1102459104

Now the question is why would buildroot delete files under
ConfigurationDirectory? Or is the problem that the directory is
created empty and then you add custom files later?

-- 
Luiz Augusto von Dentz





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux