View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018209 | CentOS-8 | file | public | 2021-06-01 06:25 | 2021-06-01 19:15 |
Reporter | rincebrain | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | new | Resolution | open | ||
Summary | 0018209: rpmbuild of openzfs sometimes crashes rpmbuild, corrupts rpmdb | ||||
Description | The 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 Reproduce | don't have ncompress installed download openzfs, untar, cd ./autogen.sh && ./configure && make rpm-utils [repeat make rpm-utils until crashing ensues] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-01 06:25 | rincebrain | New Issue | |
2021-06-01 19:15 | rincebrain | Note Added: 0038471 |