[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: mount point labels
- From: Stephen Smalley <sds tycho nsa gov>
- To: "Clarkson, Mike R (US SSA)" <mike clarkson baesystems com>
- Cc: Eric Paris <eparis parisplace org>, Daniel J Walsh <dwalsh redhat com>, fedora-selinux-list redhat com
- Subject: Re: mount point labels
- Date: Tue, 01 May 2007 10:30:14 -0400
On Mon, 2007-04-30 at 17:37 -0700, Clarkson, Mike R (US SSA) wrote:
> I’m attempting to create the labeled mount point with the following
> command:
>
> mount -t nfs -o context=system_u:object_r:import_file_t:s0
> nas:/vol/home /home/SimulatedImport/output/home
>
>
>
> The mount point is created without any errors, but the label that I
> specify in the mount command is not used. Instead of
> system_u:object_r:import_file_t, the context of
> the /home/SimulatedImport/output/home is system_u:object_r:nfs_t:s0.
>
> ls -dZ /home/SimulatedImport/output/home
>
> drwxr-xr-x root root
> system_u:object_r:nfs_t:s0 /home/m252/SimulatedImport/output/home
>
>
>
> I’m running RHEL5 with a policy built as mls off of the targeted
> policy.
>
>
>
> Does anyone know why the context label is not taking?
Do you already have the same filesystem mounted elsewhere?
What versions of kernel and nfs-utils do you have?
--
Stephen Smalley
National Security Agency
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]