[Bug 1711254] Re: 16.04.3 deployments include non-existent directories in $PATH
gdahlman
1711254 at bugs.launchpad.net
Sun Sep 17 03:07:10 UTC 2017
Note in reference to ~/.local/bin this path is added because it is a
systemd standard directory.
They are documented in file-hierarchy(7) and also here.
https://www.freedesktop.org/software/systemd/man/file-hierarchy.html
If the issue is that the paths don't exist they should be created for
the user as methods that leverage systemd-path will fail.
$ systemd-path user-binaries
It is also the bin directory for official Ubuntu packages like
virtualenv.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1711254
Title:
16.04.3 deployments include non-existent directories in $PATH
Status in bash package in Ubuntu:
Triaged
Status in snapd package in Ubuntu:
New
Bug description:
Noticed this while doing regression testing on 16.04.3, and a number
of customers have asked with concerns as well during their testing.
I don't know exactly when this started, but we just started noticing
it with 16.04.3 (4.10) but $PATH by default now includes several
directories that do not exist:
ubuntu at above-ox:~$ find $(echo "$PATH" | sed -e 's/:/ /g') -maxdepth 1 -type d
find: ‘/home/ubuntu/bin’: No such file or directory
find: ‘/home/ubuntu/.local/bin’: No such file or directory
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
find: ‘/snap/bin’: No such file or directory
We noticed this because it was causing a resource job in the
certification suite to suddenly start failing (the failure was not
catastrophic, but it did appear to customers who were concerned.
I've verified this on both s390x and amd64 16.04.3 deployments via
MAAS 2.2.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.10.0-32-generic 4.10.0-32.36~16.04.1
ProcVersionSignature: Ubuntu 4.10.0-32.36~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-32-generic s390x
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: s390x
Date: Wed Aug 16 18:59:34 2017
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en.US_UTF-8
SHELL=/bin/bash
SourcePackage: linux-hwe
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1711254/+subscriptions
More information about the foundations-bugs
mailing list