On 2/4/26 10:52 AM, Samuel Sieb wrote:
On 2/4/26 8:47 AM, Paolo Galtieri wrote:
Here is what I tried:
sudo virt-install --name u24-vm-01 --ram 8192 --vcpus 2 --disk
path=`pwd`/u24-vm-01,size=50 --cdrom /run/media/pgaltieri/
SDNVIRTLAB06/ OperatingSystems/Ubuntu/ubuntu-24.04.3-desktop-amd64.iso
--network network=default --os-variant ubuntu-stable-latest
Here is the result
Starting install...
Allocating 'u24-vm-01' | 50 GB 00:00:08
Removing disk 'u24-vm-01' | 00:00:00
ERROR internal error: QEMU unexpectedly closed the monitor
(vm='u24- vm-01'): 2026-02-04T16:36:09.090428Z qemu-system-x86_64: -
blockdev {"driver":"file","filename":"/run/media/pgaltieri/
SDNVIRTLAB06/ VirtualMachines/KVM/VMs/u24-vm-01/u24-vm-01","node-
name":"libvirt-2- storage","auto-read-only":true,"discard":"unmap"}:
Could not open '/run/ media/pgaltieri/SDNVIRTLAB06/VirtualMachines/
KVM/VMs/u24-vm-01/u24- vm-01': Permission denied
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start u24-vm-01
Here are the directory permissions for
/run/media/pgaltieri/SDNVIRTLAB06/VirtualMachines/KVM/VMs/u24-vm-01
drwxrwxrwx 1 pgaltieri pgaltieri 48 Feb 4 08:36 ./
What is this mounted from? It's the selinux permissions that are the
problem.
This is an NTFS drive so SElinux permissions shouldn't apply. Plus
/run/media/pgaltieri/SDNVIRTLAB06/
is mounted when I login. If there where SElinux issues I would expect
to see them then.
Additionally I get SElinux alerts
SELinux is preventing rpc-virtstorage from unlink access on the file
u24-vm-01
As you see here.
Using virt-manager as my user id fails
I get this SElinux alert
SELinux is preventing rpc-virtqemud from setattr access on the file
u24- vm-01
And of course using virt-manager will have the same issue.
The directory where this file is is on an NTFS disk.
Paolo
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new