All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Valdis.Kletnieks@vt.edu
Cc: jwcart2@epoch.ncsc.mil, SELinux <selinux@tycho.nsa.gov>
Subject: Re: Patch to restorecon to add -R switch
Date: Fri, 01 Oct 2004 15:00:17 -0400	[thread overview]
Message-ID: <415DA941.4050500@redhat.com> (raw)
In-Reply-To: <200410011828.i91ISrN6018074@turing-police.cc.vt.edu>

Valdis.Kletnieks@vt.edu wrote:

>On Wed, 29 Sep 2004 15:08:40 EDT, James Carter said:
>  
>
>>Everything looks fine, but why does all the output just go to the log
>>file now?  
>>    
>>
>
>  
>
>>>-	rpm -q -l $i | restorecon ${OUTFILES} -n -v -f - 2>&1 | tee $LOGFILE
>>>+	rpm -q -l $i | restorecon ${OUTFILES} -n -v -f - 2>&1 > $LOGFILE
>>>      
>>>
>
>That (and a few other places '| tee' was removed) is the technical reason
>why it goes to the logfile only.  Dan would have to address the logic behind why
>the change was made.
>  
>
It was changed because the the messages were flooding the roots mailer 
and if you ran fixfiles by hand, it would slow down the process
if you were on a slow terminal.  You can still see the output by doing a 
fixfiles -l `tty`

I think this all needs a redesign,  maybe to write its output to syslog, 
but am trying to get test3 out the door now.

Dan

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-10-01 19:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-27 17:28 Patch to restorecon to add -R switch Daniel J Walsh
2004-09-28 20:03 ` Luke Kenneth Casson Leighton
2004-09-29 19:08 ` James Carter
2004-10-01 18:28   ` Valdis.Kletnieks
2004-10-01 19:00     ` Daniel J Walsh [this message]
2004-10-01 19:43       ` Valdis.Kletnieks
2004-10-04 15:46 ` Stephen Smalley
2004-10-04 15:56   ` Daniel J Walsh
2004-10-05 18:06 ` Stephen Smalley
2004-10-05 18:18   ` Daniel J Walsh
2004-10-05 21:26   ` Luke Kenneth Casson Leighton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=415DA941.4050500@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=jwcart2@epoch.ncsc.mil \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.