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] (6453)* EPEL 8 (298 downloads)
Fedora 38 x86_64 (6974)* Fedora 38 (0 downloads)
Fedora 39 x86_64 [modified] (4852)* Fedora 39 (63 downloads)
Fedora 40 x86_64 [modified] (1746)* Fedora 40 (36 downloads)
Fedora 41 x86_64 [modified] (1509)* Fedora 41 (12 downloads)
Fedora rawhide x86_64 [modified] (12306)* Fedora rawhide (292 downloads)

* Total number of downloaded packages.


Quick Enable

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

Other Actions