[Popcon-developers] Bug#764369: Bug#764369: popularity-contest: Please use runuser instead of su to change user

Bill Allombert ballombe at debian.org
Tue Oct 7 18:46:06 UTC 2014


On Tue, Oct 07, 2014 at 06:10:41PM +0200, Laurent Bigonville wrote:
> Package: popularity-contest
> Version: 1.61
> Severity: normal
> 
> Hi,
> 
> With util-linux 2.25, a runuser command has been added which is more
> suitable to change users when running from cronjobs.

Hello Laurent, 

Thanks for your report!
 
> runuser is not calling the pam_systemd pam module and thus not creating
> a logind session like with su.

Could you elaborate on this ? What is wrong with su ?

> Could you please adjust /etc/cron.daily/popularity-contest to call this
> new command? You'll probably have to add a dependency against the new
> util-linux package.

util-linux is essential: yes so this is not a big deal.

Cheers,
Bill.



More information about the Popcon-developers mailing list