/srv/irclogs.ubuntu.com/2017/04/13/#snappy.txt

okymwhudson: set it in the wrapper, right?00:13
okyor are you saying the it is set in the wrapper and its being unset00:14
mwhudsonit's set in the environment that invokes snap but is unset inside the snap00:14
mwhudsonhttp://paste.ubuntu.com/24371015/00:15
mwhudsoni guess i should just file a bug00:16
qenghoHah ha ha. https://medium.com/@nusenu/is-this-a-ubuntu-based-botnet-deploying-tor-relays-and-bridges-b4ce1a61203901:38
=== JanC is now known as Guest86694
=== JanC_ is now known as JanC
pstolowskimorning07:05
mupPR snapd#3173 closed: tests: add extra test after the core transition for snap get/set core <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3173>07:52
zygapstolowski: hello07:53
mupPR snapd#3187 opened: interfaces/mount: improve go identifier names of mountinfo, parse optional fields <Created by zyga> <https://github.com/snapcore/snapd/pull/3187>07:54
zygapstolowski: https://github.com/snapcore/snapd/pull/318707:54
mupPR snapd#3187: interfaces/mount: improve go identifier names of mountinfo, parse optional fields <Created by zyga> <https://github.com/snapcore/snapd/pull/3187>07:54
zygapstolowski: follow-up from yesterday07:54
pstolowskizyga, ok07:55
zygapstolowski: if you look at individual commits then the changes are easier to parse07:56
zygamorphis: hey, are you working today?07:58
mupPR snapd#3170 closed: interfaces/builting: allow read-only access to /sys/module <Created by morphis> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3170>08:10
mwhudsonzyga: two things08:12
mwhudsonzyga: (1) https://forum.snapcraft.io/t/something-filters-out-tmpdir-even-for-classic-snaps/27708:12
mwhudsonzyga: (2) for env var stuff, did you consider looking at main's 3rd argument and using execve rather than getenv/setenv etc?08:12
zygahey08:13
zygamwhudson: haha, I was just reading that :)08:13
mwhudsonheh08:13
zygamwhudson: yes, I want to use execve everywhere, I don't think we can use os.setenv safely08:13
mwhudsoni don't know why i even posted anything about that to a list or bug, i should have just poked you :-)08:13
zygamwhudson: as for the TMP thing, I was just about to grep08:13
zyga:D08:14
mwhudsonzyga: i didn't realize until fairly recently how much of a hack glibc's environment functions are08:14
zygamwhudson: I think you just reminded me of a very old bug08:14
zygamwhudson: pre-shared namespaces08:14
zygamwhudson: hehe, yes, it's all just ... er... creative08:15
zygamwhudson: so, look at (sic) mount-support.c and grep for TMPDIR08:15
zygamwhudson: we set TMPDIR *when setting the namespace initially*08:15
zyganot each time08:15
zygaI'll fix that ASAP08:15
zygaso it's all bonkers08:15
mwhudsonzyga: that doesn't get called for classic snaps though does it?08:17
mwhudsonunless this classic_confinement bool is very obscurely named :-)08:18
zygamwhudson: another good remark, I'll disambiguate that08:18
zygamwhudson: correct, it doesn't get called for classic confinement08:18
zygahmm hmm08:18
zygaso we have also snap-exec08:19
zygabut I grepped and found nothing TMP*08:19
zygaone more ideas is that the new environment handling code is messing up stuff08:19
zyga(where snapcraft.yaml can define environment)08:19
zygalet me fix the first bug and iterate08:19
mwhudsoni did have something of a poke and found nothing08:20
mwhudsonif it turns out to be something glibc does when you execute a setuid binary i might be very angry08:20
mwhudsonoh god08:21
zygaoh08:21
zygathat's a good hunch08:21
zygaprobably another AT_SECURE magic08:21
zygadoes the kernel meddle with environment?08:21
mwhudsonhttp://lists.gnu.org/archive/html/bug-glibc/2003-08/msg00076.html08:21
mwhudsonit seems less likely08:22
mwhudsonsyscall(SYS_execve, ...)?08:22
zygaaha :)08:22
zygalet's confirm this is really in the code still (but I bet it is)08:22
mwhudsonalthough i can't find it in my glibc checkout08:23
mwhudsonreading glibc code makes me appreciate go in a few ways08:25
zygaabout to look, just pushed a PR08:25
zygayes, glibc has this special kind of mix of being C, having insane indents and having ugly identifiers in one place08:25
zygaI love C, I really do, but ... not glibc08:25
zygahttps://github.com/snapcore/snapd/pull/318808:26
mupPR snapd#3188: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>08:26
zygawithout spread yet, I'll do spread next when we confirm what's going on in glibc08:26
mwhudsonzyga: also preprocessor abuse08:26
mupPR snapd#3188 opened: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>08:26
mwhudsoni think i have found the glibc evil08:27
zygamwhudson: look at sysdeps/generic/unsecvars.h08:27
zygamwhudson: :)08:27
zygait's still there08:27
mwhudsonah right, i'd found the other end, where that is used08:27
mwhudsonit's AT_SECURE, as you said08:27
zygawhy in the world is this unsetting TMPDIR though08:27
zygaor TZDIR for that matter08:27
mwhudsonso my syscall idea was not going to help08:28
mwhudsonzyga: i guess so you can't do TMPDIR=/etc <some setuid program> and have it scribble randomly08:28
zygaaha, yes :/08:28
zygaindeed08:28
mwhudsonsnap run translates TMPDIR to TMPDIR_, snap-confine copies TMDIR_ back to TMPDIR? >:)08:29
zygahahaha08:30
zygawell08:30
zyganot sure if it is worth all the effort08:30
mwhudsonit's my day for working late in the evening, you're not going to get sense08:30
pedroniszyga: what does snap-confine do for a classic snap?08:31
mwhudsonone day it will mount /var/lib/snap at /snap on some distros...08:32
mwhudson(did i guess that right?)08:32
=== JamieBe__ is now known as JamieBennett_
zygapedronis: pretty much nothing AFAIR08:33
pedronisok08:33
zygamwhudson: no, we cannot do that sadly, classic confinement doesn't use any namespaces08:33
zygawell, let me check08:33
zygamaybe we do something08:33
zygayeah, we mkdir user data directories08:34
zygabut that's all08:34
zygamwhudson: I commented on the forum08:37
zygamwhudson: https://github.com/snapcore/snapd/pull/318908:38
mupPR snapd#3189: cmd/snap-confine: don't use plain "classic" term <Created by zyga> <https://github.com/snapcore/snapd/pull/3189>08:38
mupPR snapd#3189 opened: cmd/snap-confine: don't use plain "classic" term <Created by zyga> <https://github.com/snapcore/snapd/pull/3189>08:39
* zyga -> coffee08:43
zygare08:53
=== chihchun_afk is now known as chihchun
mupPR snapd#3082 closed: many: break the /aliases mutation API with a clean 400 (aliases v2) <Blocked> <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3082>09:19
pedronisChipaca: hi, I would appreciate a 2nd review for snapd#308709:22
mupPR snapd#3087: overlord/snapstate: introduce tasks for aliases v2 semantics with temporary names for now (aliases v2) <Critical> <Created by pedronis> <https://github.com/snapcore/snapd/pull/3087>09:22
Chipacahadn't i done this one already?09:23
pedronisChipaca: no, you did the helpers one, this one builds tasks on top of them09:24
mupPR snapd#3160 closed: overlord/ifacestate: automatically rename connections on core snap <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3160>09:25
pedronisChipaca: yea, that was #304409:25
pedronisChipaca: it's a long adventure09:27
Chipaca:-)09:27
Chipacapedronis— your super-wide screen is leaking again09:28
pedronisChipaca: I don't think it's my screen, it's how emacs wraps things for me09:30
Chipacapedronis— i meant the comments09:30
pedronisI know09:31
Chipacaah09:31
pedronisjust saying is not the screen09:31
Chipacastrange, mine leaves those mostly alone09:31
Chipacaanyway, no biggie09:31
pedronisChipaca: anyway just comment and will rewrap09:31
Chipacawill do09:32
Chipacabut i'm reviewing based on the diff to master, which doesn't let me comment directly09:32
pedronisChipaca: sorry, I need to remove the comment, now all deps are merged09:33
pedronisit can be reviewed normally09:33
pedronisChipaca: it's just biggish, mostly tests09:34
ogra_zyga, looking at https://github.com/snapcore/snapd/pull/3188, i i'm wondering, is there really any practical case where a setenv would not work ? (why the check?)09:36
mupPR snapd#3188: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>09:36
Chipacaogra_— ENOMEM09:38
Chipacasetenv can fail with ENOMEM09:38
ogra_ah, well ... but then you will die anyway09:38
Chipacaogra_— yes but ignoring an ENOMEM because it will die anyway is how you get Bad Things done to you09:39
ogra_heh, k09:39
Chipacathere's practical, and then there's under attack09:39
ogra_yup, understood09:40
zygaogra_: snap-confine is written in paranoia mode, we try to check all errors09:40
ogra_i noticed ;)09:40
=== chihchun is now known as chihchun_afk
Chipacaman, i wish we were in 1.8 already09:42
Chipacasort.Slice is where it's at09:42
zygaChipaca: when designing a language, make sure that sorting doesn't suck in 1.0 release09:44
zyga;-)09:45
Chipacawell, it is slightly nasty, in that it uses reflect09:46
Chipacaso the old way is probably faster and cleaner09:47
Chipacabut ... convenience09:47
morphisSon_Goku: did you try to enable test execution for snapd recently?09:48
Son_GokuI don't know what to do for test execution09:48
zygaSon_Goku: go test ./...09:48
zyga(probably)09:48
Son_Gokuright now, I don't think it does anything for golang testing...09:48
morphis./run-checks would be nice09:48
zygawrapped with $distro.magic.incantation --mandatory-swtich=magic-value09:48
zyga^^ typo is part of the API09:49
zyga:D09:49
Chipacazyga— you forgot --moar-magic09:49
morphisSon_Goku: enabling that for use right now09:49
* zyga fetches the coffee from downstairs :)09:49
Son_GokuI did flip the check switch during 2.23.6 builds, but I didn't see anything happening...09:49
Son_Gokuso I just switched it back off09:50
morphisah09:50
morphisI can look into that later today09:50
zygaSon_Goku: the "more magic" position09:50
Son_Gokuhaha09:51
mcphailDoes anyone have an example of a snapped Rails application?09:51
zygamcphail: I think we do but it's a biggie09:52
zygamcphail: forum.snapcraft.io runs as a snap09:52
zygamcphail: and that's a big discourse thing09:52
mcphailzyga: cool. Is there a snapcarft.yaml I can look at?09:52
mcphail(or snapcraft.yaml would be better!)09:53
zygaI suspect so but the person snapping it is off this week, back next tue09:53
mcphailzyga: ta. I'll poke again next week09:53
morphiszyga: isn't the forum just a docker container?09:54
Chipacanope, snap09:55
Son_Gokusadness and despair, according to niemeyer09:55
Son_Goku:)09:55
ogra_i think he was quite happy in the end09:56
Son_Gokuwell, he was unhappy with the complexity of discourse setup09:56
ogra_yeah09:56
Chipacabut we also got services control back from that little experiment, so \o/09:56
Chipaca:-)09:56
Son_Gokuhaha09:56
ogra_:D09:56
Son_Gokuthat's always nice09:56
Chipacadogfooding ftw09:57
ogra_woof09:57
morphisChipaca: nice09:57
Son_Gokumost of this is sadness and despair for me, for now09:57
Son_Gokuas all dogfooding just crushes my soul as I use Ubuntu-y things on my nice Fedora system :P09:58
ogra_Chipaca, .... hmmm ... i wonder ...09:58
ChipacaSon_Goku— eww09:58
ogra_Chipaca, how about we'd hook all services inside the core snap on an Ubuntu Core install up to that interface09:58
ChipacaSon_Goku— i feel your pain09:58
Son_GokuChipaca: things get... weird09:59
Chipacaogra_— you're preaching to the choir09:59
ogra_snap stop core.timesyncd && snap install ntpd09:59
Son_Gokuand because some of the redirection stuff doesn't actually work, I get to see really strange stuff from time to time09:59
ogra_;)09:59
Chipacaogra_— i want the core snap to be fully described in the snap.yaml :-)09:59
Son_Gokulike random GUI application crashes when it launches09:59
morphiszyga: do you introduced the check-syntax-c rules for snap-confine with 2.24?09:59
mcphailSon_Goku: you get that on Ubuntu too ;)10:00
zygano, that was there for eons10:00
Son_Gokuand my resolution of my computer resetting when I launch a program that uses OpenGL10:00
morphiszyga: hm, https://paste.ubuntu.com/24373248/10:00
Son_Gokugoing from 1080p to 800x600 is unpleasant10:00
zygamorphis: oh, interesting, maybe difference in indent?10:00
zygamorphis: but that's fine10:00
morphiszyga: either there is a difference in how intent works on suse in constrast to Ubuntu10:00
zygamorphis: I plan to kill indent10:00
zygamaybe today10:00
morphiszyga: however, requires me to patch 2.24 now :_)10:01
ogra_Son_Goku, where are all the bugs for that ? :)10:01
Son_Gokuogra_: I'd love to file bugs, but I have this thing about not filing bugs when I don't have any idea what is happening :)10:01
Son_Gokuit's not useful or helpful, imo10:01
Chipacaright, but10:02
ogra_but then nobody else will know it happened to you when he looks for info if it happens to him10:02
Son_Gokuand in my experience, those kinds of bugs just get ignored anyway10:02
ChipacaSon_Goku— is this really random? no STR?10:02
Son_Gokuthe most repeatable case is in my VMware Fusion VMs10:02
Son_Gokubut it's really random on KVM VMs or on real systems10:02
Chipacarats10:02
Son_Gokuapplications *do* reliably crash on Fedora GNOME though10:02
ChipacaSon_Goku— and do you get to see the window before it crashes? or does it straight up never start?10:02
Son_Gokunever starts10:03
Son_Gokuit just dies10:03
ChipacaSon_Goku— does the error message say something about permission denied, when it dies?10:03
Son_Gokunope10:03
Chipacaaw10:03
Son_Gokuif it did, I'd have something to file :D10:04
Chipacathought maybe it was merely a bad case of bug #167281910:04
mupBug #1672819: exec'ing a setuid binary from a threaded program sometimes fails to setuid <amd64> <apport-bug> <kernel-key> <xenial> <linux (Ubuntu):Triaged> <linux (Ubuntu Xenial):In Progress by colin-king> <https://launchpad.net/bugs/1672819>10:04
Son_Gokuactually, it might be10:04
Chipacathat's going to take a while to get better on fedora, i reckon, unless you pick up the patch when cking has it10:04
Son_GokuChipaca: I'll have to try to repro again10:04
Son_Gokuon a clean system10:04
Son_Gokumy current VMs are dirty, dirty beasts10:05
ChipacaSon_Goku— even if you don't know what's going on, steps-to-reproduce are super useful10:05
ChipacaSon_Goku— also, see if adding/removing virtual cpus changes whether things crash or not (per that bug)10:05
Son_GokuI know for a fact that everyone with nvidia cards can't use snappy at all for graphical things10:05
Son_Gokuit straight up crashes10:06
Chipacathat should not happen10:06
Chipacadoes zyga know?10:06
Chipacawe've got work in there specifically for nvidia10:06
Son_GokuI think zyga knows10:06
Son_Gokuwell, if he didn't before, he does now10:06
zygaso easy to learn here10:06
Son_Gokubut I think I mentioned it during the 2.23.6 testing10:06
zyganvidia support is not perfect, we need a different approach really10:07
Chipacazyga is supposed to be off today i think10:07
zygame?10:07
Chipacawhich is why i'm pretending he's not here10:07
zygareally?10:07
zygaactually10:07
Chipacazyga— aren't you?10:07
zygamy wife is out10:07
Chipacazyga— isn't it jueves santo in spain?10:07
zygamy kids are out10:07
Son_GokuI thought that ws mvo?10:07
zygahmmmhmm10:07
zygaand I'm here because work10:07
Chipacai thought spain did thu+fri, as opposed to other places doing thu+mon10:07
zyga(my family has a fantastic hike to a castle on a hill next by)10:07
zygaChipaca: one thing I miss is people reminding me about holidays in spain10:08
Chipacazyga— the one with the wineyards?10:08
* zyga checks wikipedia10:08
Son_Gokuwouldn't that be sergiusens, not zyga?10:08
Chipacawineyard?10:08
zygaChipaca: no, not that one10:08
ogra_friday and monday should be off in spain10:08
Chipacavineyard!10:08
Chipacaheh10:08
Son_Gokuoh, you're talking about Spanish vineyards10:08
* Chipaca 's bain is lossy10:08
Son_Gokuanyway, decathorpe privately mentioned to me that he can't run anything on his host system as he uses an nvidia card10:09
Son_Gokuall applications just crash10:09
ogra_all10:09
Chipacasergiusens does not have vineyards close by10:09
ogra_?10:09
Son_Gokuogra_: all GUI ones, anyway10:09
Son_GokuCLI ones are fine10:09
zygahttps://www.google.es/maps/@42.051898,3.1313432,339m/data=!3m1!1e3!5m1!1e4?hl=pl10:09
zygahere10:09
ogra_well, i run gui apps just fine on my desktop that has an nvidia10:09
Chipacathere are some two mountains chain to the west, which is about 200km as the crow flies (if you ignore it flying up and down again)10:09
Chipacabut those are not too good :-)10:10
Son_Gokuogra_: you also use Ubuntu, and not Fedora :)10:10
Son_Gokucurrently, I think snappy requires custom implementations for nvidia handling for each distro10:10
ogra_Son_Goku, right, but thats definitely something we need to fix urgently10:10
zygayes10:10
ogra_and first of all we need a bug for itf from someone who has it happening ;)10:11
Son_GokuI'm going to poke decathorpe to file a bug10:11
Son_Gokuhe doesn't want to... saying it's an edge case10:11
Son_Gokubut it's not... :/10:11
pedronisChipaca: thx10:11
Son_Gokualso, Fedora's nvidia implementation is the first to use libglvnd natively10:11
Son_Gokuso I don't know how that affects what we do here in snapd and snap-confine10:11
ogra_it needs to be supported10:12
zygawell10:13
zygaI know what to do10:13
zygait's just 1) hardware 2) coordination 3) time10:13
ogra_well, 1) ... expense it ...10:14
ogra_:)10:14
Son_Gokuehh10:14
Son_Gokuthis new Canonical may not want to accept it :/10:14
ogra_if i need to enable a new board for Core i can expense it too ... cross-distro support is still equally important even in the new canonisl i think10:15
Chipacayou can get an nvidia card for less than the price of an rpi310:15
ogra_right10:15
Chipacaso i doubt it'll be a problem10:15
Son_Gokuogra_: I hope so10:15
Son_GokuI'm really worried about it10:15
ogra_dont be10:15
zygaChipaca: interesting, today is a public holiday in almost all of Spain but not in Catalonia10:18
zygaogra_: once we start working on nvidia support I'll definitely buy and expense a card10:19
Son_Gokuwow, you got screwed :/10:19
ogra_because catalonia isnt spain ;)10:19
Chipacazyga— Catalunya lliure or something10:19
zygaChipaca: exactly ;)10:19
sergiusensI am here today10:19
sergiusensnot a holiday10:19
zygait's interesting to observe how people react when my wife speaks catalan10:19
sergiusensjust Friday10:20
zygaif she starts they are surprised and use catalan10:20
sergiusensand yes, it is 7:20 AM and I've been up since 4AM10:20
ogra_crazy10:20
Chipacasergiusens— how's the kid?10:20
zygaif they start and overhear us they use broken english or spanish10:20
Son_Gokusergiusens: it's 6:20AM here and I've been up since 3:30AM10:20
sergiusensChipaca: read my toot? :-P10:20
Chipacaon twitter? didn't see it10:21
zygabut if she switches to catalan again (just to practice) they often ask "wow you speak catalan, how is that possible" :)10:21
sergiusensmy kid is sleeping, I am not anymore10:21
Chipacaon mastodon i don't have you10:21
Chipaca(mastodon calls them toots)10:21
zygaChipaca: ah, more mastodon?10:21
zygais there a snap for it10:21
zygalast time I looked it was ugly to deploy10:21
Chipacazyga— oooh10:21
mcphailHa! it was mastodon I was wanting to snappify (hence the question about Rails)10:22
sergiusensChipaca: @sergiusens@mastodon.cloud but I managed to get an account on @sergiusens@mastodon.social so I might be switching there soon10:22
* zyga doesn't get the new fashion10:23
Chipacasergiusens— in mastodon, what's the difference between @sergiusens and @sergiusens@mastodon.social?10:24
Chipacaand why can't you just move?10:24
Chipacaanyway10:24
Chipacathis is not helping me get work done10:24
sergiusensChipaca: different accounts10:24
* Chipaca cracks his whip at himself10:24
zygaChipaca: https://github.com/snapcore/snapd/pull/3189 trivial10:24
mupPR snapd#3189: cmd/snap-confine: don't use plain "classic" term <Created by zyga> <https://github.com/snapcore/snapd/pull/3189>10:24
* zyga waits unil we get back to uucp for social news10:25
zygathat will be something ;-)10:25
zygaI'm ahead of the wave ;-)10:25
ogra_well, uucp still exists10:25
ogra_just use it ;)10:25
zygaThanks for the review Pharaoh_Atem :)10:25
sergiusensapparently if you still have identica you could just get federated into mastodon10:25
zygaogra_: ha, but if just I use it, nobody will know10:25
* sergiusens goes back to ignoring irc10:26
zygaChipaca: and https://github.com/snapcore/snapd/pull/3188 (more important) while you're at it ;)10:26
mupPR snapd#3188: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>10:26
Chipacauhh10:27
Chipacazyga— there's a bug about us overriding TEMPDIR on classic10:27
Son_Gokuoh dear10:27
Son_Gokuplease don't break me more :(10:27
zygaChipaca: it's not that, it's a ld.so thing10:28
zygaChipaca: we looked at it in the morning with mwhudson10:28
zygaChipaca: AT_SECURE == unset TMPDIR (but not TEMPDIR)10:28
ChipacaSon_Goku— the bug is about us doing it when we shouldn't, not viceversa10:29
Chipacazyga— so to get TMPDIR past snap-confine we'd need to sneak it in?10:29
Chipacaheh10:29
zygaChipaca: hmm, is this still about TMPDIR?10:29
zygaChipaca: well10:29
zygaChipaca: look at this thread on the forum:10:29
zygahttps://github.com/snapcore/snapd/pull/318810:29
mupPR snapd#3188: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>10:29
zygahttps://forum.snapcraft.io/t/something-filters-out-tmpdir-even-for-classic-snaps/277/210:30
zyga(sorry, ^C sometimes fails)10:30
Chipaca'snap run' -> sets _TMPDIR from TMPDIR; snap-exec -> sets TMPDIR from _TMPDIR, or something like that10:30
* Chipaca reads10:30
zygaChipaca: yeah, I proposed something like that10:30
zygaChipaca: not sure if we should do it though, feels very very edge case10:30
zygait can be done for sure10:30
Chipacaah there we go10:30
Chipacawe probably need to do that to make it work, probably for all other env vars that are cleared for AT_SECURE10:31
zygaChipaca: those are listed in...10:31
zygaUNSECURE_ENVVARS in glibc tree10:31
zygahttp://paste.ubuntu.com/24373481/10:32
ChipacaNIS_PATH10:32
Chipacahue hue hue10:32
zygayes, some arcane stuff in there10:32
ChipacaANYWAY!10:33
Chipacai've got code to code10:33
zygame too :)10:33
Chipacaotherwise #3150 will never see the light of day10:33
mupPR snapd#3027 closed: snap: run snap-confine from core if snap is also running from core <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3027>10:36
mwhudsonChipaca: you can just do the env resetting in snap-confine, i think10:39
mwhudsonalthough hm, maybe snap-exec would be easier, would be easier to re-use the same code that way i guess10:40
Chipacamwhudson— I'll let zyga have his fun with that10:43
mwhudsonheh heh10:46
zygamwhudson: note that we don't run snap-exec if we use `snap run --shell`10:48
zygaso I think it has to be snap-confine + snap-run that play10:48
zygaChipaca: I'm going through PRs and I got to https://github.com/snapcore/snapd/pull/315010:56
mupPR snapd#3150: In-snap bash tab completion <Created by chipaca> <https://github.com/snapcore/snapd/pull/3150>10:56
zygaChipaca: is there any way to split this, can anything land before?10:57
Chipacazyga— on the one hand, no10:57
zyga(thanks for de-conflicting)10:57
Chipacazyga— on the other hand, no10:57
Chipaca:-D10:57
Chipacazyga— that's what i'm working on right now10:57
zygafine :)10:57
zygahmm?10:57
zygaso yes or no? :)10:57
zygaif you want I will review it as-is10:57
Chipacazyga— it can't be split. But it's not really that big?10:58
Chipacai mean, etelpmoc.sh is long, but narrow :-)10:58
zygaChipaca: like a good bridge should be :)10:58
Chipacamostly the silly 'case' thing10:58
Chipacathe spread test that failed in travis passes when running spread locally. I've rebased to master and repushed, to see if it works in travis or not10:59
Chipacabut it might be travis messing up the encoding somehow?11:00
mupPR snapd#3105 closed: tests: download previous snapd package from published versions instead of specific PPA <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3105>11:00
Chipacadunno11:00
zygaChipaca: maybe some locale stuff is odd there11:00
zygabtw we seem to run out of machines frequently now11:00
Chipacapr'aps11:00
zygaChipaca: ping me when you want me to review it11:00
Chipacazyga— one thing that could be done to make this shorter is to take lib.exp0 and merge it with the other lib.exp0 and DRY it11:01
Chipacabut not sure it's worth it11:01
zyganah, that's fine11:02
zygaI was mostly scared about 58 files changed :)11:02
zygathat's only fun to read when we change to GPL-411:02
zygapedronis: can you have a 2nd look at https://github.com/snapcore/snapd/pull/3010/files11:02
mupPR snapd#3010: snap: skip /dev/ram from auto-import assertions to make it less noisy <Created by mvo5> <https://github.com/snapcore/snapd/pull/3010>11:02
Chipacazyga— ah! 58 files is mostly test data11:03
Chipacatest config? test ... stuff11:03
Chipacazyga— for each completion test there's a .vars, a .sh and a .complete11:04
zygaright, that's fine11:04
zygaI'll review it when you ping me11:04
Chipaca$ find tests/completion/ -type f \! -name \*~ | wc -l11:06
Chipaca4411:06
Chipaca^ i was curious :-)11:06
mupPR snapd#3010 closed: snap: skip /dev/ram from auto-import assertions to make it less noisy <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3010>11:07
mupPR snapd#3016 closed: interfaces: add kubernetes-support interface and adjust related interfaces (LP: #1664638) <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3016>11:07
zygaI could use a review for https://github.com/snapcore/snapd/pull/314911:09
mupPR snapd#3149: cmd: make locking around namespaces explicit <Created by zyga> <https://github.com/snapcore/snapd/pull/3149>11:09
zygawe will then use it for fixing snap-confine and /snap sharing in containers11:09
* ogra_ hugs a bunch of people for https://github.com/snapcore/snapd/pull/301011:12
mupPR snapd#3010: snap: skip /dev/ram from auto-import assertions to make it less noisy <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3010>11:12
ogra_that will quieten the image boots a lot11:13
zygaogra_: yes, totally11:14
zygatvoss, ogra_: just merged the rsa changes11:21
tvosszyga: great, thank you :)11:21
mupPR snapd#3130 closed: overlord/devicestate: switch to ssh-keygen for device key generation <Created by vosst> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3130>11:22
zygaPharaoh_Atem, morphis: we need to depend on whatever provides ssh-keygen for snapd >= 2.2511:22
zygaditto fir suse11:22
morphiszyga: I know :-)11:22
morphiswatching the forth and back on this discussion for some11:23
zygaI'd like to land https://github.com/snapcore/snapd/pull/313811:23
mupPR snapd#3138: interfaces/mount: add Change.Perform <Created by zyga> <https://github.com/snapcore/snapd/pull/3138>11:23
morphiszyga: looks like you need to dicuss that with jdstrand further11:37
zygamorphis: I think this is a misunderstanding there but I will discuss11:38
zygajdstrand: if you are around :)11:38
* zyga is getting hungry, brb11:42
Son_Gokuzyga: easy enough to add for me "Requires: /usr/bin/ssh-keygen" :)11:46
NicolinoCurallihi guy : is it a awaited behavoiur the manual review for a snap with classic confinement?11:52
ChipacaNicolinoCuralli— say again please?11:53
zygaSon_Goku: yes, that's pretty nice :-)11:53
zygaNicolinoCuralli: yes11:53
zygaNicolinoCuralli: all snaps that use classic confinement run ... unconfined, so we need to do the classic debian-like review of the software11:53
Chipacaah, zyga if you parsed that you're better at it than I am11:54
NicolinoCurallichipaca: i upload a snap with classic confinement on the pubblic store and  I hit a manual review ? is it ok?11:55
ChipacaNicolinoCuralli— yep! as zyga explained.11:55
ogra_NicolinoCuralli, yes, that is expected ...11:55
zygaNicolinoCuralli: I think the rules are that the snapcraft yaml is merged in the upstream repository11:55
ogra_NicolinoCuralli, classic means "unsafe" so it needs review11:56
zygaNicolinoCuralli: there's a reason to disable confined11:56
zygaNicolinoCuralli: and the developers are recognized in the community11:56
zygaNicolinoCuralli: I think that's the rough list but I could be wrong, it's a case-by-case review really11:57
NicolinoCuralliok: i need to understand about use of strict mode or classic mode then i need to test the same package in classic or strict confinement11:57
zygaNicolinoCuralli: if you can do strict - go strict11:58
zygaNicolinoCuralli: that's better in many ways11:58
iceyzyga: so I should get my PR accepted upstream before getting my classic snap accepted?11:58
zygaNicolinoCuralli: and is compatible with more distribution11:58
zygaicey: most likely yes11:58
zygaicey: what is the software you're thinking about?11:58
iceyzyga: alacritty, a shell written in Rust with GPU acceleration11:58
NicolinoCurallihow can i help us to make the review more fast for the my snap?11:58
zyga*shell* ???11:58
zygaas in /bin/sh11:59
zygawith GPU accel?11:59
NicolinoCurallius -> you11:59
zygaNicolinoCuralli: I don't know honestly, it's not a well exercised process11:59
iceyzyga: https://github.com/jwilm/alacritty11:59
zygaNicolinoCuralli: maybe file a bug on the snapstore to track it?11:59
zygahttp://launchpad.net/snapstore11:59
zygaaha11:59
zygainteresting :)12:00
zygawe use GPUs to make teletype emulators nicer12:00
ChipacaNicolinoCuralli— why do you need it to be classic?12:01
Chipacathat's where the review starts :-)12:01
NicolinoCurallithe snap must achieved in a more straight manner the network layer12:02
* zyga fails to parse that12:03
ChipacaNicolinoCuralli— to do what with it?12:03
ChipacaNicolinoCuralli— we have interfaces for most things you'd want to do with the network12:03
NicolinoCuralliChipaca: advanced network monitoring12:03
ChipacaNicolinoCuralli— so make it a strict snap, using the network-monitor interface12:03
Chipacawas it network-monitor?12:04
* Chipaca looks12:04
ogra_observe :)12:04
NicolinoCuralliChipaca; this a one of two project that i want to deploy with snap : https://www.indiegogo.com/projects/fingbox-network-security-wi-fi-troubleshooting#/12:04
Chipacanetwork-observe perhaps12:04
ChipacaNicolinoCuralli— that does sound like something you should be able to do with the network-observe interaface12:05
Bizonicey: are the current terminal emulators so slow we need a new one written with performance in mind?12:07
NicolinoCuralliChicapa : network-control ( it achieve the raw network interface ) , network-* interface, gpio12:07
iceyBizon: that's not my question to answer :-P I'm just snapping something that somebody else made ;-)12:07
zygaNicolinoCuralli: what does "achive the raw network interface" mean?12:07
NicolinoCuralliZyga: we use libpcap12:09
zygaNicolinoCuralli: so a raw socket in promiscuous mode?12:10
Son_Gokuzyga, morphis: https://bugzilla.redhat.com/show_bug.cgi?id=144205112:10
Chipacawait, gpio?12:11
NicolinoCurallizyga: for ethernet interface  and monitor mode for the wireless interface12:11
morphisSon_Goku: yeah, nvidia is broken12:11
ChipacaNicolinoCuralli— is this a core system?12:12
zygaSon_Goku: thanks, I'm replying in the bug12:12
NicolinoCuralliGpio for viualization of state od the network of the sysytem by leds12:12
zygaha, nice12:12
ChipacaNicolinoCuralli— I mean: is the device this is running on an all-snaps system? i.e. 'ubuntu core'?12:13
NicolinoCuralliChicapa: could you explain better your question?12:13
* zyga -> food (for real this time)12:13
ogra_Chipaca, then classic wouldnt work at all12:14
ChipacaNicolinoCuralli— the snap you are writing, it's for running on a device?12:14
NicolinoCuralliChicapa: we want to use snap system for distribution of updates12:14
NicolinoCuralliChicapa: the snap is for running a dedicated hardware12:14
zygaNicolinoCuralli: what Chipaca is asking about is what distribution is running on that device12:15
zygaNicolinoCuralli: if it's say, debian or ubuntu + snapd + your snap12:15
zygaNicolinoCuralli: then you can use classic confinement12:15
NicolinoCuralliubuntu 16.04 for classic confinement12:15
zygaNicolinoCuralli: if it is the ubuntu-core distribution12:15
zygaNicolinoCuralli: then you cannot use classic confinement at all12:15
NicolinoCurallizyga, Chiacapa: ubuntu-core for the strict confinement12:16
Chipacaright12:16
Chipacaso a classic snap is out of the picture12:16
ChipacaNicolinoCuralli— but, you should be fine using a strict snap with the appropriate interfaces12:17
ChipacaNicolinoCuralli— some of them don't auto-connect, but if it's dedicated hardware you can make them autoconnect from the gadget snap12:17
NicolinoCuralliClassic snap is in the picture : i need to evaluate a feasibility for the classic mode on a standard ubuntu 16.0412:17
NicolinoCuralliautoconnect from gadget don't work : i try it days ago and report on mailing the problem12:18
morphiszyga: https://build.opensuse.org/request/show/48782112:18
ChipacaNicolinoCuralli— OK. That takes us back to the same question: why do you need classic? (it sounds like you don't)12:18
morphiszyga: but please don't merge yet12:18
ChipacaNicolinoCuralli— what was the email subject?12:18
NicolinoCuralliChicapa: workaround for connect no autoconnect interfaces without login on system12:19
ChipacaNicolinoCuralli— ah!12:21
ChipacaI don't know who *knows* this. zyga, or ogra_, either of you know how the autoconnect-from-gadget works?12:22
NicolinoCuralliChicapa: I think that some chance that a snap core update can broke some functionality  with my custom kernel the i want to try classic confinement12:22
ogra_Chipaca, nope12:22
mupPR snapcraft#1253 opened: Cross-compilation support for the Go plugin <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1253>12:22
ogra_Chipaca, sounds more like a pedronis question ... i guess it happens during firstboot setup12:22
ogra_(well, pedronis or mvo)12:22
Chipacapr'aps12:22
Chipacapedronis— poke poke12:23
NicolinoCuralliChicapa: I think that some chance that a snap core update can broke some functionality  with my custom kernel then I want to try classic confinement12:23
pedronisChipaca: autoconnect from snap is something we haven't implemented yet12:23
pedronisafaik12:23
Chipacapedronis— oh drat12:23
pedronissorry, I mean from gadget12:23
Chipacayeah i read you12:23
NicolinoCuralliChicapa: my answer is clear for you? sorry for the bad english :D12:25
ChipacaNicolinoCuralli— so, we have some work to do to autoconnect from the gadget; it's not there yet12:25
ChipacaNicolinoCuralli— your answer is clear :-) your reasoning isn't :-/12:26
NicolinoCuralliChicapa: yes, i know this12:26
NicolinoCuralliChicapa: i try to explain better12:26
ChipacaNicolinoCuralli— I mean, if core breaks your kernel, it'll break whether classic or not12:26
NicolinoCuralliChicapa : this because ubuntu-core snap and core snap are the same things12:27
NicolinoCuralliChicapa : this because ubuntu-core snap and core snap are the same things?12:27
ChipacaNicolinoCuralli— yep12:28
Chipaca(there is no ubuntu-core snap, now)12:28
NicolinoCuralliwhat is the best practice for remain aligned with your work on core?12:28
ChipacaI'm not the right person to answer that12:29
ChipacaI'm too deep in the trenches12:29
Chipacaeven my two-levels-up view does not cover the whole thing12:29
ChipacaNicolinoCuralli— maybe JamieBennett12:30
NicolinoCuralliChicapa: i mean thins as monitoring the core code use on the edge channel or thing as it12:31
* JamieBennett reads the back scroll12:31
Chipacazyga, niemeyer, have you guys ever seen travis insert spurious \u0008's into tests?12:32
JamieBennettNicolinoCuralli: can you summarise your question again?12:32
NicolinoCuralliHi Jamie: we want to try classic confinement on ubuntu 16.04 ( not ubuntu core ) for preserve us from possible problem from misalignement between kernel functionality ( apparmor etc ) and snapd12:34
NicolinoCurallibut with Chicapa and Zyga answert i understood that it don't preseve us from a possibile problem of misaligment12:35
NicolinoCuralliJamieBennet: is it correct?12:36
mupPR snapd#3087 closed: overlord/snapstate: introduce tasks for aliases v2 semantics with temporary names for now (aliases v2) <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3087>12:36
JamieBennettNicolinoCuralli: are you using a custom kernel on ubuntu classic?12:36
NicolinoCuralliyes12:37
NicolinoCurallithe board is custom12:37
JamieBennettNicolinoCuralli: So your custom kernel will have to closely match anything we do with our kernel as we only guarantee our kernel/snapd combo for reference devices12:37
JamieBennettYou would have to look at our kernel development tree and keep up to date12:38
NicolinoCurallithe same for uboot used and snapd?12:39
NicolinoCuralliJamieBennet : the same for uboot used and snapd?12:39
JamieBennettwell, snapd would (zyga correct me if I am wrong) be refreshed as normal, just like if one of our kernels were used but if there is something missing from your kernel then potentially snapd would behave badly / not work12:40
JamieBennettwe don't tend to mess too much with uboot once it is working12:40
morphisSon_Goku: looks like the vendorized build of snapd is broken on fedora with the name change of the upstream tarball12:41
morphisSon_Goku: seeing: error: File /builddir/build/SOURCES/snapd-2.24.tar.gz: No such file or directory12:41
Son_Gokuyeah, I fixed it in my spec12:41
morphiswhen building with $ rpmbuild --with vendorized -bs snapd.spec12:41
Son_Gokuhttp://pkgs.fedoraproject.org/cgit/rpms/snapd.git/tree/snapd.spec#n4912:42
morphistought I've fetch your latest already12:42
morphisSon_Goku: yeah I have that change12:43
NicolinoCuralliJamieBennett: how can we integrate our board with yours for make it a reference device ?12:43
morphisSon_Goku: with http://pkgs.fedoraproject.org/cgit/rpms/snapd.git/commit/?id=868fcee99a09259d0707fbc7544725a03204656f as latest change and not local changes I get that build error12:44
JamieBennettNicolinoCuralli: for it to be a Canonical reference device it needs a kernel and gadget from Canonical, this means that we commit to ensuring it works throughout the dev cycle. It is heavily tested and if problems arise we fix them. For your board there isn't the same level of commitment as you are doing the work, not Canonical.12:45
JamieBennettNicolinoCuralli: So it is down to you to ensure your image works, so tracking our kernels, applying any needed patches, and testing12:46
JamieBennettNicolinoCuralli: If you wanted Canonical to do that work then we would need to have a conversation around that12:46
mupPR snapcraft#1254 opened: ci: fix travis ordering for locales generation <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1254>12:46
Son_Gokumorphis:12:47
Son_Goku[makerpm@yu-ohki SPECS]$ rpmbuild -bs --with vendorized snapd.spec12:47
Son_Gokuerror: File /home/makerpm/rpmbuild-snp2/SOURCES/snapd_2.24.vendor.orig.tar.xz: No such file or directory12:47
Son_Goku[makerpm@yu-ohki SPECS]$ rpmbuild --with vendorized -bs snapd.spec12:47
Son_Gokuerror: File /home/makerpm/rpmbuild-snp2/SOURCES/snapd_2.24.vendor.orig.tar.xz: No such file or directory12:47
Son_Gokuworks for me?12:47
Son_Gokuare you sure you're using your correct spec12:47
morphisSon_Goku: the srpm build isn't what fails12:48
Son_Gokuoh, mock!12:48
morphishttps://paste.fedoraproject.org/paste/wb27V7lHa~SXRAObmJlgo15M1UNdIGYhyRLivL9gydE=12:48
Son_Gokuyou need to pass --with vendorized to mock too12:48
morphisSon_Goku: yes12:48
morphisah!12:48
morphisSon_Goku: that works, thanks!12:50
NicolinoCuralliJamieBennet: thanks for clarifications about the problem12:52
JamieBennettNicolinoCuralli: np12:54
NicolinoCuralliThanks so much zyga and Chicapa12:55
Chipacaare we doing the standup today?12:59
Chipacait's going to be sparse :-)12:59
pedronisChipaca: we are there13:00
ogra_well, some of us are in there13:00
ogra_but we could skip13:00
zygaChipaca: nope13:01
zygawhat is that character?13:01
morphiszyga, Son_Goku: this is interesting: https://paste.fedoraproject.org/paste/gs6MGVrtlqxoaQIPFM5YOl5M1UNdIGYhyRLivL9gydE=13:04
Chipacazyga— backspace13:05
morphisI think the "missing function body" errors come from the build tag !gccgo in those .go files13:05
morphisSon_Goku, zyga: wondering why the %gotest macro has -compiler gc hardcoded13:08
zygamorphis: huh13:11
zygamorphis: maybe go packaging magic and .[ch] files doesn't play ball?13:11
morphiszyga: it's gccgo13:11
morphisat least looks like that is the problem from a first quick look13:12
pstolowskizyga, let me know if there is any low hanging fruit that you want landed.. would be good to clean the queue a bit13:21
zygapstolowski: I'm just checking13:22
zygahttps://github.com/snapcore/snapd/pull/318913:22
mupPR snapd#3189: cmd/snap-confine: don't use plain "classic" term <Created by zyga> <https://github.com/snapcore/snapd/pull/3189>13:22
zygahttps://github.com/snapcore/snapd/pull/318813:22
mupPR snapd#3188: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <https://github.com/snapcore/snapd/pull/3188>13:22
zygathose need to wait for tests13:22
zygasame here https://github.com/snapcore/snapd/pull/318713:22
mupPR snapd#3187: interfaces/mount: improve go identifier names of mountinfo, parse optional fields <Created by zyga> <https://github.com/snapcore/snapd/pull/3187>13:22
mupPR snapd#2981 closed: tests: add kernel-module-control interface test <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2981>13:25
morphiszyga, Son_Goku: that is interesting, our vendor .tar.gz doesn't include salsa2020_amd64.s13:37
morphiswhich salsa20_amd64.go refers to for the real implementation13:38
zygamorphis: oh13:38
zygamorphis: maybe the export code doesn't expect assembly?13:39
morphishttps://github.com/golang/crypto/tree/master/salsa20/salsa13:39
morphisthat is the thing I am not sure13:39
morphiszyga: copying https://raw.githubusercontent.com/golang/crypto/master/salsa20/salsa/salsa2020_amd64.s manually in place works13:41
zygamorphis: look at the vendor code13:42
zygamorphis: govendor bug?13:42
morphismaybe13:42
morphisbut wondering why the tests build and run with the same tarball on suse13:42
morphiszyga: https://build.opensuse.org/build/home:mrmorph:branches:system:snappy/openSUSE_Leap_42.2/x86_64/snapd/_log shows it could compile those bits13:44
=== coreycb_vaca is now known as coreycb
taaemSo I installed Ubuntu Core 16 on a Raspberry Pi but I noticed that there are only very minimal packages preinstalled, its missing for example lvm2 for lvm hard drives and since apt is not supported and snap doesn't find anything and afaiu it isn't supposed to find stuff like that. So now I have the problem that I can't use my old harddrives with Ubuntu Core because of this missing lvm214:02
ogra_taaem, well, ubuntu core forcuses on embedded ...14:03
ogra_lvm is a rather rare use case14:03
ogra_(which doesnt mean there wont be a lvm2 snap eventually for external disks or some such, but it is surely not a high prio)14:04
mupPR snapcraft#1254 closed: ci: fix travis ordering for locales generation <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1254>14:04
taaemogra_: okay so I'll have to use another distro then but thanks14:06
ogra_taaem, what do you try to do ?14:07
taaemogra_: I want to use Nextcloud on my rpi3 and I used rasbian and OpenSUSE before and they both failed on me so I thought I'd try Ubuntu Core14:08
ogra_well, that works fine without lvm at least ...14:09
taaemand the hdd was lvm from the begginning mostly so i could easily expand the space available without having to mess with nextcloud but only with the underlying fs14:09
ogra_just with "snap install nextcloud" (and the rest ios done in your browser then)14:09
taaemyeah but I have already 100GB of data on the lvm partition of my external hdd14:10
taaemand I certainly don't want to migrate that14:10
ogra_right, that might not be very pracical then14:11
ogra_you could file a whishlist bug for getting an lvm snap though :)14:11
ogra_https://bugs.launchpad.net/snappy/+filebug14:11
zygataaem: 100GB will copy in what? 5 minutes?14:12
ogra_zyga, not on a USB disk i suspect14:12
ogra_(given that it is attached to a pi i assume it is USB)14:13
taaema good ol' hdd14:13
taaemattached over usb14:13
ogra_yeah, that gets you 400MB/s max14:13
ogra_err14:13
ogra_400Mbit/s14:14
zygaogra_: I just put a very old 160GB disk into a usb 3.0 case14:14
zygaogra_: copying at 80MB/s14:14
ogra_3.014:14
ogra_...14:14
zygaso?14:14
zygaanyway moot point14:14
ogra_the max for 2.0 is 24MB/s14:14
ogra_that takes quite a while14:14
zyga(not really true)14:14
zygaanyway14:14
zygawhat's wrong with adt14:14
taaemits usb 214:15
zygatests are very sow today14:15
taaembtw14:15
zyga(usb 2.0 has different modes, some are much more efficient)14:15
ogra_zyga, release day ?14:15
zygadepends on usb/sata controller14:15
zygaogra_: do we rebuild the world on release day14:15
taaemand I would need 100GB free on another disk to make that migration14:15
ogra_zyga, plain USB 2.0 controllers cant shovel more than 24MB/s over the bus, no matter how well the scsi->USB part is14:16
ogra_that only gets you fast  disk IO between the bus and the disk14:16
ogra_zyga, no, but the main cvonnection to the datacenter gets hammered14:16
zygaogra_: https://en.wikipedia.org/wiki/USB_Attached_SCSI14:17
taaemogra_: https://bugs.launchpad.net/ubuntu/+bug/168244614:17
mupBug #1682446: lvm is not available on Ubuntu Core <wishlist> <Snappy:New> <Ubuntu:New> <https://launchpad.net/bugs/1682446>14:17
mupBug #1682446 opened: lvm is not available on Ubuntu Core <wishlist> <Snappy:New> <Ubuntu:New> <https://launchpad.net/bugs/1682446>14:18
ogra_The USB 2.0 specification was released in April 2000 and was ratified by the USB Implementers Forum (USB-IF) at the end of 2001. Hewlett-Packard, Intel, Lucent Technologies (now Alcatel-Lucent), NEC, and Philips jointly led the initiative to develop a higher data transfer rate, with the resulting specification achieving 480 Mbit/s, a 40-times increase over the original USB 1.1 specification.14:18
ogra_zyga, ^^^14:18
ogra_from https://en.wikipedia.org/wiki/USB14:19
ogra_The USB 3.0 specification was published on 12 November 2008. Its main goals were to increase the data transfer rate (up to 5 Gbit/s)14:19
zygaogra_: not sure what your point is14:19
ogra_in reality you only get 400Mbit/s on 2.0 ... thanks to protocol overhead ... so it ends at 20-24MB/s14:20
ogra_and there is no way to get any faster rates over 2.014:20
zygaogra_: there are different protocols14:20
ogra_but there is a physical limit14:20
zygayes but 24MB is not that limit14:21
taaemso anyway thanks for the help i'll probably install ubuntu mate and that has snap support anyway14:21
ogra_(and on a sidenote, on the pi you have the NIC on the same USB bus, so the rate is also shared)14:21
zygataaem: good luck14:21
zygataaem: mate on pi probably uses different kernel14:21
zygataaem: and snaps probably won't work (last time I checked)14:21
ThreygooWhen is snappy going to be the default package manager for Ubuntu?14:21
ogra_i think flexiondotorg worksed on getting snap support going in u-mate in 17.0414:22
ogra_*worked14:22
ogra_Threygoo, it is already the default for Ubuntu Core14:22
taaemzyga: oh so then i'll proably wait for that to drop14:22
ogra_Threygoo, and it will unlikely replace dpkg on classic installations14:22
ThreygooDismay at having 2 different package managers depending on Ubuntu variant.14:23
Threygoo(Desktop or Touch)14:23
zygaThreygoo: snapd and apt are different tools14:23
zygaThreygoo: there will always be a deb based version of ubuntu14:24
zygaThreygoo: but they serve diffeent goals14:24
zygaThreygoo: expect to see more software devlivered as snaps14:24
zygaThreygoo: but expect that the system software will be still managed as debs, perhaps as a step on their way to the core snap14:24
zygaThreygoo: debs and snaps are not aiming to solve the same problem14:24
mcphailThreygoo: hopefully snaps will replace PPAs14:26
ogra_yeah14:26
nacc*some* PPAs :)14:27
naccapplication ones, to be clear :)14:27
ogra_nacc, are there any others ?14:27
naccwell, i use ppas for snapshot development of packages14:28
ogra_like ... the snap edge channel you mean ? :)14:28
nacci'm not going to develop the php package in a snap14:28
naccas it's a part14:28
nacc(in snap parlance)14:28
mupPR snapd#3180 closed: many: fixes for `go vet` in go 1.7 <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3180>14:28
ThreygooPerhaps I had a misunderstanding after reading this. http://www.omgubuntu.co.uk/2017/01/ubuntu-phone-ota-15-ditched14:28
naccogra_: but yeah, that's an option, i suppose -- maybe even with classic confinement, i could do that14:29
zygaChipaca: can you have a look at https://github.com/snapcore/snapd/pull/318514:29
mupPR snapd#3185: snap: added tasks subcommand <Created by stolowski> <https://github.com/snapcore/snapd/pull/3185>14:29
mupPR snapd#3188 closed: cmd/snap-confine: set TMPDIR and TEMPDIR each time <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3188>14:29
mupPR snapd#3189 closed: cmd/snap-confine: don't use plain "classic" term <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3189>14:29
mupPR snapcraft#1255 opened: Update rust plugin to set RUSTFLAGS <Created by ChrisMacNaughton> <https://github.com/snapcore/snapcraft/pull/1255>14:49
pstolowskiChipaca, thanks for catching .hidden thingy!15:05
Chipacapstolowski— :-)15:05
=== onering is now known as Beato
=== DedSec_ is now known as DedSec
=== durksauce_ is now known as durksauce
=== Dmitrii-Sh_ is now known as Dmitrii-Sh
=== diddledan_ is now known as diddledan
mupPR snapd#3175 closed: daemon: do not set RemoveSnapPath flag when doing a try <Created by chipaca> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3175>15:15
mupPR snapd#3181 closed: debian: add maintscript helper to remove usr.lib.snapd.snap-confine in snap-confine <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3181>15:15
* zyga goes through PRs and merging stuff that's ready15:16
zygahttps://github.com/snapcore/snapd/pull/3179 needs a 2nd review15:17
mupPR snapd#3179: packaging: add `built-using` header for 16.04 packaging <Created by mvo5> <https://github.com/snapcore/snapd/pull/3179>15:17
=== oh4_ is now known as oh4
Chipacazyga— snapd#3150 is ready for review fwiw15:19
mupPR snapd#3150: In-snap bash tab completion <Created by chipaca> <https://github.com/snapcore/snapd/pull/3150>15:19
Chipacaanyway, time for a break15:20
mcphailNice!15:20
zygaChipaca: thanks! Ill have a look now15:24
zygaChipaca: question15:25
zygaChipaca: why not include the completer helper in /etc/bash_completion.d15:25
zygaspecifically asking about this part "Furthermore, at this stage to enable snap completions you need to source /usr/lib/snapd/complete.sh after sourcing /etc/bash_completion (or /usr/share/bash-completion/bash_completion). It adds a default completion handler that overrides and falls back to the usual one."15:26
zygaChipaca: added a comment15:35
zygaChipaca: it'd be amazing if you could try this on Fedora15:35
Chipacazyga— can you explain what you mean with your comment?15:37
Chipacazyga— snap-exec is always "inside", isn't it?15:37
zygaChipaca: curious, yes15:38
zygaChipaca: but what does snap-exec see15:38
zygatoday it would see /etc/os-release is fedora15:38
zygaso it would set SnapMountDir to /var/lib/snapd/snap15:38
zygaand I suspect this would no longer work15:38
zygabecause snap-confine mounts /var/lib/snapd/snap in /snap15:38
zygaChipaca: do you have a fedora machine around?15:39
Chipacazyga— your other comment, on data/info, it's on a change that was then reverted in a later commit or something, right?15:39
zygaChipaca: this was just a comment, the modification is indeed reverted15:39
Chipacazyga— I do not have a fedora machine around15:39
zygaChipaca: fancy getting one :-D15:39
ChipacaI've done worse things for king and country15:40
ogra_did it pay off ?15:40
Chipacazyga— any pre-built minimal image i can use?15:40
Chipacaogra_— i changed country15:40
ogra_lol15:40
zygaChipaca: the server image is nice15:40
zygaChipaca: but I recommend workstation15:41
zygaChipaca: it's really nice to see15:41
zygaChipaca: if you have a 2nd machine or 2GB of extra RAM you can just spin up a VM15:41
Chipacazyga— testing this on ubuntu was a bit of a pain, i must say15:41
ChipacaI was going for a VM, yes15:42
ChipacaI mean, testing completion15:42
Chipacainvolved bind-mounting snap-exec15:42
zygaChipaca: you can install snapd from the repo15:42
zygaChipaca: and copy snap-exec and what else might be needed15:43
zygaChipaca: there are fewer patches needed now (AFAIR just two)15:43
zygaanyway, just an idea, it's nice to try IMO15:43
zygaChipaca: if you choose to do it I can help you out with any fedora questions15:44
Chipacazyga— the workstation live iso is downloading15:45
Chipaca1 minute left15:45
zygaChipaca: excellent, thank you!15:45
mcphailChipaca: does this work like modern bash-completion (where the completions are available as soon as the package is installed) or old bash-completion (where you have to restart the shell or source /etc/bashcompletion)?15:46
Chipacamcphail— for now, if you have bash completion working, you need to also source one file from your .bashrc15:47
mcphailChipaca: ok. Thanks15:47
Chipacamcphail— once this has been kicked about some more we'll probably work with bash-completion upstream to get it working directly15:47
Chipacai.e. your .bashrc currently has (say) “. /etc/bash_completion”15:48
mcphailyep...15:48
Chipacaafter that you'd have to add a line e.g. “. /usr/lib/snapd/complete.sh”15:48
Chipacamcphail— (just to be clear, this isn't even on master yet, so it's at least a month away from being “live”)15:49
mcphailChipaca: no, that's OK. I've been wrangling with bash-completions for a couple of packages, one of which I've snapped. Just curious to how I'm going to implement this, as it is much needed15:50
Chipacaalso i'm meaning to write a blog post (and a bit of code) around this, because it enables testing bash completers, which is apparently unheard of15:50
Chipacamcphail— what this branch does is add a "completer" entry to snap.yaml15:50
Chipacamcphail— and that needs to point to a file you ship that's like the snippets you shipped in /usr/share/bash-completion/completers15:50
Chipacaor was it /completions15:50
Chipacaand then stuff should just work15:51
Chipaca(modulo aliases)15:51
mcphailyep - I let pkg-config work that out for me ;)15:51
Chipacawith the completer itself running confined15:51
mcphailLook forward to testing this when it reaches us15:52
Chipacai half expect it to fall over on its face at the lightest prodding15:52
=== kyrofa_ is now known as kyrofa
Chipacabut so far it's holding up15:52
Chipaca(by "it" there I actually mean the whole of bash programmable completion)15:52
Chipacaeep15:56
Chipacai get no cursor in the fedora live thing15:56
zygaChipaca: what are you using for virtualization?15:56
Chipacakvm15:57
Chipacatrying -vga qxl now15:57
zygaChipaca: you may need some extra options,15:57
zygaChipaca: one sec15:57
zygaChipaca: it should do fine in kvm but you need to enable ..15:57
Chipacaone thing i miss from telegram is being able to annoy people by playing random muppets gifs when they're being muppetish15:58
Chipacai'm sure that's part of the reason for the change back to irc :-p15:59
mupPR snapd#3190 opened: Change default options for Arch Linux <Created by Aimilius> <https://github.com/snapcore/snapd/pull/3190>15:59
Chipacazyga— -vga qxl got me a cursor15:59
zygaChipaca: try https://fedoraproject.org/wiki/Features/Spice15:59
Chipacai can now see what i'm pointing at15:59
zygaChipaca: this should be better (didn't try it)15:59
Chipacayeah, no thank you15:59
zyga qemu <disk-image> -usbdevice tablet -soundhw ac97 -vga qxl -spice port=5930,disable-ticketing -enable-kvm15:59
Chipacaewwww16:05
Chipacathe progress bar is wrong on fedora16:05
Chipacaeww16:05
Chipacaick16:05
Chipacaand ew16:05
zygayes16:05
Chipacaguess what i'll be working on soonish16:05
zygamorphis knows :)16:06
zygaI suspect outdated deps16:06
Chipacai've had a nicer progress bar in the works for ages, but never got around to polish it enough for release16:06
Chipacamostly because i'm not happy with the terminfo thing it uses16:06
Chipacaso i shall fix terminfo over this weekend16:06
Chipaca\o/16:07
zygaChipaca: any luck getting it to tab-complete?16:11
Chipacazyga— it's working on core still? dunno16:17
Chipacait seems to think it's a tablet, also16:17
Chipacagiant swipey things to unlock the screen16:17
Chipacahah!16:18
Chipacapedronis— you'll love this one16:19
Chipacapedronis— panic: cannot checkpoint even after 5m0s of retries every 3s: open /var/lib/snapd/state.json.weprkog: read-only file system16:19
zygaChipaca: wat?16:23
zygawhy16:23
Chipacazyga— i'm guessing the live iso has a readonly /var or something16:23
zygaoh16:23
zygayou are in the iso16:23
zygainstall it already :)16:23
Chipacait should work from the iso :-)16:24
zygaChipaca: snapd doesn't work from our installers16:24
zygaaufs and stuff16:24
zyga(e.g. maas)16:24
zygayou do really need to install it16:24
Chipacahmm16:25
Chipacazyga— i mean16:25
Chipacadnf install snapd worked16:25
Chipacahow is it now readonly?16:25
Chipacathe state.json even has stuff in it16:25
zygaChipaca: mmmmm16:25
zygano idea then16:25
zygawhat is in /proc/self/mountinfo16:25
zygaI'm curious myself16:25
zygabut my fedora's are all installed16:26
Chipacaoh, looks like the kernel remounted everything readonly16:26
zygaio issues?16:26
zygaremount=ro?16:26
Chipacalooks like it16:26
zygacuriou16:26
zygacurious16:26
Chipacamaybe 2G was not enough16:26
pedronisChipaca: love might not be the right word16:27
Chipacapedronis— :-D16:27
zygaChipaca: 2GB of ram and no disk?16:29
zygapedronis: infatuation ;-)16:29
Chipacathere is a sausage on my screen telling me to join the fedora project16:35
Chipacazyga— i blame you16:35
zygaChipaca: it's fun :)16:36
zygaChipaca: btw, sausage?!?16:37
Chipacazyga— in a bun. With a squirt of mustard.16:37
ogra_is that their equivalent of clippy ?16:37
ogra_the talking sausage ...16:37
zygaChipaca: did you install the german sausage spin? ;-)16:38
zygaChipaca: I honestly don't know what is the sausage thing you're talking about16:38
zyga:D16:38
Chipacazyga— it's cycled away, but if it comes back up i'll screenshot it16:38
* qengho worries about Chipaca.16:39
Chipacaqengho— that makes two of us16:39
Chipacazyga— http://imgur.com/egQDBx916:41
ogra_clippy in a sausage dress ! i knew it16:41
zygawoah16:41
zygaI didn't see that16:41
zygaI remember the "beefy miracle" release (was it?)16:41
zygabut ... no :D16:42
zygaPharaoh_Atem: ^^ WTF is the sausage about?16:42
ogra_yeah, the one wheer jono showed up in a sausage dress at the canonical haloween party16:42
Pharaoh_Atemooh the Beefy Miracle16:42
Chipacamaybe it's a portrait of jono!16:42
Chipacatelling us to join fedora!16:42
Chipacathat makes sense16:42
Pharaoh_Atemit's a hot dog16:43
Chipacas/portrait/caricature/16:43
Chipacas/caricature/uncannily accurate depiction/16:43
ogra_http://www.phoronix.net/image.php?id=0x2011&image=ubuntu_beefy_jono1_med16:43
Pharaoh_Atemdafuq16:43
Pharaoh_Atemwow16:43
Pharaoh_Atemwut16:43
zygahehehe16:43
zygasee16:43
zygamaybe new fedora branding16:43
zygagone with the blue16:43
Pharaoh_Atemwhy is Jono the Beefy Miracle16:44
zygaadd the ketchu-red16:44
zygaketchup-red16:44
* zyga shakes fist at BT keyboard16:44
ogra_Pharaoh_Atem, to praise fedora during a ubuntu helloween party16:44
* Pharaoh_Atem blinks16:44
ogra_you guys released a few days before or so ...16:44
Pharaoh_Atemah yes16:44
ogra_or a few later ...16:44
Pharaoh_AtemFedora 17 was a Halloween release16:44
Chipacaalso because jono16:45
ogra_yeah16:45
Chipaca:-)16:45
Pharaoh_Atemhmm no it wasn't16:45
Pharaoh_Atemit was a summer release16:45
zygaChipaca: do you have that mountinfo16:45
Pharaoh_Atemanyway16:45
Chipacazyga— which mountinfo?16:45
Pharaoh_AtemBeefy Miracle is amazing16:45
zygaChipaca: /proc/self/mountinfo when you got read-only file system16:45
Pharaoh_Atemzyga: the Beefy Miracle comes from the days of Red Hat Linux16:45
ChipacaPharaoh_Atem— to me, hot dog sausages do *not* go with “amazing” :-)16:46
Pharaoh_Atemback in the old Red Hat Linux edition of Anaconda, it would show an image of a hot dag and a cup of soda at a fridge16:46
Pharaoh_Atemwith the shadowman badge on the fridge door16:46
Pharaoh_Atemit advised to go take a break while it installs, and said go get a snack or something :)16:46
Chipacahah16:47
Pharaoh_Atemanyway, since then, it hid in the recesses of the Red Hat/Fedora lore, because it disappeared mostly when the RHEL/FC split occurred16:47
Pharaoh_Atemit was revived I think some time around Fedora 16 or so16:47
Pharaoh_Atem15 or 1616:47
Pharaoh_Atemanyway, it was revived during the effort to centralize Fedora's branding and provide generic templates16:48
Pharaoh_Atemthe creation of the fedora-release and centralized fedora-logos packages also needed debranded counterparts16:48
Pharaoh_Atemso William Woods, who was on the Anaconda team at the time, brought it back and created a generic Plymouth theme for it16:48
Pharaoh_Atemand Bill Nottingham created a generic-logos package along with generic-release16:49
Pharaoh_Atemah, the generic-logos stuff existed since Fedora 8, but anyway the hot dog was used for the generic branding16:50
Pharaoh_Atemtoday, generic-logos is maintained by me, while generic-release is regenerated during each Fedora release development16:51
zygaPharaoh_Atem: interesting :)16:51
ChipacaPharaoh_Atem— to me, not knowing anything about that, suddenly to have a sausage telling me to do stuff is somewhat surprising16:51
Chipaca¯\_(ツ)_/¯16:51
Pharaoh_Atemhe was immensely popular for a time16:51
Erixdoes snap packages get updated with a sudo apt-get upgrade command?16:51
zygaChipaca: let me explain the ubuntu logo for you ...16:51
zyga;-)16:51
ogra_Erix, they upgrade themselves16:51
Chipacazyga— I was there for that one, see :-)16:51
Pharaoh_Atemmost well-known release name for Fedora is the Beefy Miracle16:51
Pharaoh_Atemit even has its own social media :)16:52
Pharaoh_Atemand website16:52
Pharaoh_Atemhttps://twitter.com/beefymiracle16:52
Pharaoh_Atemhttps://beefymiracle.org/16:52
ogra_Erix, if you want to force an update you can always run "snap refresh" though16:52
zygaChipaca: as was I but the point is that it's equally non-obviou16:52
Erixogra_, thanks. to be clear; with apt command or bot needed16:52
Pharaoh_Atemdamn, I need to poke wwoods to fix the website16:52
Pharaoh_Atemthe pictures aren't working16:52
naccErix: apt doesn't control snaps16:53
ChipacaPharaoh_Atem— so does El Pollod Magnífico! https://twitter.com/accountpolld16:53
Erixok. thanks16:53
Erixnacc16:53
ogra_Erix, snap has a systemd timer that checks for updates and applies them automatically, so you dont need to do anything16:53
naccErix: iirc, snaps automatically refresh periodically, and you can force an immediate with `snap refresh` -- with appropriate confinement and channels if needed16:54
Chipacanacc— yup :-)16:54
Erixogra_, nacc thanks16:55
naccChipaca: thanks :)16:55
ErixSnaps makes things so easy that I'm looking for a downside16:56
Erix:)16:56
ogra_if you find it, file a bug and we might fix it ;)16:57
Erixcouldn't find any yet16:57
naccheh16:57
zygaogra_, Erix: snapd also has an internal timer16:58
zygathe systemd timer is used as a safety net16:58
zygain case we get something very very wrong16:58
zygaAFAIR the timer is pretty infrequent now16:58
Chipaca4 times a day16:58
zygasystemctl cat snapd.refresh.timer16:59
zyga4 times a day?16:59
* zyga reads what OnCalendar does17:00
zygaaha17:00
zygaI thought we made it less frequent (like 2 weeks)17:00
Chipacazyga— systemctl list-timers snapd.refresh.timer17:00
zyganice17:01
zygaI didn't know about this sub-command17:01
Erixit looks 3 times a day17:04
Erixpassed 2h 27 min17:04
ogra_iirc the long term plan is to have the server actually send push notifications to snapd17:04
Erixleft 5 h 26 min17:04
ogra_if there are snap upgrades available17:05
Erixevery 8 hours17:05
Chipacaogra_— the push story is complicated17:05
ogra_i didnt say it is easy ;)17:05
Chipacaok, this is ot from me for today17:06
=== blackboxsw is now known as blackboxsw_bbl
=== tyhicks` is now known as tyhicks
=== cachio is now known as cachio_afk
mupPR snapcraft#1256 opened: ant plugin: honour proxy configuration <Created by cjwatson> <https://github.com/snapcore/snapcraft/pull/1256>17:34
=== vinay is now known as Guest5550
Guest5550Hi guys I've installed some apps from snaps it's throwing me the following error :17:39
Guest5550Comp failed:  "file:///snap/dekko/124/usr/bin/plugins/ui/MainUI.qml:3 plugin cannot be loaded for module \"Ubuntu.Components\": Cannot load library /snap/dekko/124/ubuntu-app-platform/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so: (libmirclient.so.9: cannot open shared object file: No such file or directory)\n"17:39
Guest5550any idea what's the reason for this ?17:39
naccGuest5550: might be a bug in the snap?17:40
Guest5550It's works fine about a month but now it's started to breaking17:40
Guest5550If i installed any app using snap it's giving me the same error17:40
great_manHello17:45
great_manI'm facing a issue on snap apps Cannot load library /snap/dekko/124/ubuntu-app-platform/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so: (libmirclient.so.9: cannot open shared object file: No such file or directory)\n"17:45
great_manAny idea what's wrong here ?17:46
=== blackboxsw_bbl is now known as blackboxsw
mupBug #1682550 opened: Snap & ubuntu app platform not working <Snappy:New> <https://launchpad.net/bugs/1682550>17:52
mupPR snapd#3191 opened: many: implement snap alias <snap.app> <alias> <Created by pedronis> <https://github.com/snapcore/snapd/pull/3191>18:52
mupPR snapd#3192 opened: many: implement snap unalias <alias-or-snap> (aliases v2) <Created by pedronis> <https://github.com/snapcore/snapd/pull/3192>18:55
pedronisChipaca: I now have a couple more aliases v2 PRs that can be reviewed, at least a first pass, they likely all need a look from Gustavo19:07
lazyPowerI seem to recall having seen a go plugin that gives the snap builder an option to choose the go version, is that the case or are we relying on scriptlets pending bug 161985 being resolved?19:09
mupBug #161985: support i18n plural forms <zope.i18n:Won't Fix> <Zope 3:Won't Fix> <https://launchpad.net/bugs/161985>19:09
lutostaganybody else hitting, https://bugs.launchpad.net/snappy/+bug/1611078/comments/29 I am too, can't seem to get snaps working in my lxcs, even though they did before...19:09
mupBug #1611078: Support snaps inside of lxd containers <landscape> <lxd> <nova-lxd> <verification-failed-xenial> <Snappy:Fix Released by stgraber> <apparmor (Ubuntu):Fix Released by tyhicks> <linux (Ubuntu):Fix Released by jjohansen> <lxd (Ubuntu):Fix Released by stgraber> <apparmor (Ubuntu19:09
mupXenial):Fix Released by tyhicks> <linux (Ubuntu Xenial):Fix Released by jjohansen> <lxd (Ubuntu Xenial):Fix Committed> <apparmor (Ubuntu Yakkety):Fix Released19:09
mupby tyhicks> <linux (Ubuntu Yakkety):Fix Released by jjohansen> <lxd (Ubuntu Yakkety):Fix Released by stgraber> <https://launchpad.net/bugs/1611078>19:09
lazyPowerwhoops i mean  bug 161698519:09
mupBug #1616985: the go plugin doesn't support go 1.7 <isv> <plugin> <Snapcraft:Confirmed for sergiusens> <https://launchpad.net/bugs/1616985>19:09
tyhickslutostag: are you hitting the issue in an unprivileged container or in a privileged container?19:17
tyhickssnaps aren't currently supported inside of privileged containers19:17
lutostagtyhicks: well that would be a good reason, wouldnt it... ;) I'll retry19:18
tyhickslutostag: the good news is that it'll likely be supported soon thanks to https://github.com/lxc/lxd/pull/315519:18
mupPR lxc/lxd#3155: Enable stacking for privileged containers <Created by stgraber> <Merged by brauner> <https://github.com/lxc/lxd/pull/3155>19:18
lutostagtyhicks: nope, doesnt work with a priviledged container...19:19
tyhickslutostag: that's expected19:19
lutostagtyhicks: might it also be that I'm using snapped lxd rather than an apt install?19:19
tyhickslutostag: it will only work in an unprivileged container today19:20
lutostagoh, I just did unpriviledged before that too19:20
lutostagstill did not work19:20
stgraberlutostag: what kernel are you running exactly?19:20
lutostagI'm on zesty too, which may be the thing19:20
lutostagLinux doe 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux19:20
stgraberlutostag: what version of Ubuntu are you using for the container?19:21
lutostag(and yes I installed squashfuse of course...)19:21
lutostagI tried both xenial and zesty19:22
lutostagI'll spin up a yakkety for good measure to19:22
stgraberlutostag: zesty with a 4.10.0-19-generic kernel and a xenial container works fine here19:24
stgraberlutostag: does /sys/module/fuse exist on your system?19:24
lutostagstgraber: host or container?19:24
stgrabersame thing for that particular path19:24
lutostagstgraber: it does19:25
lutostagwrong fs type, bad option, bad superblock on /var/lib/snapd/snaps/core_1577.snap (but that would be the somewhat-not-informative line from systemctl status snap-core-1577.mount)19:30
stgraberlutostag: what do you get if you manually run: /bin/mount /var/lib/snapd/snaps/core_1577.snap /snap/core/1577 -t fuse.squashfuse -o ro,allow_other19:45
lutostagstgraber: mount: wrong fs type, bad option, bad superblock on /var/lib/snapd/snaps/core_1577.snap19:46
lutostagwhich seems like squashfuse isnt installed in the container, but dpkg -l says it is19:47
lutostag(and reran for good measure)19:47
stgraberlutostag: hmm, what container image did you use exactly?19:47
lutostaglxc launch images:ubuntu/yakkety19:47
lutostagand xenial and zesty19:47
stgraberok, then that's the problem19:47
stgraberlooks like squashfuse is missing a dependency on "fuse"19:48
stgraberwhich is part of the official Ubuntu images but not in the community images19:48
stgraberso if you use "lxc launch ubuntu:16.04" it'll work (after you install squashfuse)19:48
stgraberbut if you use "images:ubuntu/xenial" you'll need to install "fuse" and "squashfuse"19:48
lutostagstgraber: yep, thats it indeed19:48
lutostagapt install fuse worked like a charm19:49
lutostagstgraber: sorry for the rigamarole, thanks ;)19:49
stgraberI'll fix the squashfuse packaging whenever the next Ubuntu release is open for development19:49
lutostagstgraber: appreciated... and if you're in for another separate riddle...19:50
lutostagwhich I think falls more on the snap side than lxd...19:51
=== coreycb is now known as coreycb_vaca
lutostagon ubuntu core 16, if I run the default lxd daemon snap via /bin/snap run lxd falls over in certain situations, and I need to run it as root rather than via the included service file... https://gist.github.com/lutostag/a997f9189c1ae299a313853ecf4b14a7#file-rpi-setup-sh-L86 is what I cobbled together to prevent lxd daemon from spinning up and dieing repeatedly19:52
lutostagonly happens after giving it a /dev/net/tun forwarded to the container19:54
lutostaganywho I'll have to file a full bug with a smaller repro for reals19:55
lutostagthanks again19:55
mupPR snapcraft#1230 closed: lxd: refactor Cleanbuilder into Containerbuild and add Project <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1230>20:10
mupPR snapd#3187 closed: interfaces/mount: improve go identifier names of mountinfo, parse optional fields <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3187>20:16
mupPR snapd#3193 opened: interfaces/mount: parse mount options to map[string]string <Created by zyga> <https://github.com/snapcore/snapd/pull/3193>20:24
=== cachio_afk is now known as cachio
mupPR snapcraft#1257 opened: core: support running from other operating systems <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1257>20:55
Croephajust curious, but when would we be likely to see patches that are going into the ubuntu proper kernel, (Specifically the Intel HDMI auto patches that are in the 4.11 testing kernel) into the ubuntu core pc-linux kernel?21:37
Croephaintel HDMI audio21:37
mupPR snapd#3194 opened: tests: copy snap-confine apparmor profile into testbed <Created by zyga> <https://github.com/snapcore/snapd/pull/3194>22:26
* zyga wonders if anyone from the core team is around22:27
zygaif so, please review the ^^ one liner22:27
zygajdstrand: thanks :)22:53
jdstrandnp22:54
zygajdstrand: btw, did you see http://klee.github.io/22:56
jdstrandno, that's cool22:57
zygajdstrand: http://www.doc.ic.ac.uk/~cristic/papers/klee-osdi-08.pdf22:58
zygathis is why I think this is interesting22:58
jdstrandyeah, I skimmed it. it does seem interesting23:00
ogra_zyga, approved23:03
zygaogra_: thanks23:03
zygaI'm fixing 14.04 case23:03
zygawhere we dind't rename the aa profile to .real23:03
zygaeh :)23:03
zygalife23:03
mupPR snapd#3194 closed: tests: copy snap-confine apparmor profile into testbed <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3194>23:54

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