-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.2
-
None
-
None
-
None
-
rhel-net-perf
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
I set this issue as a bug, but please feel free to change it to a story as a feature request. What I am looking for is a way to set the profile on the first boot of a container. If this already exists please let me know.
What were you trying to do that didn't work?
Set a profile to be used when the container first boots after building.
What is the impact of this issue to you?
I have to copy in a run once systemd unit and a script to set the server to realtime and reboot.
Please provide the package NVR for which the bug is seen:
tuned-2.26.0-1.el10_1.1.noarch
How reproducible is this bug?:
Reproduced every time within the container. tuned-adm has a dependency on systemd.
Steps to reproduce
- Copy the containerfile and other files from this issue to build an image. Example is in this issue: https://issues.redhat.com/browse/RHEL-131317
- Append the end of the dnf clean all line like so
dnf -y clean all && tuned-adm profile realtime - Build the container with podman build
Expected results
Container to build and set the tuned-adm profile for the first boot.
Actual results
Errors out because systemd is not running.