[acassen/keepalived] e8d3d9: Report and exit if configuration file(s) not found...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <572a10424b5e6_41843fcea95db29c44732@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: e8d3d9d1e45cc5b28a5538c5cab15def01cd902c
      https://github.com/acassen/keepalived/commit/e8d3d9d1e45cc5b28a5538c5cab15def01cd902c
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-04 (Wed, 04 May 2016)

  Changed paths:
    M keepalived/core/main.c
    M lib/parser.c
    M lib/parser.h

  Log Message:
  -----------
  Report and exit if configuration file(s) not found/readable

The configuration file is treated as a pattern, and processed
using glob(). If there is no matching file, then it wasn't reading
any file, and keepalived was running with no configuration.

This patch adds a specific check that there is at least one matching
file, and also checks that all the configuration files are readable,
otherwise it reports an error and terminates.

This resolves issue #304

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 1ab890106b278421fe8444866f6dce0b130958af
      https://github.com/acassen/keepalived/commit/1ab890106b278421fe8444866f6dce0b130958af
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-05-04 (Wed, 04 May 2016)

  Changed paths:
    M keepalived/core/main.c
    M lib/parser.c
    M lib/parser.h

  Log Message:
  -----------
  Merge pull request #314 from pqarmitage/fixes

Report and exit if configuration file(s) not found/readable


Compare: https://github.com/acassen/keepalived/compare/c08657f8f1b1...1ab890106b27

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
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.