summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* config: add comments to match current example.confdev-dct-config-comments2David Teigland2015-05-151-91/+91
| | | | | | | | | | | | | | | | | | | | Use CFG_DEFAULT_COMMENTED and CFG_DEFAULT_UNDEFINED to replicate the existing comments in example.conf. Fix host_list to be cfg_array. UNDEFINED is only used if the value depends on other system/kernel values outside of lvm. The most common case is when dm-thin or dm-cache have built-in default settings in the kernel, and lvm will use those built-in default values unless the corresponding lvm config setting is set. COMMENTED is used to comment out the default setting in lvm.conf. The effect is that if the LVM version is upgraded, and the new version of LVM has new built-in default values, the new defaults are used by LVM unless the previous default value was set (uncommented) in lvm.conf.
* lvm.conf: add more information to the comment headerDavid Teigland2015-05-141-0/+11
|
* config: description can refer to etc locationDavid Teigland2015-05-141-1/+1
|
* config: avoid configurable description textDavid Teigland2015-05-141-1/+1
| | | | | It's just simpler to avoid configurable values in the description text by rewording to avoid them.
* nix: socat for f18, nc for f17Zdenek Kabelac2015-05-141-3/+4
| | | | Use common f17_f18 and add extras for f17 and f18
* makefiles: disable po file targesZdenek Kabelac2015-05-141-1/+1
| | | | po targets are not correct - so disable them for now.
* makefiles: use srcdirZdenek Kabelac2015-05-141-2/+2
| | | | | Use -I$(srcdir) as that's what we really want here. For %.pot use all includes.
* nix: drop util-linuxZdenek Kabelac2015-05-141-1/+0
| | | | Doesn't appear on centos???
* nix: add more packagesZdenek Kabelac2015-05-141-1/+3
|
* spec: package old sysv initscript for lvmpolldZdenek Kabelac2015-05-141-0/+3
|
* nix: add pkgconfigZdenek Kabelac2015-05-141-0/+1
| | | | Install for better config
* tests: respect @CONFDIR@/machine-idZdenek Kabelac2015-05-141-5/+7
| | | | | | Obtain location of machine-id. NOTE: lvmconfig cannot dump 'life' value - should be fixed.
* tests: do not use |&Zdenek Kabelac2015-05-148-19/+19
| | | | | Bash 3.2 doesn't understand this syntax (i.e. RHEL5). And it's even better - reports syntax error and return success.
* nix: socat is quite new packageZdenek Kabelac2015-05-141-3/+3
| | | | | Install 'nc' on older systems. Test suite handles both.
* conf: system_id_source is referencing CONFDIRZdenek Kabelac2015-05-142-2/+2
| | | | | Since we allow to configure /etc in configure and compile-in dir for /etc we need to properly advertise this location later.
* makefiles: protect CFLAGSZdenek Kabelac2015-05-141-4/+13
| | | | | When CFLAGS and LDFLAGS are passed into - protect them, and avoid even recursive subdir 'extension' of them.
* makefiles: assign vars before includeZdenek Kabelac2015-05-141-3/+4
| | | | | Before we include, set INCLUDE and TARGETS. Extend CFLAGS after include.
* makefiles: drop DEBUG manglingZdenek Kabelac2015-05-141-4/+0
| | | | DEBUG is already set through make.tmpl.
* configure: set optimize flags when CFLAGS is unsetZdenek Kabelac2015-05-142-6/+4
| | | | | If we are given CFLAGS - preserve user's request and avoid placing just -O2 there.
* configure: preserve CXX/CFLAGSZdenek Kabelac2015-05-142-0/+8
| | | | | | | AC_PROG_CC AC_PROG_CXX Does not preserve CFLAGS CXXFLAGS
* nix: fix socat package nameZdenek Kabelac2015-05-141-1/+1
|
* makefiles: use fullpath when in assignZdenek Kabelac2015-05-142-2/+3
| | | | | | | | | We need to put full path right in the assign moment, otherwise command: make rpm rpmbuild=/my/tmp/dir cannot work as one would have expected.
* makefiles: testclient is not valid targetZdenek Kabelac2015-05-141-1/+1
|
* makefiles: drop way too generic depsZdenek Kabelac2015-05-141-2/+0
|
* libdaemon: Fix socket reuse error paths.Alasdair G Kergon2015-05-132-3/+4
| | | | | | Invert S_ISSOCK validation. Fail instead of replacing a symlink with a new socket. After failure, skip calling fcntl with invalid socket_fd.
* configure: start to use AS_IFZdenek Kabelac2015-05-132-8/+20
|
* nix: more base packagesZdenek Kabelac2015-05-131-4/+6
|
* spec: packaging polldZdenek Kabelac2015-05-133-27/+20
| | | | | | Package lvmpolld Drop legacy SysV init subpackage.
* lvmpolld: dump cleanupOndrej Kozina2015-05-121-1/+1
|
* lvmpolld-client.c: use lvmpolld debug class where appropriateOndrej Kozina2015-05-121-4/+8
|
* tests: remove forgotten -vvvv optionOndrej Kozina2015-05-121-2/+1
|
* libdm-common.c: remove trailing whitespaceOndrej Kozina2015-05-121-2/+2
|
* lvmpolld-client.c: be more specific about fallback on errorOndrej Kozina2015-05-121-6/+17
| | | | | | if client fails to contact lvmpolld it fallbacks to using classical polldaemon. Be more specific and give some hints to users what went possibly wrong
* new debug class for lvmpolld client codeOndrej Kozina2015-05-125-5/+10
|
* lvmpolld.8.in: clarify the timeout parameterOndrej Kozina2015-05-121-5/+2
| | | | | | Remove references to systemd native service. Now the libdaemon supports shutdown on idle no matter the init process implementation installed.
* libdaemon: shutdown on idle also in non-systemd environmentOndrej Kozina2015-05-122-2/+3
|
* tests: ndev by defaultZdenek Kabelac2015-05-121-1/+1
|
* configure: spec.inc is generated at buildZdenek Kabelac2015-05-123-116/+1
| | | | Collect all needed info at runtime for spec.inc
* makefiles: use LN_SZdenek Kabelac2015-05-121-15/+15
|
* makefiles: runtime spec.incZdenek Kabelac2015-05-123-14/+26
| | | | | | | Support CLEAN_DIRS Var for rpmbuilddir Use LN_S Generate spec.inc at runtime for 'make rpm'.
* tests: remove forgotten set -v in auxOndrej Kozina2015-05-111-1/+0
|
* lvmpolld: by default spawn lvpoll cmd with -AnOndrej Kozina2015-05-112-1/+6
|
* lvmpolld: set use counters properly in lvmpolld_storeOndrej Kozina2015-05-111-0/+1
| | | | set active_polling_count to zero in pdst_init fn
* lib/polldaemon.h: remove trailing whitespaceOndrej Kozina2015-05-111-1/+1
|
* lvmdump.sh: print out lvmpolld service statusOndrej Kozina2015-05-111-1/+1
|
* tests: split flavoursZdenek Kabelac2015-05-111-5/+13
| | | | | Remove duplicate flavour-udev-lvmetad-lvmpolld and put them 1-per-line.
* nix: now some files are generate so keep themZdenek Kabelac2015-05-111-1/+1
| | | | more tweaks ahead
* vgimport: fall back when lvmetad is not runningDavid Teigland2015-05-111-1/+1
| | | | | | | If lvmetad is configured, but not running, vgimport would not fall back and run without lvmetad, but would report an error about requiring lvmetad.
* tests: typo in auxZdenek Kabelac2015-05-111-1/+1
| | | | Ooops editor grabbed q in test.
* makefiles: move cleanZdenek Kabelac2015-05-111-2/+2
| | | | Move clean: target below, so it's not a default target to execute.