LINTIAN

# `dir-or-file-in-srv`

Debian packages should install nothing into `/srv`.

The specification for `/srv` 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 `/srv`, it must do so in a way that permits the local administrator to select the folder (for example, through post-install configuration, setup scripts, `debconf` prompts, or similar).

Severity: | `error`
Experimental: | `false`

## See also

- /srv : Data for services provided by this system (Section 3.17) in the Filesystem Hierarchy Standard

- list of all the affected packages
- the source of this tag