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

Forum for questions and support relating to the 1.24.x releases only.
Locked
jm3
Posts: 6
Joined: Sun Apr 24, 2011 6:40 pm

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

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

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

Post by cordel »

Thanks for this.
Locked