On Wed, May 30, 2007, Olivier Kaloudoff wrote:
> There is a problem with postfix-2.4.1 (at least) packaged in openpkg.
> When
> starting, it complains about bad permissions on binaries;
>
> -bash-3.00# postfix start
> postfix/postfix-script: warning: not owned by group postdrop:
> /openpkg/sbin/postqueue
> postfix/postfix-script: warning: not owned by group postdrop:
> /openpkg/sbin/postdrop
>
> -bash-3.00# postfix start
> postfix/postfix-script: warning: not set-gid or not owner+group+world
> executable: /openpkg/sbin/postqueue
> postfix/postfix-script: warning: not set-gid or not owner+group+world
> executable: /openpkg/sbin/postdrop
>
> The permissions should be set like this;
>
> chgrp postdrop /openpkg/sbin/postqueue /openpkg/sbin/postdrop
> chmod 755 /openpkg/sbin/postqueue /openpkg/sbin/postdrop
> chmod g+s /openpkg/sbin/postqueue /openpkg/sbin/postdrop
This seems to be a local problem as I do not see a problem here:
# openpkg rpm -q postfix
postfix-2.4.1-20070424
# postfix stop
postfix/postfix-script: stopping the Postfix mail system
# postfix start
postfix/postfix-script: starting the Postfix mail system
# openpkg rpm -V postfix
S.5....T c /usr/opkg/etc/postfix/access
S.5....T c /usr/opkg/etc/postfix/aliases
S.5....T c /usr/opkg/etc/postfix/canonical
S.5....T c /usr/opkg/etc/postfix/main.cf
S.5....T c /usr/opkg/etc/postfix/master.cf
S.5....T c /usr/opkg/etc/postfix/transport
S.5....T c /usr/opkg/etc/postfix/virtual
Also the permissions on the filesystem are correct and match the
package:
# ll /usr/opkg/sbin/postdrop /usr/opkg/sbin/postqueue
-rwxr-sr-x 1 opkg opkg-r 1098952 Apr 24 15:39 /usr/opkg/sbin/postdrop
-rwxr-sr-x 1 opkg opkg-r 1095040 Apr 24 15:39 /usr/opkg/sbin/postqueue
And I run the OpenPKG Postfix 2.4.1 package at least at three major
instances without any problems and warnings.
So, can you please check your package with "openpkg rpm -V postfix"
and if it tells a discrepancy between the package database and the
filesystem just reinstall the package in place?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List [email protected]