[16:57] meena: how does this look? https://github.com/canonical/cloud-init/pull/2143 [16:57] -ubottu:#cloud-init- Pull 2143 in canonical/cloud-init "Fix linux-specific call on BSD." [Open] [16:58] meena: also thanks for the instructions, worked like a charm [17:05] has any thought ever been given to cloud-init running using pyc files only? [17:08] holmanb: that exception has become background radiation; It was on my todo list, but i forgot it's something fixable, and not just part of nature [17:09] minimal: does that even work? [17:09] minimal: the problem might be that pyc is very very very platform specific [17:10] meena: Yeah it didn't seem high prior, but it looked like a quick fix so here we are :) [17:15] meena: the pyc files are created for the platform when cloud-init is "built" [17:16] holmanb: I'm looking if i can fix mountinfo [17:32] the amount of stuff i run into because i can't upgrade my 14.0-CURRENT VMs… [17:33] i need to get pkgbase.live up again [17:37] this is mount | grep tmp: on my Linux desktop: https://gist.github.com/igalic/fdaff6da508f030ecfde48ee2d9543d0 [17:37] and, wowie wow, i don't think I've kept up with linux for quite some time [18:15] holmanb: I'll try to fix the root cause of that noexec parsing, cuz, we do have have that flag [18:18] oooooohh [18:18] mount has a --libxo! [18:38] meena: sounds good, however you prefer [18:53] looks like I should've shutdown my vm, before taking a snapshot… all the modifications I made to the image are lost [18:53] i wish i had ZFS on this computer lol [18:55] so, how does the LXD DataSource work? [18:55] do i need the LXD Agent for that? [19:07] given the results I'm getting from Cloud-Init, I'd say: yes. [19:08] i love yak shaving [19:08] it's my favourite thing to do [20:46] meena: for what it's worth for older versions of Ubuntu, we had to setup LXD profiles that automatically setup lxd-agent in some images https://github.com/canonical/pycloudlib/blob/main/pycloudlib/lxd/defaults.py#L9 [20:46] and yes DataSourceLXD requires the lxd-agent I think which sets up /dev/lxd/sock file === esv_ is now known as esv [20:53] blackboxsw: https://github.com/lxc/lxd/issues/11603 [20:53] -ubottu:#cloud-init- Issue 11603 in lxc/lxd "compiling lxd-agent for FreeBSD" [Open] [20:53] stgraber says it's easy [22:08] holmanb: all that temp_utils code is really confusing. [22:09] on what grounds does this happen: [22:09] In [56]: temp_utils.get_tmp_ancestor(needs_exe=True) [22:09] Out[56]: '/var/tmp/cloud-init' [22:09] In [57]: temp_utils.get_tmp_ancestor(needs_exe=False) [22:09] Out[57]: '/tmp' [22:09] that function is just reading random environment variables to make those decisions [22:10] neither on my Linux laptop, nor on my FreeBSD VMs is there any functional difference between /var/tmp and /tmp [22:11] aah, but there is, on Linux, if I run it as root [22:11] tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6572688k,mode=755,inode64) [22:12] we don't have a /run dir on FreeBSD. We only have /var/run, and it's not mounted as noexec. [23:31] almost done… [23:38] https://github.com/canonical/cloud-init/pull/2146 hrm… i based this on the wrong branch [23:38] -ubottu:#cloud-init- Pull 2146 in canonical/cloud-init "FreeBSD fix parsing of mount and mount options" [Open] [23:38] either way, that commit is safe. getting that regex was hard work lol [23:38] tomorrow I'll extract the path parsing from parse_mount_info()