Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

--with-user

2007-02-06 by Nerijus Baliunas

Hello,

As you can now use
rpmbuild --define "build_user smmsp" -tb milter-greylist-3.1.5a1.tgz,
there's probably no need for configure to alter line "%define user"
in milter-greylist.spec? Because it's much easier to use rpmbuild --define
instead of the old way - run ./configure --with-user and then use regenerated
milter-greylist.spec or repack the archive and then use rpmbuild.
If you agree, then please change
%define user @USER@
to
%define user root
in milter-greylist.spec.in (line 7).

Now a problem: --with-user=smmsp sets user="smmsp" in rc-redhat.sh,
and then "/etc/rc.d/milter-greylist start" does not start with an error in the log:
milter-greylist: /usr/bin/milter-greylist: cannot change supplementary groups: Operation not permitted

What does this error mean? Could it be related to "Add support for switching
to a given group"?
If I change to user="root" in rc-redhat.sh, it then works.
smmsp user's group is smmsp:
# groups smmsp
smmsp : smmsp

Regards,
Nerijus

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.