Commit Graph

33 Commits

Author SHA1 Message Date
Ryan McCabe
623f5cfd49 fence-virt: Fix small memory leak in the config module
Fix a small memory leak in the simpleconfig module.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2014-06-23 15:56:09 -04:00
Ryan McCabe
7774713dce fence-virt: Fix possible null pointer dereference
Fix a possible null pointer dereference in the config parser.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-17 13:20:22 -04:00
Ryan McCabe
9b8bc5ba1c fence-virt: Fix return with lock held
Release the parser mutex before returning if malloc
fails.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-17 13:17:22 -04:00
Lon Hohberger
af48d0405f Add 'interface' directive to example.conf
Fedora systems require this.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-07 16:18:55 -05:00
Lon Hohberger
3f65274331 Use libvirt as default in shipped config
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-07 11:19:57 -05:00
Lon Hohberger
f38f9327d8 Allow IPs to be members of groups
This allows fencing requests with the appropriate
key file to control VMs assigned to the same
group.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 15:00:43 -05:00
Lon Hohberger
2edeb6dfe8 Allow use of static mappings w/ mcast listener
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 13:38:37 -05:00
Lon Hohberger
1a1c02b11d Fix up help text for clients
* Output defaults from includes rather than static text
* Add simple wrapping functions for help text

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:18:41 -05:00
Lon Hohberger
42af98aa99 Fix multiple query code
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 18:17:03 -05:00
Lon Hohberger
2643994886 Better config query & multiple value/tag support
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 16:40:31 -05:00
Lon Hohberger
6502600674 Add simple configuration mode
This adds a simple configuration utility so that users
may easily configure fence_virtd.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-06 17:03:55 -05:00
Lon Hohberger
2913b3d30c More minor config cleanups 2010-01-06 14:44:19 -05:00
Lon Hohberger
d8f28a786f Allow setting config values to NULL to clear them 2010-01-06 14:39:16 -05:00
Lon Hohberger
d8b740dbf2 Clean up example config file 2010-01-06 14:38:49 -05:00
Lon Hohberger
22a2dd65f3 Clean up some configuration plugin information
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:12:21 -05:00
Lon Hohberger
4f870c4fd0 Make symlink/compatibilty mode disabled by default
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-23 12:04:32 -04:00
Lon Hohberger
f0872cbdeb Example config tweaks
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:27:49 -04:00
Lon Hohberger
d8f91dfe3a Use sysconfdir for /etc/fence_virt.conf
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:21:14 -04:00
Lon Hohberger
9931f5f4e7 Fix package name and install locations
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:16:24 -04:00
Lon Hohberger
705b5a18d7 Fix build errors on Fedora
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:11:08 -04:00
Lon Hohberger
906b0f62b9 Initial port to autoconf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:25:02 -04:00
Lon Hohberger
51f06f5ce3 Include missing include
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:26:04 -04:00
Lon Hohberger
da7d3f4c9d Make debugging work from modules again
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 17:45:38 -04:00
Lon Hohberger
5ac3d57341 Cleanups, add daemon support
- fix log messages
- add daemon support
- add foreground support
- log bits to syslog when we fail post-fork

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 19:26:08 -04:00
Lon Hohberger
5beaad3390 Make all plugins dynamically loaded.
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 18:54:17 -04:00
Lon Hohberger
ddc8c75e2d Move name_mode to fence_virtd block
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:39:01 -04:00
Lon Hohberger
a12da25998 Add name_mode to example.conf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:33:49 -04:00
Lon Hohberger
ca6ba1b768 Fix empty node parsing
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:36:40 -04:00
Lon Hohberger
5a0f12de3a Fix install targets 2009-08-21 14:23:36 -04:00
root
ab2917fa71 Don't overwrite config files 2009-08-21 14:16:44 -04:00
Lon Hohberger
6ff52eecf9 Fix config file name 2009-08-21 14:07:56 -04:00
Lon Hohberger
d7f7dec3ec Add temporary 'make install' target 2009-08-21 14:05:48 -04:00
Lon Hohberger
61e0cc19c9 Integrate config file processing
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-17 16:53:58 -04:00