From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: SELinux <SELinux@tycho.nsa.gov>
Subject: Re: Patch to restorecon to add -R switch
Date: Tue, 05 Oct 2004 14:18:07 -0400 [thread overview]
Message-ID: <4162E55F.4080302@redhat.com> (raw)
In-Reply-To: <1096999568.3878.126.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
>On Mon, 2004-09-27 at 13:28, Daniel J Walsh wrote:
>
>
>>Also patch adds some fixed for fixfiles.
>>
>>
>
>
>
>>--- policycoreutils-1.17.5/scripts/fixfiles.rhat 2004-08-30 11:46:47.000000000 -0400
>>+++ policycoreutils-1.17.5/scripts/fixfiles 2004-09-24 18:46:15.672622592 -0400
>>@@ -36,6 +36,8 @@
>> FILESYSTEMSRO=`mount | grep -v "context=" | egrep -v '\((|.*,)bind(,.*|)\)' | awk '/(ext[23]| xfs | reiserfs ).*\(ro/{print $3}';`
>> FILESYSTEMS="$FILESYSTEMSRW $FILESYSTEMSRO"
>> SELINUXTYPE="targeted"
>>+FCFILE=`mktemp /var/tmp/file_contexts.XXXXXXXXXX`
>>+trap "rm -f $FCFILE; exit 2" 1 2 3 5 15
>>
>>
>
>I thought we had agreed that generating a temporary FCFILE was
>undesirable and unnecessary, given that:
>a) it requires allow setfiles to take temporary files as input (not
>allowed by strict policy),
>b) /dev nodes are no longer touched by setfiles anyway due to use of
>tmpfs and udev.
>
>
>
Yes this should be pulled.
--
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.
next prev parent reply other threads:[~2004-10-05 18:18 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
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 [this message]
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=4162E55F.4080302@redhat.com \
--to=dwalsh@redhat.com \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@epoch.ncsc.mil \
/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.