Public bug reported: 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.0.50/mythtv /mythtv cifs noauto,credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 However if you change the mount point to a different name, it will not be auto mounted: //172.18.0.50/mythtv /mithtv cifs noauto,credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 Finally, if noauto is removed, it'll automount as expected: //172.18.0.50/mythtv /mithtv cifs credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 Observed using ubuntu 22.04.2 LTS ** Affects: eglibc (Ubuntu) Importance: Undecided Status: New ** Tags: cifs fstab noauto -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to eglibc in Ubuntu. https://bugs.launchpad.net/bugs/2008773 Title: CIFS mount in fstab ignores noauto if share name same as mount point Status in eglibc package in Ubuntu: New 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.0.50/mythtv /mythtv cifs noauto,credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 However if you change the mount point to a different name, it will not be auto mounted: //172.18.0.50/mythtv /mithtv cifs noauto,credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 Finally, if noauto is removed, it'll automount as expected: //172.18.0.50/mythtv /mithtv cifs credentials=/home/mythfrontend/.smbcredentials,iocharset=utf8,vers=3.0,gid=1000 0 2 Observed using ubuntu 22.04.2 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/2008773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp