Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTOPILOT] Could not open ovmf/OVMF_CODE.fd: Permission denied #152

Open
fedelibre opened this issue Jan 15, 2025 · 4 comments
Open

[AUTOPILOT] Could not open ovmf/OVMF_CODE.fd: Permission denied #152

fedelibre opened this issue Jan 15, 2025 · 4 comments
Assignees
Labels
Bug Something isn't working Help Wanted Extra attention is needed Investigating The reported issue is under investigation Known Issue This issue has been identified and is being investigated. Workaround A known temporary way around an issue

Comments

@fedelibre
Copy link

fedelibre commented Jan 15, 2025

Describe the Issue

When I start the machine on virt-manager I see the following error:

Errore nell'avvio del dominio: internal error: process exited while connecting to monitor: 2025-01-15T12:04:29.501102Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/dati/home/fede/src/ultimate-macOS-KVM/ovmf/OVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/dati/home/fede/src/ultimate-macOS-KVM/ovmf/OVMF_CODE.fd': Permission denied

The qemu process started with my user (same owner of all repository files):

$ sudo cat /etc/libvirt/qemu.conf | grep "^user"
user = "1000"
$ sudo cat /etc/libvirt/qemu.conf | grep "^group"
group = "1000"

Reproduce the Issue

Start the machine in virt-manager.

Expectation

No response

Operating System

Fedora 41

Kernel

6.12.9-200.fc41.x86_64

Processor

Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz

RAM (in GB)

8

GPU(s)

No response

Version

git

Branch

main

Generated Script File

#!/usr/bin/env bash
# shellcheck disable=SC2054

#
#   APC-RUN_15-01-2025_10-20-53
#
#   THIS FILE WAS GENERATED USING AUTOPILOT.
#
#   To boot this script, run the following command:
#   $ ./boot.sh
#

#
#	boot.sh
#	Created by Coopydood as part of the ultimate-macOS-KVM project.
#
#	Profile: https://github.com/Coopydood
#	Repo: https://github.com/Coopydood/ultimate-macOS-KVM
#
#	Adapted from OSX-KVM among others.
#	Greetz to TheNickDude, Dortania, khoalia, foxlet, and other contributors :]
#


ID="macOS"
NAME="macOS 12"
FILE="boot.sh"

ULTMOS=0.12.4
IGNORE_FILE=0
REQUIRES_SUDO=0
VFIO_PTA=0
VFIO_DEVICES=0
GEN_EPOCH=1736932853
FEATURE_LEVEL=7
VERBOSE=1
DISCORD_RPC=1
DISCORD_RPC_IMG="default"

SCREEN_RES="1280x720"

ALLOCATED_RAM="4G"
CPU_SOCKETS="1"
CPU_CORES="2"
CPU_THREADS="4"
CPU_MODEL="Haswell-noTSX"
CPU_FEATURE_ARGS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"

REPO_PATH="/mnt/dati/home/fede/src/ultimate-macOS-KVM"
OVMF_DIR="/mnt/dati/home/fede/src/ultimate-macOS-KVM/ovmf"

VFIO_ID_0="$USR_VFIO_ID_0"
VFIO_ID_1="$USR_VFIO_ID_1"
VFIO_ROM="$USR_VFIO_ROM"

USB_DEVICES="$USR_USB_DEVICES"

NETWORK_DEVICE="vmxnet3"
MAC_ADDRESS="00:16:cb:00:21:09"

OS_ID="Monterey"

HDD_PATH="$REPO_PATH/HDD.qcow2"
DISK_TYPE="HDD"

#   You should not have to touch anything below this line, especially if you
#   don't really know what you're doing. It'll probably break something.

args=(
-global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off
-enable-kvm -m "$ALLOCATED_RAM" -cpu "$CPU_MODEL",kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$CPU_FEATURE_ARGS"
-machine q35
-boot menu=on,splash-time=5
#-device usb-ehci,id=ehci
#-device qemu-xhci,id=xhci
-usb -device usb-kbd -device usb-tablet 
#USB_DEV_BEGIN
#USB_DEV_END
-smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS"
-device pcie-root-port,bus=pcie.0,slot=1,x-speed=16,x-width=32
#VFIO_DEV_BEGIN
#VFIO_DEV_END
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
-drive if=pflash,format=raw,readonly=on,file="$OVMF_DIR/OVMF_CODE.fd"
-drive if=pflash,format=raw,file="$OVMF_DIR/OVMF_VARS.fd"
-smbios type=2
-device ich9-intel-hda -device hda-duplex
-device ich9-ahci,id=sata
-drive id=OpenCore,if=none,format=qcow2,file="$REPO_PATH/boot/OpenCore.qcow2"
-drive id=HDD,if=none,file="$HDD_PATH",format=qcow2
-device ide-hd,bus=sata.2,drive=OpenCore,bootindex=1
-device ide-hd,bus=sata.3,drive=HDD,rotation_rate=7200

############## REMOVE THESE LINES AFTER MACOS INSTALLATION ###############
-drive id=BaseSystem,if=none,file="$REPO_PATH/BaseSystem.img",format=raw
-device ide-hd,bus=sata.4,drive=BaseSystem
##########################################################################

-netdev user,id=net0 -device "$NETWORK_DEVICE",netdev=net0,id=net0,mac="$MAC_ADDRESS"
-device qxl-vga,vgamem_mb=128,vram_size_mb=128    
-monitor stdio
#-display none
#-vga qxl

################ UNCOMMENT IF YOU WANT TO USE VNC MONITOR ################
#-vnc 0.0.0.0:1,password=on -k en-us
##########################################################################

)

while getopts d: flag
do
    case "${flag}" in
        d) DISCORD_RPC=${OPTARG};;
    esac
done

if [ $VERBOSE = 1 ]
then
echo
echo \ \ \──────────────────────────────────────────────
echo \ \ \ \ \ $FILE
echo \ \ \ \ \ $ID $OS_ID
echo
echo \ \ \ \ \ Built with ULTMOS v$ULTMOS
echo \ \ \ \ \ Using $CPU_MODEL CPU model
if [ $REQUIRES_SUDO = 1 ]
then
echo \ \ \ \ \ Superuser privileges enabled
fi
if [ $VFIO_PTA = 1 ]
then
echo \ \ \ \ \ Passthrough enabled
else
echo \ \ \ \ \ Passthrough disabled
fi
if [ $DISCORD_RPC = 1 ]
then
echo \ \ \ \ \ Discord RPC enabled
else
echo \ \ \ \ \ Discord RPC disabled
fi
echo \ \ \──────────────────────────────────────────────
echo
fi

if [ $DISCORD_RPC = 1 ]
then
"$REPO_PATH/scripts/drpc.py" --os "$OS_ID" --pt $VFIO_DEVICES --wd "$REPO_PATH" --show "$DISCORD_RPC_IMG" &
fi

qemu-system-x86_64 "${args[@]}"

if [ $DISCORD_RPC = 1 ]
then
pkill -f drpc.py
fi

Generated XML File (if applicable)

<!--
	 
	    APC-RUN_15-01-2025_10-20-59
 
    THIS FILE WAS GENERATED USING AUTOPILOT.
				 
     To be used with virsh / virt-manager.
	 
	
	./boot.xml	
	Created by Coopydood as part of the ultimate-macOS-KVM project.
	
	Profile: https://github.com/Coopydood
	Repo: https://github.com/Coopydood/ultimate-macOS-KVM

-->

