* [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file
@ 2020-07-16 12:22 Laurent Bigonville
2020-07-19 16:40 ` Nicolas Iooss
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Bigonville @ 2020-07-16 12:22 UTC (permalink / raw)
To: selinux
From: Laurent Bigonville <bigon@bigon.be>
This completely inactivate the .desktop file incase the user session is
managed by systemd as restorecond also provide a service file
Signed-off-by: Laurent Bigonville <bigon@bigon.be>
---
restorecond/restorecond.desktop | 1 +
1 file changed, 1 insertion(+)
diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
index af728680..7df85472 100644
--- a/restorecond/restorecond.desktop
+++ b/restorecond/restorecond.desktop
@@ -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
--
2.28.0.rc0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file
2020-07-16 12:22 [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file Laurent Bigonville
@ 2020-07-19 16:40 ` Nicolas Iooss
2020-07-21 6:36 ` Nicolas Iooss
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Iooss @ 2020-07-19 16:40 UTC (permalink / raw)
To: Laurent Bigonville; +Cc: SElinux list
On Thu, Jul 16, 2020 at 2:28 PM Laurent Bigonville <bigon@debian.org> wrote:
>
> From: Laurent Bigonville <bigon@bigon.be>
>
> This completely inactivate the .desktop file incase the user session is
> managed by systemd as restorecond also provide a service file
>
> Signed-off-by: Laurent Bigonville <bigon@bigon.be>
> ---
> restorecond/restorecond.desktop | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
> index af728680..7df85472 100644
> --- a/restorecond/restorecond.desktop
> +++ b/restorecond/restorecond.desktop
> @@ -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
> --
> 2.28.0.rc0
I was not aware of this option, but it makes sense. Thanks!
Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
If nobody complains, I will apply this patch tomorrow.
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file
2020-07-19 16:40 ` Nicolas Iooss
@ 2020-07-21 6:36 ` Nicolas Iooss
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Iooss @ 2020-07-21 6:36 UTC (permalink / raw)
To: Laurent Bigonville; +Cc: SElinux list
On Sun, Jul 19, 2020 at 6:40 PM Nicolas Iooss <nicolas.iooss@m4x.org> wrote:
>
> On Thu, Jul 16, 2020 at 2:28 PM Laurent Bigonville <bigon@debian.org> wrote:
> >
> > From: Laurent Bigonville <bigon@bigon.be>
> >
> > This completely inactivate the .desktop file incase the user session is
> > managed by systemd as restorecond also provide a service file
> >
> > Signed-off-by: Laurent Bigonville <bigon@bigon.be>
> > ---
> > restorecond/restorecond.desktop | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
> > index af728680..7df85472 100644
> > --- a/restorecond/restorecond.desktop
> > +++ b/restorecond/restorecond.desktop
> > @@ -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
> > --
> > 2.28.0.rc0
>
> I was not aware of this option, but it makes sense. Thanks!
>
> Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
>
> If nobody complains, I will apply this patch tomorrow.
Applied.
Thanks,
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-21 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 12:22 [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file Laurent Bigonville
2020-07-19 16:40 ` Nicolas Iooss
2020-07-21 6:36 ` Nicolas Iooss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).