Actions
Bug #198
openredwrap-dnf segfaults when /var/lib/rpm doesn't exist and/or is read-only
Start date:
01/28/2025
Due date:
% Done:
0%
Estimated time:
Hardware platform:
Other
OS Affects Version/s:
batz-2.0
OS Fix Version/s:
Labels:
Description
The bug #188 is solved by appropriately setting write permission to dnf/rpm components.
However, it doesn't solve the segmentation fault that occurs if /var/lib/rpm is read only.
The issue is deep in libdnf/libsolve.
Step to reproduce:
1 - revert commit https://github.com/redpesk-labs/red-pak/commit/eef436d25d61ce285ed8cde4b89a4b44ed93e587
2 - follow the reproducing steps of #188:
ulimit -c unlimited
redconf create -f /tmp/redroot
redconf create -l /tmp/redroot/leaf
find /tmp/redroot
redwrap -a -r /tmp/redroot/leaf -- bash
cp socat-1.7.4.1-5.apps.rpbatz_1.2.aarch64.rpm /tmp/redroot/leaf/etc/yum.repos.d/
redwrap-dnf -a -r /tmp/redroot/leaf install /tmp/redroot/leaf/etc/yum.repos.d/socat-1.7.4.1-5.apps.rpbatz_1.2.aarch64.rpm
Updated by José Bollo 1 day ago
- Related to Bug #188: installation in rednodes using redwrap-dnf (or redmicrodnf in nodes) seems broken in redpak 2.4 added
Updated by José Bollo 1 day ago
- Related to Bug #191: improve redmicrodnf plugin for rpm directories added
Actions