<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  <name>ultmos-12</name>
  <title>macOS Monterey (ULTMOS)</title>
  <description>  macOS Monterey
  Converted from ./boot.sh 

  This virtual machine was created using ultimate-macOS-KVM, a project by Coopydood.
  Visit https://github.com/Coopydood/ultimate-macOS-KVM for help and support, or provide some feedback!

  DEBUG
  ULTMOS: v0.12.4
  XML: ./boot.xml
  AP: ./boot.sh
  APFLOW: Yes
  AUTO: Yes
  USEBLOBS: Yes
  RUNTIME: 10:20:59 15/01/2025
  </description>
  <uuid>b2538cf4-3ab8-4b9e-b406-b861cbc81079</uuid>
  <memory unit="KiB">4194304</memory>
  <currentMemory unit="KiB">4194304</currentMemory>
  <vcpu placement="static">4</vcpu>
  <os>
    <type arch="x86_64" machine="pc-q35-4.2">hvm</type>
    <loader readonly="yes" type="pflash">/mnt/dati/home/fede/src/ultimate-macOS-KVM/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/dati/home/fede/src/ultimate-macOS-KVM/ovmf/OVMF_VARS.fd</nvram>
    <boot dev="hd"/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode="host-passthrough" check="none" migratable="on">
    <topology sockets="1" dies="1" cores="2" threads="2"/>
  </cpu>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2"/>
      <source file="/mnt/dati/home/fede/src/ultimate-macOS-KVM/boot/OpenCore.qcow2"/>
      <target dev="sda" bus="sata"/>
      <address type="drive" controller="0" bus="0" target="0" unit="0"/>
    </disk>
    <disk type="file" device="disk"> <!-- HDD HEADER -->
      <driver name="qemu" type="qcow2"/>
      <source file="/mnt/dati/home/fede/src/ultimate-macOS-KVM/HDD.qcow2"/>
      <target dev="sdb" bus="sata" rotation_rate="7200"/>
      <address type="drive" controller="0" bus="0" target="0" unit="1"/>
    </disk> <!-- HDD FOOTER -->

<!--############# REMOVE THESE LINES AFTER MACOS INSTALLATION #############-->

    <disk type="file" device="disk"> 
      <driver name="qemu" type="raw"/>
      <source file="/mnt/dati/home/fede/src/ultimate-macOS-KVM/BaseSystem.img"/>
      <target dev="sdc" bus="sata"/>
      <address type="drive" controller="0" bus="0" target="0" unit="2"/>
	  </disk> 

<!--#######################################################################-->

    <controller type="sata" index="0">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
    </controller>
    <controller type="pci" index="0" model="pcie-root"/>
    <controller type="pci" index="1" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="1" port="0x8"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
    </controller>
    <controller type="pci" index="2" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="2" port="0x9"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
    </controller>
    <controller type="pci" index="3" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="3" port="0xa"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
    </controller>
    <controller type="pci" index="4" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="4" port="0xb"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
    </controller>
    <controller type="pci" index="5" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="5" port="0xc"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
    </controller>
    <controller type="pci" index="6" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="6" port="0xd"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
    </controller>
    <controller type="pci" index="7" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="7" port="0xe"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
    </controller>
    <controller type="pci" index="8" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="8" port="0xf"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
    </controller>
    <controller type="pci" index="9" model="pcie-to-pci-bridge">
      <model name="pcie-pci-bridge"/>
      <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-ehci1">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x7"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x0" multifunction="on"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x1"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x2"/>
    </controller>
    <interface type="network">
      <mac address="00:16:cb:00:21:09"/>
      <source network="default"/>
      <model type="vmxnet3"/>
      <address type="pci" domain="0x0000" bus="0x09" slot="0x02" function="0x0"/>
    </interface>
    <serial type="pty">
      <target type="isa-serial" port="0">
        <model name="isa-serial"/>
      </target>
    </serial>
    <console type="pty">
      <target type="serial" port="0"/>
    </console>
    <input type="mouse" bus="ps2"/>
    <input type="keyboard" bus="ps2"/>
    <input type="keyboard" bus="usb">
      <address type="usb" bus="0" port="3"/>
    </input>
    <input type="mouse" bus="usb">
      <address type="usb" bus="0" port="4"/>
    </input>
    <graphics type="spice">
      <listen type="none"/>
    </graphics>
    <sound model="ich9">
	  <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
	</sound>
    <audio id="1" type="none"/>
    <video>
      <model type="vga" vram="16384" heads="1" primary="yes"/>
      <address type="pci" domain="0x0000" bus="0x09" slot="0x01" function="0x0"/>
    </video>
    <!-- VFIO-PCI HEADER -->
    <!-- USB HEADER -->
    <!--<watchdog model="itco" action="reset"/> -->
    <memballoon model="none"/>
  </devices>
  <qemu:commandline>
    <qemu:arg value="-global"/>
    <qemu:arg value="ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off"/>
    <qemu:arg value="-device"/>
    <qemu:arg value="isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
    <qemu:arg value="-smbios"/>
    <qemu:arg value="type=2"/>
    <qemu:arg value="-cpu"/>
    <qemu:arg value="Haswell-noTSX,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"/>
    <qemu:arg value="-global"/>
    <qemu:arg value="nec-usb-xhci.msi=off"/>
    <!-- NVME HEADER -->
  </qemu:commandline>
