/srv/irclogs.ubuntu.com/2018/01/12/#snappy.txt

kyrofaelopio, some test failures on snapcraft#185300:23
mupPR snapcraft#1853: extractors: support appstream icon and desktop <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1853>00:23
=== AmarokNelg_ is now known as AmarokNelg
mborzeckimorning06:00
zyga-ubuntumborzecki: o/06:30
mborzeckizyga-ubuntu: hey06:30
zyga-ubuntuhttps://pastebin.ubuntu.com/26370425/ dragonboard 2.30 test results06:31
mborzeckiouch, that took a while06:34
kalikianamorning07:14
zyga-ubuntuo/07:14
zyga-ubuntuhello mvo07:27
zyga-ubuntuhttps://pastebin.ubuntu.com/26370425/ dragonboard 2.30 test results07:28
mvozyga-ubuntu: nice! thanks, I have a look at this one failure. its strange because this test worked on all the other platforms07:28
mvozyga-ubuntu: we may need to debug this interactively later today (if you have the time for it, if not monday is fine as well)07:29
zyga-ubuntumvo: it looks like it never passed on DB07:30
mborzeckimvo, kalikiana: morning07:31
mupPR snapd#4479 closed: spread: maybe dnf needs a refresh? <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4479>07:41
mvozyga-ubuntu: interessting07:41
mvomborzecki: good morning07:41
mborzeckimvo: i've restarted the build in #4380 when it's green, once we land it i'd like extend the test a bit adding more directories there08:02
mupPR #4380: tests: add simple snap-mgmt test <Created by mvo5> <https://github.com/snapcore/snapd/pull/4380>08:02
mvomborzecki: sure, its all yours08:03
mborzeckimvo: zyga-ubuntu: is #4357 good to be merged?08:05
mupPR #4357: wrappers: autogenerate After/Before in systemd's service files for apps <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4357>08:05
mvomborzecki: yes08:07
mborzeckimvo: thanks, i'll look into adding some spread tests08:08
mupPR snapd#4357 closed: wrappers: autogenerate After/Before in systemd's service files for apps <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4357>08:08
mborzeckipstolowski: morning08:18
mvokoza: hi - could you do a quick sanity check of https://github.com/snapcore/snapd/pull/4448 - does that make sense in the bluez context (your are our bluez expert, right .) ?08:23
mupPR #4448: Add rules for Media API to the BlueZ D-Bus policy <Created by lhartung> <https://github.com/snapcore/snapd/pull/4448>08:23
zyga-ubuntumvo: good idea :)08:24
mvozyga-ubuntu: also added jdstrand_ to pr #4449 but hopefully a no-brainer08:24
mupPR #4449: cmd/libsnap-confine-private, cmd/snap-confine: fix logging of failed [u]mount when run with SNAP_CONFINE_DEBUG=1 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4449>08:24
pstolowskigood morning!08:25
* zyga-ubuntu cannot wake up today08:26
mborzeckizyga-ubuntu: more coffee08:28
* pstolowski rebooting for new kernel update08:28
pstolowskigood, no more panics on shutdown with 4.4.0-109, whatever was broken with -108 apparently got fixed08:33
zyga-ubuntuniemeyer: good morning08:56
zyga-ubuntuniemeyer: I hope you're around today :)08:57
niemeyerzyga-ubuntu: I hope so as well.. still not 100% sure I'm here or if I'm still sleeping08:59
zyga-ubuntuniemeyer: I feel the same thing despite supposedly being awake for some time now08:59
mupPR snapd#4380 closed: tests: add simple snap-mgmt test <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/4380>08:59
zyga-ubuntuniemeyer: let's reuse the standup HO, I don't know how to add event-specific hangouts anymore (new calendar UI)08:59
zyga-ubuntujamesh: good evening09:00
niemeyerzyga-ubuntu: I'm already online on dekstop-snapd09:00
jameshzyga-ubuntu: hi09:00
zyga-ubuntujamesh: let's use this link https://hangouts.google.com/hangouts/_/canonical.com/desktop-snapd09:00
* Chipaca yawns09:05
mborzeckitests/main/auto-refresh-private fails on master https://pastebin.canonical.com/207451/09:41
Chipacamborzecki: looking09:45
mborzeckilooking at snap-mgmt --purge, i suppose we should stop systemd services that came from snaps and clean up the *.service files as well09:50
mvomborzecki: +109:51
* Chipaca -> physio10:08
Chipacamborzecki: that spread test passed here -- maybe a store glitch?10:08
mborzeckipossible, let's see if it comea up again10:09
pstolowskizyga-ubuntu, a few comments to 447110:27
zyga-ubuntuthank you10:28
pstolowskimborzecki, and to 447610:28
mborzeckipstolowski: thanks10:28
justaskinghi everybody, what is the standard procedure for troubleshooting the following situation:10:48
justaskingsnap installed10:48
justaskingsnap/programm appears in menu structure10:48
justaskingbut won't run10:49
justaskingprogram in question is shotcut10:49
zyga-ubuntujustasking: open a termina and "snap run nameofthesnap"10:53
sparkiegeekhttp://downforeveryoneorjustme.com/forum.snapcraft.io11:11
sparkiegeekdid that get covered already?11:11
zyga-ubuntuniemeyer: ^11:12
mvosparkiegeek: thanks! we were not aware of this until now11:13
mupPR snapd#4480 opened: tests/main/snap-mgmt: extend the test to cover more directories and files <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4480>11:13
pstolowskipedronis, hey, do you have a moment for quick HO?11:14
mupPR snapd#4481 opened: image: let consume snapcraft export-login files from tooling <Created by pedronis> <https://github.com/snapcore/snapd/pull/4481>11:16
sparkiegeek... and it's back?11:19
pedronispstolowski: not now, after lunch yes11:22
pstolowskipedronis, ok, thanks11:22
pedronistrying to finish something11:22
* Chipaca returns from physio, defeated11:35
* zyga-ubuntu hugs Chipaca for fighting11:35
zyga-ubuntuthat was a long but very useful call11:36
zyga-ubuntuok, 10 minute break and I'll get back to fighting here11:36
zyga-ubuntumvo: any issues with landings?11:36
zyga-ubuntumvo: and shall I do something about dragonboard or are you happy with the results so far?11:37
Chipacazyga-ubuntu: https://www.youtube.com/watch?v=-VsmF9m_Nt8 <- for your break11:38
Chipacazyga-ubuntu: (just listen; the video is terribe)11:38
mvozyga-ubuntu: if you could re-run this one failing command with -debug that would be cool but not urgent11:41
zyga-ubuntumvo: sure thing11:48
mupPR snapd#4482 opened: cmd/libsnap-confine-private: add debug build of libsnap-confine-private.a, link it into snap-confine-debug <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4482>11:55
pedronispstolowski: I'm around now but you are probably having lunch yourself12:01
pstolowskipedronis, not yet, let's do a quick HO (standup ho)12:03
pedronispstolowski: I'm there12:04
* zyga-ubuntu enjoys fruit for a quick snack12:07
mupPR snapd#4483 opened: cmd/libsnap-confine-private: print failed mount/umount regardless of SNAP_CONFINE_DEBUG <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4483>12:12
mupPR snapd#4449 closed: cmd/libsnap-confine-private, cmd/snap-confine: fix logging of failed [u]mount when run with SNAP_CONFINE_DEBUG=1 <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/4449>12:13
* Chipaca starts to rage, then remembers he's probably hangry and goes to fix that12:19
zyga-ubuntuis hangry like hungry and angry in one word12:19
sparkiegeekyup12:19
Chipacayes12:19
zyga-ubuntudoes it explain hangover?12:19
sparkiegeekhttps://www.urbandictionary.com/define.php?term=Hangry12:19
Chipacazyga-ubuntu: it's the anger from being hungry12:19
zyga-ubuntuis the hangover the anger from the hunger and the drinking being over?12:20
sparkiegeekalas, no12:20
* kalikiana going for trains/lunch in ~1012:23
pedronispstolowski: btw, don't you a problem running hooks before the snap in in the snaps map in state?12:52
pedronispstolowski: are you running autoconnect stuff just after setup-profiles? or after link-snap?12:53
pstolowskipedronis, hmm this can be a problem indeed. i didn't hit it yet because autoconnect and hooks branches are not integrated12:54
pedronisI fear so12:54
pedroniswe need to think about that12:55
pstolowskigood point..12:55
pedroniswhich reminds that at some point we had revision in the hook setup struct12:55
pedronisand removed it12:55
pedronisthinking that current would be ok12:55
pedronismmh12:55
pedronispstolowski: we need to think, it's tempting to run autoconnect after link-snap bu doesn't sound correct12:57
pstolowskipedronis, it runs after link-snap atm12:58
pedronisit doesn't hit the problem then12:58
pedronisbut not sure it's correct12:58
pedronisthe snap might not working12:58
pstolowskiit would help to land interface-hooks (and unknown-task-handler) first, and then focus on integrating autoconnect12:58
pedronisbut is exposed12:58
niemeyerI'll be late for the standup a minute or two but will be there in a moment12:59
pedronispstolowski: like one of the autoconnect could be for some libraries over content interface12:59
pedronisthe snap is there12:59
pedronisbut application could crash (no library)12:59
pedronisotoh as I said before the snap is know we cannot run hook atm (afaict)13:00
=== Trevinho_ is now known as Trevinho
kalikianare13:46
Chipacami13:53
pedroniszyga-ubuntu: what's your question?13:53
sparkiegeekfa13:53
Chipacapedronis: how to get "snap download --revision=xyz foo" to work when one has ownership of foo13:54
zyga-ubuntupedronis: how to make snap download work with my auth magic so that I can download revisions of snaps I co-own13:54
zyga-ubuntuthere we go :)13:54
* zyga-ubuntu wonders how will DST affect people working from the moon "call me at noon"13:55
pedroniszyga-ubuntu: we don't have yet the proper fix (we should be to make just that work)13:55
pstolowskiniemeyer, the unknown task handler PR is #444013:55
mupPR #4440: state: unknown tasks handler <Created by stolowski> <https://github.com/snapcore/snapd/pull/4440>13:55
zyga-ubuntuok, it's not urgent (to me)13:55
Chipacazyga-ubuntu: space is in UTC \o/13:55
* pstolowski lunch13:55
pedroniszyga-ubuntu: but  snapcraft  export-login (in beta) plus my last PR (hint hint)  should let you do that13:55
niemeyerpstolowski: Thanks13:56
pedronispstolowski: mvo: I marked it for 2.3113:56
pedronis#4440 I mean13:56
mupPR #4440: state: unknown tasks handler <Created by stolowski> <https://github.com/snapcore/snapd/pull/4440>13:56
mupPR snapcraft#1866 opened: lxd: setup LXD remote for multipass <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1866>13:57
pedroniszyga-ubuntu: #448114:00
mupPR #4481: image: let consume snapcraft export-login files from tooling <Created by pedronis> <https://github.com/snapcore/snapd/pull/4481>14:00
pedronisfedora tests seem to break again indeed :/14:01
zyga-ubuntupedronis: I'll disable them14:01
mupPR snapd#4484 opened: spread: switch fedora 26 to manual again <Created by zyga> <https://github.com/snapcore/snapd/pull/4484>14:04
mupPR snapcraft#1867 opened: kernel plugin: remove dependency on magic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1867>14:15
ackkmvo, hi, I saw that the updated base-18 snap was finally build, any chance it can be pushed to edge?14:21
pedronisacck: it is on edge14:26
ackkpedronis, ah, nice, thanks14:27
pedronissorry, ackk: see snap info base-1814:27
pedronisyou can always check that way what is available14:27
ackkthanks14:29
ackkpedronis, that's the latest build from LP, right?14:29
pedronisfor that you need mvo14:29
pedronisI think he said so but not sure14:29
mborzeckiwrapping it up, enjoy your weekend guys14:43
* zyga-ubuntu focuses on coding, tweet @zygoon for attention14:48
mvoackk: I pushed it to edge, unfortunately it does not contain all the bits I hacked into our custom base-18 snap (sorry for the delay, was in a meeting)14:49
elopiohello! it's friday and we all know it :)14:49
sparkiegeek!infer time in australia14:51
ubottusparkiegeek: I am only a bot, please don't think I'm intelligent :)14:51
mupsparkiegeek: 1:51:58 am AEDT Saturday, January 13, 2018.14:51
sparkiegeekelopio: not everyone "knows" it's Friday :)14:52
sparkiegeekelopio: PS. Happy Friday!14:52
elopiosparkiegeek: those australians are always thinking ahead :)14:52
ackkmvo, ah I see, ok, I'll stick to that custom built one for now then14:53
ackkmvo, thanks for the update14:53
kalikianaelopio: happy Friday :-D14:54
elopiokalikiana: :D14:54
mvoackk: I look into what is missing later today or monday14:56
ackkmvo, awesome thanks14:56
Chipacaok, i'm going offline now14:58
Chipacahave a great weekend, y'all! and niemeyer safe and boring travels14:58
* kalikiana going for a break14:59
sergiusenskalikiana when you get back, want to jump onto  call?15:17
sergiusenselopio hey15:17
elopiosergiusens: feeling better?15:18
sergiusenselopio it is a good Friday for those on Friday indeed15:18
sergiusenselopio yes, not 100% but a lot better than before15:19
elopiojust in time for the flights15:19
sergiusenselopio I have two requests for you though, I added a comment to #185315:19
mupPR #1853: osutil: call sync after cp if requested. overlord/snapstate/backend: switch to use osutil instead of another buggy call to cp <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/1853>15:19
sergiusenselopio the snapcraft one ;-)15:20
elopiolooking15:20
sergiusenselopio and also added wanted you to look at 186715:20
mupPR snapcraft#1868 opened: tests: call file directly for the HasArchitecture checker <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1868>15:21
kalikianasergiusens: getting my headphones15:22
mupPR snapd#4484 closed: spread: switch fedora 26 to manual again <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4484>15:23
sergiusenskalikiana when the clock hits 3015:23
elopiosergiusens: I wanted to preserve the behaviour of returning None, instead of an empty summary when there isn't one. But it seems to me that get_summary is only used for tests, so that would work just the same15:23
elopiokyrofa: do you agree?15:23
elopiosergiusens: 1867 seems to just preserve the behaviour, so ok. Could you please add on the pr why do you want to get rid of magic?15:25
kalikianasergiusens: I'm ready. Got a URL for me?15:31
kalikianasergiusens: note that I need to head out in 20min15:38
sergiusenskalikiana the weekly15:38
kalikianasergiusens: ah. okay, lemme find the url15:38
sergiusenselopio because of popey's bug15:38
sergiusensneed to find it again though15:39
zyga-ubuntupstolowski: hey15:40
zyga-ubuntupstolowski: still around?15:41
zyga-ubuntupstolowski: what are the long terms plans for interfaces.Plug, i assume that's going to go away entirely?15:41
pstolowskizyga-ubuntu, yep15:41
pstolowskizyga-ubuntu, yes15:41
zyga-ubuntupstolowski: thank you for confirming that15:41
zyga-ubuntupstolowski: is that waiting for something/15:43
zyga-ubuntupstolowski: or could I try doing that now?15:43
pstolowskizyga-ubuntu, I planned to do that after #4358, because it still uses Plug/Slot in Autoconnect methods15:45
mupPR #4358: interfaces: interface hooks implementation <Created by stolowski> <https://github.com/snapcore/snapd/pull/4358>15:45
pstolowskizyga-ubuntu, so you won't be able to remove them just yet15:45
zyga-ubuntupstolowski: understood15:50
elopiosergiusens: what kernel snap are you using to test this?15:52
kyrofaelopio, responded on the PR. I like returning none as well, although I don't think we're using that functionality right now15:54
sergiusenselopio oh, I wanted you to test; but I used pc-kernel15:54
kyrofaThe most important thing is that they don't show up in to_dict()15:54
elopiosergiusens: but the pc kernel is using the make plugin, not the kernel plugin.15:54
elopiounless I'm looking at the wrong pc kernel.15:55
sergiusenselopio I only tested the sublogic where things changed not a full kernel with pc-kernel15:56
elopiosergiusens: ok, I'm testing the extraction with the 96boards demo snap.15:57
mupIssue snapcraft#1828 closed: Support desktop and icon in appstream handler <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1828>15:57
mupPR snapcraft#1853 closed: extractors: support appstream icon and desktop <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1853>15:57
sergiusenselopio that is good enough; this should all just work though ;-)15:59
* kalikiana heading out15:59
zyga-ubuntupstolowski: one tiny review please: vvvv16:08
pstolowskisure16:09
mupPR snapd#4485 opened: interfaces/builtin: use snap.{Plug,Slot}Info over interfaces.{Plug,Slot} <Created by zyga> <https://github.com/snapcore/snapd/pull/4485>16:09
pstolowskizyga-ubuntu, hmm will it pass the tests?16:11
zyga-ubuntupstolowski: it does here16:12
zyga-ubuntuvia embedding, I think16:12
pstolowskizyga-ubuntu, ok, second question, will it cause my interface-hooks branch to go all red? ;)16:13
zyga-ubuntuno, I don't think so, note that *none* of the interfaces are touched16:13
zyga-ubuntuthis is just one bit of test code16:13
zyga-ubuntupstolowski: if it does I will unconflict them (warranty ;-)16:14
pstolowskizyga-ubuntu, just checked, no issues after your change, only 2 line fix needed in my branch. thanks!16:24
zyga-ubuntupstolowski: thank you!16:24
pstolowskizyga-ubuntu, ah sorry, i'm wrong, no fix needed, i missed utils_test.go change that you did16:24
pstolowskiso all greeen16:24
zyga-ubuntuwoot16:24
zyga-ubuntuI'll merge it when green16:24
zyga-ubuntuthanks, I'm back to my hacking16:24
pstolowski(all green here locally)16:25
ogra_jdstrand_, is there a reason why the network-setup-control interface gives me ful write access to /etc/netplan but does not allow me to run "netplan generate" and "netplan apply" afterwards so that i need to force a reboot to make a new network config be picked up ?16:26
zyga-ubuntuogra_: jdstrand_ is on holidays this week16:26
ogra_zyga-ubuntu, ah, thanks16:26
zyga-ubuntuogra_: and in cape town next week16:27
ogra_i'll re-ask next week ... not urgent16:27
zyga-ubuntuogra_: so should be harder to reach over irc but easier timezone wise16:27
ogra_yeah16:27
zyga-ubuntuogra_: and besides, how have you been?16:32
zyga-ubuntuogra_: I heard that you work with koza now, is that true?16:33
ogra_yep16:33
ogra_zyga-ubuntu, (sorry, was busy filling travel forms) ... well, lots of custome HW enablement recently16:44
ogra_its a lot of fun but shows all our drawbacks and missing features in snapd and UbuntuCore16:45
zyga-ubuntuogra_: any low hanging fruit?16:49
ogra_zyga-ubuntu, well, the multi volume thing that michael fixed already was one ...16:52
ogra_zyga-ubuntu, but there is more to come ... disabling auto-import ... being able to boot without a hardcoded eth0 config on first boot etc16:53
mupPR snapcraft#1869 opened: cli: exported login should only be readable by owner <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1869>16:57
* elopio goes to the mechanic and relocates.17:14
mupPR snapd#4485 closed: interfaces/builtin: use snap.{Plug,Slot}Info over interfaces.{Plug,Slot} <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4485>17:27
sergiusenskyrofa hey are you up yet?17:28
kyrofasergiusens, hahaha17:28
kyrofaOf course-- what's up?17:28
sergiusenskyrofa elopio snapcraft#1867 and snapcraft#1868 need reviews, after those are in I can propose the removal of magic completely (from snapcraft.internal.elf)17:29
mupPR snapcraft#1867: kernel plugin: remove dependency on magic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1867>17:29
mupPR snapcraft#1868: tests: call file directly for the HasArchitecture checker <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1868>17:29
kyrofasergiusens, taking a look now17:30
kyrofasergiusens, snapcraft#1869 could use a review as well17:30
mupPR snapcraft#1869: cli: exported login should only be readable by owner <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1869>17:30
=== CodeMouse92 is now known as CodeMouse92__
sergiusenskyrofa you already have one ;-)17:33
matiasbniemeyer, hola! just a reminder we are waiting for some definition on the appstream field; if you don't get to it before leaving for the sprint, it would be great if you can sync with Sergio and roadmr next week18:05
roadmrhi :)18:07
sergiusensmatiasb niemeyer +1 on that, out extract info work for appstream is only missing a definition on that18:09
kyrofasergiusens, what was your test case for snapcraft#1867 ?18:18
mupPR snapcraft#1867: kernel plugin: remove dependency on magic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1867>18:18
kyrofaThe code looks good, but I don't know of a kernel using that right now that I can use to verify that it works properly18:18
sergiusenskyrofa the manual tests18:19
kyrofaOh nice18:19
sergiusenskyrofa but elopio was on that, just waiting for his results; given that it is a fallback mechanism I am not scared about the implementation18:19
kyrofaOkay, I'll let him do it. +1 from me on the code, I'll say that in the PR18:20
niemeyermatiasb, sergiusens: Sorry for the delay.. that's still very close to the top of my list, but I need to get the tasks required for me to travel to the sprint out of it first18:21
niemeyerI'll try to have a look today still18:21
roadmrthanks niemeyer  :)18:23
matiasbniemeyer, good to know it's in your radar! thanks18:24
=== Beret- is now known as Beret
sergiusenskyrofa replied to both your comments18:52
sergiusensand thanks for the check Gustavo18:53
elopiosergiusens: yep. On it, but it filled my hard disk. I'm moving things around to make space18:54
jamesb192I have a program I am looking to snapify, however it builds a python module with an .so in the process. I can get the daemon to work but not the python tools. How can I get the python module exposed?19:04
mupPR snapcraft#1868 closed: tests: call file directly for the HasArchitecture checker <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1868>19:37
zyga-ubuntujamesb192_: hey, it's a late, come back next week and I'll help you out, ok?20:04
=== lborda_ is now known as lborda_att_poc
sergiusenskyrofa I am done with the readelf change, just waiting on elopio to merge the kernel dep PR21:06
kyrofaAwesome!21:07
elopiosergiusens: receiving objects:  21% (1050922/4836407)21:10
elopioI had to do it locally, I couldn't get enough space on my canonistack instance. If you want, I'll hit the merge button once the test finishes.21:11
sergiusenskyrofa any chance you can take a stance at testing that?21:15
sergiusensthat is if it is really necessary21:15
sergiusenselopio ^?21:15
elopiosergiusens: well, you can merge now and if something wrong appears, I can yell in panic.21:16
kyrofaYeah you should probably do a shallow clone21:17
kyrofasergiusens, happy to do it once I'm done here if necessary21:17
kyrofaJust let me know21:18
sergiusenskyrofa go for it21:30
sergiusenselopio also, kyrofa is right, shallow clone ftw21:30
elopioyes, I stopped, and it's now downloading core -_-21:33
elopiokyrofa: it would be great if you give it a try, just follow the steps from the manual test about 96boards. I will relocate home now and continue from there21:34
mupPR snapcraft#1870 opened: elf: remove dependency on magic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1870>21:34
sergiusenskyrofa here you go to get started ^21:36
kyrofaI swear I can never remember my login for this site21:39
kyrofaRunning no21:42
kyrofaw21:42
sergiusensstgraber when I run `lxd init` on my system I get "lxd: error while loading shared libraries: liblxc.so.1: cannot open shared object file: No such file or directory" ... is this something common? lxd itself was working fine, I wanted to re-init21:52
stgrabersergiusens: the only cases where I've seen this is when someone installs the lxd snap with --classic by mistake21:53
stgrabersergiusens: though I guess if you have a copy of the lxd binary somewhere (not coming from the snap), that could cause that too21:53
sergiusensstgraber hmm, not installed with classic and I don't even have the deb installed21:56
sergiusensstgraber this profile name looks odd "[   13.008436] audit: type=1400 audit(1515754069.322:124): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxd-packaging_</var/snap/lxd/common/lxd>" name="/var/lib/lxcfs/" pid=4086 comm="(networkd)" flags="ro, nosuid, nodev, remount, bind"21:58
* sergiusens tries to install in devmode21:59
sergiusensnope, doesn't do the trick :/22:00
kyrofasergiusens, this demo gives me "make: *** No rule to make target 'Image'.  Stop." during the build step22:00
kyrofaDid you need to tweak it?22:01
kyrofasergiusens, argh, duh, nevermind22:03
kyrofaMuscle memory killing me22:03
stgrabersergiusens: profile name looks fine to me22:08
stgrabersergiusens: what does "which lxd" or "type lxd" get you?22:08
sergiusensstgraber /snap/bin/lxd; I also did a `snap run lxd --shell` and ran through things manually, interestingly liblxc.so.1 is there so I guess it is failing to load for some reason22:11
sergiusensstgraber I was using this system just fine until now22:11
stgrabersergiusens: did the core snap get updated and dropped some bits that liblxc.so.1 relies on somehow maybe?22:25
stgraberthough if so, our jenkins tests haven't noticed that yet22:26
sergiusensstgraber don't know, I can show you live on Monday if I don't sort it out by then22:33
sergiusensin the meantime, I have to pack for my early flight tomorrow :-/22:33
sergiusensI'll switch to edge and see what happens22:33
sergiusenskyrofa how did it go?22:33
kyrofasergiusens, still building22:34
sergiusenskyrofa ack, in the meantime I hope you are enjoying snapcraft#1870 :-)22:34
mupPR snapcraft#1870: elf: remove dependency on magic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1870>22:34
kyrofaWe're missing some dependencies, I've had to restart it a few times22:34
kyrofaUh... /tmp/tmp0x9gj2_u: 11: exec: modprobe: not found ?22:35
kyrofaDarn, it's in sbin22:35
kyrofasergiusens, but that means it got far enough for me to say that it worked22:37
kyrofa(I think)22:39
kyrofaRunning again anyway...22:39
kyrofasergiusens, test failurs on 187022:40
kyrofasergiusens, sure wish we could run arm adt...22:42
sergiusenskyrofa yeah, 1870 will fail tests until that kernel one lands ;-) Focus on the code though :-)22:47
kyrofaHahaha, this is so gross22:49
kyrofaly pretty22:50
sergiusenskyrofa if you clone and run all the units they should pass as you have magic installed in your venv; integration should also work23:05
sergiusenskyrofa and the whatever test case you used to verify the glibc from the future feature should also work23:05
* sergiusens will bbl23:06
kyrofasergiusens, have we talked about looking into pyelftools?23:07
kyrofaWe're shelling out so much here, I feel like we could be reading these things directly23:08
mupPR snapcraft#1867 closed: kernel plugin: remove dependency on magic <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1867>23:19

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