[pkg-lighttpd] Bug#468297: Postinst script takes too long

Michal Čihař nijel at debian.org
Thu Feb 28 08:44:17 UTC 2008


Package: lighttpd
Version: 1.4.18-2
Severity: normal

Hi

doing 'chown www-data:www-data -R /var/cache/lighttpd' unconditionally
in postinst is IMHO quite bad idea. It is not unusual that this cache
contains lot of files and it makes postinst take very long. Furthermore
all files in this directory were created by lighttpd so they already
have proper owner.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-4-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1               1:2.4.41-1        Extended attribute shared library
ii  libbz2-1.0             1.0.4-3           high-quality block-sorting file co
ii  libc6                  2.7-9             GNU C Library: Shared libraries
ii  libfam0                2.7.0-13.1        Client library to control the FAM 
ii  libldap-2.4-2          2.4.7-5           OpenLDAP libraries
ii  libpcre3               7.6-2             Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8g-7          SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.1-24            Linux Standard Base 3.1 init scrip
ii  mime-support           3.40-1.1          MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

lighttpd recommends no packages.

-- no debconf information





More information about the pkg-lighttpd-maintainers mailing list