Peter Krempa
5377177f80
libvirt_recover_xattrs: Use only the correct xattr prefix
...
Linux and FreeBSD have different prefix. In the current state we've
tried to reset the labels for both systems which resulted in errors like
this:
Fixing /tmp/bitmaps2.qcow2
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
setfattr: /tmp/bitmaps2.qcow2: Operation not supported
The 6 failed 'setfattrs' correspond to the wrong prefix.
Select the correct prefix based on the kernel name and modify the code
appropriately.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-12-04 16:27:22 +01:00
..
2020-11-10 18:34:18 +01:00
2020-09-02 10:28:10 +02:00
2020-10-07 19:17:53 +02:00
2020-12-04 16:27:22 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2019-08-09 14:06:31 +01:00
2020-11-04 12:18:05 +01:00
2020-04-03 11:50:35 +02:00
2020-09-01 13:22:24 +02:00
2009-09-21 14:41:45 +01:00
2020-09-14 15:52:40 +02:00
2019-12-10 12:41:56 +01:00
2020-11-09 16:29:06 +00:00
2019-07-26 16:48:58 -05:00
2020-09-15 13:46:11 +02:00
2019-08-09 09:18:19 +02:00
2020-12-02 15:43:07 +01:00
2020-11-10 18:34:33 +01:00
2020-12-02 15:43:07 +01:00
2020-11-10 18:34:02 +01:00
2020-12-02 15:43:07 +01:00
2020-11-10 18:34:11 +01:00
2020-12-02 15:43:07 +01:00
2020-11-10 18:34:23 +01:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:10:08 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:15:36 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:20:13 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:16:28 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:17:06 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:07:02 +02:00
2020-12-02 15:43:07 +01:00
2019-08-09 09:18:54 +02:00
2019-12-10 13:49:24 +01:00
2019-06-19 17:12:34 +02:00
2020-11-09 11:28:23 +01:00
2020-01-07 16:12:55 +01:00
2020-12-03 13:10:29 +00:00
2020-11-10 18:34:26 +01:00
2019-10-15 16:14:19 +02:00
2020-11-10 18:34:02 +01:00
2020-08-03 15:30:40 +02:00
2020-11-10 18:34:16 +01:00
2019-06-19 17:12:34 +02:00
2020-11-10 18:34:23 +01:00
2019-06-19 17:12:34 +02:00
2020-10-26 02:39:29 -04:00
2019-08-09 09:03:53 +02:00
2020-10-06 09:01:46 +02:00
2019-06-19 17:12:34 +02:00
2020-10-06 09:01:46 +02:00
2019-06-19 17:12:34 +02:00
2020-10-06 09:01:46 +02:00
2020-08-03 15:30:40 +02:00
2020-10-06 09:01:46 +02:00
2020-08-03 15:30:40 +02:00
2020-09-24 11:19:06 +02:00
2020-08-24 13:32:53 +02:00
2020-10-06 09:01:46 +02:00
2019-06-19 17:12:34 +02:00
2020-11-13 11:12:30 +01:00
2020-08-03 15:30:40 +02:00
2020-10-01 12:34:13 +02:00
2019-06-19 17:12:34 +02:00
2020-09-03 16:25:43 +02:00
2019-06-19 17:12:34 +02:00
2020-05-05 14:45:58 +02:00
2019-06-19 17:12:34 +02:00
2020-11-19 01:18:35 +01:00
2020-06-16 09:43:44 +02:00
2018-10-05 15:53:29 +02:00
2019-06-19 17:12:34 +02:00
2020-08-03 15:30:40 +02:00
2019-06-19 17:12:34 +02:00
2020-09-02 10:28:10 +02:00
2020-10-06 14:26:43 +02:00
2020-01-29 14:51:39 +00:00
2016-06-10 11:03:02 +01:00
2019-07-01 17:20:32 +02:00
2016-04-25 15:40:43 +02:00
2019-09-12 16:06:57 +01:00
2020-10-01 12:34:13 +02:00
2019-06-19 17:12:34 +02:00
2020-11-13 11:12:30 +01:00
2020-11-13 11:12:29 +01:00