holman | meena: welcome back! | 03:15 |
---|---|---|
holman | (belated) | 03:16 |
holman | looks like /var/run doesn't automatically get wiped every boot on *bsd | 03:17 |
holman | So i think we'll need to add back in an rm -rf per boot, but at least now it can be in the expected file location for bsd | 03:23 |
holman | meena: Code_Bleu filed a bug about it | 03:42 |
holman | meena: another thing, when you get a chance (sorry for the barriage, I assume you've been busy) | 03:44 |
holman | https://github.com/canonical/cloud-init/pull/4820 | 03:44 |
-ubottu:#cloud-init- Pull 4820 in canonical/cloud-init "Respect runtime file locations" [Open] | 03:44 | |
holman | your perspective on that one would be appreciated | 03:46 |
meena | holman: I'm in the process of testing that, but i also made the mistake to test on AWS which is absolute garbage of platform and how the hell is anyone doing anything there?? | 08:48 |
meena | holman: which bsd? | 08:48 |
meena | FreeBSD has https://github.com/freebsd/freebsd-src/blob/main/libexec/rc/rc.d/cleanvar | 08:50 |
meena | NetBSD has https://github.com/NetBSD/src/blob/trunk/etc/rc.d/clearcritlocal | 08:52 |
meena | holman: okay, accidentally tested your code | 13:07 |
meena | main issue: the contents of /run/cloud are splattered in /var/run | 13:07 |
meena | https://gist.github.com/igalic/3c1cf15e203ddfc04d41a777c78ae093 | 13:09 |
meena | unrelatedly, cloud.cfg on AWS should be using the ec2-user, not "freebsd" | 13:21 |
meena | holman: okay, left some comments, now need to fix up ec2-user on aws/FreeBSD, and our home directory, too | 13:42 |
meena | maybe that's just something our AMI creation script needs to patch | 15:10 |
minimal | meena: username? that's coming from https://github.com/canonical/cloud-init/blob/main/config/cloud.cfg.tmpl#L239 | 15:14 |
meena | minimal: aye, i'm just looking at AWS' documentation, which always uses ec2-user, regardless of the actual OS image | 15:14 |
meena | so I guess they are patching it then; and we need to be patching it, too | 15:15 |
minimal | as a freebsd-specific overrride isn't defined here: https://github.com/canonical/cloud-init/blob/main/config/cloud.cfg.tmpl#L26 | 15:15 |
meena | okay, so, we have an override, https://github.com/freebsd/freebsd-src/blob/main/release/tools/ec2-cloud-init.conf | 15:24 |
meena | which I didn't have, because I used the base image to install *my* cloud-init version… | 15:24 |
meena | so, I guess, all i need to really fix is # Currently broken, cloud-init hard-codes to /usr/home/* | 15:25 |
meena | also need to figure out why our build script is duplicating rc.conf entries. | 15:28 |
minimal | meena: that's down to cloudinit/distros/freebsd.py though... | 16:24 |
=== gdamjan_ is now known as gdamjan | ||
=== bahamat_ is now known as bahamat | ||
meena | https://github.com/canonical/cloud-init/pull/5061 | 22:45 |
-ubottu:#cloud-init- Pull 5061 in canonical/cloud-init "distro(freebsd): add_user: respect homedir" [Open] | 22:45 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!