On Wed, May 30, 2007, Olivier Kaloudoff wrote:
> building postfix on a brand new install (debian etch), postfix
> refuses to start with the following error;
>
> minimal_etch:/# postfix start
> postfix: fatal: file /openpkg/etc/postfix/main.cf: parameter default_privs:
> user root has privileged user ID
>
> minimal_etch:/# type postfix postconf
> postfix is hashed (/openpkg/sbin/postfix)
> postconf is /openpkg/sbin/postconf
>
> minimal_etch:/# postconf | grep default_privs
> default_privs = root
>
> so I still think that there is a problem with the postfix
> package on Linux.
I've checked the "postfix" package again and it _IS_ correct. I've
a different guess as this is only one way your could end up with
"default_privs = root" in main.cf: Either you manually configured it or
you bootstrapped incorrectly. Please do the following and compare it
with my values:
| $ openpkg rpm --eval '%{l_susr},%{l_musr},%{l_rusr},%{l_nusr}'
| root,openpkg-dev,openpkg-dev-r,openpkg-dev-n
You see, l_nusr is by default "<user>-n" from the --user=<user>
parameter you specified when bootstrapping your instance. My suspicion
is that you seem to have specified the parameters during bootstrapping
in a strange way? Hope you are not using --nusr=root or --nuid=0? This
would be already a major security problem, btw.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List [email protected]