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 for CentOS 8 x86_64 [modified] (9)* Epel for CentOS 8 (66 downloads)
Fedora 30 x86_64 (0)* Fedora 30 (0 downloads)
Fedora 31 x86_64 (0)* Fedora 31 (0 downloads)
Fedora 32 x86_64 [modified] (3)* Fedora 32 (70 downloads)
Fedora 33 x86_64 [modified] (1)* Fedora 33 (50 downloads)
Fedora rawhide x86_64 [modified] (0)* Fedora rawhide (69 downloads)

* Total number of packages downloaded in the last seven days.


Quick Enable

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

Other Actions