[PATCH] quiet restorecon

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] quiet restorecon

Marc Herbert-5
Hi,

In my configuration, the attached patch is reducing the output of
livecd-creator from 2000 lines to 700 lines.

I suspect that these 1300 lines of output from restorecon are not very
useful to anyone, are they?

Cheers,

Marc

diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 5afe8f9..83a62e4 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -419,7 +419,7 @@ class SelinuxConfig(KickstartConfig):
         if not os.path.exists(self.path("/sbin/restorecon")):
             return
 
-        self.call(["/sbin/restorecon", "-l", "-v", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
+        self.call(["/sbin/restorecon", "-l", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
 
     def apply(self, ksselinux):
         if os.path.exists(self.path("/usr/sbin/lokkit")):

--
Fedora-livecd-list mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] quiet restorecon

Jeremy Katz
On Thursday, April 09 2009, Marc Herbert said:
> In my configuration, the attached patch is reducing the output of
> livecd-creator from 2000 lines to 700 lines.
>
> I suspect that these 1300 lines of output from restorecon are not very
> useful to anyone, are they?

Seems reasonable enough, applied

Jeremy

--
Fedora-livecd-list mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list