Bug 706419 - rpm fails to find files with --resign or --delsign
Summary: rpm fails to find files with --resign or --delsign
Keywords:
Status: CLOSED DUPLICATE of bug 697435
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-20 14:06 UTC by Jonathan Gazeley
Modified: 2011-05-23 04:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-23 04:49:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Gazeley 2011-05-20 14:06:18 UTC
Description of problem:

I installed rawhide today to be able to use rpm-4.9.0, and avoid bug #488953. Using rpm -K correctly shows the signing details about my package. Using rpm --resign or rpm --delsign results in "No such file or directory".

The path is correct, as it has been written by tab-completion and rpm -K works. The files are in my home directory, owned by me, correct permissions and SELinux is disabled. I can't see a reason why the files would be unreadable.

Version-Release number of selected component (if applicable):
rpm-4.9.0-6.fc15

How reproducible:
Every time


Steps to Reproduce:
1. Use rpm --resign or rpm --delsign
2.
3.
  
Actual results:

[jg4461@rawhide ~]$ ls -la
total 134328
drwx------. 2 jg4461 jg4461     4096 May 20 11:35 .
drwxr-xr-x. 7 root   root       4096 May 20 15:02 ..
-rwxrwxr-x. 1 jg4461 jg4461  1365551 May 19 16:06 MySQL-Cluster-gpl-clusterj-7.1.8-1.rhel5.i386.rpm

[jg4461@rawhide ~]$ rpm -K MySQL-Cluster-gpl-clusterj-7.1.8-1.rhel5.i386.rpm
MySQL-Cluster-gpl-clusterj-7.1.8-1.rhel5.i386.rpm: (sha1) sda sha1 sha1 sha1 sha1 sha1 sha1 md5 md5 md5 md5 md5 md5 (GPG) gpg NOT OK (MISSING KEYS: GPG#5072e1f5)

[jg4461@rawhide ~]$ rpm --resign MySQL-Cluster-gpl-clusterj-7.1.8-1.rhel5.i386.rpm
rpm: MySQL-Cluster-gpl-clusterj-7.1.8-1.rhel5.i386.rpm: No such file or directory


Expected results:
I expect that --resign or --delsign will find the package


Additional info:
Problem does not exist in Fedora 14 or CentOS 5.6.

Comment 1 Panu Matilainen 2011-05-23 04:49:55 UTC

*** This bug has been marked as a duplicate of bug 697435 ***


Note You need to log in before you can comment on or make changes to this bug.