Project

Profile

Help

Issue #5831

RPM file arrays sometimes have directive in first element of array

Added by iballou 5 days ago. Updated 2 days ago.

Status:
ASSIGNED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello-P2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

For example:

["dir", "/lib/modules/3.10.0-1062.el7.x86_64/kernel/sound/usb/", "line6"]
vs.
["/lib/modules/3.10.0-1062.el7.x86_64/kernel/net/netfilter/", "nft_masq.ko.xz"]

I've also seen "ghost" in the first index of the array which makes it look like a directive for the %files list (http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html).

It seems like a bug that a file without a directive has a 2-entry array but a file with a directive has a 3 entry array. Perhaps they could all have prefixes?

History

#1 Updated by iballou 5 days ago

"ghost" example:

["ghost", "/boot/", "initramfs-3.10.0-1062.el7.x86_64.img"]

#2 Updated by ttereshc 3 days ago

I'd guess this is how createrepo_c parses the metadata. We should check.
Could you provide a link to a remote repo which you synced or an rpm which you uploaded if that's the case?

#3 Updated by iballou 3 days ago

#4 Updated by ppicka 2 days ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

Please register to edit this issue

Also available in: Atom PDF