[06:35] o/ === chihchun_afk is now known as chihchun [06:52] hey zyga-arch [06:54] hey [06:54] what plugin can I use to manaully specify a config file [06:54] config file? [06:54] instead of ./configure [06:55] well, configure is not a config file :) [06:55] are you using the autotools plugin today? [06:55] Sorry, I am lazy :P [06:55] I am for most things [06:55] if your project is using auto{conf,make} then that's the right way [06:56] I was going to compile openssl [06:56] It uses ./config [06:56] if you have some other executable that is "autotools like" then you may need a custom plugin or just use the make plugin and write a makefile with all the rules [06:56] not a perfect example but... https://github.com/zyga/python0 [06:57] this uses makefile plugin to essentially do whatever you want [06:57] note that openssl is probably in the core snap [06:57] so you may not want to build it [06:58] I can probably use stage-packages [07:00] Compiling samba says it cant find openssl === chihchun is now known as chihchun_afk [07:04] you probably want openssl-dev package or something alike [07:06] waiting for travis for 7 hours on https://github.com/snapcore/snapd/pull/3639 now [07:06] PR snapd#3639: update to version of golang.org/x/crypto currently in Debian unstable [07:07] hmm [07:08] odd [07:08] seems like travis bug [07:08] I thought that but openssl-dev doesnt exist anymore.. I'll have to track down the package [07:08] mwhudson: since vendor.json conficted I'd suggest resolving the conflict and pushing over [07:08] zyga-ubuntu: yeah fair enough [07:10] libssl-dev I love consistency [07:11] openssl is an empty dependency package [07:11] it depends on libssl1.0.0 [07:11] s/empty/mostly empty/ === JanC is now known as Guest77859 === JanC_ is now known as JanC [08:30] ondra: hey [08:56] zyga-arch hey [08:57] zyga-suse or here? [08:58] ondra: commented and updated https://github.com/snapcore/snapd/pull/3624 [08:58] PR snapd#3624: interfaces/builtin: rework for avahi interface [09:01] zyga-ubuntu just saw it, good comments and sorry for test code, I used some existing test code, but I guess it's evolving all the time [09:02] that's fine, I didn't expect anything else, the test code is really in disarray [09:02] but changing that globally takes some time, ~100 interfaces is a lot of tweaking [09:02] * zyga-ubuntu just saw one more thing to weak [09:03] fixed [09:05] ok, what's next.. [09:05] Chipaca: 2nd review on https://github.com/snapcore/snapd/pull/3650 please [09:05] PR snapd#3650: cmd/snap-confine: don't share /etc/nsswitch from host [09:05] hadn't i already done this one? [09:06] sorry [09:06] morphis_: do you have a sec to eyeball https://github.com/snapcore/snapd/pull/3649 [09:06] PR snapd#3649: packaging: update arch packaging for 2.27 snapshot [09:06] zyga-ubuntu: +1 [09:06] Chipaca: thank you! [09:06] zyga-ubuntu: let me check [09:06] Chipaca: almost down to zero patches for arch :) [09:06] zyga-ubuntu: I _had_ already done it, just forgotten to … you know, *do* do it [09:06] Chipaca: 2.27.1 will be a nice release [09:06] hahaha [09:06] :D [09:07] PR snapd#3650 closed: cmd/snap-confine: don't share /etc/nsswitch from host [09:07] Chipaca: btw, I read the chatter from last night and noticed you found the double utf8 encoding bug that broke assertions [09:07] Chipaca: really nice and ouch! [09:08] harrumph [09:08] it should be fixed now [09:08] nothing nice about double encodes [09:09] https://github.com/snapcore/snapd/pull/3648 is simple as well [09:09] PR snapd#3648: release: remove default from VERSION_ID [09:09] Chipaca: they fix was easy, but also totally python3 meet http and surrender [09:09] pedronis: is the fix public to see somewhere? [09:09] or just ... to see somewhere? [09:09] no [09:10] anyway it was mostly s/resp.txt/resp.contet/ [09:10] *content [09:10] *text [09:10] aha [09:10] I see [09:10] django? [09:10] no [09:10] zyga-ubuntu: done [09:11] morphis_: thank you [09:11] requests (I think) [09:15] has anybody seen something like this before?: [09:15] $ snap refresh --beta --ignore-validation network-manager [09:15] error: cannot perform the following tasks: [09:15] - Mount snap "network-manager" (218) (installation not allowed by "core-support" plug rule of interface "core-support") [09:16] morphis_: replied, thank you, I'll iterate! [09:17] * zyga-ubuntu needs to buy more than 4GB of ram [09:24] morphis_: will you have a sec to do one more? https://github.com/snapcore/snapd/pull/3622 [09:24] PR snapd#3622: tests: enable regression, upgrade and completion test suites for fedora [09:24] zyga-ubuntu: if you review my snapd-xdg-open PR again :-) [09:26] zyga-ubuntu: done [09:28] morphis_: I will, thank you! [09:28] morphis_: basically today I will do just code reviews [09:28] :-) [09:28] morphis_: and I may iterate a little on this huge PR https://github.com/snapcore/snapd/pull/3617 to tweak it to my preference [09:28] PR snapd#3617: Using udev tagging for snap interfaces [09:29] zyga-ubuntu: please talk with gerry before you do so [09:29] he is actively working on that [09:33] morphis_: gerry is adglkh? [09:33] yes [09:33] morphis_: is here around somewhere where I can talk? [09:33] (I never met him before) [09:33] on slack :-) [09:34] uh [09:34] asking him [09:34] morphis_: where is he from roughly (timezone) [09:34] china [09:34] morphis_: and is he a canonical person? [09:34] yes [09:34] part of my team [09:34] why slack then? is irc blocked? [09:34] morphis_: if he can join here, please ask him [09:34] otherwise let me know how to join slack [09:36] zyga-ubuntu: asked him to join here [09:36] thank you [09:36] I heard there is a crackdown on VPNs in china [09:36] so not sure how to talk to people there [09:36] why are you using slack currently? [09:37] gary-wzl77: hey! [09:37] gary-wzl77: nice to meet you, thank you for joining [09:38] gary-wzl77: and thank you for working on fixing that huge udev issue, that's quite some work [09:38] zyga-ubuntu: Thanks for your code review. [09:38] Yes, I was told by Simon that you have sth to check with me about udev tagging. [09:38] gary-wzl77: I wanted to discuss a few ideas, mainly because that branch is huge (I'm still reviewing it) [09:38] sure [09:38] gary-wzl77: and that I wanted to de-compose it into pieces [09:39] gary-wzl77: if you don't mind me doing that I can work on the current state of the branch until the diff from there to master shinks to zero [09:39] Never mind :) [09:40] I'll submit changes later on per jamie's comments [09:40] gary-wzl77: I'll start with your improvement to common interface, then to individual interfaces that can be simplified with it [09:41] gary-wzl77: yes please, let's keep your PR open and iterating on the udev details [09:41] gary-wzl77: I'll work on the side, proposing small branches that land in master and also merging master back into your branch [09:41] Nice .thanks [09:41] gary-wzl77: so that it can shring in diff size [09:41] gary-wzl77: and then we can hopefully get to the point where everyone agrees and we can just merge it [09:41] RE: Interface simplified [09:42] I spoke to Jamie about it and I've been bit reluctant to do it for complex interface like mir, docker, browser-support and alike [09:42] gary-wzl77: I understand that given the nature of the bug we are in the red anyway until *all* the interfaces are fixed to use udev tagging [09:42] gary-wzl77: so I think it's fine to fix interface-by-interface [09:43] gary-wzl77: and even leave TODO/FIXME markers in things we know need love but are non-trivial to do [09:43] The reason is it will introduce a few code in common function(like connectedPlugAppArmor , connectedSlotAppArmor or permanent**) of commonInterface [09:43] That makes commonInterface a bit fat [09:44] that's fine [09:44] it's there to make most of the interface code easy to reason about [09:45] gary-wzl77: also, I recommend that you stick around on IRC (assuming it is not hard firewall-wise) and on the forum.snapcraft.io [09:45] sure:D [10:29] gary-wzl77: ok, starting now [10:38] zyga-ubuntu: sure thing, I also left a comment about spread-test in snap-confine. Would you mind to take a look if you find time-slot. [10:39] gary-wzl77: looking [10:41] gary-wzl77: huh, git.launchpad.net/snap-confine should be dead [10:41] gary-wzl77: which tests are you referring to? [10:50] zyga-ubuntu: just generic spread test in snap-confine folder, follow the guidance `make hack` and `run ./spread-prepare` [10:50] zyga-ubuntu: then we will have one dependency issue when building deb package along the way [10:51] gary-wzl77: in the snapd repo, in snapd/cmd/snap-confine folder? [10:52] hmmm [10:52] make hack should never be used for spread testing [10:52] can you point me to the tests you are thinking about? [10:52] yes [10:52] note that the spread tests in snap confine sub-directory are *not* working and need porting [10:52] Okay, that's it [10:58] zyga-ubuntu: I saw a few changes that we submitted recently improving the spread test for each interface. [10:59] Probably we need some tweaks then after we land udev tagging feature [10:59] definitely [11:05] PR snapd#3657 opened: daemon, client, cmd/snap: implement snap start/stop/restart [11:06] * zyga-ubuntu -> food [11:09] so, I'm stopping for lunch, and then I need to take one of the boys to the doctor. PR of services ops #n is up, hopefully alright and this PM I'll be working on completion. [11:09] * Chipaca out [11:54] Chipaca: ogra_: Hi again, do we have any news on https://bugs.launchpad.net/snappy/+bug/1687079 ? [11:54] Bug #1687079: cannot change profile for the next exec call: No such file or directory [11:56] kjackal__, what would you expect as a fix beyond a more descriptive error (i doubt mainline will want to hardcode apparmor support) ? [12:03] ogra_: that bug spawned the discussion we had last week on having daemons wait for the completion of other services before they start up [12:04] ogra_: honestly I am not sure what the fix for the above bug should be [12:05] oh, that one ... well, that discussion doesnt really look 100% related [12:05] IIRC Chipaca offered to extend the systemd unit generation with options for that ... [12:05] ogra_: Chipaca: here is the problem we are facing: https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/357 [12:05] (which should really be its own whishlist bug or even better a forum topic) [12:07] kjackal__, better make it a forum thred, so it doesnt get lost [12:07] *thread [12:08] ogra_: like this one: https://forum.snapcraft.io/t/snap-services-on-lxc-after-a-host-reboot/1470 ? [12:09] yeaah [12:10] (that doesnt reflect any of the IRC discussion though) [12:10] (IIRC there was aan offer from Chipaca for a fix ... ) [12:12] ogra_: Chipaca: we said we would setup a meeting next week with your architect, to discuss what we can do about this issue. If I am not mistaken daemons on lxd will not survive a reboot. [12:13] kjackal__, right, but i think he didnt know that niemeyer is (kind of) off this week ... [12:13] it would help if the findings from the discussion would be in the thread though ... [12:14] that forum topic is as undescriptive as it can be (like the bug :) ) [12:15] we will need it to end up with a specification what has to be implemented in snapd etc [12:15] (and how) [12:16] The issue on github is the point where we gather all the info on the incident. Should I link it to the topic? [12:18] kjackal__, i changed the title of the topic ... https://forum.snapcraft.io/t/snap-services-on-lxc-after-a-host-reboot/1470 [12:18] can you flesh the content out a bit more instead of talking about random snaps and bugs ... (like what do we want to achieve, what has been discussed and offered as possible implementation) [12:19] it should look more like a spec in the end [12:20] that way the snapd guys can just grab it, nod it off and start working on it [12:21] ok, thanks ogra_ [12:21] kjackal__, http://paste.ubuntu.com/25239691/ from my IRC logs [12:34] kjackal__: which kernel are you using? [12:36] zyga-ubuntu, not kernel related at all, see my paste [12:36] (that linking of these bugs is totally confusing the issue) [12:37] zyga-ubuntu, this is solely about snap services being able to wait for oother services to be up [12:38] (essentially about allowing "After=*" in snapd units of snaps) [12:38] aha [12:38] ok then, not my problem today :) [12:38] * zyga-ubuntu gets back to interfaces [12:39] zyga-ubuntu double check changes I commented on, I'm not sure about two changes there [12:41] ondra: thank you, I will in a moment [12:42] zyga-ubuntu I might be wrong, just double checking :) [12:43] Chipaca: question, what kind of tab completion should I get out of http? [12:43] I don't see any [12:44] zyga- it possible to run a command from inside the snap inside the configure hook? [12:45] zyga-ubuntu, it possible to run a command from inside the snap inside the configure hook? [12:45] ondra: replied [12:45] abeato: which command? [12:45] zyga-ubuntu, like using nmcli inside network-manager's configure hook [12:45] abeato: all hooks are arbitrary programs, so you can run anything you can otherwise run, remember that you are confined, as usual [12:46] abeato: one restriction is you should not run snap's exposed apps via /snap/bin/snap.app again [12:46] abeato: instead just run them directly via $SNAP/bin/app [12:47] zyga-ubuntu, it is strange because I get permissions error that should not happen if running it as root : https://pastebin.canonical.com/195195/ [12:48] oh please not that one [12:48] can you repaste to normal one, I don't have my token handy [12:49] zyga-ubuntu, http://paste.ubuntu.com/25239783/ [12:49] thank you, looking [12:49] abeato: can you show me the snap.yaml please? [12:50] zyga-ubuntu, http://paste.ubuntu.com/25239786/ [12:50] abeato, i suspect you need to connect all the interfaces the snap uses first [12:51] ogra_, they are connected [12:51] ogra_: no, not that [12:51] abeato: so [12:51] ok [12:51] abeato: notice that all the plugs are on the apps [12:51] abeato: the hooks don't get any [12:52] zyga-ubuntu, can I add plugs to the hooks? [12:52] you need to either define a plug at the top level (where it applies to everything) [12:52] Helloooo [12:52] zyga-ubuntu not sure I follow [12:52] or also add a hooks section and add specific plugs to your hook [12:53] ondra: look at that file, look at the symbols I replaced [12:53] couldnt he call the apps as well ? [12:53] aha, did not know that [12:53] zyga-ubuntu why do we need then avahiControlConnectedSlotAppArmor twice there? [12:53] zyga-ubuntu, thanks, that is useful :) [12:53] ondra: before my replacements there were unused snippets [12:53] ondra: looking [12:53] (if the apps are connected, calling them should work as well, no ?) [12:53] maybe some silly mistake on my end [12:53] ogra_: no [12:53] ogra_: the hooks have no slots [12:53] ogra_: according to that def [12:53] zyga-ubuntu and idea there was that control also includes rules from observe [12:53] oooooh [12:53] ondra: I'm blind [12:54] I didn't see the + [12:54] thanks! [12:54] zyga-ubuntu so it does not need to be defined same again there [12:54] yes, I don't know how I missed that :) [12:54] zyga-ubuntu, why would i need slots ... if i have an app "foobar" that has a plug connected, my hook shoud be able to use foobar [12:54] ondra: still, I'm somewhat inclined to use a common one [12:54] and not do + on snippets [12:54] just call the helper twice [12:54] (without any extra plugs or slots) [12:54] zyga-ubuntu don't worry I was staring at it for 5mins and even used string compare to make sure :D [12:54] ogra_: sorry, I meant plugs [12:55] ogra_: no, that's not how this is designed, the app may need super strong permissions [12:55] zyga-ubuntu ahh is that is possible then for sure calling helper twice is better [12:55] ogra_: and the hook can be separate [12:55] ogra_: like two apps can get two separate permissions [12:55] is it any different to me executing the foobar app manually ? [12:55] zyga-ubuntu shall I do the change? [12:55] ogra_: each hook and app can have a separate set of plugs [12:55] ogra_: a plug is either connected or not [12:55] hmm [12:55] ogra_: but the application of that connection is not the same to all executables [12:56] i wouldnt expect it to work like that as a consumer [12:56] ogra_: whoever is making the snap can associate a particular app or hook with a particular set of plugs [12:56] ogra_: so that you can do privilege separation inside one snap [12:56] ogra_: where nmcli doesn't need the full power to run as network-manager [12:56] ogra_: and the same thing applies to the hook [12:56] ogra_: inside that snap only network manager itself needs that [12:57] ogra_: the hook and the cli tool just need the permission to talk to it [12:57] ogra_: depending on how you define a plug it is scoped to either everything in the snap (by defining a top-level plug) [12:57] ogra_: or to a specific set of apps (by refering to a plug from their definitions) [12:57] right, and i would expect that if the cli tool is connected i could call out from any script to it to run it ... even if that script was a hook [12:57] ogra_: I think hooks have one more quirk but I'm not sure now [12:57] ogra_: right but he's not calling the CLI tool [12:58] ogra_: he's running the hook [12:58] and the hook runs as its own profile [12:58] yes, what i suggested was calling the cli tool from the hook :) [12:58] ogra_: and we don't allow profile transitions [12:58] ogra_: note that the CLI tool has two "instances" [12:58] ogra_: the /snap/bin/network-manager.cli (say) is one [12:58] ogra_: and $SNAP/bin/nmcli is another [12:58] that's the same executable [12:58] but two profiles [12:58] well [12:59] one profile and one no-profile [12:59] right [12:59] ogra_: the one in /snap sets the profile [12:59] (in /snap/bin) [12:59] and i as a user of it would expect that my script can use $SNAP/bin/nmcli [12:59] the other one runs as whoever is running it (it inherits the profile) [12:59] as long as all interfaces for it are cnnected [12:59] it can, but nmcli cannot talk to network manager because the hook doesn't have the permission to do so [12:59] wether that script is a hook or some script in my lhomedir [12:59] because as the user (developer of the snap really) that is what was specified [13:00] that seems duplicated to me [13:00] I don't understand the script in homedir aspect [13:00] ogra_: what exactly? [13:00] the only person that can alter the hook is the developer of the snap anyway [13:00] ogra_: it's like having two apps in a snap [13:00] and defining a plug on just one of them [13:00] so why do we need double confinement here [13:00] the other is not getting those permissions [13:00] that's exactly what is going on here [13:00] shipped apps should just be callable from a hook [13:00] ogra_: it's not double confinement, it's *scoping* the confinement [13:00] (as long as the app interfaces themselves are connected) [13:01] ogra_: they *are* with the permissions of the *hook* [13:01] and a hook is just as any other pap [13:01] *app [13:01] it has permissions derived from the plugs that apply to it [13:01] well, call it "wrapped confinement" then :) [13:01] its an extra level ... [13:01] and the only problem is that the *hook* was not defined as needing that permission (no plug) so it didn't et them [13:01] and i dont get why we'd need that [13:01] no, you don't understand [13:02] the hook is not calling /snap/bin/nmcli [13:02] if it did there would be a different message [13:02] that this is not allowed [13:02] Chipaca, zyga-ubuntu: standup [13:02] oh [13:02] sorry [13:02] joiuning [13:02] ogra_: let's discuss this later [13:03] i have one level of confinement in the app ... and another layer on top for the hook ... but i'm also the owner of the snap so i dont see the need for the extra confinement in the hook (just adds extra work for me to define additional slot/plug connections ... i have the power to do so anyway but need to separately declare it) [13:03] zyga-ubuntu, yeah [13:05] zyga-ubuntu I just pushed change, let me know if this is better way [13:09] nessita_, since you transferred the orangepi-zero gadget i have a giant red "REVOKED" at the top of my dashboard, is there any way to get rid of the snap from my dashboard oveview ? [13:11] ondra: thank you, I'll check after the call [13:13] zyga-ubuntu thanks :) [13:13] ogra_: those are not levels, those are scopes, each app and hook has its own confinement, you don't get any nested confinement in any place [13:14] well, i need to declare confinement stuff twice when wanting to use foobar in my hook ... once for foobar itself and once for the hook [13:14] what i mean is that any apps shipped inside the snap shouldnt require that to use them from the hook of the same snap [13:15] you *never* apply the conifnement to binaries in the snap [13:16] you only apply them to launchers (the command: section in each app) [13:18] yes [13:19] and my hook should be able to use them from the launchers ... thats what i mean [13:19] without having to specify any additional confinement [13:22] it can, that's never the problem, the problem is that they cannot do what they want because how would we know what they need? [13:22] you can *exec* each binary in your snap [13:22] no, then the interfaces for the app dont apply [13:22] nmcli talks over dbus with network-manager [13:22] binary != app [13:22] app is a command [13:22] what if I have two apps [13:22] that run one binary [13:23] with two different options [13:23] right and there is an interface that applied if i call it as /snap/bin/nmcli [13:23] and two different permissions? [13:23] *applies [13:23] yes but you cannot call that from inside a snap, that's explicitly denied [13:23] instead of $SNAP/usr/bin/nmcli directly [13:23] yes [13:23] and thats what i'm debating ;) [13:23] that /snap/bin/nmcli should be allowed? [13:23] an app shipped inside my own snap shouldnt be denied when called from inside that same snap [13:24] so that i can use it from a hook without having to jump through hoops [13:24] man, that's not the problem [13:24] one sec [13:24] indeed the dbus interface still needs to be connected for the app [13:24] (which my hook cant do) [13:26] ogra_: http://pastebin.ubuntu.com/25239924/ [13:26] yeah [13:26] ogra_: what permissions would you expect to see if the hook runs bin/foo? [13:26] well, my hook should run /snap/bin/a (or b) [13:26] and the normal confinement for a or b should apply [13:27] so that my hook doesnt need any different or separate confinement [13:27] right [13:27] that I agree with [13:27] but this is not allowed today for a few reasons [13:28] and in that case the answer to alfonso above would have been use /snap/bin/nmcli and be done [13:28] the thing is that the person writing the hook has the power to allow this anyway ... [13:28] but needs to jump through more hoops by defining interfaces for the hook today [13:29] apps declared in my snapcraft.yaml shoudl just be usable from my hook without extra work ... thats the point i'm making :) [13:30] ogra_: right, and that's, as I said, not allowed for a few reason [13:30] *reasons [13:30] i dont see any security advantage of the current model [13:30] the primary reason was that it would be tempting to run run stuff from another snap [13:31] and at the point when snap-confine runs we don't have a way to reject just those [13:31] well [13:31] i didnt say ""allow calling something from another snap" [13:31] just within the same snap [13:31] right, but at the time the request comes in there's not enough context to decide [13:31] so we reject all of them [13:31] if the app and hook are inside the same ... [13:31] and we're back to square one [13:31] ah [13:32] so we'll need meore context :) [13:32] *more [13:32] popey: ping [13:35] ondra: looks good, thank you for noticing :) [13:35] zyga-ubuntu thank you for helping me with PR :) [13:39] ogra_, I try to configure my pi3 and I see -> Can’t find valid F2FS filesystem in 1th/sth superblock [13:41] any idea? [13:46] cachio, thats nothing bad ... just the kernel looping over filesystems [13:46] ok [13:46] ogra_, tx [13:46] like it also does for ext2 and ext before it actually mounts an ext4 FS [13:47] *for ext2 and ext3 [13:47] that also spills some ugly messages [13:47] Humm, how do I install X? [13:47] X Window.. or some displayservice.. [13:48] you mean on UbuntuCore ? [13:48] you cant [13:48] there is not way X ever matches the security model [13:48] Aha, haha.. [13:48] there is a mir-kiosk snap that you can use for having kiosk apps (standalone fullscreen app) [13:49] yeah right, but no way we're going to get Qt with its graphiclibraries run on Ubuntu Core then I Guess [13:49] s/Guess/guess [13:49] but indeed your app then needs to support mir [13:49] Qt runs fine on mir-kiosk [13:49] niemeyer: heya. [13:49] in fact the demo apps are all Qt [13:49] niemeyer: i guess i scheduled the meeting too early? [13:49] popey: Yo [13:49] popey: No, I was the one screwing up, sorry [13:50] popey: Do you want to have a quick catch up now? [13:50] ok, so mir-kiosk might save us.. tyty [13:51] bub_, the guys in #ubuntu-mir might know more details [13:51] niemeyer: unfortunately I'm a busy for the next 2.5 hours. After that? 16:30 UTC? [13:51] popey: Deal [13:52] niemeyer: invite sent [13:53] popey: Thanks, talk soon [13:58] Chipaca: hey [13:58] around? [13:58] https://github.com/snapcore/snapd/pull/3658 [13:58] PR snapd#3658: interfaces: add common support for udev [13:58] anyway, some small PR for quick landing, I'll iterate on next part [13:58] PR snapd#3658 opened: interfaces: add common support for udev [14:09] ogra_, when I insert the sdcard it I showing a disk on /dev/mmcblk0 [14:09] ogra_, but not /dev/mmcblk0p0 [14:09] is that a problem? [14:10] it has two partitions p1 and p2 instead [14:12] gary-wzl77: around? [14:12] well, probably not on Friday [14:13] zyga-ubuntu: http's tab completer for bash is rather poor, it only offers options (i.e. type -, hit tab) [14:13] * zyga-ubuntu checks [14:13] nothing [14:13] PR snapd#3659 opened: tests: fix install-hook test failure [14:13] is that a thing that's out in stable core? [14:13] zyga-ubuntu: have you sourced complete.sh? [14:13] Chipaca: where is it? [14:14] zyga-ubuntu: /snap/core/current/usr/lib/snapd/complete.sh [14:14] cachio, ^ fix for the install-hook test failure, for master first. i'll propose fix for 2.27 too if that makes sense? [14:14] ah [14:14] Chipaca: right [14:14] we need "re-exec" for that [14:14] thanks [14:14] cachio, what would you expect 0p0 to be ? :) [14:14] zyga-ubuntu: we wha? [14:14] Chipaca: sourced but nothing [14:14] Chipaca: (let's talk reexec later) [14:14] zyga-ubuntu: complete -p http [14:14] zyga-ubuntu: your trying it before probably loaded _minimal in there [14:14] cachio, /dev/mmcblk0 is the device ... /dev/mmcblk0p1 is system-boot and /dev/mmcblk0p2 is writable ... [14:15] complete -F _minimal http [14:15] zyga-ubuntu: in which case, complete -r http [14:15] zyga-ubuntu: and try agian [14:15] cachio, partitioning starts to count at 1 not at 0 [14:15] so it should all be fine as is [14:15] ogra_, ok, it was appearing p0 [14:15] that would be a massive kernel bug :) [14:16] Chipaca: that said: [14:16] zyga@fyke:~/go/src/github.com/snapcore/snapd/interfaces/builtin$ complete -r h [14:16] bash: complete: h: brak definicji dla uzupełnienia [14:16] (I set locale to english but... well) [14:16] zyga-ubuntu: yeah, still here :D [14:16] ogra@pi3:~$ cat /proc/partitions |grep mmc [14:16] 179 0 3921920 mmcblk0 [14:16] 179 1 131072 mmcblk0p1 [14:16] 179 2 3789779 mmcblk0p2 [14:16] "no definitions for completion" [14:16] gary-wzl77: ah, nice, can you please have a look at [14:16] https://github.com/snapcore/snapd/pull/3658 [14:16] PR snapd#3658: interfaces: add common support for udev [14:16] zyga-ubuntu: literally h, or http? [14:17] Chipaca: that was a typo, I did write http [14:17] zyga-ubuntu: sure [14:17] zyga@fyke:~/go/src/github.com/snapcore/snapd/interfaces/builtin$ complete -r http [14:17] bash: complete: http: brak definicji dla uzupełnienia [14:17] ogra_, ok, just trying to understand why it is showing the message that I told you before [14:17] zyga-ubuntu: and complete -p http? [14:17] cachio, hmm, perhaps if you format the raw device instead of partitioning it at all you might get a p0 ... i never did such insanity ... (but could be that cameras or some such do that) [14:17] "przed wyruszenie w podróż należy zebrać drużyne" [14:17] Chipaca: -p says the same thing [14:18] zyga-ubuntu: ok so you dropped the _minimal definition [14:18] um [14:18] zyga-ubuntu: do you have two shells open and did the other -p in the other one? [14:18] ogra_, ok, just I wanted to make sure there was not an error on there [14:18] Chipaca: no, it's all in one shell [14:18] no, the system SD should always have p1 and p2 [14:18] zyga@fyke:~/go/src/github.com/snapcore/snapd/interfaces/builtin$ snap version [14:18] snap 2.26.14 [14:18] snapd 2.26.14 [14:18] series 16 [14:18] ubuntu 16.04 [14:18] kernel 4.8.0-58-generic [14:18] in case this is relevant [14:19] zyga-ubuntu: ok, what does “type _complete_from_snap” say [14:19] tons of stuff [14:19] the good thing [14:19] zyga-ubuntu: good [14:19] PR snapd#3633 closed: overlord/devicestate: fix, don't assume that the serial is backed by a 1-key chain [14:19] zyga-ubuntu: so now http - should do something [14:19] it's a function with the code [14:19] nope :) [14:19] it doesn't [14:19] what are we missing? :) [14:20] zyga-ubuntu: what revision of http do you have? [14:20] 21 [14:21] zyga-ubuntu: what does “complete -p http” say _now_? [14:21] no definitions [14:21] zyga-ubuntu: what does “complete -p -D” say? [14:21] bash: complete: _DefaultCmD_: brak definicji dla uzupełnienia [14:21] (little by little I can teach you polish) [14:21] double to the you to the eff [14:22] zyga-ubuntu: ok, so, start a new shell [14:22] reday [14:22] ready* [14:22] zyga-ubuntu: complete -p -D [14:22] complete -F _completion_loader -D [14:22] zyga-ubuntu: now, source complete.sh [14:23] zyga-ubuntu: note: source, not run, source [14:23] k [14:23] done [14:23] zyga-ubuntu: complete -p -D [14:23] complete -F _complete_from_snap_maybe -D [14:23] zyga-ubuntu: http - [14:23] nothing [14:23] zyga-ubuntu: tab again [14:23] I'm tab-tab-tabbing [14:23] nothing [14:23] zyga-ubuntu: AGAIN [14:24] * Chipaca throws things [14:24] 12s of times actually [14:24] * zyga-ubuntu hugs chipaca [14:24] wanna hangout? [14:24] can it be locale somewhere [14:24] zyga-ubuntu: complete -p -D ? [14:24] or something like [14:24] complete -F _complete_from_snap_maybe -D [14:24] zyga-ubuntu: set -x [14:24] zyga-ubuntu: http - [14:24] stuff flies [14:25] very chatty [14:25] zyga-ubuntu: _what_ stuff [14:25] wanna see? [14:25] sec [14:25] zyga-ubuntu: set +x now, for sanity [14:25] ;-) [14:25] zyga-ubuntu: please [14:25] http://pastebin.ubuntu.com/25240232/ [14:26] gary-wzl77: if that looks ok to you +1 it please [14:26] gary-wzl77: I tweaked some things [14:26] I'll merge this into your branch and start iterating on interfaces (I did one as a sanity check) [14:27] zyga-ubuntu: that pastebin makes no sense to me [14:27] Chipaca: welcome to my world [14:28] at least you understand some of it [14:28] zyga-ubuntu: ok, try this [14:28] zyga-ubuntu: complete -F _complete_from_snap http [14:28] empty [14:28] technically [14:28] $ complete -F _complete_from_snap http [14:28] + complete -F _complete_from_snap http [14:28] (nothing else) [14:29] zyga-ubuntu: set +x [14:29] now really empty [14:29] zyga-ubuntu: does http - do stuff now? [14:29] YES! [14:29] wow [14:29] what changed? [14:29] I see some denials [14:29] zyga-ubuntu: could you pastebin “type _complete_from_snap_maybe”? [14:29] but it completes [14:30] http://pastebin.ubuntu.com/25240249/ [14:30] zyga-ubuntu: and could you confirm that complete -p -D is still _complete_from_snap_maybe? [14:30] sie 04 16:29:25 fyke kernel: audit: type=1400 audit(1501856965.430:1150): apparmor="DENIED" operation="open" profile="snap.http.http" name="/etc/init.d/" pid=13425 comm="bash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [14:30] (unrelated denial) [14:30] nope [14:30] $ complete -p -D [14:30] bash: complete: _DefaultCmD_: brak definicji dla uzupełnienia [14:30] WTF [14:30] (in the same terminal) [14:30] and it still completes OK [14:31] yes now it's completing because of the -F [14:31] it's not going via the default [14:31] aha [14:31] zyga-ubuntu: ok, so now [14:31] zyga-ubuntu: compelte -r http [14:31] complete* [14:31] empty (typo corrected) [14:31] zyga-ubuntu: complete -F _complete_from_snap_maybe -D [14:31] empty as well [14:31] zyga-ubuntu: does that end up with http - working again? [14:32] it still works [14:32] it didn't break since I said *wow* [14:32] zyga-ubuntu: something is removing the default completer [14:33] zyga-ubuntu: (that's the -D one) [14:33] zyga-ubuntu: so if “complete -p -D” says there's no uzupełnienia, it's bad [14:33] that says [14:33] complete -F _complete_from_snap_maybe -D [14:33] zyga-ubuntu: something's unuzupełnieniaing it! [14:34] :') grammar [14:34] zyga-ubuntu: the great unuzupełnieniator! [14:34] hahaha [14:34] zyga-ubuntu: why “fyke” btw? [14:34] fyke is my x250 [14:35] faroe is my t430 [14:35] zyga-ubuntu: i mean, it's a bag net for catching fish [14:35] (in english i mean) [14:35] oh, I just pulled this out of the witcher 3 locations map [14:35] ah :) ok [14:36] http://witcher.wikia.com/wiki/Fyke_Isle [14:36] k [14:36] anyway, somehting needs fixing, but not sure what [14:36] i'll dig into it [14:36] (read that description) [14:36] it's fun :D [14:36] i've got a suspicion that needs checking out [14:36] zyga-ubuntu: I left one comment. please take a look. [14:37] gary-wzl77: thank you, looking now [14:38] niemeyer, I am planning to try a way yo reproduce the error on the reboot for ubuntu-core on linode, are you going to be available this afternon? [14:38] gary-wzl77: replied, thanks! [14:38] Chipaca: I feel like getting a coffee [14:39] do you need me now or can I just go> [14:39] cachio: Yeah, I have meetings early on, but then I'm available til the end of the day [14:39] Chipaca: and if you can +1 I'll land and iterate on some stuff [14:39] https://github.com/snapcore/snapd/pull/3658 [14:39] PR snapd#3658: interfaces: add common support for udev [14:39] niemeyer, good, I'll ping you once I reproduce the error [14:40] Chipaca: and as for http itself, it would be great to make it not read /etc/init.d/ [14:41] Chipaca: ok, I'm really going now, I'll be online in 20 minutes [14:41] just need to go downstairs to make the coffee there [14:43] zyga-ubuntu: Since we added kvm interface lately, I'll update it to use my version of UDevConnectedPlug for the time being. [14:43] zyga-ubuntu: And will make some tweaks later after you PR is merged into master. [14:44] ogra_, getting the resize problem again https://paste.ubuntu.com/25240332/ [14:44] does it help¡ [14:44] ? [14:46] it is in the pi3 [14:46] cachio, i dont see a problem there (just normal fs corrections) ... what do "df -h" and "sudo sgdisk -p /dev/mmcblk0" show ? [14:46] (and did you make sure the SD isnt mounted when dd*ing it ... etc etc ... ) [14:48] PR core#38 closed: Add another pi-config option [14:48] PR core#48 closed: add support for `snap set core proxy.{http,https,ftp,all}` [14:48] ogra_, https://paste.ubuntu.com/25240354/ [14:48] ogra_, I'll try again [14:48] cachio, right, your partition table is broken once again .. [14:49] PR core#38 opened: Add another pi-config option [14:49] PR core#48 opened: add support for `snap set core proxy.{http,https,ftp,all}` [14:49] PR core#49 opened: more detailed build instructions [14:49] PR # closed: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [14:49] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 [14:50] PR core#48 closed: add support for `snap set core proxy.{http,https,ftp,all}` [14:50] PR core#49 closed: more detailed build instructions [14:50] PR # opened: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [14:50] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 [14:52] PR core#38 opened: Add another pi-config option [14:52] PR core#49 opened: more detailed build instructions [14:54] PR core-build#11 closed: remove cruft from the writable-paths [14:55] PR # closed: snapcraft#1277, snapcraft#1298, snapcraft#1302, snapcraft#1313, snapcraft#1346, snapcraft#1348, snapcraft#1364, snapcraft#1382, snapcraft#1387, snapcraft#1388, snapcraft#1392, snapcraft#1395, snapcraft#1399, snapcraft#1407, snapcraft#1412, snapcraft#1414, snapcraft#1417, [14:55] snapcraft#1419, snapcraft#1420, snapcraft#1425, snapcraft#1427, snapcraft#1428, snapcraft#1429, snapcraft#1430, snapcraft#1432, snapcraft#1435 [14:56] cachio, perhaps you should file a bug and assign it to me to add more stuff to that log (i think it should perhaps run dh -f and sgdisk -p after the resize and dump that data into the log too ) [14:56] PR # closed: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [14:56] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 [14:57] hmpf ... mup going mad again ? [14:57] PR core-build#11 opened: remove cruft from the writable-paths [14:57] PR # opened: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [14:57] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 [14:58] PR # closed: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [14:58] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 === ogra_ is now known as ogra [15:01] * ogra holds the flyswatter over mup's head ... [15:01] PR core-build#11 opened: remove cruft from the writable-paths [15:01] PR # opened: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3478, snapd#3484, snapd#3499, snapd#3502, snapd#3520, snapd#3524, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, [15:01] snapd#3585, snapd#3586, snapd#3590, snapd#3593, snapd#3594, snapd#3604, snapd#3616, snapd#3617, snapd#3621, snapd#3622, snapd#3624, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3641, snapd#3642, snapd#3643, snapd#3648, snapd#3649, snapd#3657, snapd#3658, snapd#3659 [15:02] :P [15:03] ogra: thank you [15:04] does this mean github is down again? [15:21] seems fine for my own branches [15:21] and i can open snapcore ones as well ... (at least via the website) [15:25] hey all, can build.snapcraft.io accept a pre-existing snap name? one that I am a collaborator for? [15:27] I've tried to register https://github.com/MirServer/mir-kiosk-apps, but it says mir-kiosk-apps is already taken and I may file a claim... [15:27] well if you want to take it over, file a claim [15:28] if you just want to upload ... just do it without claiming the name [15:37] ogra: how do I do this with build.snapcraft.io? the repo is shown as "Not registered", when trying to register, it tells me that it's taken [15:42] hmm [15:42] thats a question for evan ... who isnt much on IRC anymore recenly [15:42] try opening a forum thread i guess [15:43] (and ping him there) [15:48] thanks, did so [16:17] ogra, after make snap refresh and reboot in the pi 3 I see this in the screen https://paste.ubuntu.com/25240921/ [16:18] is it normal? [16:18] cachio, do need that fix for install-hook test for 2.27? or only master? [16:18] cachio, i have this with one SD card that is completely worn out due to too many write cycles to the bootloader config (it used to be my development card where i tested stuff and changed the config like ten times a day) ... smells like the SD is done (at least for booting, i guess you can use it fine in a camera for saving pictures still) [16:18] *do we* [16:19] pstolowski, if it is possible to add that to the nect RC should be great [16:19] cachio, sure, np, i'll propose a PR [16:19] pstolowski, great [16:20] ogra, ok, I'll try with another one [16:20] cachio, do you have that card in use for testing for long already ? [16:20] ogra, no so much [16:20] hmm [16:21] ogra, https://paste.ubuntu.com/25240943/ [16:21] then I see this [16:21] yeah [16:21] thats notmal if it cant find any config anymore [16:21] the uboot.env is corrupt [16:21] *normal [16:21] ogra, ok, I'll try with another sdcard in that case [16:22] * cachio will need to buy new sd cards soon [16:22] the prob here is that the uboot.env always sits at the same sector on the card ... and if you re-write it a lot it gets worn out (that wont happen in nromal use ) [16:23] ogra, ok, that makes sense [16:23] what you see there is just the hardcoded default boot process of uboot [16:23] (it falls back to netbooting ) [16:23] cachio, PR #3661 [16:23] your dhcp server obviously serves tftp btw :) [16:23] pstolowski, tx [16:24] ogra, I switched off/on the pi3 and I don't see the error anymore, I could log in [16:25] yeah [16:25] ogra, the problem was after restart it [16:25] it will show up after next kernel or core upgrade again [16:25] yes, [16:25] as soon as the uboot.env file gets written again [16:25] just want I need to test :( [16:25] you likely tested the rollback mechanism ;) [16:26] check with snap list ... and snap info what core and pi2-kernel say [16:26] hehehe, yes, unfortunately [16:27] ogra, snap changes is showing the error [16:27] yeah [16:27] I'll try with another sdcard [16:27] and snap info likely shows you that you are one revision behind on one of core or pi2-kernel [16:27] (whatever you updated before the reboot) [16:28] ogra, which sd card do you recommend for this kind of use [16:28] = [16:28] ? [16:29] ogra, which brand and type [16:29] i usually jjust randomly buy a cheap offer at my electronics discounter ... sandisk or transcend typically [16:29] i have a few 4GB ones in use but also 64G and 128G ones [16:29] ok [16:30] i dont think you can still easily buy 4G thogh ... i think 8 is the lowest atm [16:30] (at least here in germany ... it bought two new cards before london (that i didnt even unpack yet) and they didnt have smaller than 8 anymore) [16:31] ogra, ok, I'll try with 8GB ones [17:07] pedronis: have you EOWed yet? [17:18] Chipaca: what's the question? [17:18] pedronis: i pushed code to the services branch, was wondering if it what you had in mind, but i'm this >< close from EOW myself as well :-) [17:19] Monday :) [17:20] pedronis: :-) [17:20] pedronis: have a good'un! [17:20] same [17:21] niemeyer, zyga, ogra, cachio, and you guys too! [17:21] \o [17:21] o/ [17:38] does anybody know the official way to confiure network interfaces in ubuntu core 16? have yet to find official documentation and files in /etc/network/interfaces.d folder do not seem to have any effect === JanC_ is now known as JanC [18:15] I am not able to update the snap on dell 5000 GW did any one tried snap update [18:46] * zyga-arch returns [18:54] * zyga-arch will make lots of PRs like this: https://github.com/snapcore/snapd/pull/3662 [19:44] niemeyer, running tests to detect reboot issue [19:46] cachio: Ok [19:47] hi anybody used DELL GW5000 "snap refresh " is not working [19:57] Neeraj, hello [19:57] Neeraj, you opened this? [19:57] https://forum.snapcraft.io/t/dell-gw5000-snap/1559 [19:59] yes [20:00] yes [20:00] Neeraj, sorry, I already commented on the forum [20:01] Neeraj, most surely is this (transient) problem: a new version was released for that snap, but still not verified, and (because of a bug) we're failing to serve it properly. [20:01] Neeraj, bug is recorded here: https://bugs.launchpad.net/snapstore/+bug/1707206 , it's already fixed, but still not in production (will be rolled out first days next week) [20:02] Facu, thanks for the update [20:05] Facu is their any way to install sanp classic for now [20:06] Neeraj, the problem is on refresh, on install it should work ok [20:07] Facu you mean to say that after sucessfull refresh the installation of classic will work [20:08] Neeraj, mmm... I say that if you do "snap install something" it will work, that the bug I'm talking about is exposed when you do "snap refresh something" [20:08] Neeraj, currently you can not do "snap install something"? [20:09] (maybe there's another problema and I'm misleading) [20:10] Facu you are correct I guess after refreshing the installation should work ::: the error is "ERROR snap "classic" assumes unsupported features: snapd2.23 (try to refresh the core snap)" [20:11] Neeraj: ah, so your device is quite a bit behind on core updates [20:11] Neeraj, I see [20:12] Neeraj: what does `snap version` and `'snap info core` show? [20:13] noise snap version is " snap --version snap 2.17 snapd 2.17 series 16" [20:13] ok, very far behind then :/ [20:14] Noise : once I execute "snap info core" i get error :: error: unknown command "info", see "snap --help" [20:14] When Facu's fix lands hopefully Mon/Tues that should unblock your 'core' snap refresh and then let you install classic [20:14] sorry for the inconvenience [20:15] thanks [20:25] niemeyer, Spread-50 [20:26] 173.230.156.151 [20:26] cachio: Okay, what should I look for? [20:27] the output in the console [20:27] it is not starting after reboot [20:27] niemeyer, I need to know what is showing the linode console [20:29] niemeyer, or if you can save the disk should be nice too [20:30] cachio: http://paste.ubuntu.com/25242314/ [20:31] niemeyer, nice [20:31] No space left on device [20:32] Yep [20:33] niemeyer, which disk are we using for core runs? [20:33] on linode [20:33] cachio: This is what happens before the panic: [20:33] + mount -t tmpfs none /tmp [20:33] + cp /bin/busybox /tmp [20:33] + cp /home/image/all-snap-amd64.img /tmp [20:33] cachio: So it's not actually adisk [20:33] cachio: The tmpfs is too small [20:33] Not enough memory [20:34] I see [20:34] cachio: Problem most likely is that all-snap being too large [20:34] cachio: Sorry, that's obvious.. what I actually mean is [20:34] cachio: The problem most likely is that somehow we're leaving trash around during the test run, and then trying to pack it into that file [20:35] cachio: let me try to give you a debug environment on that machine.. just a second [20:35] niemeyer, good, thanks [20:40] niemeyer, in this case, the machine did not run any test before the reboot [20:40] so, I don't think there is any trash [20:48] cachio: Your spread is still running, right? [20:48] niemeyer, it is on travis [20:49] niemeyer, if you can save the disk should be great [20:49] it will be killed in few minutes [20:49] cachio: Oh, ouch [20:49] cachio: Glad you warned me ;) [20:52] cachio: Okay, the machine should be up again now [20:52] cachio: root has the same password [20:52] cachio: It's a pristine 16.04 image, though [20:52] cachio: Original disk is under /dev/sdc [20:52] cachio: Have fun! :) [20:55] niemeyer, I don't have the password :) [20:55] how do I get it? [20:55] cachio: Now you do [20:56] niemeyer, :) [20:56] tx [21:03] cachio: School run, will bbiab [21:03] niemeyer, np [21:43] cachio: Back.. any news? [21:44] niemeyer, not yet, trying to reproduce it [22:39] * zyga-suse EOWs [23:34] niemeyer, the only thing I see is that /tmp is not being cleaned before reboot [23:34] and as the first thing the system does when reboots is to mount /tmp [23:35] cachio: How would that be relevant? [23:35] in /tmp already are a lot of things [23:37] cachio: But how would that matter? [23:38] niemeyer, it is mounting /tmp on memory [23:39] so if /tmp has data, it will waste memory on that data [23:40] niemeyer, perhaps I am missunderstanding the script [23:40] cachio: Isn't it mounting a tmpfs on /tmp? [23:40] yes [23:40] niemeyer, or at least it is doing > mount -t tmpfs none /tmp [23:41] cachio: SO how is the data in the underlying /tmp relevant? [23:41] niemeyer, is it going to memory that data? [23:42] I mean RAM memory? [23:43] cachio: Yeah, tmpfs is supposed to keep the data in memory [23:45] niemeyer, my point is that previous to do that, we are storing data in /tmp, this data will go to the RAM, so perhaps when we try to copy the all-snap-amd64.img we go out of memory [23:45] cachio: That's not how mounting works [23:46] niemeyer, ok, my bad in that case [23:46] cachio: Once you mount something over a mountpoint, the data under the mounted filesystem just stays there [23:47] niemeyer, ok [23:51] What's the size of the data file? [23:52] niemeyer, should be about 300 MB [23:53] niemeyer, let me check [23:54] trying to run the test on that machine but getting a problem [23:54] Run configure hook of "core" snap (run hook "configure": cannot stat /var/lib/snapd/seccomp: No such file or directory) [23:55] niemeyer, and the dir exists