*** This bug is a duplicate of bug 1629204 ***
https://bugs.launchpad.net/bugs/1629204
** This bug has been marked a duplicate of bug 1629204
Autofs parameter substitution broken in kernel 4.4.0-38 and 4.4.0-40
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1626749
Title:
autofs set $USER to "root" instead of current user
Status in linux package in Ubuntu:
Incomplete
Bug description:
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)
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: nicolas 1941 F.... pulseaudio
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=1ad9a17c-8b27-4436-a024-6c9ae99a5b87
InstallationDate: Installed on 2016-02-07 (228 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: Sony Corporation SVS1511R9ES
Package: linux (not installed)
ProcEnviron:
LANGUAGE=fr_FR
TERM=xterm-256color
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-38-generic.efi.signed
root=UUID=df815dd3-2e1b-42d3-aef8-1823eb5d4f75 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-4.4.0-38-generic N/A
linux-backports-modules-4.4.0-38-generic N/A
linux-firmware 1.157.3
Tags: xenial
Uname: Linux 4.4.0-38-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-04-28 (147 days ago)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 03/30/2012
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: R0140C5
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnInsydeCorp.:bvrR0140C5:bd03/30/2012:svnSonyCorporation:pnSVS1511R9ES:pvrC60AGQAL:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: SVS1511R9ES
dmi.product.version: C60AGQAL
dmi.sys.vendor: Sony Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626749/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp