Public bug reported:
Hello,
I have run into a bug relating autofs's parameter substitution (e.g.
UID, GID, etc) with kernel versions 4.4.0-38 and proposed 4.4.0-40.
Kernel version 4.4.0-28 does things correctly but testing intermediate
kernel versions is hard due to earlier bugs related with fs's. Incorrect
parameter substitution makes CIFS mounting with variable credentials
impossible.
Wat was expected:
$UID in autofs map are substituted by the uid of the user that starts the
auto-mounting process.
What actually happens:
Root's uid (0) is substituted instead.
This ill parameter substitution likely caused by recent fixes resolving
permissions problems for nfs/cifs mounts and dfs referrals (#1626112 and
#1612135). And possibly the fix 'fs: Call d_automount with the
filesystems creds' but that is a wild guess.
Furthermore; playing with the force_standard_program_map_env settings in
autofs.conf and prefixing variables with 'AUTOFS_' does not solve
anything.
Yours kindly,
Chris
---- Additional info ----
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: kernel-bug needs-bisect
** Attachment added: "lspci-vnvn.log"
https://bugs.launchpad.net/bugs/1629204/+attachment/4751528/+files/lspci-vnvn.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629204
Title:
Autofs parameter substitution broken in kernel 4.4.0-38 and 4.4.0-40
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1629204/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs