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

Fixed in: 1.8.1f
Fix scheduled: CUR

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

New reminder:

Created: Tue Dec 11 13:52:01 2007
Starts: Not set
Started: Not set
Last Contact: Tue Dec 11 17:01:42 2007
Due: Not set
Closed: Tue Dec 11 17:45:03 2007
Updated: Tue Dec 11 17:46:11 2007 by kronenfe



History Brief headersFull headers
Subject: Small annoyance in vdt-update-certs
Date: Tue, 11 Dec 2007 13:47:42 -0600 (CST)
To: vdt-support@OPENSCIENCEGRID.ORG
From: Steven Timm <timm@fnal.gov>
Download (untitled) / with headers
text/plain 1.3k
When the vdt-update-certs package brings down a new set of
certificates, it copies the *.r0 crl files over from the previous
set of certificates. This is fine, except that it is not preserving
the date and we get the error messages as outlined below.

The system call should be a "cp -p" to keep the date of the *.r0 files
the same as they were.

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.

---------- Forwarded message ----------
Date: Tue, 11 Dec 2007 13:36:08 -0600
From: Cron Daemon <root@fg6x3.fnal.gov>
To: root@fg6x3.fnal.gov
Subject: Cron <root@fg6x3>
/usr/local/vdt-1.8.1/fetch-crl/share/doc/fetch-crl-2.6.2/fetch-crl.cron

fetch-crl[13492]: 20071211T133608-0600 Attempt to install 6e3b436b.r0 failed since the current CRL is more recent than the one that was downloaded.
fetch-crl[13492]: 20071211T133609-0600 Attempt to install 8a661490.r0 failed since the current CRL is more recent than the one that was downloaded.
fetch-crl[13492]: 20071211T133610-0600 Attempt to install adcbc9ef.r0 failed since the current CRL is more recent than the one that was downloaded.
Download (untitled) / with headers
text/plain 595b
> When the vdt-update-certs package brings down a new set of
> certificates, it copies the *.r0 crl files over from the previous
> set of certificates. This is fine, except that it is not preserving
> the date and we get the error messages as outlined below.
>
> The system call should be a "cp -p" to keep the date of the *.r0 files
> the same as they were.
>
> Steve Timm

Hi Steve,

That's a good idea, and easy to do too. We're planning on a VDT 1.8.1
update soon, so we'll roll this in.

I'll ask Scott Kronenfeld to do it, so future communication about this
will be from him.

-alain
Subject: [vdt-support #3158] SVN commit, rev 6946
To: vdt-support@cs.wisc.edu
From: kronenfe@cs.wisc.edu
Download (untitled) / with headers
text/plain 289b
Commit comment:
Added the '-p' flag to the cp command that preserves CRLs
so that the CRL files retain their original attributes.


Changed files:
U vdt/branches/vdt-1.8.1/CA-Certificates-Updater/vdt/sbin/vdt-update-certs

To generate a diff:
svn diff -c 6946 file:///p/vdt/workspace/svn
Download (untitled) / with headers
text/plain 133b
Hi Steve,
I fixed the cp command as you suggested. I'll run a quick test and we
will release this in 1.8.1f this week.

Thanks,
Scot
r0 files are now copied correctly, with their attributes preserved.