Package: email-reminder
Version: 0.8.3-1
Severity: normal

Dear Maintainer,

Since February 19th 2025, the cron.daily task which send email reminders
issued following error: 
Insecure directory in $ENV{PATH} while running with -T switch at
/usr/share/perl5/EmailReminder/Utils.pm line 140.

I am using testing and apt-get update && apt-get upgrade is done almost
every days. 
Concerned lines are the one which get $distro and $kernel for debug
info. 
Searching on internet shows that most of the time, above error seems to
be linked to file permissions so I checked them. /usr/bin, /bin (which
is a symlink to /usr/bin), lsb_release and uname are all mod 755 group
root user root.

If I make the dirty changes below (as this is just to get debug info),
error did not happen and email remider send emails. 
#    my $distro = `/usr/bin/lsb_release -s -d`; chomp $distro; 
my $distro = ''; chomp $distro; 
#    my $kernel = `/bin/uname -a`; chomp $kernel; 
my $kernel = ''; chomp $kernel;

Before doing above, I also try with
$ENV{PATH} = '/usr/bin; /bin';
without success.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages email-reminder depends on:
ii  adduser                    3.137
ii  cron                       3.0pl1-192
ii  debconf [debconf-2.0]      1.5.89
ii  libdate-manip-perl         6.96-1
ii  libemail-valid-perl        1.204-1
ii  libxml-dom-perl            1.46-2
ii  perl                       5.40.1-2
ii  python3                    3.13.1-2
ii  python3-defusedxml         0.7.1-3
ii  python3-pyside2.qtcore     5.15.16-3.1
ii  python3-pyside2.qtgui      5.15.16-3.1
ii  python3-pyside2.qtwidgets  5.15.16-3.1

Versions of packages email-reminder recommends:
ii  anacron                                    2.3-41
ii  exim4-daemon-light [mail-transport-agent]  4.98-3+b1
ii  libauthen-sasl-perl                        2.1700-1
ii  libemail-mime-encodings-perl               1.317-1
ii  libnet-smtp-ssl-perl                       1.04-2

email-reminder suggests no packages.

-- debconf information excluded

Best regards

Reply via email to