/srv/irclogs.ubuntu.com/2020/04/29/#snappy.txt

mborzeckimorning06:22
mvomborzecki: good morning06:23
mvomborzecki: I cherry-picked 8575 to 2.4406:37
mvomborzecki: that is needed, right? we will need a new 2.44.4 with a fix for syscalls with base: core2006:37
mborzeckimvo: thanks!06:38
mborzeckimvo: yes, it fixes the problems with libcrypto dependency being injected on centos06:38
mborzeckimvo: i'll need to add a similar change in downstream packaging for fedora/epel06:39
mvota06:39
zygaGood morning06:40
zygaHow are you guys?06:41
zygaI will start late but I will look at opensuse a little today06:41
zygaI’ll fix our tests there and update the packaging /release06:41
mvozyga: hey, I'm good, thanks!06:42
mborzeckiqemu 5.0 is out, supports emulating tpm for arm06:45
zygaGroovy06:45
zygaCan we snap it? :-)06:46
mborzeckimvo: hmm 2.44 travis unit test job runs with different go version?06:52
mborzeckiah, it's go master06:53
mvomborzecki: yeah, just removed that06:56
mvomborzecki: I want to see the spread run06:56
mborzeckii'm out for a bit, and yay it's raining!06:57
pstolowskimorning07:04
mvohey pstolowski - good morning07:04
=== rawr is now known as grumble
juerghmvo, zyga can one of you help me with that snapd download, please?07:43
zygaI will try08:01
zygaWhich version do you need?08:01
zygajuergh: ^ ?08:22
ogradid xdg-open change recently ?08:29
ograerror: error running snapctl: Unknown command `user-open'. Please specify one command of: get, is-connected, restart, services, set, set-health, start, stop or unset08:29
zygaogra: hmm, weird08:33
zygaogra: perhaps a bug08:33
ograi'm not yet sure, might be that the app changes ... the snapctl got me hooked though08:34
ogra*changed08:34
* zyga breakfast08:37
juerghzyga, snapd 2.43.308:42
zygaok08:42
zygagive me a moment please08:42
zygajuergh: which architecture do you need?08:51
juerghzyga, amd6408:52
zygajuergh: hmm, but wait, 2.43.3 is latest stable08:52
zygaah08:52
zygasorry 4408:52
* zyga needs coffee08:52
* zyga looks at fixing the opensuse build issue now09:59
tprestonHi, is there a reason why snapd /etc/profile.d/snapd.sh *appends* snap_bin_path to PATH, rather than prepends?10:01
tprestonhttps://forum.snapcraft.io/t/should-snap-bin-be-prepended-to-path/450610:01
zygatpreston: it's a more conservative choice, I suspect10:01
tprestonI have ctags installed at a system level (because of a package dependency), but I'd prefer to use snapd universal-ctags10:01
tprestonzyga: I guess so, maybe I should alias ctags then10:02
dokohow can I make how can I make file:///usr/share/doc/python3-doc/html/index.html  work with the chromium snap?10:04
zygadoko: apart from serving it over http, I guess you cannot10:06
zygadoko: maybe copy it to ~ ?10:07
dokozyga: broken by design to access anything in /usr/share/doc ?10:09
zygadoko: not broken by design10:09
zygadoko: it's just not designed to access arbitrary host locations10:09
zygadoko: there are two elements at play, the view of the filesystem and the sandbox10:10
dokowell, copying everything from /usr/share/doc to ~ is not viable10:10
zygadoko: chromium and your system see different filesystem10:10
zygadoko: and while /usr/share/doc is probably safe and could be allowed, it's not a general property10:10
dokois there a bug report about that?10:10
zygadoko: before you file one, do you have an idea of how it should work?10:11
zygadoko: I mean, I share the sentiment of it feeling broken10:11
zygadoko: but what could we do?10:11
dokowell, for me it then not using the snap anymore10:13
ograhave a "host-documentation" interface that lallows reading /usr/share/doc content ?10:13
zygadoko: to partially answer my own question, at some point the document portal could be integrated into chromium, so that it could open a file10:13
zygabut IIRC the portal does not handle directories yet10:13
zygadoko: while I agee it's a regression I think using chromium to browse debian-style local documentation is fortunately niche10:14
zygaogra: if you do that then the snap won't be able to see the /usr/share/doc from the base, I guess that's acceptable but rather obscure10:15
zygaogra: but I think that's a good idea10:15
ograyeah, i doubt the base will actually have content in /usr/shar/doc apart from copyright files10:17
zygadoko: I would strongly encourage you to file a bug or open a forum thread, I think ogra's idea is viable and well worth discussing10:17
ograunless the building has changed massively (we used to remove everything there in the expectation that nobody would every want to use docs inside a base)10:17
zygaogra: yes, I think we are lucky in a sense10:18
zygaif it was something other than that directory, it's probably not something that we could rely on10:18
ograyeah10:18
ograbtw, using a portal would be horrible i fear, every link inside that index.html would pop up a new portal window10:20
dokozyga: where to file a bug?10:20
zygaogra: I think there's a plan to open an entire directory as a portal10:21
ograah10:21
zygadoko: please file the bug on snapd on launchpad10:21
dokohttps://bugs.launchpad.net/snapd/+bug/187586010:24
mupBug #1875860: local documentation is not accessible from the chromium snap <regression> <snapd:New> <https://launchpad.net/bugs/1875860>10:24
zygaogra: I added a comment explaining your idea10:26
zygadoko: thank you!10:26
ogra:)10:26
ackkhi, are these error coming from snapd itself  https://launchpadlibrarian.net/477374648/DpkgTerminalLog.txt ?11:04
zygayes11:08
zygaackk: udev in containers11:08
zygaackk: it's a known topic that's on the backlog11:08
ackkzyga, what's the issue there?11:10
zygaackk: snapd tries to reconfigure udev but udev is not meant to be used in containers (we pull it as a debian dependency) and it fails11:10
ackkzyga, for context, https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1875741 is the bug for that trace. basically a bionic->focal dist-upgrade with maas transitioning from deb to snap broke11:11
mupBug #1875741: package maas 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 failed to install/upgrade: new maas package pre-installation script subprocess returned error exit status 1 <amd64> <apport-package> <focal> <third-party-packages> <uec-images> <maas (Ubuntu):New> <https://launchpad.net/bugs/1875741>11:11
zygaackk: on subsequent runs snapd things everything is okay and no longer tries11:11
ackkzyga, so trying once again should fix it?11:11
zygaackk: it's a topic we know about since Fra but we haven't managed to discuss at depth with Security11:11
zygaackk: yes11:11
zygaackk: there are some disagreements and we frankly didn't have time to sit down and discuss this11:11
ackkzyga, did anything change recently? I did test maas deb->snap transition in containers, never seen this issue11:12
zyganot that I know of11:12
ackkzyga, won't that break anyone dist-upgrading a container with snapd installed to focal? or is some kind of race that might happen?11:13
zygaackk: it probably will11:14
zygaackk: just a fire more distant than fires close up11:14
sparkiegeekzyga: got a bug number for it?11:14
zygasparkiegeek: yes, let me find it11:14
zygasparkiegeek: I tried addressing it before11:14
zygaone sec11:14
ackkzyga, sure, not implying anything, just trying to understand if there's something on the maas package side we could do, which it seems ther's not?11:15
zygahttps://github.com/snapcore/snapd/pull/821911:17
mupPR #8219: interfaces: use udev backend if udev socket exists <Security-High> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/8219>11:17
zygathis is my idea and the bug is https://bugs.launchpad.net/snapd/+bug/186550311:17
mupBug #1865503: snapd (deb) fails to install snapd (snap) inside LXD on a buildd based image <core20> <snapd:In Progress by zyga> <https://launchpad.net/bugs/1865503>11:17
zygathe discussion there is interesting as well11:17
zygamy idea is that we should not depend on udev, not pull it in for containers, not use any udev when there's no real udev or real /dev11:17
zygasparkiegeek, ackk: if you have opinions I'd love to learn from you as well11:19
sparkiegeekzyga: no educated opinion here :|11:20
ackkzyga, same here...11:20
mupPR snapd#8578 opened: interfaces: add host-docs interface <Created by zyga> <https://github.com/snapcore/snapd/pull/8578>11:31
mborzeckipstolowski: does your PR now work on centos 8 with the fix in master?11:58
pstolowskimborzecki: which PR?12:19
mborzeckipstolowski: don't remember :P one that was blocked by selinux basically, or was there none?12:19
pstolowskimborzecki: master was blocked12:20
mborzeckiahh cool12:20
zygadoko: https://github.com/snapcore/snapd/pull/857812:22
mupPR #8578: interfaces: add host-docs interface <Created by zyga> <https://github.com/snapcore/snapd/pull/8578>12:22
zygadoko: it even has a test: https://github.com/snapcore/snapd/pull/8578/files#diff-aea859a8dd781e56f1c21b809b953d95R1312:22
ograoh, look someone found the mvo backdorr in ubuntu core !!! once you create an mvo account you can never delete it anymore !! https://forum.snapcraft.io/t/login-and-delete-user-created-with-v2-create-user/1701912:31
mborzeckiall devices belong to mvo ;)12:33
ograyeah !12:33
mvoogra: haha12:33
ograi really wonder what makes people use some random accounts found on the internet for such stuff :)12:34
mvoit's baffling!12:34
zygamvo: lol12:37
zygamvo: I wonder if the user found this is our tests or if there is some documentation example12:53
mvoprobably12:54
zygaI could use a review for rather simple https://github.com/snapcore/snapd/pull/856513:48
mupPR #8565: osutil: expand FileLock to support shared locks and more <Created by zyga> <https://github.com/snapcore/snapd/pull/8565>13:48
zygaok, i have my opensuse install under control now14:02
pstolowski+114:05
zygathanks!14:05
zygaijohnson: do you have a moment  ^ it's pretty simple14:09
zygaijohnson: it would unblock a host of other PRs14:09
ijohnsonzyga: will look in a bit busy atm14:11
zygasure14:11
mborzeckimvo: pstolowski: do you think we can land https://github.com/snapcore/snapd/pull/8536 to unblock the rest? with any tweaks in the followups (there's a bunch of PRs stack on top of this one)14:17
mupPR #8536: store,asserts,many: support the new action fetch-assertions <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8536>14:17
mborzeckihm pedronis isn't around14:17
zygabrb14:18
zygatea14:18
pstolowskimborzecki: best to ask him actually... don't know if there is any risk14:19
mupPR snapd#8536 closed: store,asserts,many: support the new action fetch-assertions <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8536>14:29
mvomborzecki: I think it makes sense, done14:29
mborzeckithanks!14:29
zygajdstrand: https://github.com/snapcore/snapd/pull/8578/files#diff-aea859a8dd781e56f1c21b809b953d95R1314:29
mupPR #8578: interfaces: add host-docs interface <Created by zyga> <https://github.com/snapcore/snapd/pull/8578>14:29
jdstrandzyga: cool thanks. I have it on my list to review, but note I'm sprinting/etc14:30
zygano rush :)14:31
ijohnsoncmatsuoka: I hit the infinite loop of failed to transient mount unit for ubuntu-seed you had the other day14:57
cmatsuokaijohnson: it's quite infrequent, but it's something we'll have to fix15:13
ijohnsoncmatsuoka: did the issue go away when you rebooted ?15:13
* ijohnson would like to debug but is afraid that when rebooting the issue goes away15:14
cmatsuokaijohnson: yes, when I booted the same image again it worked as expected15:14
cmatsuokalooks racy15:14
ijohnsonmmm yeah15:14
ijohnsonah actually I can consistently reproduce this now on my image15:17
* ijohnson debugs15:17
cmatsuokaoh that's good, I couldn't reproduce it15:18
* cachio lunch15:23
ijohnsoncmatsuoka: I video recorded the boot and caught this in the first few seconds of the log15:25
ijohnsonhttps://usercontent.irccloud-cdn.com/file/84WtzfpC/loop%20uc20%20edge.png15:25
ijohnsonthe last line `systemd-fsck CP437 Invalid argument` is suspicious15:26
cmatsuokaoh interesting15:26
cmatsuokayes, very suspicious15:26
ijohnsonhttps://usercontent.irccloud-cdn.com/file/uYCPMgpF/loop%20uc20%20later.png15:27
ijohnsoncmatsuoka: then this is also suspicious where run-mnt-ubuntu\x2dseed.mount fails because wrong fs type, bad option, etc.15:28
cmatsuokaijohnson: maybe you could inspect the image file? (it could be a good idea to make a copy first in case you end up fixing the problem)15:29
cmatsuokaijohnson: and check if the partition contents are there or the filesystem seems right15:30
ijohnsoncmatsuoka: yes I am doing that now15:30
ijohnsonthe partition was mounted fine with kpartx + mount of the loopback device15:30
cmatsuokadoes it look good?15:31
ijohnsonyeah it has all the expected files and such15:31
cmatsuokahmm15:31
ijohnsonshould I try to run fsck on the partition in the .img file ?15:31
cmatsuokayeah, let's see what happens15:32
ijohnsonhuh fsck.etx4 says ubuntu-seed is actually a vfat partition?15:34
ijohnsonhttps://www.irccloud.com/pastebin/C2v5Dpoz/15:34
cmatsuokamm, yes, seed is vfat15:35
ijohnsonreally? I thought seed was ext4 on amd64 ?15:35
cmatsuokawe must EFI boot it15:35
ijohnsonah okay so I was just wrong about that then15:36
cmatsuokaseed is vfat, the rest is ext415:36
ijohnsonok, fsck.vfat doesn't complain about the partition at all then15:36
ijohnsoncmatsuoka: anything else I should check about the partition you think?15:36
cmatsuokadid it complain about code pages or something like that?15:37
cmatsuokaor maybe systemd-fsck does something different?15:37
cmatsuokadoes it still fail if you boot the image again?15:38
ijohnsoncmatsuoka: yes it reliably fails every time I boot now15:42
ijohnsoncmatsuoka: all I got from fsck.vfat output was this:15:42
ijohnsonhttps://www.irccloud.com/pastebin/nuIWXTi1/15:43
cmatsuokahmm15:43
ograxnox, when you disabled the ability to disaable console-conf in ubuntu-image, did you make sure it still works for core18 builds ?15:44
ogra(someone just said it is completely gone, we have customers usign that option to build their images)15:44
cmatsuokaijohnson: so the fs is good but for some reason it's not being mounted15:46
ijohnsonyes15:47
ijohnsonI can mount it fine though when the image is not booting15:47
ijohnsonactually you know what, since this is still in install mode I can change the kernel cmdline since we never make it out of the initrd15:47
ijohnsonso unsealing doesn't affect anything at this point15:47
cmatsuokayes, you're right, let's inspect it while it's happening15:48
ograxnox, ah, nevermind ... it still works but the --help info about it is gone15:48
ijohnsonwell damn now it boots fine15:49
cmatsuokadid you make a copy of the original image?15:50
ijohnsonyes I did15:50
ijohnsonlet me make a copy of that original image and try again15:50
ijohnsonah now the copy of the original broken image works too :-/15:51
cmatsuokaoh noes15:51
ijohnsonso this definitely seems like a race15:52
cmatsuoka /o\15:54
ijohnsonwell on the other hand, I notice that in the log of the failed boot that goes into this loop there's this message too:15:57
ijohnson[    1.342368] FAT-fs (vda2): IO charset iso8859-1 not found15:57
ijohnsonand that message doesn't appear in a good boot15:57
ijohnsonso perhaps it's a race with some kernel module being loaded?15:57
cmatsuokathat sounds plausible15:58
cmatsuokabut then if it's desperately retrying, at some point it should work15:58
cmatsuokaijohnson: https://askubuntu.com/questions/372445/fat-fs-io-charset-iso8859-1-not-found-error-while-mounting-fat-drives15:59
ijohnsoncmatsuoka: what's so weird about this issue, is that it finishes the fsck check on /dev/vda2 in the loop case16:01
ijohnsonah but it wouldn't be loading the kernel module from that partition at this point, it would be loading it from the initrd in the kernel16:01
ijohnsonso perhaps that kernel module in the initrd is corrupted somehow?16:02
cmatsuokabut then why it would work in the next boot?16:02
ijohnsonwell tbh I didn't quite make a perfect backup of the original image that was always reproducing, what I did was this:16:03
ijohnson1. tried booting same img over and over again always reproducing infinite loop16:04
ijohnson2. tried mounting the img file with kpartx and ran fsck.ext4 on it as explained16:04
ijohnson3. unmounted with kpartx and made a backup copy16:04
ijohnson4. re-mounted it and tried with fsck.vfat16:04
ijohnson5. booted it and it didn't work first time16:04
ijohnson6. rebooted it and changed kernel cmdline in grub menu, now it works every time16:04
cmatsuokawell, it still didn't boot in step 516:05
ijohnsonyes but somehow changing the kernel cmdline made it boot fine16:06
cmatsuokathat's weird16:06
ijohnsonI set the kernel cmdline to this: `console=tty1 console=ttyS0 rd.systemd.journald.forward_to_console=1 systemd.journald.forward_to_console=1 rd.systemd.debug_shell=1 dangerous panic=-1`16:06
ijohnsonlet me try re-creating this image fresh the way I did originally16:07
cmatsuokaI'll break for lunch and hopefully have a good idea while eating16:08
cmatsuokabecause right now I don't have any16:08
ijohnsonyeah just doing same thing again to build the image didn't reproduce it16:09
* ijohnson runs it in a loop16:09
ijohnsonhey I reproduced it again!16:11
* ijohnson saves that img16:11
zygayou guys are having some fun :)16:14
ijohnsonuc20 is too much fun16:14
ijohnsonalright so every few time it hits that loop and fails, I see the IO charset iso8859-1 not found message, but when it does boot, I don't see that message, so it definitely is related16:17
xnoxogra_:  i didn't change anything in ubuntu-image, and do not do any ubuntu-image development there.16:26
xnoxogra_:  open an issue against ubuntu-image repository, with any bugs.16:26
threshhi.  I see my snapcraft push nightlies/vlc_*.snap --release beta, has succeeded in my CI, and I also see it under "Latest revisions for amd64" list.  However it's not in the beta channel.16:27
threshwhy would that happen, on the store?16:27
zygathresh: this is more of a snapcraft question but perhaps snapcraft devs are around as well16:28
threshthanks zyga, I'll complain in the related channel too :-)16:29
zygathresh: I don't use snapcraft that often but I usually separately upload and release16:31
zygacachio: are tumbleweed images updated periodically somehow or are we running a snapshot until something happens explicitly?16:47
cachiozyga, failed yesterday16:50
zygasorry, I don't understand16:50
cachiolet me try to fix it16:51
zygacachio: can you please answer my question :-)16:51
cachioI mean16:51
zygaI' just want to understand what the process is16:51
zygayou can tell me what failed and about fixing it as well16:52
zygabut that's not what I was asking about16:52
cachiothe process is:16:52
cachiothe image is updated to a tamporal image16:52
cachiothen the snapd tests are executed16:52
cachioif tests pass, then we turn that temporal image in a test image16:53
cachiootherwise the image is discarded16:53
cachioyesterday it failed running tests16:53
cachiofailed preparing the the snapd teest suite16:54
zygais there any notification when that happens?16:54
cachiono16:54
zygathat's not great, can we try go get some16:54
cachioit is in the brnaches board16:54
cachioans it happens every monday16:54
zygawhat is "branches board"?16:55
cachiohttps://travis-ci.org/github/snapcore/spread-cron/branches16:55
cachiohttps://travis-ci.org/github/snapcore/spread-cron/branches16:55
cachiozyga, this is the last log https://travis-ci.org/github/snapcore/spread-cron/builds/680087171#L274916:55
cachiosometimes I manually run the jobs to update the images16:56
cachiozyga, I see this Package 'python-docutils' not found.16:57
zygaI see, I think this package just got removed, it's a python 2 package16:58
cachiozyga, also 'pkg-config' not found in package names.16:59
zygacachio: why are we installing python-docutil?17:00
zygaI don't see it in anything related to opensuse17:00
zygacachio: yes, that's also been removed and replaced by something else17:00
=== ijohnson is now known as ijohnson|lunch
cachiozyga, this is the snapd test suite which fails17:01
zygacachio: python-docutils is only listed in arch17:01
zygacachio: why are we installing python-docutils, do you know?17:01
cachiozyga, don't know why it is installed17:01
cachioI guess  a test need it17:01
ograxnox, oh, sorry, GH tricked me ... you were just a reviewer on https://github.com/CanonicalLtd/ubuntu-image/pull/18617:01
mupPR CanonicalLtd/ubuntu-image#186: Some options are unsupported for UC20 builds <Created by sil2100> <Merged by sil2100> <https://github.com/CanonicalLtd/ubuntu-image/pull/186>17:01
zygacachio: do you know which part of the code is installing it? I certainly don't see it in pkgdb.sh17:01
zygaI see it in opensuse dependencies but that's not managed by pkgdb.sh17:02
zygacachio: ok, I see the problem now17:04
cachiopackaging/opensuse-15.0/snapd.spec:17:04
zygacachio: I think for sid, tumbleweed and arch we should not stop17:04
zygacachio: if we stop and use some ancient version because tests don't pass17:04
zygathat's pretty much because snapd is in a way broken17:04
zygathe world has moved on17:04
zygastaying on an old image without alerting the team could be a problem later17:05
zygain a sense those systems are all unstable because they never stop17:05
cachiozyga, for arch is not a problem because we update in every run the image17:05
zygacachio: regardless of how we update17:05
cachiozyga, but I could remove snapd tests validation for tumbleweed and sid17:06
cachioit is very easy17:06
zygacachio: yeah, I think we should do that17:06
zygacachio: we can have them in unstable systems17:06
cachiozyga, yes17:06
zygacachio: in reality, the package is gone from the archive17:06
cachiototally agree17:06
zygacachio: not updating a stale image is not buying us anything17:06
zygacachio: the package cannot be built17:06
zygacachio: CI is not functioning as CI :)17:06
zygacachio: cool, I'll send a patch to fix our packaging17:07
cachiozyga, nice, thanks!17:07
zygacachio: but please let's figure out how to make some notifications flash on everyone's systems17:07
zygacachio: so that next time we know earlier17:07
cachiozyga, sure, I'll configure to send emails17:07
zygasuper, thank you :)17:07
cachiozyga, yaw17:07
zygacachio: https://github.com/snapcore/snapd/pull/857917:17
mupPR #8579: packaging: stop depending on python-docutils <Created by zyga> <https://github.com/snapcore/snapd/pull/8579>17:17
mupPR snapd#8579 opened: packaging: stop depending on python-docutils <Created by zyga> <https://github.com/snapcore/snapd/pull/8579>17:17
* zyga goes to make coffee ahead of the meeting17:22
cachiozyga, thanks17:28
cachiolets test it whith the new image once it is ready17:28
zygasure17:31
kyrofaIf someone runs `snap revert`, will it run the refresh hooks?17:49
=== ijohnson|lunch is now known as ijohnson
ijohnsonkyrofa: afaik it won't17:49
kyrofaijohnson, any hooks? Any way the snap to which is being reverted can know that a revert happened?17:50
ijohnsonno, I think that's by design that the snap doesn't know it got reverted17:50
kyrofaFair enough, thanks ijohnson17:51
ijohnsoncmatsuoka: ah I think I understand the problem now17:53
ijohnsoncmatsuoka: what's happening is this sequence of events:17:53
ijohnson1. there is a systemd unit for running fsck on /dev/disk/by-label/ubuntu-seed that just always runs, so it happens to run first17:54
ijohnson2. snap-bootstrap via "the-tool" runs, says to mount /run/mnt/ubuntu-seed _with transient unit_ (that's important)17:55
ijohnson3. that fails because systemd-modules-load has not run, or finished running yet17:55
ijohnson4. so we see IO charset iso8859-1 not found from the kernel because nls_iso8859_1 was not loaded17:55
ijohnson5. systemd-modules-load eventually runs/finishes running and does load nls_iso8859_1: systemd-modules-load[238]: Inserted module 'nls_iso8859_1'17:56
ijohnson6. the-tool keeps running snap-bootstrap, which says to mount /run/mnt/ubuntu-seed, however because of how the-tool tries to do the mount, it just requests a transient unit for the mount17:56
ijohnson7. the transient unit was already started/created by systemd so systemd doesn't try again and just complains thusly: the-tool[380]: Failed to start transient mount unit: Unit run-mnt-ubuntu\x2dseed.mount already exists.17:57
ijohnson8. thus we get stuck in an infinite loop where the-tool never exits because the-tool doesn't run systemd-mount with set -e, it explicitly runs systemd-mount with set +e first, then turns set -e back on after running systemd-mount17:58
cmatsuokathat makes perfect sense17:58
ijohnsoncmatsuoka: so I have a few thoughts on how to fix this, 1) make the-tool depend on systemd-modules-load, 2) make the-tool eventually give up (because since it never gives up systemd never allows a debug shell to be started either)17:59
ijohnson3) don't have a unit which runs fsck always on ubuntu-seed, instead have the-tool dynamically do that when snap-bootstrap requests something to be mounted17:59
ijohnsonwdyt?17:59
cmatsuoka2 looks like a good thing to have in case we run into problems again18:01
cmatsuoka1 + 2 maybe?18:02
ijohnsonyes actually I requested a very similar thing when mborzecki's original PR to ubuntu-core-initramfs was proposed, but I confused myself and said it wasn't a problem haha18:02
ijohnson(for 2 that is)18:02
mborzeckihahah18:02
cmatsuokawell I'm very happy now that this mystery is solved18:03
mborzeckiit does make sense, i mean there's not gooing to me more than some limited number of mounts18:03
cachiozyga, hey, I also see this error https://paste.ubuntu.com/p/gcw9dTrRGm/18:04
ijohnsonalright I will propose a PR to ubuntu-core-initramfs to fix this, but I was going to file a LP bug first to summarize all this, but seems LP just died, so I will have to do that later18:07
* ijohnson goes back to console-conf on core20 hacking18:07
zygaack18:17
zygacachio: please release the image anyway, I will send another change to address that18:19
cachiozyga, ok18:19
mupPR snapd#8579 closed: packaging: stop depending on python-docutils <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8579>18:26
cachiomvo, hi, any idea about this ppa ? https://paste.ubuntu.com/p/ttF5CHt56X/18:35
ijohnsoncachio: launchpad is/was down for a bit18:41
cachioijohnson, ah, thanks18:42
mvocachio: looks like a LP issue18:44
cachiomvo, yes18:46
cachiothanks18:46
mupPR snapd#8580 opened: data/completion: add `snap` command completion for zsh <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8580>19:12
mborzeckiany zsh users here?19:13
mupPR snapcraft#3095 closed: plugins: break out rosdep resolve parsing for external use <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3095>19:34
mupPR snapcraft#3098 opened: build providers: bootstrap with dirmngr <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3098>19:34
cmatsuokaijohnson: just hit the problem again here, and in the next boot it's gone19:45
ijohnsoncmatsuoka: yes I'm not sure what changed, but something seems to make it more likely to happen recently as I never saw it before yesterday20:05
cmatsuokaand it seems that I'm having some dns issues with the store20:06
ijohnsonthere was a big outage with launchpad a while ago that maybe propagated to the store? I dunno store seems a little slow but otherwise operational on my end20:10
cmatsuokaright now I can't resolve snapcraft.io20:12
Lukewhseems ok here cmatsuoka where are you based?20:13
cmatsuokaI'm in brazil20:13
cmatsuokaoh, and now it's back20:13
cmatsuokaa few days ago there were some routing problems from brazil to the rest of the world so it can be something weird on my side again20:15
mupPR snapcraft#3099 opened: repo: always refresh cache when build packages are required <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3099>20:16
cmatsuokaoh, it seems that the ipv4 addresses are resolving correctly but AAAA is not for some reason20:17
cmatsuokaanyway, let's just use ipv420:18
zygaI will fix the damn pulseaudio test tomorrow20:22
zyganow that other stuff is not red anymore20:22
mupPR snapd#8565 closed: osutil: expand FileLock to support shared locks and more <Created by zyga> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/8565>20:23
zyga\o/20:24
zygathank you Ian :)20:24
cjwatsonijohnson: it was a Canonical network issue, not specifically LP, so there'll have been various bits of fallout20:27
ijohnsonyaw zyga20:27
ijohnsoncjwatson: yeah that's kinda what I expected20:28
cjwatson(GS2 I think)20:28
zygaijohnson: https://github.com/snapcore/snapd/pull/8566/files is next on the r-a-a pipe20:28
zygabut it has probably-poor names20:28
mupPR #8566: cmd/cmdutil: add run inhibition operations <Created by zyga> <https://github.com/snapcore/snapd/pull/8566>20:28
zygaI was split between lock naming20:28
zygaand totally not lock naming20:29
ijohnsonmmm zyga does that need samuele review for names?20:29
zygaijohnson: for sure but we can do the technical review20:29
ijohnsonack will try to get to it today, but probably that one will have to wait for tomorrow20:29
zygaijohnson: or maybe better this:20:30
zygahttps://github.com/snapcore/snapd/pull/857120:30
zygathis is self-sufficient20:30
mupPR #8571: overlord/snapstate: warn of refresh/postpone events <Created by zyga> <https://github.com/snapcore/snapd/pull/8571>20:30
zygaand useful today20:30
zygaand actually tiny apart from tests :)20:30
zygajust two print-like calls20:30
zygabut I should EOD20:31
zygaor I'll start sending more things20:31
* zyga waves20:32
ijohnsonhaha20:32
ijohnsonhave a good night zyga20:32
zygaone last thing: https://github.com/snapcore/snapd/pull/8572#event-328318158920:32
zygaI like this line20:32
mupPR #8572: packaging: add the inhibit directory <Created by zyga> <https://github.com/snapcore/snapd/pull/8572>20:32
zyga"via automation"20:32
zygameh20:43
zygaI fixed the stupid test20:43
zygaijohnson: https://github.com/snapcore/snapd/pull/8581 draft for now20:58
mupPR #8581: tests: port pulseaudio test to session-tool <Created by zyga> <https://github.com/snapcore/snapd/pull/8581>20:58
mupPR snapd#8581 opened: tests: port pulseaudio test to session-tool <Created by zyga> <https://github.com/snapcore/snapd/pull/8581>20:59
zygaso, session-tool on 16.04 - it needs to start doing upstart things, I guess21:09
ijohnsonsad21:11
ijohnsonthat's unfortunate21:11
* ijohnson EODs early21:12
mupIssue core20#48 closed: python3 from base causes segfault for confined snaps on armhf <question> <Created by sergiusens> <Closed by xnox> <https://github.com/snapcore/core20/issue/48>22:35

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