<html 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=utf-8"><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Team,</p><p class=MsoNormal>Thanks for being so prompt last time, I wanted to see whether I could be lucky again <span style='font-family:"Segoe UI Emoji",sans-serif'>😊</span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My deployment of lvm2 is in an uncontrolled environment, so the host can be running any version.</p><p class=MsoNormal>My software stack runs within a container, as an infrastructure. So to be always stable, it has to have very little dependency or moving components outside.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sharing the lvm bits from host to container will also not work because on host most of the build needs dynamic lib support.</p><p class=MsoNormal>This may not be available from within container. <br><br><br>The first up easy question: <br>1/ can lvm2 be built as a static binary with no external dependency? Any pointers to this ?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2/  The software stack bundles lvm2 package within the infrastructure container as well. <br>Now, this results in two versions of lvm2 packages one within the container and the other on the host. To take this further up, to completely isolate version dependencies as well, system-udevd and lvmetad daemons are also running within the container.<br>This combination has been working, but I understand is definitely very strange and never thought out even during development.</p><p class=MsoNormal>So I wish to understand the impact of the above bundling, with possibly two copies of daemons and cache and udev running within/and outside the container.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please do let me know if this bundle approach is a feasible approach to take to production? What possible issues that may come up that cannot be handled correctly, if any.  I am coming more from design validation, because you are the experts with how its designed internally. Looking forward to hearing your opinions.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards</p><p class=MsoNormal>LNS</p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>