diff options
Diffstat (limited to 'tags/p/package-modifies-ld.so-search-path.tag')
-rw-r--r-- | tags/p/package-modifies-ld.so-search-path.tag | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tags/p/package-modifies-ld.so-search-path.tag b/tags/p/package-modifies-ld.so-search-path.tag new file mode 100644 index 0000000..18774c6 --- /dev/null +++ b/tags/p/package-modifies-ld.so-search-path.tag @@ -0,0 +1,15 @@ +Tag: package-modifies-ld.so-search-path +Severity: error +Check: files/ld-so +Explanation: The package changes the search path for the runtime linker, but is + not part of <code>libc</code>. The offending file is in + <code>/etc/ld.so.conf.d</code>. + . + It is not okay to install libraries in a different directory and then + modify the run-time link path. Shared libraries should go into + <code>/usr/lib</code>. Alternatively, they can require binaries to set the + <code>RPATH</code> to find the library. + . + Without this precaution, conflicting libraries may trigger segmentation + faults for what should have been a conflict in the package manager. +See-Also: debian-policy 10.2 |