Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4834

Troubleshooting • Re: Accidentally Overwrote /etc/systemd/system/dbus-org.bluez.service file

$
0
0
On my Bookworm system that file is a symbolic link.

Code:

root@columbia:/etc/systemd/system# ls -la dbus-org.bluez.servicelrwxrwxrwx 1 root root 37 Dec  5 04:40 dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service
If you have that original file you can simply recreate the link.

Code:

[Unit]Description=Bluetooth serviceDocumentation=man:bluetoothd(8)ConditionPathIsDirectory=/sys/class/bluetooth[Service]Type=dbusBusName=org.bluezExecStart=/usr/libexec/bluetooth/bluetoothdNotifyAccess=main#WatchdogSec=10#Restart=on-failureCapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICELimitNPROC=1# Filesystem lockdownProtectHome=trueProtectSystem=strictPrivateTmp=trueProtectKernelTunables=trueProtectControlGroups=trueStateDirectory=bluetoothStateDirectoryMode=0700ConfigurationDirectory=bluetoothConfigurationDirectoryMode=0555# Execute MappingsMemoryDenyWriteExecute=true# Privilege escalationNoNewPrivileges=true# Real-timeRestrictRealtime=true[Install]WantedBy=bluetooth.targetAlias=dbus-org.bluez.service

Statistics: Posted by DougieLawson — Sun Mar 24, 2024 7:45 pm



Viewing all articles
Browse latest Browse all 4834

Trending Articles