busctl: set execute label as 'System'
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 29 Jan 2019 07:19:49 +0000 (16:19 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
Change-Id: Id76f4cc5c2ab52c61355033fb4bcf8681d2cedbf
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
packaging/systemd.spec

index 790c1a6..520a9c7 100644 (file)
@@ -320,7 +320,7 @@ ln -sf ./libsystemd.pc %{buildroot}%{_libdir}/pkgconfig/libsystemd-login.pc
 
 # Set the smack label of executable binary tools
 chsmack %{_bindir}/bootctl -a "System::Tools"
-chsmack %{_bindir}/busctl -a "System::Tools"
+chsmack %{_bindir}/busctl -a "System::Tools" -e "System"
 chsmack %{_bindir}/kernel-install -a "System::Tools"
 %if %{?WITH_MACHINED}
 chsmack %{_bindir}/machinectl -a "System::Tools"