Bug 97795 - up2date unusable if root's $HOME is not /root
Summary: up2date unusable if root's $HOME is not /root
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: up2date (Show other bugs)
(Show other bugs)
Version: 2.1
Hardware: All Linux
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
Depends On:
TreeView+ depends on / blocked
Reported: 2003-06-21 10:33 UTC by Joe Orton
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-25 00:11:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Joe Orton 2003-06-21 10:33:00 UTC
On one system I had to move root's $HOME away from /root after / got near full.
This appears to break up2date, which continually prompts to add the GPG key to
the keyring, and fails to add it when requested.


has a hard-coded:

gpg_home_dir = "/root/.gnupg"

which should really be picked up from $HOME I would have thought.

Comment 1 Adrian Likins 2003-06-25 00:11:17 UTC
$HOME was often invalid in testing for various reasons (most related
to su/sudo/etc) so it was hardcoded. 

Comment 2 Joe Orton 2003-06-25 07:12:42 UTC
Picking it up from getpwuid(0)->pw_dir would be a reliable method.

Note You need to log in before you can comment on or make changes to this bug.