[php-maint] Bug#624280: php5-fpm depends on a directory that it doesn't supply

Michael Lustfield mtecknology at ubuntu.com
Tue Apr 12 09:16:27 UTC 2011


Package: php5-fpm
Severity: important


PHP5-FPM has a default pool for www that is also enabled by default. It depends on /var/www existing. However, it does not provide this directory which it depends on. If someone has not created this directory or another package has not created it for them, this will cause php5-fpm to output errors and be unable to start after installing.

This package could either provide the directory (/var/www) that it is depending on or it could instead not depend on that directory. According to Debian policy [1], this directory should not be used by packages anyway so the better solution would be to not depend on the directory.

[1] http://lintian.debian.org/tags/dir-or-file-in-var-www.html

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty-backports'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-7-server (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-php-maint mailing list