5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-23 17:34:34 +03:00
Go to file
Stoiko Ivanov d4abdf4e22 LIO: untaint values read from remote config
The LIO backend for ZFS over iSCSI fetches the json-config periodically from
the target.
This patch reduces the stored config values to those which are actually used
and additonally untaints the values read from the remote host's config-file.

Since the LUN index is used in calls to targetcli on the remote host (via
run_command), untainting prevents the call to crash when run with '-T'.

Tested by creating a zfs over iscsi backed VM, starting it, adding disks,
resizing disks, removing disks, creating snapshots, rolling back to a snapshot.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-10-13 11:11:05 +02:00
debian bump version to 6.2-8 2020-10-02 16:09:15 +02:00
PVE LIO: untaint values read from remote config 2020-10-13 11:11:05 +02:00
test disk management: set more specific type for nvme 2020-10-09 18:06:38 +02:00
.gitignore generate correct manual page and .pod 2011-10-20 08:21:56 +02:00
Makefile use ssh -X for upload 2020-07-09 15:00:38 +02:00
pvesm add setup_environment hook to CLIHandler class 2017-01-12 13:27:43 +01:00