Skip to contentSkip to conversation

restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file

PATCH Applied Laurent Bigonville 2 participants 3 messages Jul 16, 2020 – Jul 21, 2020 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file

From: Laurent Bigonville <[email protected]>

This completely inactivate the .desktop file incase the user session is managed by systemd as restorecond also provide a service file

---
 restorecond/restorecond.desktop | 1 +
 1 file changed, 1 insertion(+)
restorecond/restorecond.desktop +1 -0
index af728680..7df85472 100644
@@ -5,3 +5,4 @@ Comment=Fix file context in owned by the user
 Type=Application
 StartupNotify=false
 X-GNOME-Autostart-enabled=false
+X-GNOME-HiddenUnderSystemd=true
Signature · 1 line
2.28.0.rc0
Acked-by on v1 1/1
#1 lore raw
Quoted 21 lines · Laurent Bigonville

From: Laurent Bigonville <[email protected]>

This completely inactivate the .desktop file incase the user session is managed by systemd as restorecond also provide a service file

---
 restorecond/restorecond.desktop | 1 +
 1 file changed, 1 insertion(+)
restorecond/restorecond.desktop +1 -1
index af728680..7df85472 100644
@@ -5,3 +5,4 @@ Comment=Fix file context in owned by the user
 Type=Application
 StartupNotify=false
 X-GNOME-Autostart-enabled=false
+X-GNOME-HiddenUnderSystemd=true
--
Quoted 1 line

2.28.0.rc0

I was not aware of this option, but it makes sense. Thanks!

If nobody complains, I will apply this patch tomorrow. Nicolas

#2 lore raw
Quoted 27 lines · Nicolas Iooss
Quoted 21 lines · Laurent Bigonville

From: Laurent Bigonville <[email protected]>

This completely inactivate the .desktop file incase the user session is managed by systemd as restorecond also provide a service file

---
 restorecond/restorecond.desktop | 1 +
 1 file changed, 1 insertion(+)
restorecond/restorecond.desktop +1 -1
index af728680..7df85472 100644
@@ -5,3 +5,4 @@ Comment=Fix file context in owned by the user
 Type=Application
 StartupNotify=false
 X-GNOME-Autostart-enabled=false
+X-GNOME-HiddenUnderSystemd=true
--
Quoted 1 line

2.28.0.rc0

I was not aware of this option, but it makes sense. Thanks!

Quoted 3 lines

If nobody complains, I will apply this patch tomorrow.

Applied.
Thanks,
Nicolas