Nightly builds of the DNF stack with sanitizers switched on. For debugging purposes, not to be used in production.
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 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.
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
|Epel for CentOS 8||x86_64 [modified] (0)*||Epel for CentOS 8 (67 downloads)|
|Fedora 30||x86_64 (0)*||Fedora 30 (0 downloads)|
|Fedora 31||x86_64 (0)*||Fedora 31 (0 downloads)|
|Fedora 32||x86_64 [modified] (0)*||Fedora 32 (71 downloads)|
|Fedora 33||x86_64 [modified] (0)*||Fedora 33 (51 downloads)|
|Fedora rawhide||x86_64 [modified] (0)*||Fedora rawhide (71 downloads)|
* Total number of packages downloaded in the last seven days.