Seeing the comment now, I want to point out that /usr takes precedence
over /, so if the command is available there is no overhead - only in
the error case.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
On Tue, Aug 31, 2021 at 12:45:38AM -, Ubfan wrote:
> Since 20.04, there are no /bin and /sbin directories, they are just
> links to /usr/sbin and /usr/bin -- perhaps they should be eliminated
> from the default PATH.
Does it matter if you upgraded from 18.04 or 19.10 vs a fresh install?
Since 20.04, there are no /bin and /sbin directories, they are just
links to /usr/sbin and /usr/bin -- perhaps they should be eliminated
from the default PATH.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1792004
Title:
** Information type changed from Public Security to Public
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1792004
Title:
built-in PATH seems to have sbin and bin out of
This bug was fixed in the package bash - 4.3-14ubuntu1.3
---
bash (4.3-14ubuntu1.3) xenial; urgency=medium
* Resurrect "Set the default path to comply with Debian policy" in
deb-bash-config.diff which went missing since 4.2+dfsg-1 or so.
LP: #1792004 LP: #1614080 Closes:
This bug was fixed in the package bash - 4.4.18-2ubuntu1.1
---
bash (4.4.18-2ubuntu1.1) bionic; urgency=medium
* Resurrect "Set the default path to comply with Debian policy" in
deb-bash-config.diff which went missing since 4.2+dfsg-1 or so.
LP: #1792004 LP: #1614080
This bug was fixed in the package bash - 5.0-3ubuntu1.1
---
bash (5.0-3ubuntu1.1) disco; urgency=medium
* Resurrect "Set the default path to comply with Debian policy" in
deb-bash-config.diff which went missing since 4.2+dfsg-1 or so.
LP: #1792004 LP: #1614080 Closes:
** Changed in: bash (Debian)
Importance: Unknown => Undecided
** Changed in: bash (Debian)
Remote watch: Debian Bug tracker #781367 => None
** Package changed: bash (Debian) => ubuntu-translations
** No longer affects: ubuntu-translations
** Bug watch removed: Debian Bug tracker #781367
(xenial-amd64)root@ottawa:~# env -u PATH /bin/bash -c 'echo $PATH'
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(xenial-amd64)root@ottawa:~# dpkg-query -W bash
bash4.3-14ubuntu1.3
Xenial looks good.
** Tags removed: verification-needed verification-needed-xenial
** Tags
(disco-amd64)root@ottawa:~# env -u PATH /bin/bash -c 'echo $PATH'
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(disco-amd64)root@ottawa:~# dpkg-query -W bash
bash5.0-3ubuntu1.1
Disco looks good.
** Tags removed: verification-needed-disco
** Tags added:
(bionic-amd64)root@ottawa:~# env -u PATH /bin/bash -c 'echo $PATH'
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(bionic-amd64)root@ottawa:~# dpkg-query -W bash
bash4.4.18-2ubuntu1.1
Bionic looks good.
** Tags removed: verification-needed-bionic
** Tags added:
Hello Dimitri, or anyone else affected,
Accepted bash into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/bash/4.4.18-2ubuntu1.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
Hello Dimitri, or anyone else affected,
Accepted bash into disco-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/bash/5.0-3ubuntu1.1 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
APT sets "/usr/sbin:/usr/bin:/sbin:/bin" as its PATH since disco. We
explicitly do not add /snap/bin to the path as discussed internally,
because we do not want deb maintainer scripts to be affected implicitly
by snaps (they can still specify /snap/bin/).
** Changed in: apt (Ubuntu)
We don't want to change dpkg's default path, the change in apt should be
sufficient, as dpkg should not really be used on its own.
** Changed in: dpkg (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which
** Description changed:
+ [Impact]
+
+ * For consistency reasons sbin should be ordered before bin in PATH.
+
+ [Test Case]
+
+ * $ env -u PATH /bin/bash -c 'echo $PATH'
+
+ And check that matching pairs in PATH, have /sbin variant leading /bin
+ variant.
+
+ [Regression Potential]
+
+ *
This bug was fixed in the package bash - 4.4.18-2ubuntu3
---
bash (4.4.18-2ubuntu3) cosmic; urgency=medium
* Resurrect "Set the default path to comply with Debian policy" in
deb-bash-config.diff which went missing since 4.2+dfsg-1 or so.
LP: #1792004 LP: #1614080 Closes:
Bash regression appears to have been introduced in:
https://git.launchpad.net/ubuntu/+source/bash/diff/debian/patches/deb-bash-config.diff?id=c2fee82da8f6caa77764ac65bb7fc237314915f8
i.e. 4.3~rc1-1 upload to debian/experimental
** Changed in: bash (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1792004
Title:
built-in PATH seems to have sbin and bin out of
20 matches
Mail list logo