SCIENTIFIC-LINUX-USERS Archives

August 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jon Peatfield <[log in to unmask]>
Reply To:
Jon Peatfield <[log in to unmask]>
Date:
Fri, 31 Aug 2007 14:00:52 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (29 lines)
On Thu, 30 Aug 2007, Alex Kruchkoff wrote:

> Yes, I've found a lots of signatures in sl-release-5.0-4.x86_64.
> And thinking about all these keys I wonder why all of them are not installed 
> as a part of the SL installation process?

They just never have been is probably the short answer...

> I think that "rpm --import <key>" can not be run as postinstall program as 
> rpm is already locked by installing sl-release, but could these keys be run 
> by anaconda?

You can do that yourself in a kickstart %post e.g. we have a standard 
postinstall script (run from %post) which does:

   # Import RPM public key
   printf "Importing standard RPM keys: ";
   for i in /etc/pki/rpm-gpg/*GPG*KEY*; do
     kn=$(basename $i)
     printf "$kn ";
     rpm --import $i
   done
   printf "\n\n";

amongst many other things... (obviously the printf's are just so that 
anyone watching the install has some feedback about what is going on...)

  -- Jon

ATOM RSS1 RSS2