--- /usr/portage/dev-db/postgresql/postgresql-8.0.1-r2.ebuild 2005-05-01 03:05:25.000000000 -0500 +++ postgresql-8.0.1-r2.ebuild 2005-05-06 14:41:38.000000000 -0500 @@ -34,7 +34,6 @@ nls? ( sys-devel/gettext ) kerberos? ( virtual/krb5 )" RDEPEND="virtual/libc - app-admin/sudo zlib? ( >=sys-libs/zlib-1.1.3 ) tcltk? ( >=dev-lang/tcl-8 ) perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -205,7 +204,7 @@ eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database." echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem fi - sudo -u postgres /usr/bin/initdb --pgdata ${PG_DIR}/data + su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data" if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem The above patch removes the dependence on sudo. Was there any reason to have a dependence on sudo in the first place? Reproducible: Always Steps to Reproduce: 1. 2. 3.
The only reason is that I forgot to remove sudo dependency from postgresql-8* when I removed it from postgresql-7*. I've just removed the dependency from unstable ebuilds. Thanks for reporting.