Skip to content

Commit 8240b71

Browse files
raven-autorvalds
authored andcommitted
autofs: comment on selinux changes needed for module autoload
Due to the autofs4 module using a file system type name of autofs different from the module containing directory name autoload did not function properly. To work around this kernel configurations have often elected to build the module into the kernel. This can result in selinux policies that prohibit autoloading of the autofs module which need to be changed. Add a comment about this to "possible changes" section of the autofs4 module help. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ian Kent <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 0ab88ba commit 8240b71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fs/autofs4/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ config AUTOFS4_FS
2929
and the module name are the same as the file system name there
3030
is no need to manually load module.
3131
- any "alias autofs autofs4" will need to be removed.
32+
- due to the autofs4 module directory name not being the same as
33+
its file system name autoloading didn't work properly. Because
34+
of this kernel configurations would often build the module into
35+
the kernel. This may have resulted in selinux policies that will
36+
prevent the autofs module from autoloading and will need to be
37+
updated.
3238

3339
Please configure AUTOFS_FS instead of AUTOFS4_FS from now on.
3440

0 commit comments

Comments
 (0)