Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545258 - net-fs/autofs: mount.crypt is called with unknown flag "-s"
Summary: net-fs/autofs: mount.crypt is called with unknown flag "-s"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 18:32 UTC by Stefan Huber
Modified: 2015-04-21 02:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Do sloppy mount only for NFS (sloppy-mount-only-nfs.patch.1,3.30 KB, patch)
2015-04-18 13:40 UTC, Stefan Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2015-04-01 18:32:38 UTC
The sloppy mount feature of autofs appends a "-s" flag to the mount command, but mount.crypt does not support this flag. The ebuild of autofs explicity enables this feature, which makes autofs to fail in combination with mount.crypt.

Bug #171166 and #453778 are related.

Reproducible: Always
Comment 1 Stefan Huber 2015-04-07 19:30:26 UTC
By the way mount.vboxsf has no support for -s, too. On bugs.debian.org, a recent patch was mentioned that was merged into openSUSE, but I have not looked at it yet:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773607

https://build.opensuse.org/package/view_file/home:mszeredi:branches:openSUSE:13.2:Update/autofs/autofs-5.1.0-dont-pass-sloppy-option-for-other-than-nfs-mounts.patch?expand=1
Comment 2 Stefan Huber 2015-04-18 13:40:12 UTC
Created attachment 401558 [details, diff]
Do sloppy mount only for NFS
Comment 3 Stefan Huber 2015-04-18 13:41:30 UTC
The patch applies to autofs-5.0.7-r4 and 5.1.0 (and presumable all versions inbetween) too.
Comment 4 Yixun Lan archtester gentoo-dev 2015-04-21 02:23:23 UTC
 
+*autofs-5.1.0-r1 (21 Apr 2015)
+*autofs-5.0.9-r1 (21 Apr 2015)
+*autofs-5.0.8-r2 (21 Apr 2015)
+*autofs-5.0.7-r5 (21 Apr 2015)
+
+  21 Apr 2015; Yixun Lan <dlan@gentoo.org> +autofs-5.0.7-r5.ebuild,
+  +autofs-5.0.8-r2.ebuild, +autofs-5.0.9-r1.ebuild, +autofs-5.1.0-r1.ebuild,
+  +files/autofs-5.0.7-sloppy-mount.patch:
+  fix sloopy mount option which break other than nfs, bug 545258


thanks for your report and patches!