</domain>

Generated Log File

ULTMOS AUTOPILOT LOG 15-01-2025 10:08:47
───────────────────────────────────────────────────────────────────
[10:08:48.002][ INFO ]:  ULTMOS v0.12.4
[10:08:48.003][ INFO ]:   
[10:08:48.003][ INFO ]:  Name       : AutoPilot
[10:08:48.003][ INFO ]:  File       : autopilot.py
[10:08:48.003][ INFO ]:  Identifier : APC
[10:08:48.003][ INFO ]:  Vendor     : Coopydood
[10:08:48.003][ INFO ]:   
[10:08:48.003][ INFO ]:  Logging to ./logs/APC_RUN_15-01-2025_10-08-47.log
[10:08:48.004][ INFO ]:  Downloading notice list
[10:08:48.640][  OK  ]:  Notice list downloaded
[10:08:48.640][ INFO ]:  Checking notice list
[10:08:48.640][  OK  ]:  Notice list loaded
[10:08:48.640][ INFO ]:  Marking spark timestamp
[10:08:48.640][ INFO ]:  Displaying menu
[10:08:48.641][  OK  ]:  Menu displayed
[10:08:48.641][ WAIT ]:  Waiting on user input
[10:09:12.232][  OK  ]:  User input received
[10:09:12.233][  OK  ]:  ───────────────── STARTING INTERROGATION SEQUENCE ─────────────────
[10:09:12.233][ INFO ]:  FEATURE LEVEL 7
[10:09:12.233][  OK  ]:  Stage 1 sequence initiated
[10:09:12.233][  OK  ]:  Removing stale blobs
[10:09:28.985][  OK  ]:  Using default value of boot.sh
[10:09:28.985][ WARN ]:  Notice hook has been hit
[10:09:28.985][ WARN ]:  Arming notice selection trigger
[10:09:28.986][  OK  ]:  Stage 2 sequence initiated
[10:10:23.960][  OK  ]:  Using default value of 12
[10:10:23.985][  OK  ]:  Stage 3 sequence initiated
[10:10:35.929][  OK  ]:  Using default value of 2
[10:10:35.929][  OK  ]:  Stage 4 sequence initiated
[10:10:58.913][  OK  ]:  Using default value of 2
[10:10:58.914][  OK  ]:  Stage 5 sequence initiated
[10:13:40.744][  OK  ]:  Using default value of Haswell-noTSX
[10:13:40.745][  OK  ]:  Stage 6 sequence initiated
[10:13:49.671][  OK  ]:  Using default value of +ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check
[10:13:49.672][  OK  ]:  Stage 7 sequence initiated
[10:14:14.877][  OK  ]:  Using default value of 4G
[10:14:14.878][  OK  ]:  Stage 8 sequence initiated
[10:14:30.991][  OK  ]:  Using default value of 80G
[10:14:30.992][ WARN ]:  Notice hook has been hit
[10:14:30.992][ WARN ]:  Arming notice selection trigger
[10:14:30.992][  OK  ]:  Stage 9 sequence initiated
[10:15:00.054][  OK  ]:  Using default value of HDD
[10:15:00.054][  OK  ]:  Will set disk up as an HDD
[10:15:00.055][  OK  ]:  Stage 10 sequence initiated
[10:16:22.334][  OK  ]:  Using default value of vmxnet3
[10:16:22.335][  OK  ]:  Stage 11 sequence initiated
[10:16:34.790][  OK  ]:  Using default value of 00:16:cb:00:21:09
[10:16:34.790][  OK  ]:  Stage 12 sequence initiated
[10:16:56.302][ INFO ]:  Arming download mechanism
[10:16:56.302][  OK  ]:  Downloader armed, will be triggered by AP flow
[10:16:56.303][  OK  ]:  Stage 13 sequence initiated
[10:17:42.397][  OK  ]:  Using default value of 1280x720
[10:17:42.398][  OK  ]:  Stage 14 sequence initiated
[10:18:11.893][  OK  ]:  Using default value of True
[10:18:11.894][  OK  ]:  Interrogation complete, displaying summary and AP autoflow sliproad
[10:18:33.245][ INFO ]:  Handoff started, user preferences saved
[10:18:33.245][  OK  ]:  ───────────────── STARTING AUTOPILOT AUTOFLOW ─────────────────
[10:18:33.245][ INFO ]:  Here we go!
[10:18:35.249][  OK  ]:  Updating status UI
[10:18:38.250][ INFO ]:  STARTING PREPARE PHASE
[10:18:38.251][  OK  ]:  Updating status UI
[10:18:38.251][ INFO ]:  Setting up environment
[10:18:38.285][  OK  ]:  Copied baseConfig into live working file
[10:18:39.286][ INFO ]:  Setting up OpenCore image
[10:18:39.286][ INFO ]:  Selecting appropriate OpenCore image
[10:18:39.287][  OK  ]:  Selected NEW OpenCore image
[10:18:39.287][ INFO ]:  Copying OpenCore image in place
[10:18:39.290][  OK  ]:  OpenCore image copied
[10:18:39.290][ INFO ]:  Copying OVMF code into place
[10:18:39.334][ INFO ]:  Copying OVMF vars for resolution 1280x720
[10:18:39.337][  OK  ]:  OVMF files copied
[10:18:39.338][ INFO ]:  Creating local OVMF variable store
[10:18:39.341][ INFO ]:  Performing integrity check
[10:18:39.842][  OK  ]:  Integrity check PASSED
[10:18:39.842][  OK  ]:  Updated stage status, handing off to next stage
[10:18:40.842][  OK  ]:  Updating status UI
[10:18:40.843][ INFO ]:  STARTING INTEGRITY PHASE
[10:18:40.843][  OK  ]:  Updating status UI
[10:18:44.843][  OK  ]:  Integrity check PASSED
[10:18:44.844][  OK  ]:  Updated stage status, handing off to next stage
[10:18:45.844][  OK  ]:  Updating status UI
[10:18:45.844][ INFO ]:  STARTING GENERATION PHASE
[10:18:45.845][ INFO ]:  Working directory was captured as /mnt/dati/home/fede/src/ultimate-macOS-KVM
[10:18:45.845][  OK  ]:  Updating status UI
[10:18:45.845][ INFO ]:  Scanning for file conflict
[10:18:48.847][ INFO ]:  Beginning variable injection
[10:18:48.891][ INFO ]:  Checking disk type
[10:18:48.892][  OK  ]:  Disk type is HDD, leaving rotation rate as default
[10:18:48.892][  OK  ]:  Variable injection complete
[10:18:48.893][ INFO ]:  Stamping with ULTMOS version
[10:18:48.893][  OK  ]:  Marked working script as using ULTMOS v0.12.4
[10:18:48.893][ INFO ]:  Stamping with feature level
[10:18:48.893][  OK  ]:  Marked working script as feature level 7
[10:18:48.893][ INFO ]:  Checking if Discord rich presence is available
[10:18:48.903][  OK  ]:  Discord rich presence is available, will enable in script
[10:18:48.903][  OK  ]:  Updating status UI
[10:18:48.903][ INFO ]:  Adding OS ID marker
[10:18:48.903][ INFO ]:  Setting up BaseSystem image attachment
[10:18:48.904][ INFO ]:  Writing changes
[10:18:48.904][  OK  ]:  Changes written to file
[10:18:48.904][ INFO ]:  Performing integrity check
[10:18:48.904][  OK  ]:  Integrity check PASSED
[10:18:49.405][  OK  ]:  Updated stage status, handing off to next stage
[10:18:49.607][  OK  ]:  Updating status UI
[10:18:50.610][  OK  ]:  User requested a new macOS recovery image, arming downloader
[10:18:50.610][ INFO ]:  STARTING REMOTE RECOVERY PHASE
[10:18:50.610][  OK  ]:  Updating status UI
[10:18:52.610][ INFO ]:  Setting target OS to 12
[10:18:52.611][  OK  ]:  OS ID is valid, sending to dlosx script
[10:20:40.223][ INFO ]:  Checking BaseSystem with a size of 3220185088
[10:20:40.247][  OK  ]:  Integrity check PASSED
[10:20:40.247][  OK  ]:  Updated stage status, handing off to next stage
[10:20:40.249][  OK  ]:  Updating status UI
[10:20:43.251][  OK  ]:  User requested a new HDD file, generation will go ahead
[10:20:43.251][ INFO ]:  STARTING HARDDISK PHASE
[10:20:43.253][  OK  ]:  Updating status UI
[10:20:45.254][ INFO ]:  Scanning for file conflict
[10:20:45.254][ INFO ]:  Generating hard disk image file
[10:20:49.547][  OK  ]:  Hard disk image file generation verified
[10:20:49.547][  OK  ]:  Updated stage status, handing off to next stage
[10:20:49.948][  OK  ]:  Updating status UI
[10:20:51.948][ INFO ]:  STARTING APPLY PHASE
[10:20:51.949][  OK  ]:  Updating status UI
[10:20:53.949][  OK  ]:  Integrity check PASSED
[10:20:53.949][ INFO ]:  Dumping contents of baseConfig to memory
[10:20:53.998][ INFO ]:  Stripping warning headers
[10:20:53.998][ INFO ]:  Generating epoch timestamp
[10:20:53.998][  OK  ]:  Epoch timestamped as 1736932853
[10:20:53.999][ INFO ]:  Writing to file
[10:20:53.999][  OK  ]:  Header verification complete
[10:20:53.999][ INFO ]:  Moving working file into place
[10:20:54.038][  OK  ]:  Moved working file into boot.sh successfully
[10:20:54.639][  OK  ]:  Updated stage status, handing off to next stage
[10:20:54.639][  OK  ]:  Updating status UI
[10:20:56.640][ INFO ]:  Checking XML creation preferences
[10:20:56.640][  OK  ]:  XML creation requested, WILL be generating XML
[10:20:56.641][  OK  ]:  Updating status UI
[10:20:56.641][ INFO ]:  Copying current session blobs into user backdir
[10:20:57.692][  OK  ]:  Handing off to XMLC and waiting for result
[10:21:04.909][ INFO ]:  Got exit signal from XMLC, checking integrity
[10:21:04.910][  OK  ]:  XML file was successfully generated at boot.xml
[10:21:05.310][  OK  ]:  Updating status UI
[10:21:07.311][ INFO ]:  STARTING PERMISSIONS PHASE
[10:21:07.311][  OK  ]:  Updating status UI
[10:21:09.312][ INFO ]:  Setting execute permissions
[10:21:09.332][ INFO ]:  Setting readwrite permissions
[10:21:09.335][  OK  ]:  Permissons set for new user files
[10:21:09.342][  OK  ]:  Updated stage status, handing off to next stage
[10:21:09.643][  OK  ]:  Updating status UI
[10:21:11.643][  OK  ]:  Updating status UI
[10:21:11.644][ INFO ]:  STARTING CLEANUP PHASE
[10:21:12.644][ INFO ]:  Copying current session blobs into user backdir
[10:21:12.656][ INFO ]:  Marking blobs as stale
[10:21:12.656][ INFO ]:  Moving blobs into stale folder
[10:21:12.660][  OK  ]:  Blob cleanup complete
[10:21:12.660][  OK  ]:  Updated stage status, handing off to next stage
[10:21:12.860][  OK  ]:  Updating status UI
[10:21:13.861][ INFO ]:  Stopping timer
[10:21:15.861][ INFO ]:  Updating variable definition
[10:21:15.862][  OK  ]:  Timer was stopped with a recorded time of 161 seconds in live mode
[10:21:15.862][  OK  ]:  AutoPilot stages complete, displaying user summary screen
[10:21:15.862][  OK  ]:  ───────────────── AUTOPILOT COMPLETE! SESSION TIME WAS 161 SEC ─────────────────
[10:21:15.862][ INFO ]:  XML generation was part of AP flow, offering import experience
[10:21:15.862][ WAIT ]:  Waiting for user input
[10:21:50.206][  OK  ]:  User input received
[10:21:50.206][ INFO ]:  Handing off to XML importer experience flow
[10:21:50.206][ FATAL ]: bye
[10:21:50.206][ FATAL ]: ───────────────── END OF LOGFILE ─────────────────

