Bug 120907 - umount passes randmon flags to sys_umount in kernel
Summary: umount passes randmon flags to sys_umount in kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: glibc
Version: 2.1
Hardware: ia64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL: http://lists.debian.org/debian-glibc/...
Whiteboard:
: IT_37052 (view as bug list)
Depends On:
Blocks: 116726
TreeView+ depends on / blocked
 
Reported: 2004-04-15 04:15 UTC by Nicholas Henke
Modified: 2016-11-24 14:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-04 21:34:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
A more correct patch for this version of glibc (1.44 KB, patch)
2004-04-15 04:50 UTC, Nicholas Henke
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:383 0 high SHIPPED_LIVE Important: glibc security update 2004-08-04 04:00:00 UTC

Description Nicholas Henke 2004-04-15 04:15:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630

Description of problem:
Umount is called in the kernel with randon flags -- this can cause
&MNT_FORCE to be true when umount was not called with '-f'

See the URL for the complete bug description and patch -- but the
basic information is quoted here:

The problem:  On IA64, the implementation of umount(2) in glibc
and of sys_umount in the kernel results in the kernel performing
umounts with essentially random flag words.

There is a patch in the URL that fixes the problem.

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

How reproducible:
Always

Steps to Reproduce:
Reproducing this for me is seen in Lustre, trying to do a simple mount
and unmount of the file system. Since unmount things MNT_FORCE is set,
umount_begin() is called when not necessary.
    

Additional info:

I am not sure what more can be offered besides the patch.

Comment 1 Nicholas Henke 2004-04-15 04:50:14 UTC
Created attachment 99438 [details]
A more correct patch for this version of glibc

Comment 2 Jakub Jelinek 2004-04-15 07:10:40 UTC
In what way is this patch more correct than the one in CVS?
I will add the INLINE_SYSCALL version.

Comment 3 Jakub Jelinek 2004-05-25 16:14:54 UTC
ftp://people.redhat.com/jakub/glibc/errata/2.2.4-32.16/ should have
this fixed.

Comment 4 Jason Baron 2004-05-28 17:55:33 UTC
*** Bug 122505 has been marked as a duplicate of this bug. ***

Comment 5 Mark J. Cox 2004-08-04 21:34:50 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2004-383.html



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