Skip Menu | Logged in as guest | Logout
 
Ticket metadata
Id: 2874
Status: resolved
Priority: 4/0
Queue: vdt-support

Fixed in: 1.8.0b
Fix scheduled: (no value)

Owner: Scot Kronenfeld
Requestors: timm@fnal.gov
Cc:
AdminCc:

New reminder:

Created: Tue Aug 07 14:09:55 2007
Starts: Not set
Started: Not set
Last Contact: Wed Aug 08 16:22:50 2007
Due: Not set
Closed: Wed Aug 08 16:22:50 2007
Updated: Wed Aug 08 16:23:19 2007 by kronenfe



History Brief headersFull headers
Subject: Problem with cron entry, vdt-update-certs, vdt-1.8.0
Date: Tue, 07 Aug 2007 14:08:31 -0500 (CDT)
To: vdt-support@OPENSCIENCEGRID.ORG
From: Steven Timm <timm@fnal.gov>
Download (untitled) / with headers
text/plain 2.1k
The crontab entry of vdt-update-certs has a problem. It does not
set up the PERL5LIB correctly. If the crontab is executed
as configured via the VDT, you get the following error:

[root@osg-ress-4 ~]# /usr/local/vdt-1.8.0/vdt/sbin/vdt-update-certs
--vdt-install /usr/local/vdt-1.8.0
Can't locate VDTConfigure.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0/usr/lib/perl5/vendor_perl .) at
/usr/local/vdt-1.8.0/vdt/sbin/vdt-update-certsline 122.
BEGIN failed--compilation aborted at
/usr/local/vdt-1.8.0/vdt/sbin/vdt-update-certs line 122.
------------

I have verified that this error exists still in vdt-1.8.0a that was
released today.

If /usr/local/vdt-1.8.0/setup.sh is sourced first, it works fine.

Steve Timm


--
------------------------------------------------------------------
Steven C. Timm, Ph.D (630) 840-8525
timm@fnal.gov http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.
Download (untitled) / with headers
text/plain 162b
Steve,

Thanks for the bug report. We tested the script quite a bit, but not
from cron, so this escaped us. We'll fix it shortly, probably in VDT 1.8.0.

-alain
Download (untitled) / with headers
text/plain 277b
I think we should fix this in VDT 1.8.0, so we can get some testing of
it. I know it's annoying to have to release another update, but testing
this is important.

I don't know if we should source setup.sh, set PERL5LIB (and other
stuff?) explicitly, or some other solution.
Subject: [vdt-support #2874] SVN commit, rev 6423
To: vdt-support@cs.wisc.edu
From: kronenfe@cs.wisc.edu
Download (untitled) / with headers
text/plain 455b
Commit comment:
Added a wrapper for the vdt-update-certs script. This wrapper
sources setup.sh, so that the PERL5LIB is set correctly when
called out of cron - otherwise VDTConfigure cannot be found.


Changed files:
A vdt/branches/vdt-1.8.0/CA-Certificates-Updater/vdt/sbin/vdt-update-certs-wrapper
U vdt/branches/vdt-1.8.0/CA-Certificates-Updater/vdt/setup/configure_ca_cert_updater

To generate a diff:
svn diff -c 6423 file:///p/vdt/workspace/svn
Hi Steve,
Thanks for the bug report. This fix was just released in the 1.8.0b
release.