Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: add comments to match current example.confdev-dct-config-comments2 | David Teigland | 2015-05-15 | 1 | -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 header | David Teigland | 2015-05-14 | 1 | -0/+11 |
| | |||||
* | config: description can refer to etc location | David Teigland | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | config: avoid configurable description text | David Teigland | 2015-05-14 | 1 | -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 f17 | Zdenek Kabelac | 2015-05-14 | 1 | -3/+4 |
| | | | | Use common f17_f18 and add extras for f17 and f18 | ||||
* | makefiles: disable po file targes | Zdenek Kabelac | 2015-05-14 | 1 | -1/+1 |
| | | | | po targets are not correct - so disable them for now. | ||||
* | makefiles: use srcdir | Zdenek Kabelac | 2015-05-14 | 1 | -2/+2 |
| | | | | | Use -I$(srcdir) as that's what we really want here. For %.pot use all includes. | ||||
* | nix: drop util-linux | Zdenek Kabelac | 2015-05-14 | 1 | -1/+0 |
| | | | | Doesn't appear on centos??? | ||||
* | nix: add more packages | Zdenek Kabelac | 2015-05-14 | 1 | -1/+3 |
| | |||||
* | spec: package old sysv initscript for lvmpolld | Zdenek Kabelac | 2015-05-14 | 1 | -0/+3 |
| | |||||
* | nix: add pkgconfig | Zdenek Kabelac | 2015-05-14 | 1 | -0/+1 |
| | | | | Install for better config | ||||
* | tests: respect @CONFDIR@/machine-id | Zdenek Kabelac | 2015-05-14 | 1 | -5/+7 |
| | | | | | | Obtain location of machine-id. NOTE: lvmconfig cannot dump 'life' value - should be fixed. | ||||
* | tests: do not use |& | Zdenek Kabelac | 2015-05-14 | 8 | -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 package | Zdenek Kabelac | 2015-05-14 | 1 | -3/+3 |
| | | | | | Install 'nc' on older systems. Test suite handles both. | ||||
* | conf: system_id_source is referencing CONFDIR | Zdenek Kabelac | 2015-05-14 | 2 | -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 CFLAGS | Zdenek Kabelac | 2015-05-14 | 1 | -4/+13 |
| | | | | | When CFLAGS and LDFLAGS are passed into - protect them, and avoid even recursive subdir 'extension' of them. | ||||
* | makefiles: assign vars before include | Zdenek Kabelac | 2015-05-14 | 1 | -3/+4 |
| | | | | | Before we include, set INCLUDE and TARGETS. Extend CFLAGS after include. | ||||
* | makefiles: drop DEBUG mangling | Zdenek Kabelac | 2015-05-14 | 1 | -4/+0 |
| | | | | DEBUG is already set through make.tmpl. | ||||
* | configure: set optimize flags when CFLAGS is unset | Zdenek Kabelac | 2015-05-14 | 2 | -6/+4 |
| | | | | | If we are given CFLAGS - preserve user's request and avoid placing just -O2 there. | ||||
* | configure: preserve CXX/CFLAGS | Zdenek Kabelac | 2015-05-14 | 2 | -0/+8 |
| | | | | | | | AC_PROG_CC AC_PROG_CXX Does not preserve CFLAGS CXXFLAGS | ||||
* | nix: fix socat package name | Zdenek Kabelac | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | makefiles: use fullpath when in assign | Zdenek Kabelac | 2015-05-14 | 2 | -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 target | Zdenek Kabelac | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | makefiles: drop way too generic deps | Zdenek Kabelac | 2015-05-14 | 1 | -2/+0 |
| | |||||
* | libdaemon: Fix socket reuse error paths. | Alasdair G Kergon | 2015-05-13 | 2 | -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_IF | Zdenek Kabelac | 2015-05-13 | 2 | -8/+20 |
| | |||||
* | nix: more base packages | Zdenek Kabelac | 2015-05-13 | 1 | -4/+6 |
| | |||||
* | spec: packaging polld | Zdenek Kabelac | 2015-05-13 | 3 | -27/+20 |
| | | | | | | Package lvmpolld Drop legacy SysV init subpackage. | ||||
* | lvmpolld: dump cleanup | Ondrej Kozina | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | lvmpolld-client.c: use lvmpolld debug class where appropriate | Ondrej Kozina | 2015-05-12 | 1 | -4/+8 |
| | |||||
* | tests: remove forgotten -vvvv option | Ondrej Kozina | 2015-05-12 | 1 | -2/+1 |
| | |||||
* | libdm-common.c: remove trailing whitespace | Ondrej Kozina | 2015-05-12 | 1 | -2/+2 |
| | |||||
* | lvmpolld-client.c: be more specific about fallback on error | Ondrej Kozina | 2015-05-12 | 1 | -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 code | Ondrej Kozina | 2015-05-12 | 5 | -5/+10 |
| | |||||
* | lvmpolld.8.in: clarify the timeout parameter | Ondrej Kozina | 2015-05-12 | 1 | -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 environment | Ondrej Kozina | 2015-05-12 | 2 | -2/+3 |
| | |||||
* | tests: ndev by default | Zdenek Kabelac | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | configure: spec.inc is generated at build | Zdenek Kabelac | 2015-05-12 | 3 | -116/+1 |
| | | | | Collect all needed info at runtime for spec.inc | ||||
* | makefiles: use LN_S | Zdenek Kabelac | 2015-05-12 | 1 | -15/+15 |
| | |||||
* | makefiles: runtime spec.inc | Zdenek Kabelac | 2015-05-12 | 3 | -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 aux | Ondrej Kozina | 2015-05-11 | 1 | -1/+0 |
| | |||||
* | lvmpolld: by default spawn lvpoll cmd with -An | Ondrej Kozina | 2015-05-11 | 2 | -1/+6 |
| | |||||
* | lvmpolld: set use counters properly in lvmpolld_store | Ondrej Kozina | 2015-05-11 | 1 | -0/+1 |
| | | | | set active_polling_count to zero in pdst_init fn | ||||
* | lib/polldaemon.h: remove trailing whitespace | Ondrej Kozina | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | lvmdump.sh: print out lvmpolld service status | Ondrej Kozina | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | tests: split flavours | Zdenek Kabelac | 2015-05-11 | 1 | -5/+13 |
| | | | | | Remove duplicate flavour-udev-lvmetad-lvmpolld and put them 1-per-line. | ||||
* | nix: now some files are generate so keep them | Zdenek Kabelac | 2015-05-11 | 1 | -1/+1 |
| | | | | more tweaks ahead | ||||
* | vgimport: fall back when lvmetad is not running | David Teigland | 2015-05-11 | 1 | -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 aux | Zdenek Kabelac | 2015-05-11 | 1 | -1/+1 |
| | | | | Ooops editor grabbed q in test. | ||||
* | makefiles: move clean | Zdenek Kabelac | 2015-05-11 | 1 | -2/+2 |
| | | | | Move clean: target below, so it's not a default target to execute. |