Pino Toscano
c916ea5b68
daemon: lvm-filter: use augeas for setting the filter
...
The way to set the filter for lvm devices was to open lvm.conf, look
for uncommented "filter =" lines and replace the configuration there.
This had the issue that if there is no uncommented filter line, then the
filter cannot be changed at all; considering newer lvm2 releases ship a
sample configuration with no uncommented filter lines, then the old way
became wrong and not sufficient.
Instead, take a copy of the upstream lvm.aug lens, with a simple change
to allow parsing also negative values in configuration, and install it
in the daemon. When asking to change the lvm filter, use augeas making
sure to use this custom lens for the lvm.conf copy used within the
appliance.
2014-08-26 17:44:31 +02:00
..
2014-03-17 19:54:16 +00:00
2012-12-10 16:20:34 +00:00
2014-08-26 17:44:31 +02:00
2013-04-02 12:38:50 +01:00
2014-03-17 19:54:16 +00:00
2014-04-16 12:01:17 +01:00
2014-08-08 14:58:08 +02:00
2013-10-08 10:04:27 +01:00
2014-03-17 19:54:16 +00:00
2013-07-29 14:37:50 +01:00
2014-08-08 15:35:02 +02:00
2013-01-28 18:01:43 +00:00
2014-01-28 21:02:11 +00:00
2013-04-03 12:33:24 +01:00
2013-04-04 14:58:32 +01:00
2014-05-07 09:05:29 +01:00
2014-01-02 16:53:34 +00:00
2014-08-26 17:44:31 +02:00
2014-07-17 11:40:40 +01:00
2014-07-25 22:48:09 +01:00
2014-01-02 16:53:34 +00:00
2013-01-28 18:01:43 +00:00
2013-01-28 18:01:43 +00:00
2013-01-28 18:01:43 +00:00
2011-11-08 14:43:07 +00:00
2014-01-02 16:53:34 +00:00
2014-08-19 16:51:13 +01:00
2014-01-02 16:53:34 +00:00
2012-03-14 19:30:46 +00:00
2014-08-18 11:18:23 +02:00
2012-08-17 16:08:14 +01:00
2014-01-02 16:53:34 +00:00
2013-01-28 18:01:43 +00:00
2013-01-28 18:01:43 +00:00
2014-03-14 13:19:42 +00:00
2012-03-08 14:30:10 +00:00
2013-01-28 18:01:43 +00:00
2014-06-10 19:09:43 +01:00
2014-08-26 17:44:31 +02:00
2014-03-20 13:47:19 +00:00
2013-01-28 18:01:43 +00:00
2013-01-28 18:01:43 +00:00
2013-08-20 18:28:25 +01:00
2013-01-28 18:01:43 +00:00
2009-11-26 11:52:44 +00:00
2013-08-22 19:48:05 +01:00
2014-01-02 16:53:34 +00:00
2013-10-11 09:13:11 +01:00
2014-01-02 16:53:34 +00:00
2013-01-28 18:01:43 +00:00
2014-07-02 16:51:36 +01:00
2013-08-29 11:43:31 +01:00
2014-03-26 20:07:43 +00:00
2013-12-18 15:15:52 +00:00
2013-08-22 19:48:05 +01:00
2013-01-28 18:01:43 +00:00
2014-08-26 17:44:31 +02:00
2014-01-22 17:10:37 +00:00
2014-05-07 09:05:29 +01:00
2014-03-26 20:08:36 +00:00
2014-01-28 21:02:11 +00:00
2012-12-10 16:20:34 +00:00
2012-10-17 11:12:07 +01:00
2013-08-13 15:46:54 +01:00
2014-07-25 16:03:09 +01:00
2013-02-12 17:09:44 +00:00
2014-01-02 16:53:34 +00:00
2014-01-02 16:53:34 +00:00
2014-04-22 13:59:59 +02:00
2011-11-08 14:43:07 +00:00
2014-07-17 11:40:41 +01:00
2012-03-13 08:23:56 +00:00
2014-05-21 14:58:40 +02:00
2013-01-21 17:00:04 +00:00
2013-01-28 18:01:43 +00:00
2014-05-21 15:03:17 +02:00
2012-12-10 16:20:34 +00:00
2013-01-28 18:01:43 +00:00
2011-11-08 14:43:07 +00:00
2012-08-17 16:08:13 +01:00
2013-01-28 18:01:43 +00:00
2013-01-28 18:01:43 +00:00
2013-02-04 21:54:15 +00:00
2014-01-02 16:53:34 +00:00
2013-04-04 18:31:41 +01:00
2014-04-28 09:51:48 +01:00
2012-03-14 19:30:46 +00:00
2011-11-08 14:43:07 +00:00
2014-01-02 16:53:34 +00:00
2011-12-08 11:39:58 +00:00
2012-07-30 15:16:45 +01:00
2013-07-22 13:52:23 +01:00
2013-01-28 18:01:43 +00:00
2014-04-30 15:52:49 +02:00
2013-10-03 18:17:39 +01:00
2014-07-17 11:40:40 +01:00
2013-01-28 18:01:43 +00:00