Project

General

Profile

Actions

Bug #4307

closed

Centos rpm install - librbd1 is unsigned

Added by Ken Franklin about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

workaound is --nogpgcheck

Actions #1

Updated by Ian Colle about 11 years ago

  • Assignee set to Anonymous
  • Priority changed from Normal to High
Actions #2

Updated by Anonymous about 11 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Anonymous about 11 years ago

  • Status changed from In Progress to Resolved

None of the rpms were being signed. librdb1 was just the first one to be complained about. The issue was that rpm-sign prompts for a passphrase even with passphraseless keys. The fix was ti create an expect wrapper that supplies the needed empty passphrase.

Issue resolved with the following commits:

commit d5e6a08019267886ccef405e579f737b654112cf
Author: Gary Lowell <>
Date: Tue Mar 5 21:23:11 2013 -0800

build-ceph-rpm.sh:  Sign rpms
Use the rpm-autosign.exp expect wrapper to handle the prompt
for the passphrase.
Signed-off-by: Gary Lowell  &lt;&gt;

commit 9cb4c9bb128ca4519b6dcb663f977aab1fa90f88
Author: Gary Lowell <>
Date: Tue Mar 5 19:57:37 2013 -0800

fabfile.py:  Add gnupg and expect to rpm package list.
These two packages are needed for signing rpms.
Signed-off-by: Gary Lowell  &lt;&gt;

commit 629651ad0d7028b05a3038d583bb69b27b0d8963
Author: Gary Lowell <>
Date: Tue Mar 5 18:44:07 2013 -0800

rpm-autosign.exp:  New utility to help sign rpms.
The rpm commend insists on prompting for a passphrase when signing rpms even
for passphraselees keys. This behaviour causes problems for automated build
scripts. The rpm-autosign.exp scripts is a small expect wrapper for rpm that
that sends empty passphrase in reposne to the prompt.
Signed-off-by: Gary Lowell  &lt;&gt;
Actions

Also available in: Atom PDF