Source: gosa
Version: 2.7.4-4
Severity: serious
Justification: failure to install/purge

gosa Depends: apache2 | lighttpd | httpd

Calls to things like "invoke-rc.d apache2 reload" in gosa postinst/postrm are
guarded by a check for /etc/apache2/conf.d. However, this directory can be
created by various packages distributing configuration snippets for Apache
and is not reliable for testing Apache's presence (e.g. mediawiki, php...)

If Apache is not installed because lighttpd or httpd satisfy the dependency,
installation fails when the postinst bails out.

The tip-off to this should have been #634757, but I did not see the full
implications until I removed Apache and installed nginx, and then tried to
remove gosa.

It looks like similar logic is used for the guards around calls to lighttpd,
but I have not investigated this in depth.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to