glfs/general/sysutils
Xi Ruoyao 58ad7bcaa6
bluez: for systemd, create /var/lib/bluetooth at installation
In the systemd unit file of bluez-5.64, there is:

    ProtectSystem=full
    ReadWritePaths=/var/lib/bluetooth

The combination of these two options make systemd to bind mount /
recursively and read-only to /run/systemd/unit-root in a new mount
namespace, then bind mount /var/lib/bluetooth to
/run/systemd/unit-root/var/lib/bluetooth, then run bluez in the chroot
at /run/systemd/unit-root in the separate namespace.

This helps to reduce the potential damage if a bluez security
vulnerability is exposed.  But, if /var/lib/bluetooth does not exist,
systemd will fail to bind mount it and complain:

    bluetooth.service: bluetooth.service: Failed to set up mount
    namespacing: /run/systemd/unit-root/var/lib/bluetooth: No such
    file or directory

As a simple workaround, just create this directory at installation.  A
more elegant solution will be shipped in bluez-5.65:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=0905a06

Q: Why -m700?
A: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=edc69d2
2022-07-15 23:59:17 +08:00
..
accountsservice.xml Update to accountsservice-22.08.8 2022-03-06 10:50:13 +01:00
acpid.xml Tags and add text regarding failing tests in libevent 2022-02-17 14:06:36 -06:00
at.xml Move 'at' url to anduin 2022-06-22 22:50:23 -05:00
autofs.xml Tags 2022-02-17 19:56:04 -06:00
blocaled.xml Tags 2022-02-19 21:19:30 -06:00
bluez.xml bluez: for systemd, create /var/lib/bluetooth at installation 2022-07-15 23:59:17 +08:00
bubblewrap.xml update to bubblewrap-0.6.2 (#16531) 2022-05-13 20:15:43 +08:00
colord.xml colord: remove unnecessary fixup 2022-04-22 12:18:33 +08:00
cpio.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
cups-pk-helper.xml Tags 2022-02-19 21:19:30 -06:00
dbus.xml dbus: remove --with-console-auth-dir 2022-06-10 15:49:21 +08:00
elogind.xml Allow elogind to exit when dbus is closed 2022-03-12 11:30:51 +01:00
fcron.xml Remove spaces at the end of lines 2022-04-20 15:36:11 +02:00
gpm.xml Tags 2022-02-17 19:56:04 -06:00
hdparm.xml Package Updates: 2022-07-13 19:46:02 -05:00
lm_sensors.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
logrotate.xml Update to logrotate-3.20.1 2022-05-26 20:32:10 +02:00
lsb-tools.xml Initial 11.1 tags 2022-02-15 16:43:23 -06:00
mc.xml Update to mc-4.8.28. 2022-03-28 17:36:50 -05:00
modemmanager.xml Package updates 2022-06-26 10:42:53 -05:00
notification-daemon.xml Tags 2022-02-19 21:19:30 -06:00
p7zip.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
pax.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
pciutils.xml Update to pciutils-3.8.0 2022-04-19 20:34:15 +02:00
pm-utils.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
raptor.xml Tags 2022-02-17 19:56:04 -06:00
rasqal.xml Tags 2022-02-17 19:56:04 -06:00
redland.xml Tags 2022-02-17 19:56:04 -06:00
sg3_utils.xml Package Updates and Tags: 2022-02-17 19:44:13 -06:00
sysstat.xml Update to sysstat-12.6.0. 2022-05-30 13:55:44 -05:00
systemd.xml update to systemd-251 (sync with LFS, #16566) 2022-05-29 13:30:09 +08:00
sysutils.xml more SVN prop clean up 2021-04-20 19:12:02 +08:00
udisks2.xml Tags 2022-02-19 21:19:30 -06:00
unrar.xml Update to unrar-6.1.7. 2022-05-08 13:21:53 -05:00
unzip.xml A package update and some tags. 2022-02-16 22:44:55 -06:00
upower.xml upower: LC_ALL=C is for test, not for install 2022-07-14 13:07:51 +08:00
usbutils.xml A package update and some tags. 2022-02-16 22:44:55 -06:00
which.xml Initial round of tags from me 2022-02-16 15:46:11 -06:00
zip.xml Tags 2022-02-16 18:52:16 -06:00