On 2016-11-01 at 12:31:28, Jack.R wrote: > Not sure if this must be reported on email-reminder or lsb-release.
It looks like a bug in lsb-release since it's a Python backtrace and email-reminder is written in Perl, but if there's a way to work-around this bug in email-reminder, I'm happy to do it. > In a root terminal, I got: > # su - email-reminder -s /bin/bash -c /usr/bin/lsb_release > No LSB modules are available. I believe that's expected. > # su - email-reminder -s /bin/bash -c `/usr/bin/lsb_release -a` > No LSB modules are available. > ID:: Distributor : commande introuvable The problem here is the way the last parameter is escaped. Try this: sudo su - email-reminder -s /bin/bash -c "/usr/bin/lsb_release -a" (with double quotes instead of backticks) > # /usr/bin/lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux testing (stretch) > Release: testing > Codename: stretch Ok, given that this works, what happens if you edit /usr/share/perl5/EmailReminder/Utils.pm and around line 140, change my $distro = `/usr/bin/lsb_release -s -d`; chomp $distro; to this: my $distro = `/bin/sh -c "/usr/bin/lsb_release -s -d"`; chomp $distro; Francois -- https://fmarier.org/