Summary: | mail-filter/spamassassin-3.3.2-r2 with dev-lang/perl-5.18.2-r1 gives: Can't locate Net/DNS/RR/MX.pm: Permission denied at (eval 1433) line 2, <GEN26> line 29 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Mirosław
2014-07-31 21:45:47 UTC
perl-cleaner --all actually, might not be. try anyways. It would be too easye if could perl-cleaner fixed it: # perl-cleaner --all -- -av1 * Beginning a clean up of .ph files * Excluding files for 5.18.2 and 5.18.2/x86_64-linux from cleaning * Locating ph files for removal * Updating ph files. * Ignore all "No such file..." messages! Can't open machine/ansi.h: No such file or directory Can't open sys/_types.h: No such file or directory Can't open gnu/stubs-x32.h: No such file or directory Can't open gnu/stubs-x32.h: No such file or directory Can't open gnu/stubs-x32.h: No such file or directory Can't open gnu/stubs-x32.h: No such file or directory * Locating packages for an update * Locating ebuilds linked against libperl * No package needs to be reinstalled. * Finding left over modules and header * The following files remain. These were either installed by hand * or edited. This script cannot deal with them. figures. can you run "find /usr/lib64/perl5 >/dev/null"? as non-root obviously mohikanin / # sudo -u spamd find /usr/lib64/perl5 >/dev/null mohikanin / # yeah, I got nothing. maybe try restarting spamassassin? I tried gentoo-sources instead of hardened-sources, no changes. On other, similar host I don't have such problem so I'm nut sure if it's my problem or Gentoo. Not a gentoo bug May I please some more explanation? A can't definitely say what happend on your system, but it seems to be releated to bug 505282 (just other package). I can only say, there is no gentoo-side fault. Strace helped me to find out what happened. 1178 15:43:58 alarm(30) = 0 1178 15:43:58 stat("/var/lib/spamassassin/compiled/5.018/3.003002/IP/Country/Fast.pmc", 0x3e098290490) = -1 EACCES (Permission denied) 1178 15:43:58 stat("/var/lib/spamassassin/compiled/5.018/3.003002/IP/Country/Fast.pm", 0x3e0982903d0) = -1 EACCES (Permission denied) 1178 15:43:58 gettimeofday({1406987038, 132650}, NULL) = 0 117 I've changed owner (recursive) of /var/lib/spamassassin/ to spamd, it fixed problem. It looks that SA with perl 5.18 needs write access to directories which contains compiled rules. |