Bug 102331
Summary: | Weird behavior of gpg $(up2date --gpg-flags) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Steve Bonneville <sbonnevi> |
Component: | up2date | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED WORKSFORME | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | johnsond |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-23 18:48:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve Bonneville
2003-08-13 21:53:02 UTC
>FAILS if the user logs in to X as a regular user, starts gnome-terminal, and
>then 'su -' to root.
I would guess up2date isnt running correctly because of userhelper issues.
I'd try $(/usr/sbin/up2date --gpg-flags)
/usr/sbin/up2date works. /usr/bin/up2date fails. (!!!) This bug is exposed because $PATH is actually being set differently between a login shell received through login and a login shell received through 'su -'! $PATH when login as root: ... /usr/sbin:/usr/bin ... $PATH when su - to root from user: ... /usr/bin:/usr/sbin ... This difference in how $PATH ends up being set seems like a Bad Thing, and probably should be filed as a second bug, against setup-2.5.7-1. I've filed the PATH bug against coreutils [bug #102567]. It looks like we have an old patch to /bin/su (sh-utils-1.16-paths.patch) that violates the LSB 1.3 standard. A related documentation bug also turned up in util-linux [bug #102566]. These bugs are filed against taroon-beta1, but also apply to RHEL 2.1 and RHL 9. Why is it that we have different up2date programs in /usr/sbin and /usr/bin? /usr/bin/up2date is a symlink to consolehelper (so that it can prompt for root etc) |