-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-8.10, rhel-9.6, rhel-10.0
-
None
-
util-linux-2.37.4-23.el9
-
No
-
Low
-
rhel-base-utils-core
-
0
-
False
-
False
-
-
No
-
None
-
Requested
-
None
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
The mount(8) manpage states the following:
-a, --all
Mount all filesystems (of the given types) mentioned in fstab (except for those whose line contains the
noauto keyword). The filesystems are mounted following their order in fstab. The mount command compares
filesystem source, target (and fs root for bind mount or btrfs) to detect already mounted filesystems.
The kernel table with already mounted filesystems is cached during mount --all. This means that all
duplicated fstab entries will be mounted.
This above states that everything in fstab is being mounted, except "noauto".
But it appears the swap devices are not mounted (swapon -a should be used instead.
IMHO there is hence a bug in mount, either the manpage needs to be updated and explain to use "swapon", or mount -a should also mount the swap devices.
What is the impact of this issue to you?
Doc compliance
Please provide the package NVR for which the bug is seen:
util-linux-core-2.37.4-21.el9
How reproducible is this bug?:
N/A
- clones
-
RHEL-119786 [rhel-10] "mount -a" doesn't mount the swap devices, despite what is implied by the manpage
-
- In Progress
-