[rrd-developers] [PATCH] rrdcached: Improved the "base-dir symlink check".
Tobias Oetiker
tobi at oetiker.ch
Sun Oct 4 13:29:59 CEST 2009
Hi Sebastian,
Yesterday Sebastian Harl wrote:
> The daemon checks if the specified base directory contains symlinks by
> comparing the canonicalized path name (by realpath()) with the path name
> specified on the command line. The GNU libc's implementation of realpath()
> removed trailing slashes ('/') from the pathname. Thus, specifying a base
> directory with a trailing slash results in rrdcached aborting, complaining
> about an invalid base directory, which is quite annoying imho. Now, trailing
> slashes are removed before comparing the two path names.
thanks ... applied
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers
mailing list