Autofs variables do not work with kernel 4.4.0-38.57

Bug #1628735 reported by Christopher Hill
6
This bug affects 1 person
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=${HOME}/.authfile,uid=${UID},gid=${GID}".

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
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
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

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Christopher Hill (ch6574) wrote : Dependencies.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Christopher Hill (ch6574) wrote : JournalErrors.txt

apport information

Revision history for this message
Christopher Hill (ch6574) wrote : ProcEnviron.txt

apport information

Changed in autofs (Ubuntu):
status: New → Confirmed
Robie Basak (racb)
tags: added: regression-update
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.