Replies: 7 comments 16 replies
-
|
Need a bit more background on this. These are generated from the template inside |
Beta Was this translation helpful? Give feedback.
-
|
Btw, it Is quite Common to set noexec for /var mount. I suppose this won't be the case for any of the images used. |
Beta Was this translation helpful? Give feedback.
-
|
I think an alternate approach would be worth considering. When we were making tests/tools for ImageBuilder (a.k.a. OSBuild), there was temptation to hack in some executable temporary directory, or some custom Then we looked at it from a customer PoV and found a documented way to do all we wanted - just use a custom RPM that is part of the image-building DNF transaction, runs whatever as RPM scriptlets, and places whatever files as any regular RPM. The point is - there probably is some standard way to modify ostree/bootc images that a customer would use, and maybe that's the approach testing-farm should use. Pre-install tmt on the images and have helper scripts in standard The alternative is to keep moving against the wind, finding "exploits", like |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for all the discussion here, I am thinking about taking this approach rather, to make this change less intrusive:
If the distribution is using |
Beta Was this translation helpful? Give feedback.
-
|
FTR, I had a discussion with Miro today and we have agreed on a reasonable plan going forward. I am OK with this change. |
Beta Was this translation helpful? Give feedback.
-
|
On detecting an ostree system, feel free to look at vrothberg/chkconfig@538dc7e#diff-562b9b19cb1cd12a7343ce5c739745ebc8f363a195276ca58e926f22927238a5R1333. |
Beta Was this translation helpful? Give feedback.
-
|
Closing the poll. The agreed changes were incorporated into #3229 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For compatibility and various functional reasons,
tmtprovides several scripts in the test environment liketmt-reboot,tmt-abort, etc. See here for more details https://tmt.readthedocs.io/en/stable/spec/plans.html#tmt.As we want to support distributions using
rpm-ostreeandbootcdistributions (Fedora CoreOS, RHEL Image Mode, etc.), the original path where these scripts were stored, i.e./usr/local/bincannot be used, as on these distros these paths are read-only.We are opening this discussion and poll so you can vote for the new location of these scripts. The new path will be included in the default executable paths via
/etc/profile.dscripts. See this merge request which will introduce this change.To reserve a Fedora 40 in Image mode machine for experimenting you can use this
testing-farmCLI command using the container wrapper which has all the workarounds needed to reserve this system on Public Ranch:If you have more suggestions, let me know.
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions