[Pkg-mailman-hackers] Bug#408855: mailman logs symlink is relative instead of absolute, doesn't match others

Lionel Elie Mamane lionel at mamane.lu
Mon Jan 29 18:14:31 CET 2007


retitle 408855 Fails to run if /var/log is a symlink.
thanks

On Sun, Jan 28, 2007 at 02:28:43PM -0500, Paul Schreiber wrote:

> # ls -l /var/lib/mailman
> lrwxrwxrwx  1 root root   17 Jan 27 18:30 logs -> ../../log/mailman

> logs should be a link to /var/log/mailman:
> lrwxrwxrwx  1 root list   16 Jan 28 01:36 logs -> /var/log/mailman/

Debian policy says that "In general, symbolic links within a top-level
directory should be relative". We can deviate from that if there is a
good reason for it (that's why it says "in general").

> if you move your logs directory and symlink it back (my logs
> directory is /data/log, symlinked to /var/log), mailman fails to
> run.

Hu? Why is that? Linux, the kernel, follows two levels of symlinks, so
there is no reason for mailman failing just because /var/log is a
symlink instead of a directory.

I'll try to setup a testing environment to reproduce and correct that
problem. Did "ls /var/lib/mailman/logs/" work before you changed the
symlink?

-- 
Lionel




More information about the Pkg-mailman-hackers mailing list