[00:17] PR snapcraft#912 opened: Add a gradle demo and test [00:20] PR snapcraft#652 closed: Demo/gradle [00:41] PR snapcraft#911 closed: Remove the outdated all snaps image set up for snaps tests === chihchun is now known as chihchun_afk [02:08] PR snapcraft#871 closed: Remove XXX comment from stage-packages [02:08] PR snapcraft#913 opened: help: update stage-packages and build-packages [02:29] PR snapcraft#914 opened: meta: icon is now dedeprecated [02:38] PR snapcraft#761 opened: Remove dangling symlink from JDK plugin [03:11] hello everyone, I just installed Ubuntu Snappy in Raspberry Pi3, However, I cannot build any packet such as apache2, sql, can someone help me please ??, I'm new in snappy [07:38] good morning [07:43] hey hey [07:47] bonjello [09:11] Bug #1620560 changed: Revert command doesn't reset the right apparmor profile [09:56] tvoss: I think I understand it now [09:56] tvoss: testing a simple fix [09:58] is there a difference in what happens between [09:58] sudo snap install --devmode --force-dangerous mysnap.snap [09:58] and [09:58] sudo snap try path/to/mysnap/prime --devmode [09:58] ? [09:59] yes [09:59] tsdgeos: the difference is as follows: [09:59] tsdgeos: snap install copies the snap (across the connection) and installs it just as any other snap from the store (dangerous option means that some assertion are ignored) [09:59] tsdgeos: try on the other hand copies nothing and uses the directory indicated directly, ther'es a bind mount from that directory to /snap/$SNAP_NAME/$SNAP_REVISION [10:00] tsdgeos: you cannot remove that directory (rename it, break meta/snap.yaml) without some consequences [10:00] tsdgeos: the content is also live, you can change it and observe effects immediately [10:00] because i'm seeing what i think is a runtime difference, [10:00] do you think that's possible? [10:00] tsdgeos: at runtime, perhaps still, the directory might be writable [10:00] tsdgeos: I think we didn't fix that yet [10:00] tsdgeos: what do you observe? [10:01] matteo`: ping [10:01] Chipaca: pong [10:01] zyga: i think i'm seeing some dbus calls succeed in the install case and not in the try case [10:01] matteo`: what happened to docs/interfaces.md in your #2193 ? [10:01] tsdgeos: dbus is interesting, it is usually not affected by anything, can you show me the apparmor denial (journalctl | grep DENIED) please [10:02] Chipaca: isn't that moved to the wiki now? [10:02] ah! [10:02] :-) [10:02] zyga: and how is that kept in sync with the code? [10:02] ironically editing the wiki with git is nice :) [10:02] Chipaca: manually but the process is lighter [10:02] Chipaca: we should just poke people to edit it [10:02] zyga: so should there be a PR for the wiki for every PR that needs to update docs? [10:03] zyga: the thing is there's no denials, but i see code going further in one case than in the other, i think i'm wasting your time, let me do some more debugging, sorry for the noise [10:03] tsdgeos: no denials but things not working usually means seccomp [10:04] tsdgeos: but I have no context other than what you said just there [10:04] tsdgeos: do you have an encrypted home directory, or home directory in some non standard location [10:04] Chipaca: I found this? https://github.com/snapcore/snapd/blob/master/docs/MOVED.md [10:04] tsdgeos: I'm happy to help, bugs like this always show insight into what the real system is doing [10:04] matteo`: yep! sorry, i forgot about that move (see my conversation with zyga) [10:05] matteo`: but you're still on the hook for having the docs for this be in place once your branches land [10:05] matteo`: the up side is that you just hit the edit button and type away :) [10:05] matteo`: you can use git if you prefer [10:06] zyga: I wanted to edit the wiki only after the PR merge [10:06] otherwise I'll have documentation for a non existing feature [10:06] matteo`: that's fine, it's a wiki :D === matteo` is now known as matteo [10:07] matteo: just edit (you can say "PENDING merge" or something) [10:07] ok [10:07] matteo: it'd be nice to indicate "since snapd 1.2.3" actually [10:07] matteo: so you can just use the future version there [10:07] ok [10:08] matteo: rawusb is going to land in a few more minutes, unless i386 hates you [10:08] Chipaca: raw usb interface? [10:08] usb-raw [10:08] yes, direct usb access, eg. for sane [10:08] Chipaca: woot, I could use that for my test farm to drive some tools I have [10:09] (now if only 14.04 wasn't so mysteriously failing on the upgrade test) [10:09] zyga: woot at matteo; i'm just pushing it [10:09] thank you matteo :) [10:09] btw I have an example snap that uses it [10:09] it contains lsusb [10:09] zyga: and it might get renamed; jdstrand did ask niemeyer about the name, but that was 21 days ago [10:10] in snapd time that's past the statute of limitations1 [10:10] matteo: perfect, I was thinking about a libusb based flash tool for STM devices [10:10] Chipaca: that's like eternity ;0 [10:10] https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/examples/tree/usb-utils/snapcraft.yaml [10:10] precisely [10:10] do you have an STM MCU? Like STM324F? [10:11] zyga: this thing about me being able to push branches at PRs to unbreak them is terrible [10:11] matteo: yes, a few actually [10:11] matteo: I briefly worked on the lm4tools that can flash them [10:11] nice, I have some too [10:11] Chipaca: terrible or terrific? [10:11] did you flash them with gdb and openocd? [10:11] matteo: no, just lm4tools, it was way easier and I think, at the time, the only supported way [10:16] Chipaca: I alphabetizet everything in all.go and all_test.go, but you put NewAvahiObserveInterface after NewCupsControlInterface [10:16] how much time the autopkgtest need to run? [10:17] matteo: I don't think I did that? [10:17] NewAlsaInterface(), [10:17] NewAvahiObserveInterface(), [10:17] + NewBluetoothControlInterface(), [10:17] + NewCameraInterface(), [10:17] + NewCupsControlInterface(), [10:17] NewDcdbasControlInterface(), [10:18] in all_test [10:18] https://github.com/snapcore/snapd/pull/2193/commits/1b9586330a2bbdf7e3534fe3d511a86fa8871da3 [10:18] PR snapd#2193: add usb-raw iterface [10:18] matteo: gah [10:18] maybe you did indirectly, while merging [10:18] matteo: I noticed and fixed it in all.go, but missed it in all_tests.go [10:19] when merging, yes [10:19] matteo: I'll wait for all green, then fix this and wait for just spread green and land [10:19] matteo: unless you'd rather do it yourself [10:20] actually, this is strange [10:20] in all_tests locally i have it ordered [10:20] ah, no, wrong branch [10:20] * Chipaca is tracking too many right now [10:22] zyga: done the wiki [10:22] Chipaca: I'm for the "wait just for spread and merge" thing [10:24] zyga: you looked at 2249 before, could you +1 it if appropriate? [10:25] Hi I am thinking of making a snap of a java program I have written where would it be available I read something about a snappy strore but I can not find a trace of that? [10:28] Chipaca: checking [10:29] gerry_: the snap store doesn't have a web interface accessible from a non-snap system [10:29] gerry_: (you could install snapweb) [10:29] gerry_: the snap store is what `snap find foo` talks to [10:30] mvo: https://travis-ci.org/snapcore/snapd/jobs/176656727 [10:30] mvo: :-D [10:30] mvo: but also :-/ [10:33] ok so I am using ubunutu it has a new menu item called software as well as the ubuntu software center would it become available in that? [10:34] gerry_: yeah, "sofware" (not ubuntu software center) displays snaps and deb packages [10:35] ok thank you for your help one more question at the moment I have a jar with all dependencies (one library) contained in it would this be the best way to make a snappy package with the jar ? [10:41] gerry_: I'm not particularly familiar with java based snap, but you sohuld give a look at the jdk snapcraft plugin IMHO [10:41] ok thank you very much for your help [10:43] yw! keep us posted :) [10:47] tvoss: found one more issue, fixed it, trying [10:47] tvoss: we didn't enable the mount unit [10:48] tvoss: I switched the snapd-mount.sevice to a real snap.mount unit [10:48] tvoss: fingers crossed, it also mkdirs the /snap directory for free ;) [11:01] tvoss: ha, I think I begin to have something [11:01] tvoss: Nov 17 11:59:20 autopkgtest mount[20017]: mount: according to mtab /var/lib/snapd/snaps/core_394.snap is already mounted on /snap/core/394 as loop [11:01] tvoss: that's a lie, mtab is garbage [11:01] tvoss: I'll patch the test setup to rm /etc/mtab and use a symlink to see if that changes [11:10] zyga, +1, I'll another version of snapd into the ppa [11:10] zyga: did you push your most recent changes? [11:41] tvoss: no, none of them improve the state yet [11:42] zyga: ack, I'll push a new snapd package nevertheless [11:56] * zyga -> break [11:57] ogra_: Could you give me an update on where we are with https://bugs.launchpad.net/snappy/+bug/1639878? [11:57] Bug #1639878: pc-kernel.snap missing drivers necessary for Hyper-v [11:59] PR snapcraft#891 closed: repo: apt-mark new build-packages as automatically installed [12:05] tvoss: trying one more thing now [12:05] tvoss: I think systemd and /etc/mtab being a real file don't work [12:05] zyga: uploaded to ppa, waiting for accept/reject message [12:06] zyga: aha [12:06] tvoss: the rshared on / hides the issue somehow but not sure how [12:06] tvoss: the message I got was that systemd didn't do something it usually does (mount something) because it was apparently mounted (in the stale mtab file) [12:06] tvoss: it's all a bit shoot-in-the-dark though :/ [12:06] zyga: okay, let me find some help [12:12] tvoss: nope, didn't help - still digging [12:12] qemu:ubuntu-14.04-64 .../tests/upgrade/basic# systemctl status snap-core.mount [12:12] Loaded: error (Reason: No such file or directory) [12:19] zyga: I'm grabbing lunch, let's jump on a hangout with pitti right after that [12:23] tvoss: ok [12:26] tvoss: ah, silly me, the escaping causes my queries to systemd to give confusing messages === hikiko is now known as hikiko|ln [12:28] tvoss: let's talk here so that pitti can be in the loop [12:28] v+1 [12:29] tvoss: testing that new util-linux from ppa:pitti/systemd-semaphore [12:29] ack [12:32] okay, grabbing a quick bite [12:34] tvoss: no change [12:47] Chipaca: haha, thank you! [12:49] tvoss: thinking about what I'm seeing [12:49] tvoss: across restart we just lose all the .mount units [12:49] tvoss: is there anything that would keep them mounted? [12:50] zyga: across restart? [12:50] zyga: so that's snapd restart, correct? [12:50] tvoss: across snapd update [12:50] tvoss: that updates the package and runs some of the scripts [12:50] tvoss: (presumably the postrm / prerm ones [12:50] tvoss: I don't see anything starting mount units there [12:51] zyga: so snapd.postrm purge removes everything [12:51] hmmm, let me take a look at the actual test case [12:51] tvoss: I see a clear failure [12:51] the mount units are all stopped [12:52] hmm, but we don't purge, do we? [12:52] tvoss: is there an easy way to see the list of maintainer scripts / arguments across dpkg/apt transaction? [12:53] mvo: ^^ perhaps you know [12:53] zyga: /var/lib/dpkg/info has got all the scripts of all currently installed versions [12:54] zyga: I'm not sure I understand the question? do you want to see how they are called and in what order? [12:54] mvo: yes [12:54] mvo: something like that [12:55] mvo: when a package update occurs, what gets called and with what arguments [12:55] mvo: I understand some of the old scripts are called, then some of the new scripts are called [12:55] mvo: but details elude me [12:57] zyga: https://wiki.debian.org/MaintainerScripts has a flow diagram [12:57] zyga: the interessting one is "upgrading" [12:58] thanks [12:58] tvoss: I pushed my local patches, have a look [12:58] tvoss: some of those should be removed later (HACK) [12:58] looking [12:58] mvo: I see, it is quite "interesting" [13:00] tvoss: standup time for me [13:00] zyga: ack [13:01] zyga: probably makes sense if I join, too [13:01] do you have a link handy? [13:01] tvoss: sent [13:02] zyga: thx === JanC_ is now known as JanC [13:16] pitti: http://pastebin.ubuntu.com/23490458/ <- is this indicating the thing is mounted or not? === hikiko|ln is now known as hikiko === jhodapp_ is now known as jhodapp [13:23] Anybody on the snappy team seen this issue? Generally this resulted from me building my own snapd/snap and running that but now I want to use the system one installed via apt: http://pastebin.ubuntu.com/23490401/ [13:26] jhodapp from what I read mvo mentioning; your db got migrated so you cannot go back [13:27] sergiusens, is there a way I can start over? I don't care what's installed [13:27] jhodapp: yeah, sorry for that, please use the version of snapd in xenial-proposed that should be fine and compatible [13:27] jhodapp: starting over is also possible with "apt purge snapd" but its not really needed [13:27] jhodapp you misunderstand, I only said mvo mentioned, not that I can help you further than that ;-) [13:27] mvo, I tried apt purge snapd but that didn't seem to do it [13:28] sergiusens, heh :) [13:28] jhodapp: oh? what is leftover? did it fail? [13:28] mvo, let me try it again and get you the output [13:28] thank you [13:28] jhodapp: fwiw, we use purge in our tests to clean stuff up, so it should work in general, but maybe you hit some corner case (or we have another bug) [13:29] tvoss: that didn't change anything (not touching snap.mount in prerm) [13:29] mvo, here's the whole session: http://pastebin.ubuntu.com/23490516/ [13:29] interestingly [13:29] this is the journal for the core snap's mount unit [13:29] qemu:ubuntu-14.04-64 .../tests/upgrade/basic# journalctl -u snap-core-394.mount [13:29] -- Logs begin at Thu 2016-11-17 14:23:33 CET, end at Thu 2016-11-17 14:28:51 CET. -- [13:30] Nov 17 14:28:35 autopkgtest mount[19811]: mount: warning: /snap/core/394 seems to be mounted read-only. [13:30] that's it!, it's not unmounted here [13:30] I tried creating a sample snap using the tutorial on snapcraft.io (gnu-hello). On installing the snap created, it tried to connect to network ? [13:30] ah, unmount doesn't generate any logs, bummer [13:31] totally unrelated: I think I will snap up icq [13:31] is that still a thing? reminds me of windows 2000 and "I have a modem" days [13:32] tvoss: I patched the mount unit to be read only, inclined to add something to them to just see when it is being mounted/unmonted [13:32] unmounted* [13:33] pitti: anything I can add to a .mount unit to make it verbose? [13:34] zyga: it's actually open-source, and available for linux [13:35] zyga: distributed as a tar.xz containing a single executable [13:35] zyga: code is here: https://github.com/mailru/icqdesktop [13:35] tvoss: wow, is that the same "flower-logo" icq from two decades ago? [13:36] zyga: precisely that ;) [13:36] zyga: come on, install it, I wanna check if there is still the "uh-oh" sound :) [13:36] lol :) [13:36] mvo, any thoughts? [13:36] let's fix stuff to run on 14.04 first [13:36] then we can use icq as a trophy [13:37] jhodapp: yes [13:37] jhodapp: but sorry, was distracted by a meeting [13:37] zyga: sure [13:37] tvoss: I think I will follow niemeyer's advice and build a small test case to experiment and repdocude the behavior [13:37] mvo, np [13:37] jhodapp: could you please do a "ls -al ~/.snap" and pastebin that? [13:37] sure [13:37] tvoss: I still don't get what stops those units and why this happens on 14.04 but not on 16.04 [13:37] zyga: okay, I will instrument the maintainer scripts to be verbose and tell us what is actually called [13:37] tvoss: thanks [13:38] mvo, ls: cannot access '/home/jhodapp/.snap': No such file or directory [13:38] * mvo scratches head [13:39] lol [13:40] jhodapp: is there anything unusal about the system? coudl I get the output of "id ; env" please? [13:40] jhodapp: congratulations, welcome to the snappy team, you have just passed the secret test [13:40] ;) [13:40] zyga: no, inactive/dead says "not mounted" [13:40] jhodapp: welcome on board! [13:40] pitti: thanks! [13:40] zyga, hahaha [13:40] pitti: is there a way to see when systemd stops/starts mount units? (or just one for experiment) [13:41] zyga: verbose> a mount unit is just a wrapper around bin/mount, so you'll see its output in the journal; mount itself isn't very chatty, but you should certainly be able to see the effects of it? [13:41] jhodapp: the code tries to do a lookup of the current user but for some reason this fails here and I wonder how that could happen [13:41] pitti: I'm looking for "this is where that unit was stopped and something got unmounted" [13:41] zyga: sure, it's all in the journal; journalctl -f is useful [13:41] Starting Mount unit for core [13:41] Stopping Mount unit for core [13:41] mvo, http://pastebin.ubuntu.com/23490552/ [13:41] Chipaca: I see you talking about docs and git, etc. where is that branch? I need to add some stuff [13:42] pitti: hmm, is the 14.04 systemd doing that, I cannot see it [13:43] doesn't seem to be in https://github.com/snapcore [13:43] jdstrand: snapd wiki is a git repo, it's a github thing [13:43] oh I see the link now [13:43] * zyga tries and gets a quick coffee [13:44] funny, I just edited the wiki manually the other day [13:45] Chipaca: nm [13:46] * tvoss has test running with verbose maintainer scripts [13:46] jdstrand: sorry, was in a hangout [13:46] jdstrand: and then fixing a bug wrt resource consumption [13:47] (IOW getting lunch) [13:47] tvoss: first one that cracks this and fixes it gets a beer :) [13:47] no worries at all :) [13:47] zyga: ;) [13:49] jhodapp: I traced through the source and it looks like you get an EPERM in getpwuid_r() which is super strange. anything unusal about this system you are using? inside some container or anything else that might give a clue? [13:49] jhodapp: an strace -f -s1024 snap list would be nice as well, but I suspect the sudo you need for this will alter the behavior [13:49] mvo, nope, it's just my laptop running 16.04 [13:50] mvo, that requires sudo? [13:51] jhodapp: no [13:51] jhodapp: no, sorry [13:51] (too much stuff going on at the same time) === ben_r_ is now known as ben_r [13:51] mvo, http://pastebin.ubuntu.com/23490606/ [13:51] mvo, no prob [13:52] jhodapp: aha, there you go: "[pid 4186] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)", what is "ls -al /etc/passwd"? [13:52] jhodapp: on your system? [13:53] mvo, -rw-r--r-- 1 root root 2954 Jul 7 09:17 /etc/passwd [13:53] jdstrand: any chance your are over ssh [13:53] er [13:53] jhodapp: ^ [13:53] jhodapp: and ssh is confining all the sessions with apparmor like jdstrand does [13:53] jhodapp: hmm, that looks fine, do you see something in "dmesg|grep DENIED" [13:54] zyga, nope, I'm at the keyboard...no ssh [13:54] jhodapp: its interessting, if I set it to 600 I get exactly the same error as you get [13:54] jhodapp: any evil maids with hypervisor malware in sight? [13:55] mvo, journalctl -f output for snap list: http://pastebin.ubuntu.com/23490617/ [13:55] pitti: since I don't get any of the stopping/starting messages on 14.04 does that mean I just don't have some journal glue to see this? [13:55] zyga, lol, I have kvm and virtualbox installed on this system, but neither are running [13:55] jhodapp: so we know now why it happens :) "Nov 17 08:54:51 smith audit[4327]: AVC apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/etc/passwd" pid=4327 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0" [13:56] jhodapp: waaat [13:56] profile="/usr/bin/snap" [13:56] that's not something we confine [13:56] zyga: exactly [13:56] jhodapp: can you look at /etc/apparmor.d/ and grep for /usr/bin/snap [13:56] jdstrand: ^ ? [13:56] yeah, one sec [13:57] jhodapp: sudo grep -r /usr/bin/snap /etc/apparmor.d [13:57] you have that evil maid somewhere [13:57] securing your snaps [13:57] I feel so protected [13:57] or the opposite, someone trying to make the system more secure :) [13:57] lol [13:57] mvo, http://pastebin.ubuntu.com/23490626/ [13:58] jdstrand: dpkg -S /etc/apparmor.d/cache/usr.bin.snap [13:58] er [13:58] sorry jdstrand, I hate irssi's tab completion [13:58] jhodapp: dpkg -S /etc/apparmor.d/cache/usr.bin.snap [13:59] maybe a missing conflicts with some other package [13:59] jhodapp, zyga: probably without the /cache/ ? [13:59] or missing maintainer script that removes that file when the package is removed [13:59] zyga, dpkg-query: no path found matching pattern /etc/apparmor.d/cache/usr.bin.snap [13:59] oh, I totally didn't see the cache part [13:59] hmmm [13:59] yep [14:00] jhodapp: which release are you on? [14:00] http://packages.ubuntu.com/search?searchon=contents&keywords=usr.bin.snap&mode=exactfilename&suite=yakkety&arch=any <- no hits [14:00] jhodapp: can you please pastebin that file [14:00] jhodapp: dpkg -S /etc/apparmor.d/usr.bin.snap please [14:01] zyga: I can't find anything in apt-file on xenial or yakkety [14:01] same here [14:01] curious [14:01] mvo, dpkg-query: no path found matching pattern /etc/apparmor.d/usr.bin.snap [14:01] :( [14:01] zyga, pastebin which file? [14:01] jhodapp: could you please pastebin /etc/apparmor.d/usr.bin.snap ? [14:01] yep [14:02] jhodapp: this is a really interessting issue you found! [14:02] since when is /usr/bin/snap confined? [14:02] lol, I didn't do anything fancy [14:02] jdstrand: it's not, something else is at play here and assumes the same name, perhaps one of the packages that conflict with snapd [14:02] jdstrand: this is what we are trying to figure out :) [14:03] mvo, http://pastebin.ubuntu.com/23490647/ [14:03] # Last Modified: Mon Oct 24 13:21:22 2016 [14:03] jdstrand, zyga -^ [14:03] what did you do on oct 24? [14:03] super strange [14:03] also the content is… very bare [14:03] did you write that file? who's the owner [14:04] I guess its root:root ;) [14:04] /etc/apparmor.d/cache/usr.bin.snap isn't going to be shipped by anything [14:04] /etc/apparmor.d/usr.bin.snap would be the thing that was shipped [14:04] jdstrand: apt-file knows about neither [14:04] mvo, -rw------- 1 root root 141 Oct 24 13:22 /etc/apparmor.d/usr.bin.snap [14:04] so weird [14:05] 600 is not typical [14:05] jhodapp: do you have anything in /var/log/apt/history.log* around that time? [14:05] what are the contents of /etc/apparmor.d/usr.bin.snap? [14:05] jhodapp: anything that got installed on that date/around this time? [14:05] jhodapp: anyway, fire your maid, remove that file, unload the profile with apparmor_parser -R usr.bin.snap # AFAIR [14:05] jdstrand: http://pastebin.ubuntu.com/23490647/ [14:05] * jhodapp checks [14:05] that looks like a test profile [14:06] not as in something we ship, but as in, what one might start with to see what it needed [14:07] pitti: any advice on journal / systemd on 14.04 [14:08] mvo, I installed apparmor-utils [14:08] jdstrand: could apparmor-utils have created profiles somehow? is there a command to auto-generate such profiles? [14:09] mvo, also dh-apparmor got pulled in from that [14:09] mvo: no, it wouldn't have done any magic like that [14:09] it too [14:10] did you run aa-genprof? [14:10] tvoss: I don't see any starting/stopping messages in syslog/journal on 14.04 [14:10] jdstrand, nope [14:10] tvoss: do you know how I can get that wired so that we have diagnostics? [14:11] jhodapp: apt-cache policy apparmor-utils [14:12] jdstrand, http://pastebin.ubuntu.com/23490677/ [14:14] zyga: indeed, seems the start/stop of mount units isn't logged by that backport; but you can see it in e. g. forkstat [14:14] $ cat /etc/systemd/system/opt2.mount [14:14] [Mount] [14:14] What=/opt [14:14] Where=/opt2 [14:14] Options=bind [14:14] sudo systemctl start opt2.mount [14:14] 15:14:16 exit 1130 0 0.009 /bin/mount /opt /opt2 -t auto -o bind [14:14] forkstat [14:15] gosh, this whole thing is *such* a bloody hack [14:15] what is that? [14:15] zyga: global monitoring of forks/execs that happen [14:15] great to track down "why is my system going mad" or finding what certain actions (like hotkeys etc.) do [14:16] pitti: wow :) [14:16] thanks, that's a gem and a keeper [14:16] * pitti hands cking a ♥ for this nice tool [14:16] jdstrand, thoughts on that? [14:16] zyga: of course the second-best debugging tool is always to just attach strace to systemd :) [14:16] thanks pitti :-) [14:16] netlink [14:16] the source of magic and wonder on linux [14:17] * zyga has to learn more about netlink [14:17] it's like magic [14:17] pitti: any quick advice on how to embed forkstat into a test to see what is going on [14:17] it's everywhere, but nobody really understands it [14:17] pitti: I can install it early on but I don't know what to run to see activity in a window [14:17] zyga: run forkstat first, then your test? [14:17] but it really depends what you are actaully looking for [14:17] pitti: can I run forkstat in the background or something like t [14:17] and have it dump stuff to a log [14:18] pitti: I want to see all mount / unmount calls first [14:18] it shouldn't be that hard to see whether some mount worked or failed, as at any point in time you can see /proc/self/mounts in your namespace [14:18] pitti: my problem is that something stops a .mount unit [14:18] jhodapp (cc mvo and zyga): I just installed apparmor-utils (and dh-apparmor, which wasn't pulled in with apparmor-utils) and it did not create /etc/apparmor.d/usr.bin.snap [14:18] pitti: and I'm not sure what, I want to corelate that to other logs [14:19] forkstat goes crazy when you run go ;) [14:19] jdstrand: I bet it 's the maid, all reasonable explanations are now exhausted [14:19] but its a wonderful tool [14:19] doh :/ [14:19] zyga: so to answer "what is calling umount", forkstat is actaully an excellent tool, as that tells you [14:19] * mvo hugs cking [14:20] jhodapp (cc mvo and zyga): if I run 'sudo aa-genprof /usr/bin/snap' and immediately press 'f' (finish), it generates a file exactly like the one on your system, with 600 perms [14:20] :-) [14:20] jdstrand, mvo, zyga: here's my entire history.log for that day: http://pastebin.ubuntu.com/23490708/ [14:20] zyga: I thought your woes were related to trusty still having an /etc/mtab? [14:20] zyga: systemd uses libmount's monitor, and I think in trusty that still parses /etc/mtab [14:20] (which of course is utterly and hopelessly broken for anything that snappy or systemd want to do) [14:20] jdstrand, oh I was running aa-genprof! [14:20] pitti: not sure what the woes are, I symlnked mtab to proc mounts but I'm still seeing something unexpected (not happening on 16.04) [14:20] bingo [14:20] jdstrand, I was trying to create a profile for media-hub [14:20] jdstrand: nice! [14:21] jhodapp: please do: sudo apparmor_parser -R /etc/apparmor.d/usr.bin.snap ; sudo rm -f /etc/apparmor.d/sur.bin.snap /etc/apparmor.d/cache/usr.bin.snap [14:21] jhodapp: that will set you straight [14:21] jhodapp: excellent! I'm happy we found the root cause and even more happy that its not a general problem. thank you [14:21] jdstrand, better! :) [14:22] jdstrand, mvo, zyga thank you much! [14:22] jhodapp: you probably noticed the typo in my rm -f command [14:22] jdstrand, so...we might want to caution people from using that tool when trying to do a interface [14:22] jdstrand, yes [14:23] jhodapp: well... a) we don't say to use it and b) you used it on the wrong command [14:23] jdstrand, what do you mean on the wrong command? [14:23] sudo aa-genprog /usr/bin/snap [14:23] meh [14:23] jdstrand, I was following some examples from the apparmor wiki [14:23] sudo aa-genprof /usr/bin/snap [14:24] yes, but you told genprof to profile 'snap', not media-hub [14:24] jdstrand, hmm I don't see why I would have run that...must have been a fluke [14:24] that's what I'm getting at [14:24] jdstrand, would it install it into that spot under /etc/apparmor.d/ though? [14:24] yes [14:24] zyga: ah, that should help then [14:24] that's weird...why wouldn't it just generate a profile and put it in '.' ? [14:25] genprof is an apparmor tool, not a snappy one so it knows about /etc/apparmor.d, not /var/lib/snapd/apparmor/profiles [14:25] jhodapp: because of how it works-- it creates a profile and loads it into the kernel so then you can use other tools on it, like logprof [14:26] granted, the tooling isn't as nice as it could be-- but it is like a decade old [14:26] jdstrand, yeah...I discovered that tool doesn't even work well with snappy [14:26] err, snaps [14:26] no, it wouldn't [14:26] (it wasn't written or updated for snappy) [14:26] apparmor tools need some doc love [14:27] jhodapp: you mean for snappy? [14:27] jdstrand, yeah [14:27] centered around creating an interface from scratch [14:27] geared towards someone not experienced with apparmor [14:27] so that would be snappy documentation, not apparmor documentation [14:28] but yes [14:28] right :) [14:28] I'm just saying in geneneral [14:28] *general [14:28] pitti: after snapd I want to work on kernel and plumbing :) [14:28] * jdstrand nods [14:28] pitti: forkstat is awesome [14:29] normal snap developers shouldn't be fiddling with the guts of the sandboxing mechanism (apparmor, seccomp, etc). interface writers will need that of course [14:30] jdstrand, yes indeed, but even though it's slightly more niche, there are a number of people who will write interfaces who have little to no apparmor experience [14:30] like myself...and it's a frustrating experience [14:31] jdstrand, so I definitely get where you're coming from, just stating my experience [14:31] jhodapp: in the meantime, if you have questions, just ask. also, the interface writer can go very general and then we fine tune in the PR review [14:31] jdstrand, we had talked about this before as well === cpaelzer_ is now known as cpaelzer [14:31] jdstrand, that's a very good point! [14:31] jdstrand, appreciate your thorough reviews [14:32] I can add something to https://github.com/snapcore/snapd/wiki/Security in the debugging section [14:32] that will point in the right direction [14:32] jdstrand, that'd be fantastic! [14:49] jdstrand: So the store blocks uploads with interfaces that it doesn't know about. [14:49] jdstrand: Would it be possible to disable that check for snaps that are in devmode? [15:06] tedg: http://paste.ubuntu.com/23490892/ [15:07] tvoss: ^ [15:07] or http://paste.ubuntu.com/23490903/ [15:07] for the full log [15:08] tvoss: interesting observation, umount is only called twice [15:08] tvoss: and not on any of the snaps :/ [15:08] tvoss: only on /snap itself (mount -l) aka detach [15:08] zyga yup [15:08] tvoss: this might explain what we're seeing [15:08] tvoss: _might_ [15:08] not sure it does [15:09] tvoss: ah, I now see both the snapd-mount.service and snap.mount [15:09] zyga: okay, so I did the following experiment: in a debug shell for upgrade/basic, purge snapd, install the local deb with dpkg -i, then snap install hello-world, verify that snap works, dpkg -i local deb again [15:10] zyga: for that experiment, if I remove systemctl stop/disable snapd.mount from snapd.prerm, the snap remains mounted [15:11] * zyga wonders what mandb is doing [15:12] zyga: however, the rbind/rshared setup is altered, let me pastebin error msg [15:12] kgunn: hey! I have a small question on https://developer.ubuntu.com/en/snappy/guides/mir-snaps/. Do we have any Mir snap example that we could use to showcase Mir on the rpi2? [15:12] zyga: http://pastebin.ubuntu.com/23490920/ [15:13] tvoss: that looks like the core snap is empty [15:13] tvoss: look at /snap/core/current, there's no /dev there, right? [15:14] zyga: nope [15:15] tvoss: so that's snap-confine giving up, earlier it was snap-run [15:15] tvoss: I think the difference is that snap-confine sees the real NS and sets a new NS [15:16] tvoss: while snap-run (either run (before) or exec (after) ) sees the vanilla / confined namespace respectively [15:16] tvoss: and because we only set up ns once, after that we just join it [15:16] tvoss: you may see different error [15:16] tvoss: thsi error says the core snap is not mounted in the outer namespace for sure [15:16] okay [15:26] jdstrand: zyga: do we have any known workaround for snaps using alsa in core 16? [15:26] As I'm getting: [15:26] ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf [15:26] ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default [15:27] people used to patch it directly on the image in 15.04, but I'm unsure how we can tackle this in 16 [15:27] this leads of course to: [15:27] didrocks: patch alsa to be snap-aware? [15:27] Can't open pcm device 'default'. [15:27] Couldn't open ALSA pcm device (`s') [15:27] zyga: not an option, deadline is next week [15:27] niemeyer: refactored [15:27] didrocks: I don't know of any other workaround [15:28] didrocks: maybe bind mount /usr/share/alsa to something in your snap as a test [15:28] didrocks: but that's not sustainable [15:28] zyga: I fail to see where snap-specific mount units get unmounted in the upgrade case [15:28] tvoss: it gets detached [15:29] tvoss: with all of /snap [15:29] zyga: yeah, I was thinking about doing something like that, but it means I need to have a wrapper to do this bindmount in devmode thus [15:29] tvoss: a bit unfortunate :/ [15:29] zyga: I removed that # [15:29] tvoss: what did you remove? in the tree I pushed I use a mount unit and that's done internally now [15:29] PR snapcraft#913 closed: help: update stage-packages and build-packages [15:29] zyga: prerm does not need to stop/disable snapd.mount [15:29] (apparently) [15:29] ah [15:29] hmm hmm hmm [15:29] (hoping I can bindmount in devmode) [15:29] do we ever stop snap.mount (not snapd.mount) [15:29] didrocks: you might [15:30] didrocks: I don't know if anything else happens if you do that though [15:30] didrocks: or if you can even do that [15:31] didrocks: is /usr/share/alsa in the core snap? if not then sorry :/ [15:31] \o/ [15:32] tvoss: do I owe you a beer? [15:32] hang on, let me rerun this again [15:32] tvoss: are you in sync with master/ [15:33] didrocks: the alsa interface was just committed [15:33] jdstrand: alsa looks at /usr/share/alsa, is that handled by the interface? [15:33] didrocks: oh, you need to see my comment in the bug [15:33] there is a way to do it [15:34] jdstrand: oh nice! even on a core image. I guess it might be tight for next release though [15:34] zyga, didrocks: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1598309/comments/5 [15:34] Bug #1598309: The aplay command doesn't work [15:34] ALSA_CONFIG_PATH [15:34] zyga, didrocks: alsa could use a snapcraft part [15:34] zyga, yup [15:34] we're in environment hell :/ [15:34] tvoss: ok, then I'm opening popcorn :) [15:35] zyga: note that I have a snap that works [15:35] zyga: see the above comment [15:35] jdstrand: oh nice! I guess that will unblock it [15:36] jdstrand: I need to look if there is alsa though on the ubuntu core rpi2 image first [15:36] didrocks: between the interface and the technique I sketched out, yes, it can be unblocked without patching alsa or doing weird mount tricks [15:37] jdstrand: well, without the interface, devmode for next week will be enough [15:37] just need to ensure now that the core image has it [15:37] didrocks: but the technique is somewhat error prone. a snapcraft part would be the way to go [15:37] didrocks: right, devmode next week almost certainly. 2.17.1 isn't even in xenial yet and this would be 2.18 [15:37] jdstrand: yeah, I guess though as a first rough approach, that would work [15:37] yeah [15:39] ah, no alsa on core [15:40] ogra_: when you have a minute, can you help me with info on connecting a serial console on the dragonboard? [15:41] nuclearbob: do you have the small daugther board? [15:41] zyga: I don't. I can get that if I need to [15:42] nuclearbob: no, it's just easier this way [15:42] nuclearbob: all 96 boards have the serial pins in the same spot [15:43] zyga: I'm hoping it's somewhere in the j8 connector, since that'd be easiest :) [15:45] I guess that's the low speed expansion [15:46] nuclearbob: if you need this urgently I can probe the board I have working locally [15:46] nuclearbob: I have the header but it's not populated now, usually I was using the daughter board that does everything [15:46] nuclearbob: (incl board reset) [15:46] zyga: I wouldn't call it urgent, so don't worry about messing with yours. There's someone on my team that I'm pretty sure can help, she just won't be on for a few hours yet [15:47] nuclearbob: feel free to ping me if you change your mind [15:47] * zyga was hoping for some scope and serial action ;) [15:47] zyga: awesome, thanks. If you want to check out which pins I need to use, I can complain about how the hdmi isn't giving me anything, and this dragonboard is useless until I get something working, oh the wasted time, save us all [15:48] zyga: no logic analyzer fun for you today ;) [15:48] hum, even on classic server image, no alsa [15:49] tvoss: there's always that scope bed-time real-life story with kids ;) [15:50] tvoss: so what was the magic ingredient you found [15:50] zyga: oh yeah, once upon time, when your dad grabbed the scope and went out to fight all the low-level transport bugs ;) [15:50] tvoss: tell me! [15:50] tvoss: now hold the probe ... here [15:50] zyga: no spoilers until I can pastebin [15:50] ;D [15:50] ok [15:50] tvoss: I'll switch to snap-confine for a sec then [15:59] jdstrand: hum, I'm unsure how to we could use that as a part btw, as the alsa config will defer depending on hw, wouldn't it? [15:59] jdstrand: like, if I'm using your snap, I have a device busy error message, because it doesn't use the proper id I guess [15:59] (I can play the same file with using aplay directly) [16:00] (listing the cards sound correct though) === JanC is now known as Guest90855 === JanC_ is now known as JanC [16:13] jdstrand: for store automated review, """declaration malformed (wrong type 'true' for attribute 'allow-sandbox') declaration-snap-v2_valid_plugs (browser-support, allow-connection_plug-attributes)""". Is it something other than boolean, or deprecated, or something? [16:21] kgunn: hey, unsure you saw my previous ping about MIR/rpi2? [16:23] jhodapp: https://github.com/snapcore/snapd/wiki/Security#interface-development-and-security-policy [16:41] What is the word on policykit support? u8 snap wants to use it to talk to SnapdLoginService [16:44] Hello, how can I execute a snap from terminal (lets say VLC for example)? Can I bind it with other apps for opening directly a file or link? I have both the ppa version and the snap version. [16:45] i'd like to know the answer too, boriseto-work :-) [16:47] boriseto-work: just run the command name, look at /snap/bin [16:48] zyga: oh so it's that simple. So for binding it from another app (let's say I want to open a video from there), instead of "vlc" I should use "/snap/bin/vlc" [16:49] qengho: sorry I missed your question. it might be a bug. what is the package? [16:49] zyga, mild optimism: upgrade/basic is green [16:51] jdstrand: one of the browsers. I put it in the review queue because it's so hard to link. [16:52] zyga: kicked the full test suite again [16:52] didrocks: i might've fell of the internet....what was the ques again? [16:53] boriseto-work: not sure what you mean by binding, I'll be back laster [16:53] later* [16:53] qengho: I don't see it in the review queue. is it the one I helped you with before? [16:53] tvoss: tell me what was broken if you can, I'll gladly check it out in the evening [16:54] zyga: it's okay, made it work as I wanted now. Was trying to tell other apps that use the video player to use the snap vlc instead of the ppa one. Didn't even think of checking the /snap/bin folder. Thank you very much. [16:54] zyga: simple thing: prerm must not stop snapd.mount (specifically not with snaps installed) [16:54] zyga: a fixed up version is in the ppa [16:56] kgunn: the question was regarding https://developer.ubuntu.com/en/snappy/guides/mir-snaps/. Do we have any Mir snap example that we could use to showcase Mir on the rpi2? (on core) [16:57] jdstrand: yes. ah! It took two presses of request-review button. First saves destination but doesn't submit. Weird. [16:57] ok, I found it on my own [16:57] didrocks: sorry, answered on the mail.... and short answer, need a new kernel snap with relevant gfx kernel patches integrated [17:05] zyga: I'm grabbing dinner, back after that [17:05] qengho: there is a bug in the review tools. it is easily worked around by adjusting the snap declaration. I've done that. I reran the checks and it passed. you may push the publish button whenever you are ready [17:07] jdstrand: thank you! [17:07] np [17:07] jdstrand: Does my snapcraft.yaml need updating? [17:07] qengho: no. it was a problem in the snap declaration parsing [17:08] qengho: 'declaration malformed'. you don't have anything to do with declarations so you are all good [17:08] Bug #1642669 opened: Can't connect to SnapdLoginService from a snap [17:10] jdstrand: hum, I don't find what could be wrong in the way I built your alsa snap, install in devmode… [18:46] niemeyer: hi! [18:46] jdstrand: Heya [18:47] niemeyer: I'm off W-F of next week. I was wondering if we could chat soonish to talk about dbus-app, ideally so that I could implement it for merging before my holiday [18:47] jdstrand: Sure.. how about right now? [18:47] niemeyer: this comment I think is the starting off point: https://github.com/snapcore/snapd/pull/1613#issuecomment-254050047 [18:47] PR snapd#1613: interfaces/builtin: add dbus-app interface [18:47] niemeyer: that would be great :) [18:48] note my last comment for store uploads: https://github.com/snapcore/snapd/pull/1613#issuecomment-261056164 [18:48] PR snapd#1613: interfaces/builtin: add dbus-app interface [18:49] jdstrand: Ok, so this interface is supposed to encapsulate the decisions we make inside apparmor for read/write access to particular services [18:51] niemeyer: the simplest form it could take is allowing the bind to a well-known name. however, this PR goes beyond that and allows connects to that well known name, which now that kde has weighed in, they want [18:51] niemeyer: ie, they are binding for a reason, to interact. this allows them to do so [18:52] jdstrand: Right, and which I think was the best path as we discussed earlier [18:52] ok, good [18:52] I do too [18:52] off to a good start! :) [18:52] jdstrand: My main concern now is whether this language is enough and proper to address the problem [18:53] jdstrand: There are two unrelated issues I can see in the language used there.. the first related to that "api" parameter [18:53] niemeyer: the apparmor policy would essentially be 'the slot with this label can talk to the plug with that label over dbus' [18:53] is, slot side gets 'dbus peer=(label=plugside),' [18:53] jdstrand: Where "label" is "api"? [18:54] and the plug gets 'dbus peer=(label-slotside),' [18:54] (we'd add the com.example. stuff too of course [18:54] ) [18:54] niemeyer: no, those are apparmor rules so label means the security label. ie snap.foo.bar [18:54] jdstrand: Okay, that's cool [18:55] I would want to add interface=org.gnome.Rhythmbox{.*} as well to those rules [18:56] and whether it is 'session' or 'system' of course [18:56] jdstrand: That sounds misnamed [18:56] niemeyer: as for 'api', yes, that I just tossed that out there for discussion [18:57] niemeyer: before we name it, do we want something like that at all? [18:57] niemeyer: there is precedence for something like that-- 'content' in the content interface [18:57] but with content, it makes sense to have a tighter coupling [18:58] I'm less sure here (I'm on the fence) [18:58] jdstrand: Maybe.. we need a way to tell that we're connecting the proper plug to the proper slot [18:58] that's true [18:59] jdstrand: This may be done either explicitly, as in content, or it may be done implicitly based on existing metadata [18:59] jdstrand: dbus already has such a concept internally [19:00] with this for plugs: [19:00] plugs: [19:00] rhythmbox: [19:00] interface: dbus-app [19:00] if rhythmbox had two dbus-app slots, I don't think there is enough implicitly [19:01] now, the plugs side doesn't have to be that simple [19:01] (but that is how it is in my comment) [19:02] so that is getting me to like this explicit name [19:02] were you thinking of something else for implicit? [19:03] jdstrand: Yes, dbus itself has resolution logic [19:03] jdstrand: It has exactly the same problem internally, right? [19:03] jdstrand: The client needs to talk to the server and they both need to know what they're talking about [19:04] yes [19:04] jdstrand: As there are many objects and many interfaces under the same endpoint [19:04] niemeyer: so thinking maybe plugs side also has session and system? [19:05] jdstrand: Adding a high-level label means we can match them both by just comparing that label, but that also means we're reinventing the same mechanism, and creating the potential for mismatching [19:05] niemeyer: and we just use the intersection? [19:05] jdstrand: E.g. if you and me create two different snaps with different "api" fields and a different selection of interfaces, our snaps cannot interact, although the thing we're abstracting away could in fact talk to each other [19:05] niemeyer: it does seem natural for someone that wants to talk over dbus to declare what they want to talk to, yes [19:06] niemeyer: yes, that makes sense [19:06] niemeyer: are you then advocating for having session and system on both slots and plugs, or something else? [19:06] jdstrand: There's also a related issue: we're not allowing the interfaces to specify a "path" [19:07] path is tricky [19:07] Why? [19:07] because people don't always use it consistently [19:07] I've seen a lot of applications just pick '/' as the path [19:08] my goal is to not reinvent the apparmor language or dbus semantics in this area. maybe we have to, but ideally not [19:08] jdstrand: Ok, but that means the client needs to use that path too if it expects to interact, right? [19:08] jdstrand: Well, exactly.. I'm wondering if we can map it more closely instead of reinventing [19:08] niemeyer: I was thinking simply omit the path and rely on interface, bus name and security label [19:09] jdstrand: The code currently is doing "obj.path" => "obj/path", which is not what dbus does.. that's reinventing it [19:09] jdstrand: It's not omitting the path.. it's guessing it [19:09] eg: dbus bus=session interface=org.gnome.Rhythmbox{,.*} peer=(label=) [19:09] we just allow any path and member [19:10] jdstrand: Can the client tell what the remote path is? [19:11] which I think is fine. we want to allow the connection and not worry about carving out the apis [19:11] jdstrand: To some degree, yes [19:11] niemeyer: the client necessarily has to know it, yes, so it is possible to declare it. but I'm not sure how worthwhile that is since we are really just wanting to say "let these guys talk over this dbus interface" [19:11] jdstrand: Can the client tell what the remote path is? [19:12] jdstrand: Ok.. so just to be clear, that's not what is being done ATM, right? [19:12] so, the client either has to know or there is dbus introspection [19:13] niemeyer: re done ATM> the code in the PR does not reflect any discussiosn after the initial submission as dbus-app, if that is your question [19:13] jdstrand: Ack [19:14] jdstrand: So.. brainstorming idea: [19:14] so, hoping to get the yaml nailed done and what that represents, then I can run with it [19:14] s/done/down/ [19:14] jdstrand: What if we stripped out the snap "dbus" (not dbus-app) interface to *one* interface [19:15] I'm not following [19:16] slots: [19:16] my-dbus-interface: [19:16] interface: dbus [19:16] name: org.my.dbus.Interface [19:16] bus: session [19:17] jdstrand: Consider the consequences.. [19:18] in terms of the problem this is trying to solve, that would work. you need one slot per org.my.dbus.Interface. the plugs side would also need 'name' and 'bus' [19:18] Bug #1642669 changed: Can't connect to SnapdLoginService from a snap [19:18] then we have a clean way of connecting [19:19] a thick snap could offer 10 things, and a plug could use just one of them [19:19] (if it wanted) [19:19] or 5 or all 10 [19:19] jdstrand: Right, exactly [19:20] jdstrand: It also means we can have more fine-grained decisions about what is okay to auto-connect or not [19:20] this could also be used to ease slot development in general for cases where we want to offer the entire api for a particular interface [19:20] jdstrand: and we don't need "api", as dbus already tells us that via these fields [19:21] eg, network-manager could move to this if desired since we know that its api can't effectively be carved (that is a more farther out thing) [19:21] niemeyer: re not needing api> yes [19:21] niemeyer: I like it [19:22] jdstrand: The problem is finer grained access is a bit unclear to me.. we might add read and write fields with lists of methods in the future, I guess, and make auto-connection conditional on their content.. I suppose. [19:23] jdstrand: Ah.. interestingly, these fields might be on the plug side only [19:23] jdstrand: The slot of course doesn't care [19:23] jdstrand: In the sense it offers it all [19:23] niemeyer: possible, yes (for all of this). I suspect if we are carving out bits like that we can continue to do a dedicated interface [19:24] but, it is possible to move everything out to this once we learn more how people want to use it [19:24] jdstrand: Well, yes, but we can't be too confident we know where this will go ahead of time.. sometimes design takes its own direction when people love a feature [19:25] jdstrand: I can imagine people wanting to simply keep using this for dbus, instead of having to create custom interfaces [19:26] I just mean that if we have so much knowledge about a dbus api, eg, for location-service, we just offer an interface call location-observe and location-control, etc rather than making location-service use the dbus interface. that is still a viable approach while we learn how people use the dbus interface with just 'bus' and 'interface' [19:26] niemeyer: re imagine> yes, me too. I think it would be helpful [19:26] Yeah, sound good [19:26] jdstrand: Okay, I think we have a plan [19:27] ok, I'll summarize it and get this going [19:27] (summarize in the PR) [19:27] niemeyer: thanks! [19:28] jdstrand: np, and thanks as well [19:33] I started Ubuntu Core on a Raspi 3 . Could run the setzp. Now I am prompted for localhost login. tried Ubuntu so key from another machine, tried 'ubuntu, but nothing worked. How can I login? [19:34] Sorry typos: I tried to login from another machine in the network with ssh and Ubuntu name@ip address. Did not work. How can I login? [19:40] SciVision: you can login only over ssh, ther'es no password, you must use the ssh keys that are published in your sso (launchpad or ubuntu one) account [19:41] ok [19:41] the keys not user name [19:45] zyga: Sorry on https://developer.ubuntu.com/en/snappy/start/raspberry-pi-2/ it says "ssh @" [19:46] and I get Permission denied when I use my Ubuntu one account login id [19:48] zyga: Got it. Thanks [19:49] niemeyer: fyi, https://github.com/snapcore/snapd/pull/1613#issuecomment-261350004. I'm running with it. please let me know if I got something wrong [19:49] PR snapd#1613: interfaces/builtin: add dbus-app interface [20:05] hi everyone. I am trying to get core running on a raspberry pi 3, loaded the image on the card and booted up, configured the wifi if and it connected and got an ip address, then I get "Network configuration timed out; please verify your settings" error [20:06] any ideas on how to get past this? [20:21] thanks for that update jdstrand [20:22] ahoneybun: you're welcome [20:22] jdstrand: I know Pithos will hit that issue later once I found out how to tell it to look in a space for a file [20:22] *place [20:23] * jdstrand nods [20:43] hey guys, is there a way to allow a snap to auto-connect to an interface (in this case, log-observe)? [21:45] can I use filesets to fix this issue? : http://pastebin.ubuntu.com/23477531/ [21:45] GLib.Error: g-file-error-quark: Failed to open file '/share/pithos/pithos.gresource': open() failed: No such file or directory (4) [21:45] the .gresource is in /share/pithos [21:45] so I need something like $SNAP I guess [21:49] I am trying to improve the postgresql snap packages and have run into an issue. On compilation we can call world which will make the contents of the contrib directory. However, I can't figure out how to get the finalized contents of the contrib directory to be properly installed into the snap packages (postgresql proper, without contrib works) [23:02] PR snapcraft#905 closed: Snap revision prune [23:05] PR snapcraft#914 closed: meta: icon is now dedeprecated [23:20] PR snapcraft#915 opened: cache: cleanup logic to pass project name