security/amavisd-new-2.13.1,1 won't start after upgrade
Matus UHLAR - fantomas
uhlar at fantomas.sk
Mon May 26 12:03:15 CEST 2025
>>On Thu, May 22, 2025 at 07:21:30AM +0200, Xavier Humbert wrote:
>>>Latest upgrade of amavisd-new broke on FreeBSD 13.5-STABLE, ports fromHEAD :
>>>
>>>[root at numenor ~]# amavisd
>>>fetch_modules: error loading optional module Razor2/Client/Agent.pm:
>>> Can't locate Getopt/Long.pm: lib/Getopt/Long.pm: Permission denied at
>>>/usr/local/lib/perl5/site_perl/mach/5.40/Razor2/Client/Agent.pm line 15.
>>> BEGIN failed--compilation aborted at
>>>/usr/local/lib/perl5/site_perl/mach/5.40/Razor2/Client/Agent.pm line 15.
>>> Compilation failed in require at
>>>/usr/local/lib/perl5/site_perl/Amavis/Boot.pm line 77.
>>>fetch_modules: error loading optional module Mail/DKIM.pm:
[...]
>>>I don't understand the "permission denied" issue
>Le 22/05/2025 08:48, Herbert J. Skuhra a écrit :
>>Does this also happen with the default amavisd.conf?
>Yes
>>Did you follow the instructions in /usr/ports/UPDATING (20231017)?
>Yes, I did
>>Does amavisd work if you remove razor-agents?
>No it doesn't
>>Have you tried a clean build instead of updating?
On 22.05.25 20:24, Xavier Humbert wrote:
>Just did
># pkg delete security/amavisd-new
># cd /usr/ports/security/amavisd-new
># make install clean
>And it works ! I just don't understand what happened... Another IT
>mystery 🙂
Just FYI:
I've had similar problems when trying to start amavisd, while current
directory was not accessible by amavisd user
- amavisd tried to switching UID and then couldn't access files when
starting from current directory
The same might probably happen if the current directory was deleted in the
meantime.
should it happen again, try "cd /" before.
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Posli tento mail 100 svojim znamim - nech vidia aky si idiot
Send this email to 100 your friends - let them see what an idiot you are
More information about the amavis-users
mailing list