summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/permissions/1113
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/gemma3:12b/permissions/1113')
-rw-r--r--results/classifier/gemma3:12b/permissions/111315
1 files changed, 15 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/permissions/1113 b/results/classifier/gemma3:12b/permissions/1113
new file mode 100644
index 000000000..81c73cd24
--- /dev/null
+++ b/results/classifier/gemma3:12b/permissions/1113
@@ -0,0 +1,15 @@
+
+TMPDIR is not usable for snapshot-blockdevs, if not root
+Description of problem:
+for using static disk-content we're using `snapshot`-flag for certain disks and set `TMPDIR` to a VM-specific path.
+
+when started as root, all is ok.
+
+when started as non-root, `getenv(TMPDIR)` in function `get_tmp_filename()` in file `block.c` return `NULL`, because glibc handles `TMPDIR` as `UNSECURE_ENVVAR` (glibc-src: `sysdeps/generic/unsecvars.h`)
+
+well, we could compile qemu by ourself, but then we might miss important updates, so maybe this can be solved in main-source?
+
+possible solutions: 
+- additionally look at another var like `QEMU_TMPDIR`, if `getenv("TMPDIR")` results in `NULL`
+- add a global option to qemu like `--tmpdir=...`
+- add a device-specific option like `snapshotdir=...`