/srv/irclogs.ubuntu.com/2018/03/26/#snappy.txt

mupBug # changed: 1663615, 1667359, 1681328, 168255004:17
mupBug #1667408 changed: docker container command XXXX could not be invoked <docker> <Snappy:Expired> <https://launchpad.net/bugs/1667408>04:20
=== Lin-Buo-Ren-alt1 is now known as Lin-Buo-Ren
Lin-Buo-Renhttps://forum.snapcraft.io/t/how-to-create-a-lxd-container-for-snap-development/465804:25
Lin-Buo-RenRFC04:25
mborzeckimorning05:13
zygahey06:25
* zyga will be a little late due to DST change06:25
mborzeckizyga: hey06:25
zygahey ho06:29
zygaso this week will be, hopefully, more at ease than the last one06:29
* zyga -> breakfast06:30
kalikianagood morning07:13
=== pstolowski|afk is now known as pstolowski
pstolowskimorning guys!07:14
kalikianao/ pstolowski07:16
zygaHey hey07:23
mupPR snapd#4929 opened: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4929>07:40
zygaLooking07:40
mborzecki-ubuntuthere's probably a nicer way to write this rule, would appreciate suggestions07:42
zygaNot in a major way07:46
zygaIt is fine07:46
mborzecki-ubuntuoh, ok ;)07:47
mborzecki-ubuntuzyga: can you take a look at https://github.com/snapcore/snapd/pull/4908 too?07:47
mupPR #4908: [RFC] cmd/snap-confine: attempt to detect if multiarch host uses arch triplets <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4908>07:47
mborzecki-ubuntuzyga: a thought i had during the weekend, maybe we should dump all the figuring out of nvidia dirs from snap-confine and do it in snap command instead, only pass the paths we detected in some predefined environment variables07:49
zygaYes, that is the goal07:49
zygaI think we have all the means now07:50
mborzecki-ubuntusomething SC_NVIDIA_LIB=/usr/lib/..., SC_NVIDIA_METHOD=symlink, or SC_NVIDA_LIB=/usr/lib/nvidia-340xx, SC_NVIDIA_METHOD=bind, simiarly for 32bit variants07:50
zygaNo no07:50
zygaJust use the mount profile07:50
zygaNo need for more variables07:51
mborzecki-ubuntu.fstab files?07:51
zygaYes they have all the bits needed now07:52
zygaI wanted to do this for quite some time now07:52
zygaMove the existing system over07:56
zygaLet snapd handle this07:56
zygaRip the c code out07:56
zygaNvidia mode gets added to system key07:58
zygaLater on it just becomes nvidia snap07:58
mborzecki-ubuntuzyga: yes, this will work07:59
mborzecki-ubuntumeanwhile, 4908 fixes nvidia not working at all with 18.04 :/08:00
mborzecki-ubunturunning new gnome, they seem to half-respect LC_DATE, it currently shows 'poniedziałek, 26 March 2018'08:03
zygamborzecki-ubuntu: oh? maybe it's IPC'd over from gnome-something-something08:04
zygamborzecki-ubuntu: looking at 4908 now08:04
* zyga got back from a walk08:04
zygahow did the failure look like?08:07
mborzecki-ubuntuzyga: which failure?08:08
zygathe 4908 fix for nvidia on ubuntu08:09
mborzecki-ubuntuzyga: well, no 3d with nvidia on 18.0408:10
mborzecki-ubuntuzyga: some details https://forum.snapcraft.io/t/nvidia-gl-libs-access-broken-on-ubuntu-18-04/444008:10
zygalet me read that08:10
zygaso I'm puzzled, you said that your triplet branch made it work on 18.0408:11
zygaor was that still on arch?08:11
mborzecki-ubuntuzyga: arch fixes are already merged08:12
zygaand what happens on ubuntu with that multi-arch branch?08:12
mborzecki-ubuntuzyga: triplet is for ubuntu, but uses the same thing as is used on arch08:12
zygadoes it crash, does it just not do anything?08:13
mborzecki-ubuntuzyga: without the branch there's no 3d, eg. ohmygiraffe hangs, glxinfo shows swrast08:13
zygaright08:13
zygathat's expected now that 18.04 uses libglvnd08:14
mborzecki-ubuntuzyga: with the branch, if nvidia libs are in /usr/lib/<arch-tiplet>, they'll get symlinked, otherwise /usr/lib/nvidia-xxx is bind mounted (if it exists)08:14
zygaright08:14
zygaand what happens on 18.04? we get the symlinks, right?08:14
mborzecki-ubuntuzyga: yes08:14
zygaand?08:15
mborzecki-ubuntuzyga: and it works08:15
zygaoh08:18
zygaI must be sleepy then, I misunderstood you08:19
mborzecki-ubuntuzyga: heh, no worries, I might be sleepy too and talking garbage :P08:19
pedronishi,  a 2nd review of #4928  would be appreciated  (should solve at least of most tests/main/layout failures)08:22
mupPR #4928: tests: disentangle etc vs extrausers in core tests <Critical> <Squash-merge> <Created by pedronis> <https://github.com/snapcore/snapd/pull/4928>08:22
mwhudsongood morning08:23
zygahey mwhudson08:23
zygapedronis: yes, thank you for pointing that out, pstolowski, mborzecki-ubuntu can you please look at 492808:24
pedronismborzecki-ubuntu: did you see this https://forum.snapcraft.io/t/refresh-scheduling-on-specific-days-of-the-month/1239/2208:25
pstolowskilooking08:25
mborzecki-ubuntupedronis: yes, that's the 5minute ensure interval playing tricks, i recall asking about that back when i was double checking that it works, but the behavior (and the code) looked so specific that i did not view it as a bug08:26
pedroniswell, it's an easy fix08:27
mborzecki-ubuntuzyga: hm pretty much any pr to master touchich apparmor profiles has a problem with temp profile files left behind08:28
pedronismborzecki-ubuntu: I can prepare a PR if you are busy with nvidia debugging08:29
mborzecki-ubuntupedronis: that'd be great if that's not a big problem for you :)08:29
zygamborzecki-ubuntu: can you reproduce that with -debug?08:29
zygasomething must have changed to cause this08:30
mborzecki-ubuntuzyga: i have 3 prs for master, 4875, 4908, 4929, each touching apparmor profile and all fail tests/main/snap-confine, i was able to get a debug shell in 4875 using the same -seed, but i was only able to confirm there were temp files in /etc/apparmor.d and those files were not in snapd state snapshot08:32
zygainteresting08:32
zygaperhaps the key to trigger it is to change the apparmor profile08:32
zygathat would trigger the code that updates it08:32
mborzecki-ubuntupedronis: btw. that's just calling EnsureBefore() at the right place?08:34
pedronisyes08:34
pedronisthe most annoying bit is writing the unit test08:34
pedronisanyway I started already08:34
mborzecki-ubuntupedronis: great, thank you!08:35
mupBug #1758849 opened: Snap not able to enable ssh after core upgrade  <Snappy:New> <https://launchpad.net/bugs/1758849>08:45
* zyga tests the community update to the opensuse package08:50
mborzecki-ubuntu`VK_ICD_FILENAMES=/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json` snap run  graphics-debug-tools-bboozzoo.vulkaninfo makes it find nvidia icd now09:05
mupPR snapd#4930 opened: skip test that requires internet when not present <Created by rkitover> <https://github.com/snapcore/snapd/pull/4930>09:09
mupPR snapd#4931 opened: configcore: give a chance to immediately recompute the next refresh time when schedules are set <Created by pedronis> <https://github.com/snapcore/snapd/pull/4931>09:16
pedronismborzecki: ^09:17
pedroniswe probably need to revisit  validateRefreshSchedule  , it has grown convoluted09:18
pedronispstolowski: still looking at 4928, any questions?09:18
pstolowskipedronis: yes, i've a qustion09:29
pstolowskipedronis: just got sidetracked.. give me a sec09:29
pstolowskipedronis: commented09:33
jameshzyga: hi.  Now that jdstrand seems mostly happy with the "secure bind mount" implementation, what's next as far as integrating it?09:34
pedronispstolowski: yes, the tail/head usage is preexisting, we could use grep  (at least for root and test), the issue is that afaict the user called ubuntu, is not called like that, it depens on the cloud09:35
pedronisso it's a win some/lose some kind of situation09:36
pedronispstolowski: I suppose we can use a mixed approach, grep for root,  and sanity check for test  (but copy the two users, the "cloud" one as well)09:37
pedronispstolowski: seems like a follow material though09:38
pedronis*follow up09:38
pstolowskipedronis: yes, 'test' user would be worth checking for09:38
pstolowskipedronis: ok09:38
pedronisI'll do a 2nd PR this afternoon09:39
pedronisI'm squash merging it, because we probably want it in 2.32 if we have more development to do there, or if we get in trouble for this problem with the validations09:41
pedronispstolowski: thank you for the review09:42
mupPR snapd#4928 closed: tests: disentangle etc vs extrausers in core tests <Critical> <Squash-merge> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4928>09:42
mborzeckipedronis: just to be sure, each EnsureBefore(0) causes one iteration of this loop https://github.com/snapcore/snapd/blob/master/overlord/overlord.go#L257 right?09:43
pedronismborzecki: not each,  if you call EnsureBefore(0) many times before the loop has a chance to run, they coalesce to one request09:44
pedronisthat's why it's time based09:44
flexiondotorgzyga mvo Morning10:00
zygahey flexiondotorg10:00
zygamvo is off this week10:00
flexiondotorgLast week before I left for the US I mentioned that snapd 2.32 caused some serious regressions on 18.04.10:00
flexiondotorgIs there a new release to resolve that?10:01
flexiondotorgI'm still experiencing problems.10:01
flexiondotorgniemeyer: ^10:02
mborzeckipedronis: i'm a bit slow today, where are the calls coalesced into one? iirc calling time.Timer.Reset(0) makes it expire immediately, so if the call is made from a handled in one of the .Ensure() calls in overlord/.. the loop will wait (from what i saw those are run in the same goroutine), but if a call like this was made from daemon api, then the loop could turn (different gouroutines), or am i missing10:02
mborzeckisomething?10:02
mborzeckizyga: hm got these 2 files: etc/apparmor.d/snap.core.4321.usr.lib.snapd.snap-confine  /etc/apparmor.d/snap.core.4321.usr.lib.snapd.snap-confine.pXJnJ6rsK7wX10:03
zygamborzecki: do you have a debug session?10:07
mborzeckizyga: jest10:07
mborzeckizyga: notice this:10:07
zygacan you stat both of the files10:07
mborzecki-rw-r--r-- 1 root root 21297 Mar 26 09:33 /etc/apparmor.d/snap.core.4321.usr.lib.snapd.snap-confine10:07
zygaand diff them10:07
mborzecki-rw-r--r-- 1 root root 21297 Mar 26 09:26 /etc/apparmor.d/snap.core.4321.usr.lib.snapd.snap-confine.pXJnJ6rsK7wX10:07
zygaso the garbage one is slightly older10:08
mborzeckithis host executed tests/main/snap-seccomp around 9:2610:08
zygaI wonder if we don't do some error checking10:08
zygaaha10:09
mborzecki(have this special patch to spread that logs machine names running each test)10:09
zygathere is nothing in that test that looks like it would touch snap-confine10:10
zygaand we only make that file when snapd starts up10:10
zygaactually, and when it installs new core snap10:11
mborzeckizyga: hmm 2018-03-26 11:26:12 Executing google:ubuntu-16.04-64:tests/main/snap-seccomp (1/230) (google:ubuntu-16.04-64 (mar261114-742037))...10:11
pedronismborzecki: we move reset only if the next is before the current next, but yes usually calls from api.go will provoke many ensures10:18
mborzeckipedronis: thanks for confirming :)10:19
Caelumzyga: sorry, for some reason I only got your email now10:22
Caelumzyga: about opensuse package10:22
zygahey!10:22
zygahaha, I'm running "osc build" now :)10:22
zygawelcome Caelum :)10:22
CaelumI fixed the spaces in the PR, I'll update the patch10:23
zygathanks, I'll test it and see what is going on there10:23
zygawe have some packaging in the git tree10:24
zygabut it's aimed at our CI loop10:24
zygait would be great if you could see how to unify the. two10:24
zygaCaelum: and again, thank you so much for doing this!10:24
Caelumwhat was that about the udev rules, just remove those files?10:24
zygammm, which one was that? let me look10:24
Caelumhey, I was only doing this so I could run spotify :D10:24
zygaI think we don't need to ship the repair service at all10:26
zygait's a feature that is only for core devices (distribution that is using just snaps for everything)10:26
zygahere we can always update snapd with the regular rpm10:26
zygaah, I see -%{_udevrulesdir}/80-snappy-assign.rules10:26
* zyga looks at that file10:26
zygaso that file we do need10:27
zygait's there so that devices that are udev-tagged to a specific snap are actually added to the device cgroup of that snapo10:28
zygawhat made you remove that?10:28
CaelumI didn't touch that10:29
zygalooking at https://build.opensuse.org/request/show/59099410:29
zygaI see -%{_udevrulesdir}/80-snappy-assign.rules10:29
Caelumoh I must have removed it because the dist didn't install it10:31
zygaoh, I see10:31
zygabut we still need it, it's also a little bit more complex as it was renamed recently10:32
zygalet me see what I get in the built rpm now10:32
Caelumdo you want me to update to 2.32 ? I didn't do that yet because it wasn't listed as a release10:34
zygayes, I think we want that as it brings in a lot of fixes and new features10:34
zygabut10:35
zygalet's see if we can get 2.31.x out first10:35
zyganote that we want to do 2.31.2 probably10:35
zygaas it's a minor bug fix release and should be the same for packaging10:35
Caelumah ok, I will update this10:35
flexiondotorgzyga: Regarding snapd in 18.04.10:39
flexiondotorgI've just tested core snap from edge and *all* strictly confined desktop snaps fail to execute.10:40
flexiondotorg`failed to create prefix path: /tmp/snap.rootfs_wo6vzw/var/lib/snapd/lib/vulkan/icd.d: Permission denied`10:40
zygamborzecki: ^ is that covered by your recent work?10:41
zygaor do we need a new PR to update the profiles to match?10:41
mborzeckizyga: flexiondotorg: #4929 fixes that10:41
mupPR #4929: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4929>10:41
flexiondotorgmborzecki: Thanks. When is that due to land?10:42
Caelumzyga: well ran into a snag already, the vendor releases have the go libs bundled, but the github tarball does not10:42
zygaCaelum: oh, I see, we didn't make a .vendor tarball?10:43
flexiondotorgOpenGL apps on 18.04 using core from stable either fail to execute or attempt to regression to swrast.10:43
CaelumI think I had a similar problem and I solved it by creating the /var/lib/snapd/lib directory10:43
zygaflexiondotorg: opengl is well known and not fixed yet10:43
mborzeckiflexiondotorg: hopefully as sonn as jdstrand gives it a green light (and the build is green)10:43
zygaCaelum: no, the issue here is much more complex10:43
mborzeckiflexiondotorg: proposal for fixing opengl is in #490810:44
mupPR #4908: [RFC] cmd/snap-confine: attempt to detect if multiarch host uses arch triplets <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4908>10:44
zygaCaelum: I'll try to get that corrected10:44
Caelumzyga: awesome, because I have no idea how I'd get the go libs otherwise :)10:44
zygaCaelum: ./get-deps.sh does that10:45
zygabut I think we can get the vendor tarball done10:45
Caelumis it standard for go to use real tabs? I don't know much about go yet10:47
zygaCaelum: I think this is what the default "go fmt" formatting does10:51
Caelumah10:52
Caelumzyga: also you said in the original email, which I only got now for some reason, to remove snap.mount and snap-repair units, should I do that?11:03
zygayes11:07
mupPR snapd#4932 opened: RFC: Content-interface: add rule so slot can access shared directory using plug's namespace <Created by gerboland> <https://github.com/snapcore/snapd/pull/4932>11:15
greybackzyga: jdstrand: when you have a moment, I'd appreciate your opinions on this: https://github.com/snapcore/snapd/pull/493211:15
mupPR #4932: RFC: Content-interface: add rule so slot can access shared directory using plug's namespace <Created by gerboland> <https://github.com/snapcore/snapd/pull/4932>11:15
zygagreyback: ack, I'll read this and get back to you11:16
greybackthank you11:16
zygaCaelum: so, I know how to make the vendor tarball now, I will make one for 2.31.2 now11:18
zygaCaelum: and then we can look at 2.32.1 later today11:18
zyga2.32 has a small known issue that we must address first11:18
zygaCaelum: I will let you know when it is available and I will test your package and approve it in the end11:20
zygaCaelum: perhaps with small tweaks if needed11:20
Caelumzyga: awesome thank you!11:27
mupPR snapd#4933 opened: tests: copy or sanity check core users using usernames <Created by pedronis> <https://github.com/snapcore/snapd/pull/4933>11:39
pedronispstolowski: ^11:40
* cachio afk11:43
pstolowskipedronis: thanks11:55
pstolowski+111:57
=== pstolowski is now known as pstolowski|afk
* zyga curses at backspace-goes-back-in-history in firefox12:04
zygaand erases *all* form input12:04
mupPR snapd#4933 closed: tests: copy or sanity check core users using usernames <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4933>12:10
=== pstolowski|afk is now known as pstolowski|lunch
=== zarcade_droid is now known as Guest76762
=== nessita_ is now known as nessita
zygapedronis: hey12:18
zygapedronis: mborzecki figured out why we have the garbage filenames in snap-confine profile12:18
=== matteo| is now known as matteo
zygapedronis: I think you will need to review that change, it's not big by any standards but it's curious12:19
mborzeckiso far it's looking good, i'll start another spread run and open a PR12:20
zygamborzecki: then we need to rebase/merge the vulcan PR so that it passes12:22
pedronisok,  given that the standup has moved, I will have walk now but can review after the standup12:24
zygapedronis: sounds good, thank you12:24
mupPR snapd#4934 opened: cmd/snapd: make sure signal handlers are established during early daemon startup <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4934>12:26
mborzeckipedronis: ^^12:26
greybackzyga: go to "about:config", search for backspace, and change to 2. Disable backspace=back in FF12:28
zygagreyback: +1 on your PR12:29
zygaI added it to 2.3212:29
zygawe will do a 2.32.x release soon12:29
greybackzyga: cool thanks12:30
* greyback waves https://github.com/snapcore/snapd/pull/4545 seductively12:30
mupPR #4545: interfaces/x11: allow X11 slot implementations <Created by gerboland> <https://github.com/snapcore/snapd/pull/4545>12:30
zygagreyback: for 2.33 I'm afraid12:32
greybackzyga: fair enough12:32
zygagreyback: can you check if I answered all the open questions that are addressed at me12:34
greybackzyga: you did, thanks12:36
zygathank you jdstrand12:44
mborzeckijdstrand: thanks12:44
jdstrandnp12:45
mborzeckizyga: #4939 first, once merged rebase #4929 on top and we should be good, right?12:45
mupPR #4929: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Critical> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4929>12:45
jdstrandand hi12:45
zygayes12:45
mborzeckii meant #493412:45
mupPR #4934: cmd/snapd: make sure signal handlers are established during early daemon startup <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4934>12:45
* kalikiana lunch12:46
jdstrandmborzecki: I noticed that there was a 'conflicting profile for snap-confine.XXXXXX. I restarted the test, but it seems like there are temporary files still on disk when the test runs...12:46
zygajdstrand: the PR mborzecki just mentioned (4934) fixes that12:46
jdstrandok cool12:47
zygahence the rebase dance12:47
jdstrandnice12:47
mupPR snapcraft#2010 closed: Release/2.40+18.04 <do-not-merge-yet> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/2010>12:51
zygapedronis: do you think we should include the fix for //deleted mounts for 2.32.112:53
zygapedronis: it was just test code but could save us some issues in autopkgtest12:53
=== Son_Goku is now known as Conan_Kudo
=== Conan_Kudo is now known as Son_Goku
pedroniszyga: yes13:00
pedronisI squashed thinking it might need backporting13:01
zygapedronis: thank you13:01
mupIssue snapcraft#2025 opened: Proper error on held packages <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2025>13:21
mupIssue snapcraft#2026 opened: Implement a passthrough feature <bug> <enhancement> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2026>13:30
mupIssue snapcraft#2027 opened: Properly crawl tree of remote parts <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2027>13:33
mupIssue snapcraft#2028 opened: When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2028>13:33
mupIssue snapcraft#2029 opened: Proper error for apt hash sum mismatches <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2029>13:36
mupIssue snapcraft#2030 opened: Properly invalidate the cache if sources change <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2030>13:36
mupIssue snapcraft#2031 opened: Inconsistent results when building, cleaning stage and rebuilding <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2031>13:39
mupIssue snapcraft#2032 opened: Can not use NodeJS 8 <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2032>13:42
mupIssue snapcraft#2033 opened: LP: #1752344 <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2033>13:42
zygamborzecki: I have a fix for the atomic file thing13:48
mborzeckizyga: pr?13:48
mupIssue snapcraft#1682 closed: Refactor grammar to be compatible with Python 2 <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1682>13:48
mupIssue snapcraft#1683 closed: Make grammar processing available in pypi <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1683>13:48
mupIssue snapcraft#1684 closed: Vendor grammar logic into snapcraft <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1684>13:48
mupPR snapd#4935 opened: tests: disentangle etc vs extrausers in core tests (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4935>13:50
mupIssue snapcraft#1708 closed: Implement new design for travis CI UX <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1708>13:51
popeymborzecki: i saw you mention you'd update snapd in arch recently. On my manjaro system I'm only seeing 2.30. Do I need to do some voodoo to get updated?13:51
mborzeckipopey: build snapd from aur https://aur.archlinux.org/packages/snapd13:52
popeymborzecki: is that the 'recommend' way going forward to get the latest version?13:53
mupIssue snapcraft#1670 closed: Change file migrations such that files move from stage to prime rather than coming from the part each time <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1670>13:54
mupIssue snapcraft#1690 closed: Design quilt support <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1690>13:57
mupIssue snapcraft#1691 closed: Implement quilt design <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1691>13:57
mupIssue snapcraft#1692 closed: snapcraft quilt tutorial <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1692>13:57
mborzeckipopey: yes, at least on arch14:00
mborzeckipopey: manjaro maintains a set of prebuilt packages from aur, but i have no clue when they get updated14:00
popeymborzecki: ok, what's the command to install it? Because that's not the way we have documented how to install snapd on arch.. https://docs.snapcraft.io/core/install-arch-linux14:01
popeyah okay14:01
popeymaybe we need a guide for vanilla arch and one for manjaro?14:01
popeyoh duh, we have one for manjaro14:01
popeyhttps://docs.snapcraft.io/core/install-manjaro14:01
popeythanks mborzecki14:01
mborzeckizyga: so #4934 is timing out...14:03
mupPR #4934: cmd/snapd: make sure signal handlers are established during early daemon startup <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4934>14:03
=== pstolowski|lunch is now known as pstolowski
zygamborzecki: fun14:07
zygamborzecki: I need to break for a moment now but I will propose a fix for the atomic issue when I'm back14:07
mborzeckizyga: yeah, fun fact, passing when i run it from spread directly (using google backend obviously)14:07
mborzeckizyga: i'll update tests/main/snap-confine to check rules vulkan14:25
mborzeckivulkan glob rules14:25
zygamborzecki: see if we can mock enough of the logic to break14:26
zygaas in14:26
zygamock the environment14:26
zyganot the logic14:26
mborzeckizyga: yeah, i'm dumping a canary into /usr/share/vulkan/icd.d/14:26
zygait would be cool to install real package with driver deps14:26
zygaand mock something in sysfs to have snap-confine go the nvidia path14:26
mborzeckizyga: afaik nvidia libs are the only driver that ships icd files, but our rules pick up any file for that matter14:28
zygamborzecki: can we install nvidia libs in a test?14:28
zygain case some pattern is off and only real files cause the issue14:29
zygaCaelum: you can now get the 2.31.2 tarball14:31
mborzeckizyga: then the code path would be executed only on artful (nvidia-384) and bionic (libnvidia-gl-390)14:40
zygamborzecki: it's better than nothing14:42
zyganiemeyer: can you please look at https://github.com/snapcore/snapd/compare/master...zyga:fix/apparmor-tilde?expand=114:42
zygathis is for the ~ in apparmor profiles14:42
zygaI will write some unit tests but I wanted to get your quick feedback on how this is done14:42
pedroniszyga: there's a typo  in the fedora spec on 2.3214:43
pedronismmh, also the changelog14:43
zygaah, in the changelog14:43
mborzeckipedronis: what typo? 'relevant'?14:43
zygaI saw that14:43
pedronisyes14:43
zygaI thought it was fixed with the 2.32 merge back to master14:43
zygabut we should fix it in the release branch too14:44
pedroniszyga: I did  thebackport but is failing14:44
zygait will annoy tests14:44
pedronison that14:44
pedroniszyga:   https://github.com/snapcore/snapd/pull/4935 is my backport14:44
mupPR #4935: tests: disentangle etc vs extrausers in core tests (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4935>14:44
zygapedronis: just rename it in your PR14:45
zyga(fix the typo)14:45
zygaI think it's fine to do14:45
niemeyerzyga: What's the current suffix?14:45
zygarandom alphanumeric AFAIR14:46
pedroniszyga: was there a corresponding PR on master?14:46
zygastrutil.MakeRandomString(12)14:46
zygapedronis: I suspect mvo fixed that in the 2.32 merge but I didn't see a dedicated PR ; it had to be done within the release ->master merge14:46
niemeyerzyga: Why not just appending the ~ at the end?14:47
zyganiemeyer: I'm doing that now14:47
pedroniszyga: that's not even merged yet14:47
zygaare you saying unconditionally?14:47
zygapedronis: ahh, I must have seen wrong14:47
niemeyerzyga: Yes, the "just" part :)14:47
pedronis#492714:47
mupPR #4927: release 2.32 <Created by mvo5> <https://github.com/snapcore/snapd/pull/4927>14:47
zyganiemeyer: sure, that works too14:47
zygait's a nice thing to do in general14:47
zygamaybe more tools skip ~14:47
zygapedronis: so there's no fixing PR yet, sorry14:48
niemeyerzyga: Yeah..14:48
pedroniszyga: I need to have some tea, I will think what to do14:49
zygapedronis: thank you14:49
pedroniswe probably want to take care of 4927 as well14:49
zyganiemeyer: I'll do that, thanks!14:49
* zyga needs to lunch too14:50
niemeyernp, and lunch is a pretty good idea14:51
mborzeckizyga: hm vulkan code is gated by nvidia driver check too14:57
mborzeckilet me try the simplest tring, i.e. to load the driver without the card, if that doesn't work well, we could somehow try to mock the path to sys, or try to override it at runtime14:58
mborzeckimodprobe: ERROR: could not insert 'nvidia_384': No such device15:01
mupPR snapd#4936 opened: packaging: fix changelogs' typo (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4936>15:03
zyga mborzecki you can perhaps mount tmpfs in a place in sysfs and make it appear to be loaded?15:10
zygare15:46
* zyga returns to updating the PRs15:46
Caelumzyga: was passed out on the couch, will update things now, did you want me to pull the udev file from the old dist and add it back in?15:53
zygaCaelum: yes, please15:53
zygaCaelum: I will review your update shortly but I have some things to finish15:54
Caelumok will do :)15:54
zygaCaelum: just try 2.31.215:54
zygalook at the release page for info15:54
Caelumwait until I update everything15:54
zygawe added snapd-generator binary15:54
zygathats a new thing15:54
zygaand it replaces the snap.mount unit15:54
zygaplease package that one, it fixes snapd running inside containers15:54
zygaother than that it should be fairly similar15:55
Caelumgot it15:55
cachiomborzecki, hey, could you please tellme what of all this is not needed for the arch images?16:01
cachiohttps://github.com/sergiocazzolato/compute-archlinux-image-builder/blob/master/arch-image.py16:01
cachiomborzecki, they are doing many thinks but I am not sure what's really needed16:01
cachiomborzecki, I am starting from this image http://mirror.rackspace.com/archlinux/iso/2018.03.01/archlinux-bootstrap-2018.03.01-x86_64.tar.gz16:02
mupPR snapd#4937 opened: osutil: use tilde suffix for temporary files used for atomic replacement <Created by zyga> <https://github.com/snapcore/snapd/pull/4937>16:18
zyganiemeyer: ^ that's the simplified version16:18
niemeyerzyga: Reviewed16:27
zyganiemeyer: thanks, updated now16:32
* kalikiana heading out for the day16:34
zygamborzecki: ^16:35
sergiusensstgraber nacc: hey, I think I got you covered already, but just in case, want to try out https://forum.snapcraft.io/t/call-for-testing-snapcraft-2-40/4643 ?16:38
sergiusensdiddledan: thanks for the updates to the ref :-)16:39
zygamborzecki: I wonder why the signal handler change is causing things to hang though16:40
zygamborzecki: did you try it in qemu?16:40
mborzeckizyga: no, it'd be useful to compare how long each test takes now16:42
zygamborzecki: you can run qemu with the qemu gui on16:44
zygaand then log in and watch/interact16:44
zygabionic looks different...16:44
mborzeckizyga: 'fake' nvidia test https://github.com/bboozzoo/snapd/commit/2c8aa956b3ffe68d98fd446988472db81dbd4c5116:45
zygammm16:46
=== Guest78101 is now known as devil__
mborzeckineed to wrap it up for today, my wife is really unamused with me now16:49
zygamborzecki: thank you!16:49
zygamborzecki: I gave you a quick review16:50
zygamborzecki: can you propose that?16:50
mborzeckipedronis: pushed a patch with buffered channel as you suggested16:50
kaliyhi there! is there a way of changing the display name for the developer of a snap, other than transferring ownership? I tried adding a 'company' name to my profile, but to no avail16:51
mborzeckizyga: i'll drop the daemon patch from 4929 and push the test there instead16:51
zygathanks16:52
naccsergiusens: is it in xenial-updates already?16:53
sergiusensnacc: xenial-proposed16:53
naccsergiusens: ah ok16:53
nacci'll check it out16:53
Caelumthe tests take a really long time, would be nice if you could run a smaller subset of important tests16:57
mupPR snapd#4936 closed: packaging: fix changelogs' typo (2.32) <Created by pedronis> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4936>17:05
mupPR snapd#4937 closed: osutil: use tilde suffix for temporary files used for atomic replacement <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4937>17:05
threshhello.  I'm having different sets of staged packages (almost) every time I run snapcraft prime;  what do I use to debug that?17:05
threshthe snap does not change, the iamge I build in the snap is the same, too.17:07
threshs/the snap/snapcraft.yaml/17:07
zygaCaelum: unit tests? They should run pretty quickly. What are you getting?17:09
pedroniszyga: I updated   #4927 to include the typo fix,  #4935 is green17:14
mupPR #4927: release 2.32 <Created by mvo5> <https://github.com/snapcore/snapd/pull/4927>17:14
mupPR #4935: tests: disentangle etc vs extrausers in core tests (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4935>17:14
zyga Thank you, looking17:14
zygaWe are only missing one thing now. The fix for apparmor profiles17:16
mupPR snapd#4935 closed: tests: disentangle etc vs extrausers in core tests (2.32) <Created by pedronis> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4935>17:16
zygaIt should be mergable soon17:16
threshmaybe there is a ML where I can post so it wont get scrolledback into oblivion?17:17
zygathresh: use forum.snapcraft.io please17:17
threshfancy :-)17:18
sergiusensnacc: thanks17:39
Caelumzyga: the tests take longer for me than the whole build, although I have an old laptop17:39
zygaI see, I think you will be happy to know our integration tests run for a few hours17:40
Caelumheh17:41
mupPR snapd#4938 opened: release-tools: add repack-debian-tarball.sh <Created by zyga> <https://github.com/snapcore/snapd/pull/4938>18:06
zygaCaelum: I think unit tests are worth keeping18:16
zygait's the minimalistic line of defence18:17
Caelumoh sure, they are definitely worth having, I just meant that you have like a "quick sanity check mode" and "all unit tests" mode18:21
Caelumzyga: so I'm done with the changes, updated to 2.31.2, re-added udev rule, removed snap-repair units18:22
zygaexcellent18:22
zygaI will build, review and test it today and tomorrow18:23
zygawe can release it tomorrow18:23
zygatry as many snaps as you can18:23
Caelumsweet18:23
zygaand see if something breaks18:23
Caelumyeah I already have mailspring and spotify working nicely18:23
zyga:-)18:23
zygawould you like to help me get snapd into opensuse proper?18:23
zygainto factory and tumbleweed and leap?18:24
Caelumyes18:25
zygawoot, fantastic18:25
zygaare you familiar with the process?18:25
zygahey mvo18:41
mvohey zyga18:41
zyga700/2000 tests18:41
zygaI reverted a spread test for nvidia that isn't ready18:41
mvozyga: neat18:41
zygasorry :/18:41
mvozyga: what pr is it?18:41
zygahttps://github.com/snapcore/snapd/pull/492918:41
mupPR #4929: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Critical> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4929>18:41
zygamvo: I updated 2.31.2 release page https://github.com/snapcore/snapd/releases/tag/2.31.218:42
mvozyga: great, thank you!18:42
Caelumzyga: I'm not, this is the first package for oS I've worked on, but from what I can tell from the wiki you just submit the package and it gets reviewed and added, and I know some people in oS who can help me18:44
zygaCaelum: that's good, I think we can help too18:45
zygaCaelum: I think we can try to propose 2.32.x once that's ready this week18:45
mupPR snapd#4927 closed: release 2.32 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4927>18:45
zygamvo: did you see my question here: https://github.com/snapcore/snapd/pull/4927#discussion_r17691163718:45
mupPR #4927: release 2.32 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4927>18:45
mvozyga: I did not, sorry - too trigger happy :(18:47
mvozyga: but that is ok, the exact verison in the postinst needs to be adjusted for each upload anyway. but only once18:48
zygano worries, what's the answer?18:48
zygaoh?18:48
zygawhy only once?18:48
mvozyga: we need it to match the exact version of the upload (so e.g. 2.32.1+17.10)18:50
mvozyga: after that (when we release 2.32.2) it will be enough to test for "less-than" 2.32.2 I think18:50
mvozyga: any news on the nvivia 18.04 work?18:50
zyganot more than earlier today, maciej needs to add the scoping and the tests for this18:52
zygaI think it can all happen tomorrow18:52
zygaI think the last PR looks happy now18:52
zygadiscarding machines18:52
mvozyga: yay, no errors?18:53
mvozyga: cool, once its merged I will cherry-pick18:53
zygayes18:53
zygait's green now18:53
zygamerging18:53
zygadrat, I didn't squash18:54
zygamvo: please take just https://github.com/snapcore/snapd/pull/4929/commits/5f1762b0b8ab52b7e60fcce377e24c5ce025b21918:54
mupPR #4929: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Critical> <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4929>18:54
mupPR snapd#4929 closed: cmd/snap-confine: apparmor: allow creating prefix path for gl/vulkan <Critical> <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4929>18:54
zygamvo: and f3f77d9ac192e78523c82a15d368dea943ed884118:54
zygaand that's the release18:55
mvozyga: ok, thanks18:55
mvozyga: nothing from beta validation that needs fixing? all green there?18:55
zygano, all green there18:55
mvozyga: cool18:56
zygamvo: you can consider https://github.com/snapcore/snapd/pull/4934 if you want but I'm not pushing for that18:56
mupPR #4934: cmd/snapd: make sure signal handlers are established during early daemon startup <Squash-merge> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4934>18:56
mvozyga: the "~" pr is a bit of a workaround ;)18:56
zygait's 2.32.2 material18:56
zygahaha, yes18:56
zygaI read apparmor source code18:56
zygaanything else is worse18:56
zygalike .rej18:56
zygaor .dpkg-new18:56
mvozyga: ;)18:56
zygaor .rpm-something18:56
mvozyga: ideally we would figure out why we have the leftovers but I think we are in agreement here :)18:57
mvozyga: I looked at the singal PR, it looks harmless, does it fix a real issue?18:57
mvozyga: I mean, anything that was reported by users etc?18:57
zygaoh18:57
zygawe did18:57
zygait is the real issue18:58
zygawe have logs where we start initializing stuff18:58
zygaand then get killed with SIGINT18:58
zygathis and the ~ PRs fix the same issue from two ways18:58
zygaor sides18:58
zygawe will only process signal and shutdown after snapd is constructed18:58
zygaand we will write files that are ignored by apparmor anyway18:58
zygathis is a test issue but it can affect real systems too18:59
zygain tests it's just shutting down snapd being unreliable18:59
zygasquash it please19:00
mupPR snapd#4934 closed: cmd/snapd: make sure signal handlers are established during early daemon startup <Squash-merge> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4934>19:00
zygamvo: if you prepare the debian part I can make the release page look nice again :)19:00
zygamvo: I need to take Bit out for a walk19:00
zyga(Bit is how our dog is called :)19:01
mvozyga: sure, I prepare things and we sync up when you are back. cu19:05
mupPR snapd#4939 opened: release: 2.32.1 <Created by mvo5> <https://github.com/snapcore/snapd/pull/4939>19:11
mvozyga: its building in ppa:snappy-dev/image now, once that is done I will trigger beta build etc19:13
zyga Super19:15
zygamvo: back19:36
mvozyga: waiting for publication19:39
zygamvo: I'm seeing the same thing19:41
zygamvo: we need to be careful in typos in changelog19:44
zygathey cause test failures19:44
zygaI think it's fine now,  just saying19:45
zygamvo: published19:46
mvozyga: yeah, triggered the build19:48
zygamvo: so that's it now, just -> beta publishing once it's out19:48
mvozyga: yeah19:52
mvozyga: and ideally merge the changelog pr so that we have a edge build again :)19:53
zyga yeah19:53
zygayou can merge https://github.com/snapcore/snapd/pull/493819:53
mupPR #4938: release-tools: add repack-debian-tarball.sh <Created by zyga> <https://github.com/snapcore/snapd/pull/4938>19:53
mupPR snapcraft#2023 closed: repo: catch error due to broken build packages <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2023>19:57
mupIssue snapcraft#2025 closed: Proper error on held packages <bug> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/2025>20:00
mupPR snapd#4939 closed: release: 2.32.1 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4939>20:08
mvozyga: pushed to beta20:09
zygagreat, then that's today20:10
zygahave a peaceful night :-)20:11
mvozyga: thank you, you too! keep me posted if things work or if we need a .2 :)20:11
* mvo waves20:11
mupPR snapcraft#2034 opened: pluginhandler: organize correcly for targets with leading / <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2034>20:12
Caelumzyga: fwiw, this is the page I was following the past few days, and it also describes how to add stuff to Factory (TW) I think we can start with the process of requesting a new devel project or finding an appropriate top-level space right now https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory20:15
mupPR snapcraft#2035 opened: ci: cache core and lxd to avoid redownloading <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2035>20:33
zygaCaelum: I think we have a nice devel project already20:37
zygaCaelum: system:snappy is a good place20:37
Caelumzyga: yeah then it's just one osc command to submit to Factory21:37
CaelumThat's the beauty of OpenSUSE21:38
kyrofazyga, thought you'd like to know, I'm now a sublime text user22:00
mupIssue snapcraft#1974 closed: organize with forward slashes should be stripped <bug> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1974>23:25
mupPR snapcraft#2034 closed: pluginhandler: organize correcly for targets with leading / <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2034>23:25
sergiusensnacc: hey, did you have an opportunity to look into 2.40? Personally I setup my own buildd for git-ubuntu and ran the self-tests succesfully, not sure what more could be done23:34
naccsergiusens: i haven't had a chance yet; if you've run the above, though, that's what i'd do23:35
naccso i'm +1 if that passed23:35
nacc(which is what didn't before :)23:35
sergiusensnacc: yes, fwiw https://forum.snapcraft.io/t/snapcraft-snap-building-sanity-checks-for-build-snapcraft-io/4632/123:35
sergiusensI still need to hook more of it up in some orchestration system, but this will be part of our release testing23:36

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