← Back to team overview

kernel-packages team mailing list archive

[Bug 1242713] Re: NFSv3 hangs when using ACLs and KRB5 with linux-image-generic-lts-raring

 

If this hangs in an lsgetxattr() syscall with the raring kernel but not
when using the quantal kernel with the same userspace, then I think this
is clearly a kernel issue.  Reassigning.

FWIW I never saw this issue here with the raring kernel, but all of my
krb5 NFS mounts are v4.

** Package changed: nfs-utils (Ubuntu) => linux (Ubuntu)

** Also affects: linux-lts-raring (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1242713

Title:
  NFSv3 hangs when using ACLs and KRB5 with linux-image-generic-lts-
  raring

Status in “linux” package in Ubuntu:
  Incomplete
Status in “linux-lts-raring” package in Ubuntu:
  New

Bug description:
  I was testing upgrading some computers to 12.04.3 (with the LTS raring
  kernel - 3.8.0) and came across a problem with NFSv3/ACLs and KRB5
  security. Any access to the NFS mounted filesystem that tries to
  access the access control list (ACL) hangs.

  The NFS server is running 12.04.3 with the normal 3.2.0 kernel.

  I mount the filesystem using:

  mount -o nfsvers=3,tcp,sec=krb5 fileserver:/export/home /home

  and it mounts fine.
  Afterwards though, if you try and do something simple such as an 'ls -l /home' then it hangs. Using strace to see why the ls -l hangs reveals that it is hanging at 

  .....
  lstat("/home/student", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  lgetxattr("/home/student", "security.selinux", 0xc77ea0, 255) = -1 EOPNOTSUPP (Operation not supported)
  lgetxattr("/home/student", "system.posix_acl_access"

  It all works fine if you either use the "noacl" mount option or remove
  the "sec=krb5" mount option.

  I have tried using 13.04 as the client and it has the same problem. I
  can also confirm that the problem exists with using the LTS raring
  kernel on the server. The LTS quantal kernel (3.5.0) as the client
  works fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nfs-common 1:1.2.5-3ubuntu3.1
  ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50
  Uname: Linux 3.2.0-54-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.5
  Architecture: amd64
  Date: Mon Oct 21 14:37:02 2013
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  SourcePackage: nfs-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1242713/+subscriptions