Your message dated Tue, 20 Jul 2010 22:40:35 -0400
with message-id <20100721024035.gb27...@localhost>
and subject line Re: Bug#582294: approx: Doesn't handle recursive symlinks
has caused the Debian Bug report #582294,
regarding approx doesn't handle symlinks properly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
582294: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582294
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: approx
Version: 4.2-1
Severity: normal
I|m mirroring a Repository, which contains a symlink
/var/cache/approx/univention/univention-repository linking to ".".
/usr/sbin/approx-gc does follow this links and recurses until the path
gets too long:
/var/cache/approx/univention/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/univention-repository/2.3/maintained/sec3/amd64/linux-libc-dev_2.6.30-3.30.201004121554_amd64.deb
approx-gc probably shouldn't follow sym-links as all.
BYtE
Philipp
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages approx depends on:
ii adduser 3.112 add and remove users and groups
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii curl 7.20.1-2 Get a file from an HTTP, HTTPS or
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii libc6 2.10.2-8 Embedded GNU C Library: Shared lib
ii libpcre3 8.02-1 Perl 5 Compatible Regular Expressi
ii openbsd-inetd [inet-superse 0.20080125-4 The OpenBSD Internet Superserver
ii update-inetd 4.36 inetd configuration file updater
approx recommends no packages.
Versions of packages approx suggests:
pn libconfig-model-approx-perl <none> (no description available)
-- Configuration Files:
/etc/approx/approx.conf changed [not included]
-- debconf information excluded
--- End Message ---
--- Begin Message ---
On Sun, Jul 04, 2010 at 11:42:09AM -0300, Rogério Brito wrote:
> Please, pardon my defficiencies of reading non-mainstream computer
> languages, but, if I understood the code correctly, you completely
> removed the possibility of using symlinks for the approx cache.
>
> This broke approx 4.3 for users that maintain /var/cache/approx as a
> symlink to another filesystem:
> [...]
> Of course, detecting if a symlink creates a directed cycle in the
> filesystem is a PITA, but the case above is an easy one.
>
> OTOH, rejecting any possibility of symlinks seems wrong in principle.
I forgot to include this in the changelog of the latest version
(4.4-1), but this should be fixed now. I added full cycle detection when
doing a filesystem tree-walk, so arbitrary symlinks should be OK.
Cheers,
Eric
--
Eric Cooper e c c @ c m u . e d u
--- End Message ---