View Issue Details

IDProjectCategoryView StatusLast Update
0018209CentOS-8filepublic2021-06-01 19:15
Reporterrincebrain Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Summary0018209: rpmbuild of openzfs sometimes crashes rpmbuild, corrupts rpmdb
DescriptionThe short version is that https://bugzilla.redhat.com/show_bug.cgi?id=1705320 also applies to up-to-date-as-of-today CentOS 8 (and presumably all its el8 cousins).

For those who don't like clicking links - rpmbuild as root of the openzfs specfiles can result in crashes in strange places and sometimes corruption of the rpmdb, owing to file incorrectly using exit() instead of _exit() in an error handling codepath. The fix is a one-character diff.

[rich@centosbox ~]$ rpm -q file rpm-build
file-5.33-16.el8_3.1.x86_64
rpm-build-4.14.3-4.el8.x86_64
[rich@centosbox ~]$ uname -a
Linux centosbox 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[rich@centosbox ~]$ sudo coredumpctl list
TIME PID UID GID SIG COREFILE EXE
Mon 2021-05-31 22:40:51 EDT 2430478 0 0 7 present /usr/bin/rpmbuild
Tue 2021-06-01 01:35:29 EDT 2805076 0 0 7 present /usr/bin/rpmbuild

Steps To Reproducedon't have ncompress installed
download openzfs, untar, cd
./autogen.sh && ./configure && make rpm-utils
[repeat make rpm-utils until crashing ensues]
TagsNo tags attached.

Activities

rincebrain

rincebrain

2021-06-01 19:15

reporter   ~0038471

(For completeness - this also affects CentOS 7.)

Issue History

Date Modified Username Field Change
2021-06-01 06:25 rincebrain New Issue
2021-06-01 19:15 rincebrain Note Added: 0038471