Autofs variables do not work with kernel 4.4.0-38.57
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| autofs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
| linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Autofs supports variables (e.g. $UID, $GID, $HOME, etc), which can be used in automounter map files. One may have configuration such as "credentials=
If accessing the mount as user "foo", this should have the automounter take credentials from ~foo/.authfile and mount it as being owned by foo:foo.
On kernel 4.4.0-36.55 and earlier this all works as expected.
It no longer works with kernel 4.4.0-38.57 and instead these variables are always as user "root".
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-10-02 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: linux
PackageArchitec
ProcVersionSign
Tags: xenial
Uname: Linux 4.4.0-38-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
| tags: | added: regression-update |
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Confirmed |

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1628735
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.