[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480893: /usr/sbin/a2dissite: should be able to remove dead symlinks



Package: apache2.2-common
Version: 2.2.8-3
Severity: normal
File: /usr/sbin/a2dissite

Hi, 

a2dissite should be able to remove dead symlinks pointing from
sites-enabled to a no longer existant file in sites-available.
(bash_completion already gives you a proper list of sites from
sites-anabled)

E.g.:

  # ls -la /etc/apache2/sites-*/foobar

lrwxrwxrwx 1 root root 35 2008-05-12 17:33
/etc/apache2/sites-enabled/foobar -> /etc/apache2/sites-available/foobar

But then you get the error message:

  # a2dissite foobar

Site foobar does not exist!


Andreas

-- Package-specific info:
Config file syntax check failed.
List of /etc/apache2/mods-enabled/*.load:
  actions alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi dir* env mime negotiation php5
  rewrite setenvif ssl status userdir
  (A * means that the .conf file for that module is not enabled in
   /etc/apache2/mods-enabled/)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (130, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2.2-common depends on:
ii  apache2-utils          2.2.8-3           utility programs for webservers
ii  libapr1                1.2.12-2          The Apache Portable Runtime Librar
ii  libaprutil1            1.2.12+dfsg-3     The Apache Portable Runtime Utilit
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libmagic1              4.24-2            File type determination library us
ii  libssl0.9.8            0.9.8g-10         SSL shared libraries
ii  lsb-base               3.2-11            Linux Standard Base 3.2 init scrip
ii  mime-support           3.40-1.1          MIME files 'mime.types' & 'mailcap
ii  net-tools              1.60-19           The NET-3 networking toolkit
ii  procps                 1:3.2.7-8         /proc file system utilities
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

apache2.2-common recommends no packages.

Versions of packages apache2.2-common is related to:
pn  apache2-mpm-event             <none>     (no description available)
pn  apache2-mpm-itk               <none>     (no description available)
ii  apache2-mpm-prefork           2.2.8-3    Traditional model for Apache HTTPD
pn  apache2-mpm-worker            <none>     (no description available)

-- no debconf information



Reply to: