Page 1 of 1

Email alerts - zmfilter.pl errors out on Fedora 14 - SOLVED

Posted: Sun May 01, 2011 5:27 pm
by jm3
I was having trouble with email alerts on Fedora 14 running 1.24.2 from the Fedora RPM.

I noticed zmfilter was erroring out.

I ran zmfilter.pl from the command line:

Code: Select all

Insecure $ENV{PATH} while running with -T switch at /usr/share/perl5/Date/Manip/TZ.pm line 588.
Compilation failed in require at /usr/bin/zmfilter.pl line 53.
BEGIN failed--compilation aborted at /usr/bin/zmfilter.pl line 53.
While troubleshooting, I found Archlinux bug 18467 which indicated it is a bug running perl in tainted mode wherein perl looks for /etc/timezone which does not exist on Fedora.

I created an /etc/timezone file with my timezone:

Code: Select all

[root@nagarjuna ~]# cat /etc/timezone
TZ=America/Indianapolis
zmfilter.pl now runs, and I am getting notifications.

Re: Email alerts - zmfilter.pl errors out on Fedora 14 - SOL

Posted: Mon May 02, 2011 5:38 pm
by cordel
Thanks for this.