Bug 165377

Summary: correct mount(2) deparser
Product: [Fedora] Fedora Reporter: Dmitry V. Levin <ldv>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.5.14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-03 08:36:01 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:
Bug Depends On:    
Bug Blocks: 158504    
Attachments:
Description Flags
strace-4.5.13-alt-mount.patch none

Description Dmitry V. Levin 2005-08-08 18:09:05 UTC
strace up to 4.5.13 mount options deparser is somewhat incomplete.

Steps to Reproduce:
strace -e trace=mount mount /dev/pts
  
Actual results:
mount("devpts", "/dev/pts", "devpts", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805eff0) = -1 EPERM (Operation not permitted)

Expected results:
mount("devpts", "/dev/pts", "devpts", MS_MGC_VAL, "gid=5,mode=0620") = -1 EPERM (Operation not permitted)

Comment 1 Dmitry V. Levin 2005-08-08 18:10:53 UTC
Created attachment 117550 [details]
strace-4.5.13-alt-mount.patch

Proposed fix.

Comment 2 Roland McGrath 2006-01-12 21:19:00 UTC
I've put this in upstream.  Thanks for the fix.

Comment 3 Roland McGrath 2006-04-03 08:36:01 UTC
Fixed in fc4 update and in fc5.