RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1052315 - mount: multiple "size" options when remounting tmpfs
Summary: mount: multiple "size" options when remounting tmpfs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: util-linux-ng
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 15:47 UTC by jakub.jedelsky
Modified: 2014-03-25 10:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-25 10:40:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jakub.jedelsky 2014-01-13 15:47:24 UTC
Description of problem:
When we want to change size of tmpfs mountpoint with remount, the size option is printed out multiply - an old one and new ones - and SELinux options are hidden.

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

How reproducible:
always

Steps to Reproduce:
1. mkdir /mnt/test; mount -t tmpfs -o size=40m none /mnt/test
2. check: mount | grep mnt/test
   # none on /mnt/test type tmpfs (rw,size=40,rootcontext="unconfined_u:object_r:mnt_t:s0")
3. mount -o remount,size=80m /mnt/test
4. check again: mount | grep mnt/test
   # none on /mnt/test type tmpfs (rw,size=40,size=80m)
5. ...continue how many times you want

Actual results:
mount command returns multiply size options and hide selinux options

Expected results:
mount command returns just one and correct size option and all current selinux options

Comment 2 Karel Zak 2014-03-25 10:40:34 UTC
This is mtab problem and recommended solution is to use findmnt(8) or /proc/mounts to get the real info about mountpoints. 

I have doubts we can fix this problem in any sane way for RHEL6. The problem is already fixed in RHEL7.


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