Bug 169186 - ls hangs on krb5 mountd when user has not kinit-ed
ls hangs on krb5 mountd when user has not kinit-ed
Status: CLOSED DUPLICATE of bug 169184
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-09-24 04:17 EDT by Steve Dickson
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-24 04:18:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Steve Dickson 2005-09-24 04:17:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.7.10-1.3.2

Description of problem:
The ls-ing of a NFS mounted directory hangs when
the filesystem is mounted with the -o sec=krb5 option and
the user has not have Kerberos ticket.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. root# mount -o sec=krb5 server:/export /mnt/export
2. user$ ls /mnt/export

Actual Results:  ls hangs 

Expected Results:  ls should return Permission denied

Additional info:

The following patch fixes the problem:

@@ -486,8 +486,6 @@ gss_pipe_downcall(struct file *filp, con
        gss_msg = __gss_find_upcall(gss_auth, acred.uid);
        if (gss_msg) {
+               if (gss_err)
+                       gss_msg->msg.errno = -EACCES;
Comment 1 Steve Dickson 2005-09-24 04:18:24 EDT

*** This bug has been marked as a duplicate of 169184 ***

Note You need to log in before you can comment on or make changes to this bug.