Bug 113833

Summary: double close in mount
Product: Red Hat Enterprise Linux 3 Reporter: Jakub Jelinek <jakub>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-29 12:25:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Jelinek 2004-01-19 08:50:02 UTC
Description of problem:
Mount calls close on a closed file descriptor.

Version-Release number of selected component (if applicable):
mount-2.11y-31.1, mount-2.11y-35.sel

How reproducible:
strace mount -t nfs porkchop.redhat.com:/mnt/redhat /tmp/aaaa
...
uname({sys="Linux", node="porky.devel.redhat.com", ...}) = 0
close(3)                                = 0
close(3)                                = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0
mount("172.16.58.2:/mnt/redhat", "/tmp/aaaa", "nfs", 0xc0ed0000, 0x80598e0) = 0
getcwd("/tmp", 4095)                    = 5
...




Additional info:

Comment 1 Elliot Lee 2004-05-27 18:49:07 UTC
This'll probably get ignored until someone tracks down the cause,
since it doesn't seem to be producing problems.

Comment 2 Radek Vokál 2006-11-29 12:25:19 UTC
I'm closing this bug due to 2 year inactivity.