1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha 9a324df3b3 config: fix incorrect profile initialization on cmd context refresh
When cmd refresh is called, we need to move any already loaded profiles
to profiles_to_load list which will cause their reload on subsequent
use. In addition to that, we need to take into account any change
in config/profile configuration setting on cmd context refresh
since this setting could be overriden with --config.

Also, when running commands in the shell, we need to remove the
global profile used from the configuration cascade so the profile
is not incorrectly reused next time when the --profile option is
not specified anymore for the next command in the shell.

This bug only affected profile specified by --profile cmd line
arg, not profiles referenced from LVM metadata.
2014-05-19 15:39:55 +02:00
..
activate devmapper: fix compilation without devmapper 2014-04-30 10:26:29 +02:00
cache signals: Move sigint handling out to lvm-signal. 2014-05-01 20:07:17 +01:00
cache_segtype cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
commands config: fix incorrect profile initialization on cmd context refresh 2014-05-19 15:39:55 +02:00
config config: fix incorrect profile initialization on cmd context refresh 2014-05-19 15:39:55 +02:00
datastruct cleanup: reduce inclusion of unnecessary headers 2014-04-18 16:38:50 +02:00
device cleanup: constify pointers 2014-05-07 14:17:46 +02:00
display display: print skipped prompt 2014-05-15 12:11:35 +02:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters config: add CONFIG_FILE_SPECIAL config source id 2014-05-19 15:37:41 +02:00
format1 format1: Mark obsolete and do not use with lvmetad. 2014-01-14 03:27:45 +00:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text config: add CONFIG_FILE_SPECIAL config source id 2014-05-19 15:37:41 +02:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
locking cleanup: drop unused header 2014-05-12 16:24:40 +02:00
log log: skip repeated hashing when logging once 2014-04-08 11:00:14 +02:00
metadata cleanup: device extent_size first 2014-05-18 20:08:07 +02:00
mirror cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
misc configure: drop siginterrupt 2014-05-12 16:24:39 +02:00
mm cleanup: corrent indent level 2014-04-14 13:02:28 +02:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report cleanup: reduce inclusion of unnecessary headers 2014-04-18 16:38:50 +02:00
snapshot cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in locking: Separate out flock and signal code. 2014-05-01 17:37:14 +01:00