summaryrefslogtreecommitdiffstats
path: root/tags/d/dir-or-file-in-srv.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/dir-or-file-in-srv.tag')
-rw-r--r--tags/d/dir-or-file-in-srv.tag18
1 files changed, 18 insertions, 0 deletions
diff --git a/tags/d/dir-or-file-in-srv.tag b/tags/d/dir-or-file-in-srv.tag
new file mode 100644
index 0000000..afdd4ff
--- /dev/null
+++ b/tags/d/dir-or-file-in-srv.tag
@@ -0,0 +1,18 @@
+Tag: dir-or-file-in-srv
+Severity: error
+Check: files/hierarchy/standard
+Explanation: Debian packages should install nothing into <code>/srv</code>.
+ .
+ The specification for <code>/srv</code> states that its use is at the
+ discretion of the local administrator. No package should rely on a
+ particular layout.
+ .
+ Debian packages that install files there are unable to adjust to any local
+ policy. They force a local administrator's hand.
+ .
+ If a package wishes to place data below <code>/srv</code>, it must do so in
+ a way that permits the local administrator to select the folder (for
+ example, through post-install configuration, setup scripts,
+ <code>debconf</code> prompts, or similar).
+See-Also:
+ filesystem-hierarchy srvdataforservicesprovidedbysystem