Author: frank
Date: 16-09-04 06:53
The latest amavisd-new have problem with the Net::Server where it will log a warning: Net::Server: ... "Couldn't become uid ..., "or": Effective UID changed, but Real UID is 0: Couldn't become uid ..." which is due to the difference of set UID in different platform.
the main website of amavisd-new suggest "Here is a replacement subroutine set_uid in file ...lib/perl5/...Net/Server/Daemonize.pm :
sub set_uid {
my $uid = get_uid( shift() );
POSIX::setuid( $uid ) or die "Couldn't POSIX::setuid to \"$uid\" [$!]\n";
$> = $uid; $< = $uid; # just in case
return 1;
}
"
but we need to manually edit this file making using FreeBSD ports difficult. Can the port maintainer modify the port so that it will patch the Net::Server automatically ?
|
|