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

Bill Allombert ballombe at debian.org
Tue Feb 21 21:10:11 UTC 2017


On Tue, Feb 21, 2017 at 09:42:46PM +0100, Martin Dosch wrote:
> Hello Bill,
> 
> actually I haven't installed an alternative version of perl (at least
> I'm not aware of) and the path where the files are located fits the
> official debian package of perl base:
> https://packages.debian.org/stretch/amd64/perl-base/filelist
> If popcon expects a different perl package with files located somewhere
> else the dependencies should be fixed.

Hello Martin,

popcon expects the user 'nobody' to be allowed to use perl.
Otherwise you have to change the config file
/etc/cron.daily/popularity-contest
specifically the function run_popcon().

> >apt list -a perl-base
> >Listing... Done
> >perl-base/testing,unstable,now 5.24.1-1 amd64 [installed]
> 
> Obviously it's due to my UMASK of 077 cause this wouldn't allow
> nobody:nogroup to access it.
> But shouldn't debian packages installed via apt/dpkg manage the access
> rights regardless of UMASK?

So what gives:

ls -ld /usr/local/lib/x86_64-linux-gnu/perl
ls -ld /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/
ls -l /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/strict.pm

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

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list