Bug 113833 - double close in mount
Summary: double close in mount
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: util-linux
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-19 08:50 UTC by Jakub Jelinek
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-29 12:25:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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