summaryrefslogtreecommitdiffstats
path: root/tags/b/bin-sbin-mismatch.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/b/bin-sbin-mismatch.tag')
-rw-r--r--tags/b/bin-sbin-mismatch.tag17
1 files changed, 17 insertions, 0 deletions
diff --git a/tags/b/bin-sbin-mismatch.tag b/tags/b/bin-sbin-mismatch.tag
new file mode 100644
index 0000000..2dc0ea3
--- /dev/null
+++ b/tags/b/bin-sbin-mismatch.tag
@@ -0,0 +1,17 @@
+Tag: bin-sbin-mismatch
+Severity: info
+Check: files/contents
+Experimental: yes
+Explanation: The package installs a binary under <code>/usr/sbin</code> or
+ <code>/sbin</code> but the specified file or maintainer script appears to
+ incorrectly reference it under <code>/usr/bin</code> or <code>/bin</code>.
+ .
+ This is likely due to the maintainer identifying that the package
+ requires root privileges or similar and thus installing the files to
+ the <code>sbin</code> variant, but the package has not been comprehensively
+ or completely updated to match.
+ .
+ For ELF files, false positives could be related to the <code>SHF&lowbar;MERGE</code>
+ option to <code>ld</code>. The option saves space by providing different
+ start indices into the same static location in object files.
+ Unfortunately, the sub-string information is lost in that process.