- Modifié
Bonjour à tous,
Je viens d'installer Fedora 9 sur mon portable et c'est la première fois que je laisse SElinux en mode enforcing.
Mais j'ai un problème lorsque je veux créer une machine virtuelle avec virt-manager.
Voila ce que me donne setroubleshoot :
Voila. Petite précision, en mode permissif cela fonctionne très bien.
Merci pour votre aide.
Je viens d'installer Fedora 9 sur mon portable et c'est la première fois que je laisse SElinux en mode enforcing.
Mais j'ai un problème lorsque je veux créer une machine virtuelle avec virt-manager.
Voila ce que me donne setroubleshoot :
Résumé
SELinux is preventing the qemu-kvm from using potentially mislabeled files (/home/phenix/Virtualisation/fedora.img).
Description détaillée
SELinux has denied qemu-kvm access to potentially mislabeled file(s) (/home/phenix/Virtualisation/fedora.img). This means that SELinux will not allow qemu-kvm to use these files. It is common for users to edit files in their home directory or tmp directories and then move (mv) them to system directories. The problem is that the files end up with the wrong file context which confined applications are not allowed to access.
Autoriser l'accès
If you want qemu-kvm to access this files, you need to relabel them using restorecon -v '/home/phenix/Virtualisation/fedora.img'. You might want to relabel the entire directory using restorecon -R -v '/home/phenix/Virtualisation'.
J'ai essayé les commandes données dans "Autoriser l'accès" mais j'ai toujours le même problème.Voila. Petite précision, en mode permissif cela fonctionne très bien.
Merci pour votre aide.