[Pkg-roundcube-maintainers] Bug#629032: Please link the whole configuration directory

martin f krafft madduck at debian.org
Fri Jun 3 06:15:55 UTC 2011


Package: roundcube
Version: 0.5.2+dfsg-1~bpo60+1
Severity: wishlist

As far as I can tell, roundcube currently symlinks individual config files vom
/var/lib/roundcube/config to /etc/roundcube. When using
include_host_config, this means that one has to manually create
symlinks in /var/lib/roundcube/config for the individual host
configuration files.

A better approach would be to symlink the whole directory
/var/lib/roundcube/config to /etc/roundcube.

When doing this, be aware that the current install scripts need to
be modified. I have aforementioned directory symlink in place and
the last upgrade wreaked havoc and overwrite my configuration:

  Setting up roundcube-core (0.5.2+dfsg-1~bpo60+1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
  dbconfig-common: flushing administrative password
  chown: cannot dereference `/etc/roundcube/main.inc.php': Too many levels of symbolic links
  […]

A look into /etc/roundcube reveals the problem:

  # ls -l
  total 140
  -rw-r--r--  1 root root      1322 Aug 20  2010 apache.conf
  lrwxrwxrwx  1 root root        25 Jun  3 07:53 db.inc.php -> /etc/roundcube/db.inc.php
  -rw-r-----  1 root www-data   566 May 28 10:29 debian-db.php
  -rw-------  1 root root       548 Jun  3 08:03 debian-db.php.ucf-dist
  -rw-r--r--  1 root root      1145 Apr 23 23:21 htaccess
  -rw-r--r--  1 root root       567 Feb 13  2010 lighttpd.conf
  lrwxrwxrwx  1 root root        27 Jun  3 07:53 main.inc.php -> /etc/roundcube/main.inc.php
  -rw-r-----  1 root root     51558 Jun  3 08:03 main.inc.php.ucf-dist
  -rw-r-----  1 root root     51558 Jun  3 08:03 main.inc.php.ucftmp
  lrwxrwxrwx  1 root root        28 Jun  3 07:53 mimetypes.php -> /etc/roundcube/mimetypes.php
  drwxr-xr-x 10 root root      4096 May 30 08:56 plugins
  drwxr-xr-x  4 root root      4096 May 31 07:59 skins
  -rw-r-----  1 root www-data  1637 May 31 07:49 webmail.XXXXXXXXXXXXX.inc.php
  -rw-r-----  1 root www-data  1771 May 31 07:58 webmail.XXXXXXXXXXX.inc.php
  -rw-r-----  1 root www-data  1872 May 31 07:32 webmail.XXXXXXXXXXX.inc.php
  -rw-r-----  1 root www-data  2100 May 31 07:33 webmail.XXXXXXXXXX.inc.php

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20110603/191c7d10/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list