All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: abcde efghi <svmdcv@gmail.com>
Cc: russell@coker.com.au, selinux@tycho.nsa.gov
Subject: Re: nfs mount takes long time on x86 rhel4 u4 with selinux enabled
Date: Thu, 19 Oct 2006 10:22:26 -0400	[thread overview]
Message-ID: <45378A22.30202@redhat.com> (raw)
In-Reply-To: <6a9b0ede0610100956g5bf6e638n8a733d127cc9a4f9@mail.gmail.com>

abcde efghi wrote:
> hi
>
> at present i dont have those logs
> one last question.
>
> is it compulsory to do touch /.autorelabel when we are doing reboot?
> and it should be done before or after reboot?(bit confused. i thought
> after reboot)
> note:i am moving from disabled to enforcing selinux
>
> thanks
>
>
> On 10/10/06, Russell Coker <russell@coker.com.au> wrote:
>> On Wednesday 11 October 2006 00:35, "abcde efghi" <svmdcv@gmail.com> 
>> wrote:
>> > during installation time it was disabled
>> > and during boottime i enabled it
>> > (.i.e by setting selinux=enforcing in /etc/selinux/config and reboot)
>>
>> Before that reboot did you touch /.autorelabel?
>>
>> > that time it is taking some time to mount
>> > what could be the pbm? is it really bcoz of portmap daemon?
>> > how does portmap daemon cause this pbm? any pointers?
>>
>> If it's portmap then it's not an SE Linux issue and is best discussed on
>> another list.
>>
>> > note the time and call trace details:
>> >
>> > time mount <server:/disk/disk1/data1/ /mnt --type nfs
>> > 
>> -orw,bg,nointr,hard,timeo=600,wsize=32768,rsize=32768,nfsvers=3,tcp,actimeo 
>>
>> >=0, addr=10.0.0.60
>>
>> You did not provide any information on AVC messages or the time taken 
>> for the
>> mount command when SE Linux is in permissive mode (after running
>> "setenforce 0").  Without such information we can't help you.  You 
>> need to
>> answer every question in my messages if you want useful answers from us.
>>
When you turn on SELinux you need to relabel the entire file system.  
touch /.autorelabel, will cause the init scripts to do this before any 
processes are running.   This is the best way to turn on SELinux.  After 
you are running SELinux you should not need to relabel again.
>> -- 
>> russell@coker.com.au
>> http://etbe.blogspot.com/          My Blog
>>
>> http://www.coker.com.au/sponsorship.html Sponsoring Free Software 
>> development
>>
>
> -- 
> 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.


--
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:[~2006-10-19 14:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 12:00 nfs mount takes long time on x86 rhel4 u4 with selinux enabled abcde efghi
2006-10-10 12:12 ` Russell Coker
2006-10-10 14:35 ` abcde efghi
2006-10-10 15:07   ` Russell Coker
2006-10-10 16:56     ` abcde efghi
2006-10-19 14:22       ` Daniel J Walsh [this message]

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=45378A22.30202@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=russell@coker.com.au \
    --cc=selinux@tycho.nsa.gov \
    --cc=svmdcv@gmail.com \
    /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.