Bug 706419

Summary: rpm fails to find files with --resign or --delsign
Product: [Fedora] Fedora Reporter: Jonathan Gazeley <bugzilla>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bugzilla, ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-23 04:49:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***