tools: modify execute label of dbus-monitor 56/198756/1 accepted/tizen/unified/20190201.061340 submit/tizen/20190131.021840 submit/tizen/20190131.080207
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 29 Jan 2019 07:13:19 +0000 (16:13 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 29 Jan 2019 07:13:28 +0000 (16:13 +0900)
Unable to read 'fd passing messages' due to permission.
Set execute label as "System"

Change-Id: I765081a58cc285951216fdb63f8cf9a5c68e39de
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
packaging/dbus.spec

index b5603b7..7705c96 100644 (file)
@@ -287,7 +287,7 @@ getent passwd dbus > /dev/null || /usr/sbin/useradd -c 'System message bus' -u 8
 # Set the smack label of executable binary tools
 chsmack %{_bindir}/dbus-cleanup-sockets -a "System::Tools"
 chsmack %{_bindir}/dbus-daemon -a "System::Tools"
-chsmack %{_bindir}/dbus-monitor -a "System::Tools"
+chsmack %{_bindir}/dbus-monitor -a "System::Tools" -e "System"
 chsmack %{_bindir}/dbus-run-session -a "System::Tools"
 chsmack %{_bindir}/dbus-send -a "System::Tools"
 chsmack %{_bindir}/dbus-uuidgen -a "System::Tools"