ioc.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
INDICATORS OF COMPROMISE (IOC) InfoSec Community within the Fediverse. Newbies, experts, gurus - Everyone is Welcome! Instance is supposed to be fast and secure.

Administered by:

Server stats:

1.3K
active users

#osbuild

0 posts0 participants0 posts today
Troed Sångberg<p>Oh! It&#39;s been a while since I commented on <a href="https://ioc.exchange/tags/RedHat" class="mention hashtag" rel="tag">#<span>RedHat</span></a> <a href="https://ioc.exchange/tags/ImageBuilder" class="mention hashtag" rel="tag">#<span>ImageBuilder</span></a> / <a href="https://ioc.exchange/tags/osbuild" class="mention hashtag" rel="tag">#<span>osbuild</span></a> :D Let&#39;s correct that.</p><p>It&#39;s absolute awesome how you can set an <a href="https://ioc.exchange/tags/OpenSCAP" class="mention hashtag" rel="tag">#<span>OpenSCAP</span></a> profile directly in the blueprint. It&#39;s also completely useless :) It always performs both an evaluation and remediation step, with no option to turn the remediation off, or to supply a tailored profile with added or excluded tests.</p><p>I can&#39;t imagine many images being built that don&#39;t have some form of post-processing, so running remediation beforehand is either just unwanted or worse, changes things that shouldn&#39;t be changed.</p><p>Now, I do really mean that the intention is awesome. I just think there weren&#39;t too many actual users offering input :) So, this is mine - please take it as constructive criticism.</p>
Troed Sångberg<p>I&#39;m sure you&#39;ve been eagerly awaiting the next <a href="https://ioc.exchange/tags/redhat" class="mention hashtag" rel="tag">#<span>redhat</span></a> <a href="https://ioc.exchange/tags/imagebuilder" class="mention hashtag" rel="tag">#<span>imagebuilder</span></a> / <a href="https://ioc.exchange/tags/osbuild" class="mention hashtag" rel="tag">#<span>osbuild</span></a> story :D</p><p>$ composer-cli blueprints depsolve &lt;name&gt;</p><p>No issues.</p><p>$ composer-cli compose start &lt;name&gt; &lt;image&gt;</p><p>ERROR! DepsolveError:<br />...<br />- package fwupd obsoletes dbxtool<br />- conflicting requests</p><p>Yes. We all know fwupd has replaced dbxtool. Now please let me build?</p><p>(I have not found a solution to this yet - recall that osbuild uses its own dnf-resolve python code. Yes I&#39;ve been hacking around in it with success)</p>
Troed Sångberg<p>Alright, next surprise with <a href="https://ioc.exchange/tags/RedHat" class="mention hashtag" rel="tag">#<span>RedHat</span></a> <a href="https://ioc.exchange/tags/ImageBuilder" class="mention hashtag" rel="tag">#<span>ImageBuilder</span></a> / <a href="https://ioc.exchange/tags/osbuild" class="mention hashtag" rel="tag">#<span>osbuild</span></a> :) We&#39;re on Red Hat 8.6, using the DVD as repo. When trying to install Node-JS through the blueprint we kept getting 10.24, even though 16.14 is clearly there when looking at the files. Changing &#39;version&#39; just meant it couldn&#39;t find the package.</p><p>Oh. That&#39;s right. To get 16.14 we need to use &#39;module&#39; with yum / dnf. Without it they will also only find 10.24. So how do we do that in the blueprint then?</p><p>You could assume that would be [[modules]] - but you&#39;d be wrong. Modules and Packages work exactly the same (as documented).</p><p>The solution is ... [[groups]] :) </p><p>[[groups]]<br />name = &quot;nodejs:16&quot;</p><p>Quote from wldr-client github:</p><p>&quot;groups is a TOML list, so each group needs to be listed separately, like packages but with no version number.&quot;</p><p>If you say so ;) The above solution is verified working.</p>
Troed Sångberg<p>well well well</p><p>With no other changes made to the blueprint, building a qcow2 instead of vmdk and then directly converting the qcow2 to vmdk worked.</p><p>So at this moment I would wager that there&#39;s an issue in Red Hat 8.6 osbuild / image builder when it comes to generating vmdk type filesystems.</p><p><a href="https://ioc.exchange/tags/redhat" class="mention hashtag" rel="tag">#<span>redhat</span></a> <a href="https://ioc.exchange/tags/ImageBuilder" class="mention hashtag" rel="tag">#<span>ImageBuilder</span></a> <a href="https://ioc.exchange/tags/osbuild" class="mention hashtag" rel="tag">#<span>osbuild</span></a></p>
Troed Sångberg<p>Still confused. Having attached the vmdk in another VM and investigated the disk, layout, VG, VL etc I can only conclude that there really is something wrong with how the contents were created and the &quot;bad superblock&quot; message is correct. </p><p><a href="https://ioc.exchange/tags/osbuild" class="mention hashtag" rel="tag">#<span>osbuild</span></a> / image builder does seem a little bit shaky in various places.</p><p><a href="https://ioc.exchange/tags/redhat" class="mention hashtag" rel="tag">#<span>redhat</span></a></p>