keepalived problems with -f files

"Todd D. Taft" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Keepalived doesn't seem to be producing any errors or warnings if it's 
passed a bad filename with the -f flag.

I've been trying to debug what I think may be a configuration issue with 
alternative configuration files, and I've been trying to run it with 
"keepalived -n -D -l -f <filename>".

I've discovered that I don't see any sort of warning or error if 
<filename> contains a (syntactically) invalid configuration, or even if 
the file doesn't exist.

I've also noticed that <filename> doesn't seem to resolve relative 
paths.  If I'm in the /etc/keepalived directory, running "keepalived -n 
-D -l -f keepalived.conf-test" won't read the file, but "keepalived -n 
-D -l -f /etc/keepalived/keepalived.conf-test" will read the file.

I'm running keepalived on Ubuntu 14.04.  I originally noticed these 
issues with the version packaged by the OS (1:1.2.7-1ubuntu1), but I'm 
still seeing the same behavior on the 1.2.15 version that I downloaded 
and compiled myself.

-- 
Todd D. Taft
[email protected]
Linux/UNIX System Administrator
UNC College of Arts and Sciences


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.