Skip to content

[BUG]Build config emitting /proc errors and unsupported commands #11

Open
@yogi4

Description

@yogi4

Describe the bug
Build config rocky-9-base.yaml under examples is emitting some errors during the build process.
below is sample of errors

INFO - ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix
INFO - your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.
INFO - Your mileage may vary.

grub2-probe: error: cannot find a device for / (is /dev mounted?).
INFO - No path or device is specified.
INFO - Usage: grub2-probe [OPTION...] [OPTION]... [PATH|DEVICE]
INFO - Try 'grub2-probe --help' or 'grub2-probe --usage' for more information.
INFO - /usr/lib/kernel/install.d/50-dracut.install: line 41: /proc/cmdline: No such file or directory
INFO - /bin/dracut: line 1064: /sys/module/firmware_class/parameters/path: No such file or directory
INFO - findmnt: can't read /proc/mounts: No such file or directory
INFO - libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
INFO - dracut-install: Could not get list of loaded modules: Unknown error -2. Switching to non-hostonly mode.
INFO - grep: /proc/cpuinfo: No such file or directory

INFO - dracut: Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE!=y
INFO - dracut: Turning off host-only mode: '/sys' is not mounted!
INFO - dracut: Turning off host-only mode: '/proc' is not mounted!
INFO - dracut: Turning off host-only mode: '/run' is not mounted!
INFO - dracut: Turning off host-only mode: '/dev' is not mounted!
INFO - mknod: /var/tmp/dracut.Y9l65k/initramfs/dev/null: Operation not permitted
INFO - mknod: /var/tmp/dracut.Y9l65k/initramfs/dev/kmsg: Operation not permitted
INFO - mknod: /var/tmp/dracut.Y9l65k/initramfs/dev/console: Operation not permitted
INFO - mknod: /var/tmp/dracut.Y9l65k/initramfs/dev/random: Operation not permitted
INFO - mknod: /var/tmp/dracut.Y9l65k/initramfs/dev/urandom: Operation not permitted
INFO - /usr/lib/dracut/modules.d/00systemd/module-setup.sh: line 170: /dev/fd/63: No such file or directory

INFO - /usr/lib/dracut/modules.d/99microcode_ctl-fw_dir_override/module-setup.sh: line 16: /sys/module/firmware_class/parameters/path: No such file or directory
NFO - /usr/lib/dracut/modules.d/99microcode_ctl-fw_dir_override/module-setup.sh: line 16: /sys/module/firmware_class/parameters/path: No such file or directory
INFO - /bin/sed: can't read /proc/cpuinfo: No such file or directory

To Reproduce
Steps to reproduce the behavior:
Use the image builder to build the rocky-9-base.yaml under examples folder
examples/mini-bootcamp/rocky-9-base.yaml

Expected behavior
Clean logs without errors

Screenshots
If applicable, add screenshots to help explain your problem.
Image
Image

Tested on :
NAME="Rocky Linux"
VERSION="9.5 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions