Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53598

Summary: postgresql-7.4.2-r1 ebuild doesn't have an RDEPEND for sudo
Product: Gentoo Linux Reporter: Stephen Ulmer <ulmer>
Component: [OLD] DevelopmentAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.