diff options
author | Basavanagowda Kanur <gowda@gluster.com> | 2009-07-28 00:52:56 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-28 13:25:02 -0700 |
commit | a4c6e7c816fa9dfbed07a30af56a4ada824ce40b (patch) | |
tree | 01f90dbe6d6e8f2d1c54b8e5638e668a8f232ca5 /booster | |
parent | 8225fd2307d8a5a9bba4f21b5534b8469f679605 (diff) |
glusterfsd: handle logfile path specification appropriately.
when logfile path is not specified as absolute path, the symbolic
link created to the logfile (only in invocation of glusterfs with
--run-id) might end up as a broken symbolic link.
for example, command-line invocation like below will result in
broken symbolic link:
glusterfsd -f /home/glusterfs/volfiles/nufa/nufa.vol
-l ../home/glusterfs/logs/nufa.f1.log --run-id nufatest /mnt/nufa/
symbolic link will be created at $PWD/../home/glusterfs/logs/nufa.f1.log
will have a value of ../home/glusterfs/logs/nufa.f1.log.<date>.<time>.<pid>.
this symlink might be broken.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 156 (Broken symbolic link when relative path is given for a log file)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=156
Diffstat (limited to 'booster')
0 files changed, 0 insertions, 0 deletions