/srv/irclogs.ubuntu.com/2020/07/10/#snappy.txt

mborzeckimorning05:42
pstolowskimorning07:08
mborzeckipstolowski: hey07:10
mborzeckimvo: hey, the last day of sprint!07:11
mvomborzecki: good morning!07:19
mvomborzecki: yeah07:19
mupPR snapd#8979 closed: tests: more checks in core20 early config spread test <Run nested> <Test Robustness> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/8979>07:29
mborzeckizyga wrote me he's off today08:01
jameshmborzecki: I think this might be the root cause of that parallel install problem reported on the forum: https://forum.snapcraft.io/t/parallel-instances-cant-remove-cant-connect-interfaces-cant-use-layouts-env-vars-are-wrong/18696/8?u=jamesh08:24
jameshi.e. whether a non-instance keyed version of the snap is installed or not08:25
mborzeckijamesh: we ensure that my-snap directory exists when  my-snap or my-snap_* gets installed08:25
mborzeckijamesh: or at least we did and had some tests for it, let me double check the tests are actually testing the right thing08:26
mborzeckijamesh: fwiw, quick install of a random snap with instance key creates the snap-name (without instance key) directory08:27
jameshmborzecki: it certainly looks like the $SNAP mount is failing somehow, based on his message08:28
mborzeckijamesh: asked more questions there, i suspect it's something else being broken here08:40
mborzeckisadly zyga is off today08:40
mupPR snapd#8995 opened: osutil: add CheckFreeSpace helper (1/N) <Disk space awareness> <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8995>09:45
=== pedronis_ is now known as pedronis
mborzeckiseriously it's hard to tell when soemone is trolling or being misinformed11:45
mborzeckirunning spread tests for https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/188713411:49
mupBug #1887134: Purging of snapd package should remove all files in / installed by snaps <amd64> <apport-bug> <bionic> <eoan> <focal> <groovy> <xenial> <snapd (Ubuntu):In Progress by maciek-borzecki> <https://launchpad.net/bugs/1887134>11:49
mborzeckiquick errand, back in 3011:49
=== Eighth_Doctor is now known as Conan_Kudo
=== Conan_Kudo is now known as Eighth_Doctor
ijohnsondo we have anywhere in the snapd codebase where we wait for systemd units to become active ?12:19
ijohnsonmborzecki: do you know ?12:21
ijohnsonpstolowski: or maybe anything we do in managing snap services? I seem to remember we did something like this somewhere but I can't find it12:21
pstolowskiijohnson: one sec12:25
mborzeckiijohnson: let me check, iirc we had --no-wait for some actions12:25
ijohnsonhaha thanks folks12:25
mborzeckiijohnson: but systemctl start waits for unit to become active (where the meaning of active depends on the type of unit)12:25
ijohnsonthere's systemd.IsActive12:25
mborzeckithat's a thin wrapper around systemctl is-active12:26
ijohnsonmmm so actually I'm using systemd-mount from the initramfs12:27
ijohnsonand looking at the docs it says this12:27
ijohnson> the job will be verified, enqueued and systemd-mount will wait until the mount or automount unit's start-up is completed.12:27
ijohnsonit's not clear to me though that means the unit is active, it kinda seems like that means the unit exists, not necessarily that the mount is done12:28
mborzeckiijohnson: there's StartNoBlock but it's used only for snapd services on core18+12:28
mborzeckiijohnson: iirc for mounts we have some special handling in link.go that double checks that snap metadata is present at the mount location12:29
ijohnsonmmm ok, yeah it seems like we don't have what I thought we had12:29
ijohnsonthanks for looking!12:29
mborzeckiijohnson: err, it's in snapstate/handlers.go in doMountSnap12:30
mborzeckiijohnson: there's a for loop that retries readInfo right after SetupSnap12:30
mupPR snapd#8996 opened: packaging, cmd/snap-mgmt, tests: remove modules files on purge <Bug> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8996>12:46
mborzeckicmatsuoka: what input the new split helper fails on?13:16
cmatsuokamborzecki: ==a, a==, maybe a lone =?13:16
mborzeckihaha13:17
mborzeckilet me try that13:17
cmatsuokaI mean, it's not that it fails, but I don't know what the kernel thinks about that13:17
mborzeckicmatsuoka: me neither, probably ignores that because what else can you do at this point13:23
cmatsuokaprobably it will ignore all ill-formed parameters13:24
cmatsuokawell, or maybe parse it partially, who knows13:24
cmatsuokas/it/them/13:24
=== plars_ is now known as plars
mupPR snapcraft#3209 opened: extensions/desktop/common: add snapd gl vdapu dir to LD_LIBRARY_PATH <Created by anonymouse64> <https://github.com/snapcore/snapcraft/pull/3209>13:59
ograijohnson, ^^^ that should be vdpau not vdapu ...14:01
ijohnsonman I open one PR to snapcraft and 2 people tell me it's got a typo within less than 2 minutes14:02
ograteamwork !14:03
mupPR snapd#8997 opened: packaging: add "ca-certificates" to build-depends <Simple 😃> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8997>18:07
mupPR snapd#8998 opened: tests/cmd/snap-bootstrap/initramfs-mounts: fix typo <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8998>18:12
mupPR snapcraft#3210 opened: docker: install snapd dependency <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3210>18:55
mupPR snapd#8997 closed: packaging: add "ca-certificates" to build-depends <Simple 😃> <Created by mvo5> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/8997>19:42
mupPR snapd#8983 closed: tests: add tests.cleanup helper <Created by zyga> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/8983>19:57
mupBug #1887204 opened: Snap is not clear about partial strict confinement <Snappy:New> <https://launchpad.net/bugs/1887204>23:10
mupBug #1887204 changed: Snap is not clear about partial strict confinement <Snappy:New> <https://launchpad.net/bugs/1887204>23:13
mupBug #1887204 opened: Snap is not clear about partial strict confinement <Snappy:New> <https://launchpad.net/bugs/1887204>23:19

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