Bug 1464443 - mkfs.ext4 ignores the default_mntopts in /etc/mke2fs.conf
mkfs.ext4 ignores the default_mntopts in /etc/mke2fs.conf
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: e2fsprogs (Show other bugs)
x86_64 Linux
unspecified Severity low
: rc
: ---
Assigned To: Lukáš Czerner
Filesystem QE
Depends On:
  Show dependency treegraph
Reported: 2017-06-23 08:34 EDT by Rinku
Modified: 2017-07-18 17:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-18 17:24:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Comment 2 Eric Sandeen 2017-07-18 17:24:59 EDT
mke2fs.conf is simply restating the default; if the string is empty, nothing changes.  This is the same if you had mounted the filesystem with no options; no options != noacl.  To disable default mount options, use the caret (^) as indicated in the tune2fs manpage:

> Mount options prefixed with  a caret character ('^') will be cleared in the filesystem's superblock

Changing it to:

default_mount_opts = "^acl"


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