Summary: | app-shells/zsh excludes unprefixied PATH set by ${EPREFIX}/etc/profile.env for root or EUID=1000 due to ROOTPATH | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yiyang Wu <xgreenlandforwyy> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | base-system, floppym, prefix, xgreenlandforwyy |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=656400 https://github.com/gentoo/gentoo/pull/35225 https://github.com/gentoo/gentoo/pull/35229 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yiyang Wu
2024-02-08 06:51:34 UTC
zprofile should be updated to no reference ROOTPATH. It’s an obsolete concept. (In reply to Mike Gilbert from comment #1) > zprofile should be updated to no reference ROOTPATH. It’s an obsolete > concept. Agree. However, https://github.com/gentoo/gentoo/pull/35225 should still be discussed, considering other legacy packages (In reply to Yiyang Wu from comment #2) > However, https://github.com/gentoo/gentoo/pull/35225 should still be > discussed, considering other legacy packages Agreed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3443c73d1b54989a1abb11005b30416606357534 commit 3443c73d1b54989a1abb11005b30416606357534 Author: Yiyang Wu <xgreenlandforwyy@gmail.com> AuthorDate: 2024-02-08 14:46:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-02-08 17:30:46 +0000 app-shells/zsh: zprofile: remove using ROOTPATH which is deprecated Now PATH also contains sbin paths, which make ROOTPATH unnecessary for root and uid=1000 user. Closes: https://bugs.gentoo.org/924032 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35229 Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-shells/zsh/files/zprofile-5 | 24 ++++ app-shells/zsh/zsh-5.9-r6.ebuild | 245 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 269 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2334eb2d0b76ee113e0bf438c6e719a90c95b235 commit 2334eb2d0b76ee113e0bf438c6e719a90c95b235 Author: Yiyang Wu <xgreenlandforwyy@gmail.com> AuthorDate: 2024-02-08 07:39:02 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-02-08 17:36:16 +0000 sys-apps/baselayout: ROOTPATH should have host paths on Prefix Same as PATH, ROOTPATH should be modified to contain host paths. This fixes app-shells/zsh not having host paths when EUID=1000 or root user, because it sets ROOTPATH as PATH in /etc/zsh/zprofile, which make zsh's behavior align with bash. Closes: https://bugs.gentoo.org/924032 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35225 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../{baselayout-2.14-r1.ebuild => baselayout-2.14-r2.ebuild} | 3 ++- sys-apps/baselayout/baselayout-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) |