Public bug reported:

Since last kernel upgrade from 4.4.0-36 to 4.4.0-38 automount failed to mount 
remote smb FS.
The configuration file use $USER, $UID and $GID variables :
i.e. :
music 
-fstype=cifs,credentials=/home/$USER/.creds-file,user=$USER,uid=$UID,gid=$GID 
://192.168.1.9/music

When a user account try to mount the FS, automount complain :

 >> error 2 (No such file or directory) opening credential file
/home/root/.creds-file

$USER, $UID and $GID are now sets with root variables instead of user
account variables

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: autofs 5.1.1-1ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Sep 22 23:17:27 2016
ExecutablePath: /usr/sbin/automount
InstallationDate: Installed on 2016-02-07 (228 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
SourcePackage: autofs
UpgradeStatus: Upgraded to xenial on 2016-04-28 (147 days ago)

** Affects: autofs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1626749

Title:
  autofs set $USER to "root" instead of current user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1626749/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to