/srv/irclogs.ubuntu.com/2024/01/02/#cloud-init.txt

meenaaciba: when are ye back to work?13:30
meenafalcojr: I'm taking one of my PRs getting merged means: about now14:19
minimalFYI this proposed dhcpcd change may be relevant to cloud-init: https://github.com/NetworkConfiguration/dhcpcd/discussions/27114:21
falcojrthanks for the link!15:04
meenaholmanb: i would've just banned this account https://github.com/canonical/cloud-init/pull/4720#issuecomment-1874176078 15:55
-ubottu:#cloud-init- Pull 4720 in canonical/cloud-init "proposed commit message because PRs are squash merged by default." [Closed]15:55
meenaAlso this one https://github.com/canonical/cloud-init/issues/4712 15:56
-ubottu:#cloud-init- Issue 4712 in canonical/cloud-init "[docs]:" [Closed]15:56
minimalfalcojr: re that growpart Issue, I never understood why cc_growpart added the key stuff as I've resized LUKS partitions without it (via bootcmds, not via cc_growpart) and now I've sort-of figured it out16:00
minimalfor LUKS *v1* "cryptsetup resize" does NOT need any keys for a LUKS that is already unlocked (i.e. the one containing the rootfs or whatever filesystem you want to grow)16:01
minimalfor LUKS *v2* however I do see that "cryptsetup resize" of an unlocked LUKS *does* prompt for passphrase, I haven't yet figured out why16:02
minimalI'm currently working on a cc_growpart PR to cater for this16:03
falcojryeah, I'm no luks experience. I was more leaning on the expertise of others for that one16:04
falcojr*expert16:04
minimalfor locally I've modified cc_growpart to not require a key for rootfs and tested - works as expected for rootfs on LUKSv1, however doesn't for rootfs on LUKSv2 (as expected, "cryptsetup resize" is blocking waiting for passphrase input16:05
minimalI'm hoping to shortly raise an PR to address issues with cc_growpart's handling of LUKS and LVM (as I finally came up with a code change to fix an Alpine-related issue that let's me test this now)16:07
=== giesen_ is now known as giesen
holmanbmeena and minimal: we're back today - nice to see you o/17:21
holmanbmeena: no perms to ban in github I don't think17:21
holmanbmeena: thanks for the link on the dhcpcd stuff - I've been tracking the dhcpcd conversation, didn't want to jump into it yet because I didn't have time to over the break17:24
minimalholmanb: that was me ;-)17:24
holmanbbleh17:24
holmanbsorry minimal17:24
minimalyou still on the Egg Nog? lol17:24
holmanbheh17:24
holmanbdon't like the nog unfortunately17:24
holmanbjust trying to skim through a backlog17:25
holmanbminimal: Roy is aware that Ubuntu's initramfs-tools is using dhcpcd in the same way that cloud-init likely will, and offered to keep around at least one flag that he was going to remove[1], so I think we're in the clear as long as we make our use case clear17:26
holmanb[1] https://github.com/NetworkConfiguration/dhcpcd/issues/276#issuecomment-187255622917:26
-ubottu:#cloud-init- Issue 276 in NetworkConfiguration/dhcpcd "Waiting for carrier blocks timeout" [Open]17:26
holmanbminimal: but the line in the discussion you linked "dhcpcd-11 will require starting as a service in the same way as..." makes me nervous, so I'll need to follow up on that17:28
minimalyeah that was one of the things that jumped out at me too17:29
minimalperhaps you need to mention to him the c-i ephemeral scenario17:31
holmanbminimal: planning on it - I wanted to grok what manager mode even is before continuing the conversation17:35
meenaholmanb: got time for https://github.com/canonical/cloud-init/pull/4677 ? I wanna get that fixed, and the OpenBSD port submitted17:35
-ubottu:#cloud-init- Pull 4677 in canonical/cloud-init "fix(runpath): On *BSD, create /run is not ephemeral" [Open]17:35
holmanbmeena: I'll try to get to it today17:36
minimalholmanb: normally there are multiple dhcpcd processes running, Manager mode appears to replace this with a single process17:38
minimale.g. on the Alpine VM I have in front of me there are the following dhcpcd processes running: "dhcpcd: eth0 [ip4] [ip6}", "dhcpcd: [privileged proxy] eth0 [ip4] [ip6]", "dhcpcd: [network proxy] eth0 [ip4] [ip6]", "dhcpcd: [BPP ARP] eth0 a.b.c.d", "dhcpcd: [DHCP6 proxy] aabb:ccdd:eeff:gghh:iijj", "dhcpcd: [BOOT proxy] a.b.c.d"17:41
minimalthat's 7 dhcpcd processes17:41
holmanbminimal: https://github.com/NetworkConfiguration/dhcpcd/discussions/271#discussioncomment-799608918:57
minimalthanks19:07
holmanbI also pinged the canonical dev internally who worked on the initramfs stuff to loop them into the conversation19:08
minimalfalconjr: BTW I think I see why there's a difference in LUKSv1 vs LUKSv2 behaviour: "Starting with cryptsetup 2.0 we load VK in kernel keyring by default for LUKSv2 devices (when dm-crypt with the feature is available)."19:15
minimalfrom: https://gitlab.com/cryptsetup/cryptsetup/-/blob/main/docs/Keyring.txt19:15
=== me_ is now known as mm-cr

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!