CIFS mount in fstab ignores noauto if share name same as mount point
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If a cifs mount is defined in fstab, it will be automatically mounted even if noauto is specified in the options if the share name and the mount directory are the same.
For example, the following line will automount despite it having the noauto flag as the first option:
//172.18.
However if you change the mount point to a different name, it will not be auto mounted:
//172.18.
Finally, if noauto is removed, it'll automount as expected:
//172.18.
Observed using ubuntu 22.04.2 LTS
(assumes that /mythtv and /mithtv both exist, same permissions, yadda yadda yadda)