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] (5852)* EPEL 8 (263 downloads)
Fedora 37 x86_64 (27593)* Fedora 37 (0 downloads)
Fedora 38 x86_64 [modified] (6891)* Fedora 38 (49 downloads)
Fedora 39 x86_64 [modified] (2917)* Fedora 39 (31 downloads)
Fedora 40 x86_64 [modified] (142)* Fedora 40 (8 downloads)
Fedora rawhide x86_64 [modified] (10934)* Fedora rawhide (254 downloads)

* Total number of downloaded packages.


Quick Enable

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

Other Actions