All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: labeled NFS
@ 2012-05-21 11:50 zyxel
  2012-05-21 12:27 ` Stephen Smalley
  0 siblings, 1 reply; 6+ messages in thread
From: zyxel @ 2012-05-21 11:50 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

Hello.
I have another question about labeled nfs.

If both client and server have are patched to support labeled NFS and if on
the client side policy is set to permissive and on server side policy is
set to enforcing,
we can access files on the server from the client without any restrictions.
Is it correct behaviour?

Andrei

[-- Attachment #2: Type: text/html, Size: 353 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Labeled NFS
@ 2013-05-30 18:06 Myklebust, Trond
  0 siblings, 0 replies; 6+ messages in thread
From: Myklebust, Trond @ 2013-05-30 18:06 UTC (permalink / raw)
  To: Linux NFS mailing list

OK, I've pushed out a tentative 'linux-next', and 'testing' branch with
the client side labeled NFS stuff merged.

See the gitweb repository on:

    http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=summary


Please test...


-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com

^ permalink raw reply	[flat|nested] 6+ messages in thread
* labeled NFS
@ 2012-05-11 11:05 zyxel
  2012-05-11 14:28 ` Casey Schaufler
  0 siblings, 1 reply; 6+ messages in thread
From: zyxel @ 2012-05-11 11:05 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Hello.

I have some questions about labeled NFS.
We have client and server systems running RHEL 6.1
Kernels for both client and server were downloaded from git://
git.selinuxproject.org/~dpquigl/lnfs
Kernel version is 2.6.32. and they are already patched to support labeled
NFS.
Server is configured to export NFS share. Nfs-utils on server are patched
for labeled nfs too.

Here is listing for server exports file:
/export *(rw,fsid=0,sec=unix,insecure,no_subtree_check,sync,security_label)

Client and server have the same MLS policy.

If I mount NFS share with command
 #mount -t nfs4 server:/ /mnt/nfsv4
everything works good, but when i try to mount the same share to another
directory
 #mount -t nfs4 server:/ /mnt/nfsv4_2
it fails with:

Message from syslogd@localhost at May 11 13:07:17 ...
kernel:Oops: 0000 [#1] SMP

Message from syslogd@localhost at May 11 13:07:17 ...
kernel:last sysfs file: /sys/devices/virtual/block/dm-0/dev

Message from syslogd@localhost at May 11 13:07:17 ...
kernel:Stack:

Why does it happens? Where I can get more information about that.

The second question is that maybe I don't need labeled NFS.
My task is to transfer security levels between client and server over NFS
so that client with security level s0, for example, couldn't get access to
file with level s1 on NFS share.
I don't know if it may be done with netlabel or something.
Could you help me a bit.

Andrei

[-- Attachment #2: Type: text/html, Size: 1611 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-30 18:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 11:50 labeled NFS zyxel
2012-05-21 12:27 ` Stephen Smalley
  -- strict thread matches above, loose matches on Subject: below --
2013-05-30 18:06 Labeled NFS Myklebust, Trond
2012-05-11 11:05 labeled NFS zyxel
2012-05-11 14:28 ` Casey Schaufler
2012-05-11 15:12   ` zyxel

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.