Ticket #1732 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

CPIO: Empty directories in / are not shown in rpm VFS

Reported by: Jan Safranek Owned by: andrew_b
Priority: major Milestone: 4.7.0
Component: mc-vfs Version: 4.6.2
Keywords: Cc: jsafrane@…
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

Originally from: https://bugzilla.redhat.com/show_bug.cgi?id=529645


Description of problem:
I have rpm, which contains empty directory in /. mc does not show this directory when I open its content.

Version-Release number of selected component (if applicable):

mc-4.6.2-10.fc11.x86_64

How reproducible: always

Steps to Reproduce:

  1. look at content of filesystem-2.4.21-1.fc11.i586.rpm

(filesystem-2.4.21-1.fc11.i586.rpm#rpm/CONTENTS.cpio#ucpio)

Actual results:

/etc
/lib
/usr
/var

Expected results:

/bin
/boot
/dev
/etc
...

Additional info:
rpm -qlp shows the directories correctly

Change History

comment:1 Changed 14 years ago by andrew_b

Sorry, but 4.6.x is not supported.

Does this bug present in recent git master branch?

comment:2 Changed 14 years ago by slavazanko

Yes, bug alive in current master
filesystem-2.4.0-2.el5.centos.x86_64.rpm#rpm/CONTENTS.cpio#ucpio

/etc
/lib
/usr
/var

must be:

rpm -qlp filesystem-2.4.0-2.el5.centos.x86_64.rpm | cut -d '/' -f 2| sort|uniq
bin
boot
dev
etc
home
lib
lib64
media
mnt
opt
proc
root
sbin
selinux
srv
sys
tmp
usr
var

comment:3 Changed 14 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.0

Created 1732_cpio branch. Parent branch is master.
changeset:ee713c772995f95263ae597d4dc4422ee8edc32d -- some optimization and type accuracy;
changeset:766fc05fe7c944eb5892d158ac19209c144c740c -- bugfixing.

comment:5 Changed 14 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:6 Changed 14 years ago by angel_il

  • Votes for changeset changed from slavazanko to slavazanko angel_il
  • severity changed from on review to approved

comment:7 Changed 14 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko angel_il to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged
  • Summary changed from RPM&CPIO: Empty directories in / are not shown in rpm VFS to CPIO: Empty directories in / are not shown in rpm VFS

Merged to master.

git log --pretty=oneline fd95afe..0b8b237

comment:8 Changed 14 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.