<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">> What does Alma (as a guest image) return for inspect-get-distro? As<br>
> far as I can tell we don't really support it in libguestfs so far.<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">I checked with GenericCloud images (in case it was related to the images I was building with kickstart)<o:p></o:p></p>
<p class="MsoNormal"><a href="http://185.231.100.123/rocky-linux/9/images/x86_64/Rocky-9-GenericCloud-9.0-20220830.0.x86_64.qcow2">http://185.231.100.123/rocky-linux/9/images/x86_64/Rocky-9-GenericCloud-9.0-20220830.0.x86_64.qcow2</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-9.0-20220527.x86_64.qcow2">https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-9.0-20220527.x86_64.qcow2</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It looks like the issue is only with Rocky.<o:p></o:p></p>
<p class="MsoNormal">><fs> inspect-os<o:p></o:p></p>
<p class="MsoNormal">/dev/sda5<o:p></o:p></p>
<p class="MsoNormal">><fs> inspect-get-distro /dev/sda5<o:p></o:p></p>
<p class="MsoNormal">rocky<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">><fs> inspect-os<o:p></o:p></p>
<p class="MsoNormal">/dev/sda4<o:p></o:p></p>
<p class="MsoNormal">><fs> inspect-get-distro /dev/sda4<o:p></o:p></p>
<p class="MsoNormal">redhat-based<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I assumed it would also affect AlmaLinux since it affected Rocky – sorry!<o:p></o:p></p>
<p class="MsoNormal">(Not sure if related but I tested this on AlmaLinux host)<o:p></o:p></p>
<p class="MsoNormal"><br>
> Anyway the attached patches should fix the issue for Rocky guest<br>
> images, although it's not really long-term supportable to keep adding<br>
> distros like this, we'll have to think of a better way.<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Harry<o:p></o:p></p>
</div>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL">
<TABLE style="HEIGHT: 170px; WIDTH: 708px" cellSpacing=0 cellPadding=0
border=0><TBODY>
<TR>
<TD
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; WIDTH: 108px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px"
vAlign=middle rowSpan=2 align=center><SPAN style="COLOR: #fff"><SPAN
style="COLOR: #fff"><A title="" href="https://www.corero.com/"><IMG
border=0
src="cid:Corero-C-Emblem-Logo_45d4852f-9c54-43bf-890a-87cc840a4439.png"></A></SPAN></SPAN></TD>
<TD
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; WIDTH: 600px; COLOR: #131313; PADDING-BOTTOM: 0px; PADDING-TOP: 5px"
vAlign=bottom align=left><SPAN
style="FONT-FAMILY: Calibri"> <STRONG
style="FONT-FAMILY: Calibri"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"><STRONG
style="FONT-FAMILY: Calibri">Harry Bryson </STRONG>|
<STRONG style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri; COLOR: #1085a9">Software Engineer</SPAN></STRONG></SPAN></STRONG></SPAN><STRONG></STRONG><BR> <IMG
border=0
src="cid:1.Email-icon_26b8c770-e81e-4f66-a563-df28e00684aa.png">
<SPAN><A
href="mailto:Harry.Bryson@corero.com">Harry.Bryson@corero.com</A> </SPAN><BR> <BR> <IMG
border=0
src="cid:3.Map-icon_41ce7b53-a7ba-45b0-a0f5-984216110856.png">
<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Calibri">53 Hanover Street, Edinburgh,
EH2 2PJ United Kingdom</SPAN></TD></TR>
<TR>
<TD
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; WIDTH: 600px; PADDING-BOTTOM: 10px"
vAlign=bottom><A class="socialLink" href="https://www.corero.com"><IMG
class=socialLink style="HEIGHT: 23px; WIDTH: 25px" border=0
src="cid:4.Website-icon_66f93fb0-fb56-42b8-879c-68b071f492af.png" width=25
height=23></A><A class=socialLink
href="https://www.linkedin.com/company/corero"><IMG class=socialLink
style="HEIGHT: 23px; WIDTH: 25px" border=0
src="cid:5.LinkedIn-icon_71e7bc7c-e732-410a-898f-d7fd45115cd4.png" width=25
height=23></A><A class=socialLink href="https://twitter.com/corero"><IMG
class=socialLink style="HEIGHT: 23px; WIDTH: 25px" border=0
src="cid:6.Twitter-icon_24fc5112-78a4-4303-af64-9ef3ec89fc44.png" width=25
height=23></A><A class=socialLink
href="https://www.facebook.com/corero.inc/"><IMG class=socialLink
style="HEIGHT: 23px; WIDTH: 26px" border=0
src="cid:7.Facebook-icon_a3c6fd35-9f1a-4019-951e-0763954abc5c.png" width=26
height=23></A><A class=socialLink
href="https://www.youtube.com/user/corerosecurity/"><IMG class=socialLink
style="HEIGHT: 23px; WIDTH: 25px" border=0
src="cid:8.Youtube-icon_cd676141-8f09-4e1b-893d-da9b396d3d00.png" width=25
height=23></A>
<TR>
<TD style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; WIDTH: 708px" vAlign=top
colSpan=2>
<P
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"> Access
Corero Network Security’s Privacy Policy <A title=""
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"
href="https://www.corero.com/privacy">here</A>.</P></TD></TR>
<TR>
<TD style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; WIDTH: 708px" vAlign=top
colSpan=2> </TD></TR>
<TR>
<TD style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri; WIDTH: 708px" vAlign=top
colSpan=2><SPAN style="FONT-FAMILY: Arial">We are Corero Network Security
plc (“Corero”), registered in England and Wales, with registered company
number 02662978, registered office address Salisbury House, 29 Finsbury
Circus, London, EC2M 5QQ. Corero is the parent company for Corero Network
Security, Inc. and Corero Network Security (UK) Ltd (a company registered
in England and Wales with registered number 04047090, with the same
registered office address as above) For information about how we process
your data, or to manage your data preferences, <A title=""
style="FONT-FAMILY: Arial"
href="https://info.corero.com/data-preferences.html">click here</A>.
</SPAN></TD></TR></TD></TR></TBODY></TABLE></P>
<P
style="FONT-SIZE: 10pt; MARGIN-BOTTOM: 5pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"></P></body>
</html>