Mailinglist Archive: opensuse-autoinstall (57 mails)

< Previous Next >
Re: [opensuse-autoinstall] SLES10 updates failing even though signature-handling set
  • From: Peter Connolly <pconnolly@xxxxxxxxxx>
  • Date: Wed, 28 Mar 2007 07:16:00 +0100
  • Message-id: <200703280716.00502.pconnolly@xxxxxxxxxx>


Hi Mike

On Tuesday 27 March 2007 22:39, Mike Marion wrote:
> While working on a SLES10 image, I'm running into a problem where it's
> ignoring my updates path, even though I've signed content and put the
> key into the initrd file, and included the signature parts in the
> profile:
>
> My general section looks like:
>   <general>
>     <mode>
>       <confirm config:type="boolean">false</confirm>
>       <forceboot config:type="boolean">false</forceboot>
>     </mode>
>     <mouse>
>       <id>none</id>
>     </mouse>
>     <signature_handling>
>       <accept_file_without_checksum
> config:type="boolean">true</accept_file_without_checksum>
>       <accept_unsigned_file
> config:type="boolean">true</accept_unsigned_file>
>       <accept_unknown_gpg_key
> config:type="boolean">true</accept_unknown_gpg_key>
>       <accept_verification_failed
> config:type="boolean">true</accept_verification_failed>
>     </signature_handling>
>   </general>
>
> but I still get "Can't find packages openafs, openafs-client,
> openafs-devel" (Our builds of openafs) that are in updates, and y2log
> shows:
>
> KeyRing.cc(verifyFileSignatureWorkflow):336 User does not want to accept
> unknown key 2007-03-26 18:16:35 <5> 10.42.37.135(3306) [base]
> Exception.cc(log):94 SuseTagsImpl.cc(downloadMetadata):261 THROW:
> SuseTagsImpl.cc(downloadMetadata):261: Error. Source signature does not
> validate and user does not want to continue. 2007-03-26 18:16:35 <0>
>
> It explicitly says "User does not want to accept unknown key" which
> isn't true.  An almost identical setup for SLED10 is working (it's
> updates path was create with create_update_source.sh from SLED10, the
> above from the SLES10 version of the script).
>
> The key also shouldn't show up as unknown (I would think) since it had
> imported the key left in the initrd.

I had this exact problem last week and Uwe sorted it out for me.  Simply add

<import_gpg_key config:type="boolean">true</import_gpg_key>

into your signature handling section and you're good to go.

>
> Also.. there seem to be tons of things missing from the dtd files so
> that using xmllint --valid is basically useless because things like
> signature_handling aren't even defined (nor are it's interior bits).

I found it in the FAQ (after it had been pointed out to me!)

> I have applied the sles10 root fix v.4 script too . 

Cheers

Pete
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
References