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

Bill Allombert ballombe at debian.org
Wed Feb 22 17:17:50 UTC 2017


On Tue, Feb 21, 2017 at 10:33:24PM +0100, Martin Dosch wrote:
> Hi Bill,
> 
> ls -ld /usr/local/
> drwxrwsr-x 10 root staff 4096 Jul 24  2016 /usr/local/

so far so good.

> 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.

> 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.

At least this is how I see it.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list