restorecond: Install DBUS service file with 644 permissions
PATCH 1/1 restorecond: Install DBUS service file with 644 permissions
The original 600 permissions make the service file unreadable for dbus daemon.
Signed-off-by Petr Lautrbach <[email protected]>
--- restorecond/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
restorecond/Makefile +1 -1
@@ -50,7 +50,7 @@ install: all -mkdir -p $(DESTDIR)$(AUTOSTARTDIR) install -m 644 restorecond.desktop $(DESTDIR)$(AUTOSTARTDIR)/restorecond.desktop -mkdir -p $(DESTDIR)$(DBUSSERVICEDIR) - install -m 600 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service + install -m 644 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/ relabel: install
Signature · 1 line
2.20.1
Quoted 5 lines · Petr Lautrbach
The original 600 permissions make the service file unreadable for dbus daemon.
Signed-off-by Petr Lautrbach <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Quoted 18 lines
--- restorecond/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)restorecond/Makefile +1
-1@@ -50,7 +50,7 @@ install: all -mkdir -p $(DESTDIR)$(AUTOSTARTDIR) install -m 644 restorecond.desktop $(DESTDIR)$(AUTOSTARTDIR)/restorecond.desktop -mkdir -p $(DESTDIR)$(DBUSSERVICEDIR) - install -m 600 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service + install -m 644 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/ relabel: install
Quoted 8 lines · Stephen Smalley
Quoted 5 lines · Petr Lautrbach
The original 600 permissions make the service file unreadable for dbus daemon.
Signed-off-by Petr Lautrbach <[email protected]>Acked-by Stephen Smalley <[email protected]>
Merged.
Quoted 18 lines
Quoted 18 lines
--- restorecond/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)restorecond/Makefile +1
-1@@ -50,7 +50,7 @@ install: all -mkdir -p $(DESTDIR)$(AUTOSTARTDIR) install -m 644 restorecond.desktop $(DESTDIR)$(AUTOSTARTDIR)/restorecond.desktop -mkdir -p $(DESTDIR)$(DBUSSERVICEDIR) - install -m 600 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service + install -m 644 org.selinux.Restorecond.service $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/ relabel: install