Hello. I am attempting to get I/O privileges.
In host
$ hostnamectl | sed -n '8p;12p' | awk '$1=$1'
Operating System: Fedora Linux 44.20260805.0 (COSMIC Atomic)
Kernel: Linux 7.1.6-201.fc44.x86_64
In container
note: Toolbox container created by running 'toolbox create'
⬢ [...]$ cat /run/.containerenv \
| sed -n '1p;6p' | column
engine="podman-5.8.4" rootless=1
Permanently added kernel argument 'iomem=relaxed' by running 'rpm-ostree kargs --append='iomem=relaxed'' then 'systemctl reboot'.
⬢ [...]$ cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/ostree/fedora-.../vmlinuz-7.1.6-201.fc44.x86_64
ostree=/ostree/boot.1/fedora/.../0 rhgb quiet root=UUID=...
vconsole.keymap=fi rootflags=subvol=root rw iomem=relaxed
Dry run
⬢ [...]$ sudo flashprog -p internal | sed 2d
flashprog p1.5-97-gfda3d3f on Linux 7.1.6-201.fc44.x86_64 (x86_64)
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
ERROR: Could not get I/O privileges (Operation not permitted).
(...) If you are root, your kernel may still prevent access based
on security policies.
Error: Programmer initialization failed.
My kernel configuration would therefore not be appropriate to inhibit the function that prevents access to I/O. May I ask, do you happen to have a suggestion on this matter?
Hello. I am attempting to get I/O privileges.
In host
In container
note: Toolbox container created by running '
toolbox create'Permanently added kernel argument
'iomem=relaxed' by running 'rpm-ostree kargs --append='iomem=relaxed'' then 'systemctl reboot'.Dry run
My kernel configuration would therefore not be appropriate to inhibit the function that prevents access to I/O. May I ask, do you happen to have a suggestion on this matter?