Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53598 - postgresql-7.4.2-r1 ebuild doesn't have an RDEPEND for sudo
Summary: postgresql-7.4.2-r1 ebuild doesn't have an RDEPEND for sudo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 17:46 UTC by Stephen Ulmer
Modified: 2007-09-22 23:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Ulmer 2004-06-10 17:46:18 UTC
postgresql-7.4.2-r1 has a DEPEND for sudo, but no RDEPEND. It then uses sudo during
"ebuild ... config"

Reproducible: Always
Steps to Reproduce:
1. build binary package (mine was part of a GRP)
2. package installs fine on target system (without requiring sudo)


Actual Results:  
Now you can't config the initial database because sudo is required, but isn't  
 installed

Expected Results:  
The package should either require sudo via RDEPEND, or the config part of the
ebuild should be re-written with a here document piped to su (though I supposed
that might yield undesireable results for non-root portage-group members doing
the config).
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-06-12 17:09:14 UTC
Fixed.
Thank you for reporting.