From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Cc: buildroot@buildroot.org,
Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Marcin Bis <marcin@bis.org.pl>, Fiona Klute <fiona.klute@gmx.de>
Subject: Re: [Buildroot] [PATCH 1/1] package/bluez5_utils: fix bluetoothd daemon not starting
Date: Sun, 29 Dec 2024 23:37:03 +0100 [thread overview]
Message-ID: <20241229233703.707ef648@windsurf> (raw)
In-Reply-To: <20240913154634.10723-1-nicolas.cavallari@green-communications.fr>
Hello Nicolas,
On Fri, 13 Sep 2024 17:44:28 +0200
Nicolas Cavallari <nicolas.cavallari@green-communications.fr> wrote:
> bluetoothd does not start since commit 1a8676aa6e4b
> ("package/bluez5_utils: disable datafiles"):
>
> bluetoothd[4242]: Bluetooth daemon 5.75
> bluetoothd[4242]: src/main.c:main() Unable to get on D-Bus
>
> This because --disable-datafiles also disables installing the D-Bus
> policy file /etc/dbus-1/system.d/bluetooth.conf that allows bluetoothd
> to own the "org.bluez" service name.
>
> The underlying issue that the commit tried to fix is that this package
> now installs /etc/bluetooth with mode 555, which causes problems when
> buildroot need to remove or patch files.
>
> To fix this, fix the permissions in target/ and staging/ after
> installation, but still make sure that the permissions on the rootfs are
> 555.
>
> There could still be permissions issues if make install fails, because
> the fixups will not be applied.
>
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
> ---
> package/bluez5_utils/bluez5_utils.mk | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
Sorry for not getting back to you earlier on this. We have applied a
different fix, which involves a patch that was accepted upstream, see:
https://gitlab.com/buildroot.org/buildroot/-/commit/421a92a8973d23b017293ea8b776d34fb54a6b5e
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-12-29 22:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-13 15:44 [Buildroot] [PATCH 1/1] package/bluez5_utils: fix bluetoothd daemon not starting Nicolas Cavallari
2024-12-29 22:37 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241229233703.707ef648@windsurf \
--to=buildroot@buildroot.org \
--cc=fiona.klute@gmx.de \
--cc=fontaine.fabrice@gmail.com \
--cc=marcin@bis.org.pl \
--cc=nicolas.cavallari@green-communications.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox