[Popcon-developers] Bug#855617: Bug#855617: popularity-contest: /etc/cron.daily/popularity-contest can't locate strict.pm

Martin Dosch spam-debian at mdosch.de
Sat Feb 25 12:04:02 UTC 2017


Hi Bill,

Am 22.02.2017 um 18:17 schrieb Bill Allombert:
> On Tue, Feb 21, 2017 at 10:33:24PM +0100, Martin Dosch wrote:
>> ls -ld /usr/local/lib/
>> drwxr-s--- 5 root staff 4096 Feb 14 20:10 /usr/local/lib/
> 
> The permission are wrong.
> This means that software installed in /usr/local/lib/
> are only accessible to root and users in the group staff.
> This is not an expected configuration.

Ok, after setting permissions to 755 it works again. Thank's a lot.

>> I'm still irritated why popcon expects perl in /usr/local/ when the
>> debian stretch package perl-base is installing these files in
>> /usr/lib/x86_64-linux-gnu/perl-base
> 
> This has nothing to do with popcon. The issue is that perl search first
> in /usr/local/lib/ and then in /usr/lib.
> Since popcon run as nobody by default, perl cannot access
> /usr/local/lib/  and fail instead of trying the next directory
> /usr/lib.

So maybe perl should continue checking the other folders in PATH even if
one is not readable. This would make it more error proof as the file was
available and readable but perl failed as /usr/local/lib was not readable.

Best regards,
Martin



More information about the Popcon-developers mailing list