Additional Information

No response

@fedelibre fedelibre added Bug Something isn't working Pending The issue or pull request is being reviewed labels Jan 15, 2025
@KitsuneBalloon
Copy link
Collaborator

KitsuneBalloon commented Jan 22, 2025

Hi there, fellow Fedora User here.

Fedora is weird with it's OVMF config with this repository and i don't know if anyone has figured out why.

Regardless, try redirecting OVMF via the XML editor to another location, the one included in this repository doesn't work for some odd reason.

Lemme' know if you need help.

Edit: I have mine set to /var/lib/libvirt/OVMF_CODE.fd and it works when i drop the files there.

@Coopydood Coopydood added Known Issue This issue has been identified and is being investigated. Workaround A known temporary way around an issue and removed Pending The issue or pull request is being reviewed labels Jan 22, 2025
@github-project-automation github-project-automation bot moved this to Issues in ULTMOS Jan 22, 2025
@Coopydood Coopydood added the Help Wanted Extra attention is needed label Jan 22, 2025
@KitsuneBalloon
Copy link
Collaborator

Just to update you, i'm looking into the issue. Will let you know if i find anything. In the meantime, try what i said above.

@KitsuneBalloon KitsuneBalloon added the Investigating The reported issue is under investigation label Jan 23, 2025
@fedelibre
Copy link
Author

It seems a SElinux issue. On Fedora we probably need changing the context of the OVMF_CODE.fd file.

I solved by temporarily setting SElinux in permissive mode:

sudo setenforce Permissive

@KitsuneBalloon
Copy link
Collaborator

Yep, i got to that same conclusion when i was looking at system logs the other day.

Setting SELinux to permissive yes will work in the meantime, i'm working on a detection script to call back to main.py in the repository to hopefully mitigate these issues.

Having to mess with SELinux as a workaround isn't the best option as it does open some security holes, which i personally wouldn't recommend on a public repository such as this one. Of course, i don't mind people doing it, in fact it's probably the easiest thing to do as for now.

Also when i was testing SELinux, i kinda'...fucked my SELinux over so much whilst testing that it needed to relable my entire fileystsem and reset itself back to defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help Wanted Extra attention is needed Investigating The reported issue is under investigation Known Issue This issue has been identified and is being investigated. Workaround A known temporary way around an issue
Projects
Status: Issues
Development

No branches or pull requests

3 participants