FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 amavisd-new
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 ?

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 amavisd-new   new
frank 16-09-04 06:53 
 Re: amavisd-new   new
Blaz Zupan 16-09-04 11:35 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.