[Bug 436896] [NEW] Signature tests are disabled - gpg command calls should use homedir option

Mathias Gug mathiaz at ubuntu.com
Fri Sep 25 22:22:27 BST 2009


Public bug reported:

SignatureServiceTest are disabled because they fail to build correctly
on the buildds. This is due to the incorrect handling of gnupg home
directory.

I'd recommend to use the following options:

 --homedir (with a default path of /var/lib/image-store-proxy/)

 --no-options so that gpg doesn't try to open any options file

 --no-tty to avoid any console messages

For example the postinst script imports the gpg key the following way:

gpg --batch --no-default-keyring --no-tty \
                --homedir /var/lib/image-store-proxy/ \
                --keyring /var/lib/image-store-proxy/keyring.gpg \
                --import /usr/share/image-store-proxy/image-store-key.asc

** Affects: image-store-proxy (Ubuntu)
     Importance: High
     Assignee: Gustavo Niemeyer (niemeyer)
         Status: Confirmed

** Affects: image-store-proxy (Ubuntu Karmic)
     Importance: High
     Assignee: Gustavo Niemeyer (niemeyer)
         Status: Confirmed

-- 
Signature tests are disabled - gpg command calls should use homedir option
https://bugs.launchpad.net/bugs/436896
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to image-store-proxy in ubuntu.



More information about the Ubuntu-server-bugs mailing list