Bug 1919529 - [RFE] RHEL-8: Support option flags with mount(8) --bind
Summary: [RFE] RHEL-8: Support option flags with mount(8) --bind
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: util-linux
Version: 8.3
Hardware: All
OS: Linux
Target Milestone: rc
: 8.0
Assignee: Karel Zak
QA Contact: Radka Brychtova
Depends On:
Blocks: 1919531
TreeView+ depends on / blocked
Reported: 2021-01-23 12:56 UTC by Prasad Pandit
Modified: 2021-11-10 10:14 UTC (History)
3 users (show)

Fixed In Version: util-linux-2.32.1-28.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1919531 (view as bug list)
Last Closed: 2021-11-09 20:02:21 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4490 0 None None None 2021-11-09 20:02:28 UTC

Description Prasad Pandit 2021-01-23 12:56:12 UTC
Description of problem:

Consider the following commands, executed as root:

# mount --bind -o noexec /bin /mnt
# /mnt/ls

The expected behavior is the following:

bash: /mnt/ls: Permission denied

This is what happens on Fedora 33.

On both RHEL7 and RHEL8, the "ls" utility is executed.

How reproducible:  100%

Comment 11 errata-xmlrpc 2021-11-09 20:02:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (util-linux bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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