Description

Nightly builds of the DNF stack with sanitizers switched on. For debugging purposes, not to be used in production.

Installation Instructions

To enable the sanitizer builds:

dnf copr enable rpmsoftwaremanagement/dnf-nightly-sanitizers dnf update dnf libdnf

To revert to the default dnf stack:

dnf copr disable rpmsoftwaremanagement/dnf-nightly-sanitizers dnf distro-sync dnf libdnf # make sure the list of downgraded packages matches those that were upgraded from dnf-nightly-sanitizers

Note: By mistake the repository actually did not have its packages built with sanitizers until recently. After really building libdnf with sanitizers, an environment variable needs to be set for dnf to run: ASAN_OPTIONS=verify_asan_link_order=0. Otherwise, you will get this error:

==49073==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

For convenience, the sanitizer-enabled libdnf package installs a wrapper to /etc/profile.d which sets this environment variable for dnf. The wrapper, however, doesn't work with sudo unless you call sudo -i. sudo -i uses a login shell, which sources /etc/profile.d, but it also switches the current working directory of the shell to /root, so any dnf invocation operating on a file with path relative to your current directory will fail. How simple is that, right? You can of course set the environment variable yourself in any way that is more convenient.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 8 x86_64 [modified] (6694)* EPEL 8 (302 downloads)
Fedora 39 x86_64 (5491)* Fedora 39 (0 downloads)
Fedora 40 x86_64 [modified] (2390)* Fedora 40 (40 downloads)
Fedora 41 x86_64 [modified] (2120)* Fedora 41 (18 downloads)
Fedora rawhide x86_64 [modified] (12844)* Fedora rawhide (295 downloads)

* Total number of downloaded packages.


Quick Enable

#> dnf copr enable rpmsoftwaremanagement/dnf-nightly-sanitizers
More info about enabling Copr repositories

Other Actions