RPM

updating filesystem.rpm corrupts rpm database.

Bug #647915 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
Triaged
Low
Unassigned
openSUSE
Fix Released
Critical

Bug Description

tracker

Revision history for this message
In , Mls (mls) wrote :

I don't see a corrupt rpm database in your report. I think the lua code does a bad chdir.

Revision history for this message
In , Ohering (ohering) wrote :

it does a chdir("/full-ppc"); chdir("/") ; open(".") = 7 ; fchdir(7); open("ppc/glibc.rpm");

logs on lychee , /tmp/3446

Revision history for this message
In , Ohering (ohering) wrote :

Created an attachment (id=97083)
strace-grep.txt

env -i sed -n '365195{: X;p;n;;365245 q;b X;}' /tmp/3446

Revision history for this message
In , Ohering (ohering) wrote :

maybe its some sort of filesystem corruption. /boot is empty, mount misses the libvolume_id.so.0.

Revision history for this message
In , Ohering (ohering) wrote :

no, rpm is really confused.

lychee:~ # env -i grep libvolume_id.so /tmp/3446 | grep -Ew '(open|unlink|rename)' | tail
4363 open("/lib/libvolume_id.so.0.66.0", O_RDONLY) = 4
4363 open("/lib/libvolume_id.so.0", O_RDONLY) = 4
4365 open("/lib/libvolume_id.so.0.66.0", O_RDONLY) = 4
4365 open("/lib/libvolume_id.so.0", O_RDONLY) = 4
4366 open("/lib/libvolume_id.so.0.66.0", O_RDONLY) = 4
4366 open("/lib/libvolume_id.so.0", O_RDONLY) = 4
4369 open("/lib/libvolume_id.so.0.66.0", O_RDONLY) = 4
4369 open("/lib/libvolume_id.so.0", O_RDONLY) = 4
3452 unlink("/lib/libvolume_id.so.0.66.0") = 0
4371 unlink("/lib/libvolume_id.so.0") = 0

Revision history for this message
In , Mls (mls) wrote :

trust me, it's the chdir thing.

Revision history for this message
In , Mls (mls) wrote :

fixed rpm submitted to STABLE.

Revision history for this message
In , Mhorvath-novell (mhorvath-novell) wrote :

*** Bug 215264 has been marked as a duplicate of this bug. ***

Revision history for this message
Jeff Johnson (n3npq) wrote :

tracker

Changed in rpm:
status: New → Triaged
importance: Undecided → Low
tags: added: chroot lua opensuse
Changed in opensuse:
importance: Unknown → Critical
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.