[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-autoinstall
Subject:    Re: [opensuse-autoinstall] USB-Stick as installation-Source
From:       Daniel Spannbauer <ds () marco ! de>
Date:       2012-07-30 15:01:57
Message-ID: 5016A1E5.7030607 () marco ! de
[Download RAW message or body]

Am 07/30/2012 03:11 PM, schrieb Daniel Rahn:
> On Mon, Jul 30, Daniel Spannbauer wrote:
>>         gpg -u ds@marco.de --export >> installkey.gpg
> 
> installkey.gpg is a keyring and not a textfile, so above command
> destroys the keyring.
> 
> Try this:
> 
> gpg --import gpg-$KEY_ID.gpg --keyring installkey.gpg
> 
> Regards,
> 
> Daniel
> 


Hello Daniel,

now I did the following:
-------------------------------------
echo "initall.key aus initrd raus....."
cpio -i -F $INITRD.uncomp installkey.gpg
echo "Schlüssel exportieren"
gpg --export -u $KEY_ID > gpg-$KEY_ID.gpg
gpg --export -a -u $KEY_ID > gpg-pubkey-$KEY_ID.asc
echo "Schlüssel rein"
echo "gpg-$KEY_ID.gpg" | cpio -o -H newc -A -F $INITRD.uncomp
echo "install.key erweitern"
#gpg -u ds@marco.de --export >> installkey.gpg
gpg --import --keyring ./installkey.gpg gpg-$KEY_ID.gpg
echo "installkey wieder in initrd"
echo "installkey.gpg" | cpio -o -H newc -A -F $INITRD.uncomp
echo "komprimieren"
gzip --best <$INITRD.uncomp >$INITRD
----------------------------------------


I get the following Output:
----------------------------------------
install.key erweitern
gpg: key 7B6AC518: "Daniel Spannbauer <ds@marco.de>" not changed
gpg: key 3D25D3D9: "SuSE Security Team <security@suse.de>" not changed
gpg: key 0DFB3188: "Open Enterprise Server <support@novell.com>" not changed
gpg: key A1912208: "Novell Provo Build (Contact security@novell.com)
<novell-provo-build@novell.com>" not changed
gpg: key 307E3D54: "SuSE Package Signing Key <build@suse.de>" not changed
gpg: key 7E2E3B05: "Novell Provo Build (Contact security@novell.com)
<novell-provo-build@novell.com>" not changed
gpg: key 9C800ACA: "SuSE Package Signing Key <build@suse.de>" not changed
gpg: key 56B4177A: "openSUSE:Factory OBS Project
<openSUSE:Factory@build.opensuse.org>" not changed
gpg: key 3DBDC284: "openSUSE Project Signing Key
<opensuse@opensuse.org>" not changed
gpg: Total number processed: 9
gpg:              unchanged: 9


Seems to work. Bute the error ist still the same (see linuxrc.log)
Permissions for /root/.gnupg (which is emtpy) is 744.

Regards

Daniel


-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds@marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München

["linuxrc.log" (text/x-log)]

Starting udev... ok
Remount of / ok
setfont linuxrc-16.psfu
CPU: 2, Memory: 2604956
mod_insmod("af_packet", "(null)")
insmod /modules/af_packet.ko
mod_insmod("nls_cp437", "(null)")
insmod /modules/nls_cp437.ko
mod_insmod("nls_iso8859-1", "(null)")
insmod /modules/nls_iso8859-1.ko
mod_insmod("sunrpc", "")
insmod /modules/sunrpc.ko
mod_insmod("auth_rpcgss", "")
insmod /modules/auth_rpcgss.ko
mod_insmod("fscache", "")
insmod /modules/fscache.ko
mod_insmod("lockd", "")
insmod /modules/lockd.ko
mod_insmod("nfs_acl", "")
insmod /modules/nfs_acl.ko
mod_insmod("nfs", "(null)")
insmod /modules/nfs.ko
mod_insmod("loop", "max_loop=64")
mod_insmod("processor", "(null)")
mod_insmod("thermal", "tzp=50")
mod_insmod("fan", "(null)")
mod_insmod("mperf", "(null)")
insmod /modules/mperf.ko
mod_insmod("powernow-k8", "(null)")
insmod /modules/powernow-k8.ko
mod_insmod("acpi-cpufreq", "(null)")
insmod /modules/acpi-cpufreq.ko
insmod: error inserting '/modules/acpi-cpufreq.ko': -1 Device or resource busy
insmod error: 256
mod_insmod("efivars", "(null)")
insmod /modules/efivars.ko
insmod: error inserting '/modules/efivars.ko': -1 No such device
insmod error: 256
mod_insmod("ecb", "(null)")
insmod /modules/ecb.ko
mod_insmod("arc4", "(null)")
insmod /modules/arc4.ko
Setting up localhost...done
Starting hardware detection...
Hardware detection finished.
mod_insmod("ehci-hcd", "(null)")
mod_insmod("input", "(null)")
mod_insmod("usbhid", "(null)")
mod_insmod("keybdev", "(null)")
mod_insmod("usb-storage", "(null)")
scanning devices
url = hd:/?device=sdc1
  scheme = hd (9), path = "/"
  device = "sdc1"
  network = 0, mountable = 1, file = 0, all = 0, quiet = 0
  query:
    device = "sdc1"
dud url: disk:/?device=*usb*&all=1&quiet=1
url = disk:/?device=*usb*&all=1&quiet=1
  scheme = disk (16), path = "/"
  device = "*usb*"
  network = 0, mountable = 1, file = 0, all = 1, quiet = 1
  query:
    device = "*usb*"
    all = "1"
    quiet = "1"
Reading driver update: disk:/?device=*usb*&all=1&quiet=1
rescanning devices
url mount: trying disk:/?device=disk/by-id/usb-JetFlash_Transcend_8GB_025RJEAL9AP3ASGV-0:0-part1
 (Partition: 7.5 GB, vfat, DUMP_11_00)
mod_insmod("fat", "")
insmod /modules/fat.ko
mod_insmod("vfat", "(null)")
insmod /modules/vfat.ko
test_and_add_dud: all = 1
url mount: disk:/?device=disk/by-id/usb-JetFlash_Transcend_8GB_025RJEAL9AP3ASGV-0:0-part1 \
@ /mounts/update No new driver updates found.
url = boot/i386/root
  scheme = rel (15), path = "boot/i386/root"
  network = 0, mountable = 0, file = 0, all = 0, quiet = 0
repository: looking for hd:/?device=sdc1
rescanning devices
url mount: trying hd:/?device=disk/by-id/usb-JetFlash_Transcend_8GB_025RJEAL9AP3ASGV-0:0-part1
 (Partition: 7.5 GB, vfat, DUMP_11_00)
url = file:/var/adm/mount
  scheme = file (1), path = "/var/adm/mount"
  network = 0, mountable = 1, file = 0, all = 0, quiet = 0
url = file:/var/adm/mount/content
  scheme = file (1), path = "/var/adm/mount/content"
  network = 0, mountable = 1, file = 0, all = 0, quiet = 0
loading file:/var/adm/mount/content -> /content
url_read(file:/var/adm/mount/content)
sha1 a80870f84460a7d52af1dea38b58c84d362cec4b
sha1 not checked
url = file:/var/adm/mount
  scheme = file (1), path = "/var/adm/mount"
  network = 0, mountable = 1, file = 0, all = 0, quiet = 0
url = file:/var/adm/mount/content.asc
  scheme = file (1), path = "/var/adm/mount/content.asc"
  network = 0, mountable = 1, file = 0, all = 0, quiet = 0
loading file:/var/adm/mount/content.asc -> /content.asc
url_read(file:/var/adm/mount/content.asc)
sha1 59de943fc480c1ae9adea3306d5c8cecc987bcf4
sha1 not checked
gpg: WARNING: unsafe permissions on homedir `/root/.gnupg'
gpg: Signature made Mon Jul 30 13:34:41 2012 UTC using DSA key ID 7B6AC518
gpg: Can't check signature: No public key
hd:/content: signature check failed


-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic