/srv/irclogs.ubuntu.com/2016/10/07/#snappy.txt

naccSuperJonotron: i'm not sure how that's supposed to work; my initial response would be install it as the root user, rather than as your regular user00:00
naccSuperJonotron: but that seems less than ideal00:00
SuperJonotronthat is actually how i have to install it but for some reason when you run the snap as sudo after that it doesn't work unless it's the user who calls it00:01
naccSuperJonotron: you *may* need to pass -H to sudo? to use root's home00:01
nacctbh, this feels like an odd corner case to me -- this doesn't sound like a normal application, if it rqeuires root00:03
SuperJonotronthe software is bound to hardware, the hardware it needs access to requires root access00:03
naccSuperJonotron: i believe normally you'd write/request an itnerface to the hardware00:03
naccand then connect your snap to that interface00:03
SuperJonotronpass -H where in the process?  in the method calling sudo or sudo -h <snapName>00:03
naccSuperJonotron: can you run the snap (as installed by the root user) as the root user? First run `sudo -s -H` to switch to the root user's home and then try to run the snap?00:04
SuperJonotroni'm rebuilding it now because I was trying something else, i'll test in just a sec00:04
naccSuperJonotron: e.g., you can see for other hardware access stuff, there are interfaces at http://snapcraft.io/docs/reference/interfaces00:05
naccmy thinking is based purely on my understanding of snapcraft/snaps, not on any actual experience connecting to hardware, to beclear :)00:05
SuperJonotroneven when installing the snap as root and going to it's home directory, it still say command not found00:07
naccSuperJonotron: what ubuntu are you on?00:08
SuperJonotron16.0400:08
naccSuperJonotron: echo $PATH as root?00:08
naccSuperJonotron: is /snap/bin there?00:08
SuperJonotronit is not00:10
SuperJonotronso that's probably that problem00:10
SuperJonotronI do know the bash command that is requiring the root so if you know of any of those interfaces or an equivalent non-root of dmidecode i could make this snap happy00:11
naccSuperJonotron: so you could try running /snap/bin/<snap-name> as root00:11
SuperJonotronyup, that works but doesn't recognize dmidecode00:13
naccSuperJonotron: right, did you put dmidecode into the snap?00:14
naccSuperJonotron: just as quick check, do youhave /etc/profile.d/apps-bin-path.sh ?00:15
naccSuperJonotron: that's what i believe suffixes /snap/bin into $PATH for all users00:15
SuperJonotroni definitely didn't put dmidecode into the snap00:15
naccSuperJonotron: then your snap won't see it :)00:16
naccSuperJonotron: your snap only has what is in the snap00:16
SuperJonotronnot entirely sure wha that syntax would look like at the moment00:16
naccSuperJonotron: e.g., you'd put stage-packages: dmidecode00:16
nacchttp://snapcraft.io/docs/build-snaps/syntax00:16
naccSuperJonotron: for a dmidecode part00:16
naccSuperJonotron: you basically can't rely on anything in the host system being present in your snap (well, you can in some cases, but for clarity it's probably best not to)00:17
SuperJonotronyes, i do have that file00:17
SuperJonotronyeah, i've looked through the docs quite a bit00:17
SuperJonotroni just meant i don't know how to get dmidecode defined in the yaml immediately00:18
SuperJonotronI can start breaking things until i get it right00:18
naccSuperJonotron: ok, not sure why root wouldn't pick that up -- you did `sudo -s -H` to switch to root?00:19
SuperJonotronyup00:19
naccstrange00:20
nacclet's leave it for now, separate issue :)00:20
naccSuperJonotron: right, so you'd need to ensure that your yaml specifies dmidecode (and i guess any other dependencies you might have) are in the snap00:20
SuperJonotronswitched to root, then did /snap/bin/<snapname> and can't pick up the dmidecode00:20
SuperJonotronyeah, that's the last one, just added it00:20
SuperJonotroneverything else works fine00:20
naccSuperJonotron: cool, I expect that shoudl work once it's built00:21
SuperJonotroni meant added it to the app, not the yaml00:21
naccSuperJonotron: sorry?00:21
naccSuperJonotron: can you pastebin your yaml?00:21
SuperJonotronadded the dependency within the app, still haven't figured out how to include it in the yaml so it would exist in the snap00:21
SuperJonotronany thoughts on including that package into snappy?00:25
naccSuperJonotron: sorry, i asked you to pastebin your yaml?00:25
naccSuperJonotron: can't really help in the abstract :)00:25
SuperJonotronmissed that, one sec00:25
SuperJonotronname: mysnap version: 1.0 summary: A snappy implementation description:   Runs my snap confinement: devmode  apps:   niagara:     command: bin/start.sh  parts:   niagara:     plugin: copy     files:       appdata: app/       start.sh: bin/00:27
naccSuperJonotron: no00:27
naccSuperJonotron: pastebin00:27
naccSuperJonotron: paste.ubuntu.com, please00:28
SuperJonotroni've never used that before i pasted it in, now paste it back here?00:29
naccSuperJonotron: ah sorry, it should provide a URL00:30
naccSuperJonotron: paste that URL here00:30
naccyou can also do `cat snapcraft.yaml | pastebinit` if you have pastebinit installed00:30
SuperJonotronhttp://paste.ubuntu.com/23286932/00:31
naccSuperJonotron: just as an fyi, i think 'application' should be 'application:' (it might just work as-is, but is non-standard)00:32
naccSuperJonotron: ok, so add under files:00:32
SuperJonotroni modified it slightly to remove specifics of the application, the original has it00:32
naccSuperJonotron: stage-packages: dmidecode00:32
naccat the same level of indentation as files:00:32
naccSuperJonotron: ah ok00:32
SuperJonotronso like this? http://paste.ubuntu.com/23286946/00:34
naccSuperJonotron: it might be a list, so maybe [dmidecode], or00:35
naccstage-packages:00:35
nacc  - dmidecode00:35
SuperJonotronit was the second one00:36
SuperJonotronrebuilding now to test00:36
naccSuperJonotron: so what that will do, is ensure that the ubuntu package 'dmidecode' is installed for that 'part'00:36
naccSuperJonotron: so it will now be part of your final snap00:36
SuperJonotronran as sudo /snap/bin/<snapname>00:39
SuperJonotrondmidecode: command not found still00:39
naccSuperJonotron: did you install it again?00:39
SuperJonotronyup00:40
SuperJonotronjust did it again to make sure00:40
SuperJonotronsame results00:41
naccSuperJonotron: can you pastebin `unsquashfs -l <app.snap>` ?00:41
naccSuperJonotron: how are you invoking dmidecode? (absolute path versus just cmd name?)00:41
SuperJonotronjust command name00:42
naccSuperJonotron: ok00:42
SuperJonotronwhat was app.snap in reference to00:42
naccSuperJonotron: when you build a snap, a .snap file is created00:42
SuperJonotroni get a Read on filesystem failed because is a directory when i just put the app name00:42
SuperJonotronyup00:42
naccgive unsquashfs -l the path to that .snap file00:42
SuperJonotronit just goes to a blank terminal line '>'00:44
naccSuperJonotron: unsquashfs -l /path/to/app.snap ?00:44
SuperJonotronyup00:45
naccSuperJonotron: can you c&p the exact command you are running00:45
SuperJonotronjust typed it again in case it was a type-o, worked that time00:45
naccSuperJonotron: ok00:45
naccSuperJonotron: and can you pastebin the current yaml file too00:46
SuperJonotronyeah, i can see the dmidecode pieces in there which i'm sure is what you wanted to see00:46
naccSuperJonotron: well, i want to see the path, etc00:46
SuperJonotronhttp://paste.ubuntu.com/23286972/00:47
naccSuperJonotron: can you update your script to call /usr/sbin/dmidecode? (Or ensure that /usr/sbin is in PATH)00:47
SuperJonotronyeah, i'll have to rebuild the application before i can rebuild the snap so it'll take a few min00:48
naccSuperJonotron: ok00:49
SuperJonotronno luck, sudo: /usr/sbin/dmidecode: command not found00:55
naccSuperJonotron: wait, you're runing under sudo still?00:56
naccSuperJonotron: please run *as* root, just to be sure00:56
naccSuperJonotron: i probably have to go soon, getting late here, just fyi00:56
SuperJonotroni can't switch to root with su00:57
SuperJonotrondon't have root password00:57
naccSuperJonotron: sudo -s -H00:57
naccSuperJonotron: as i said earlier00:57
SuperJonotronsorry, long day here as well, switching between too many things00:58
naccSuperJonotron: np :)00:58
SuperJonotronswitched to root with sudo -s -H00:58
naccSuperJonotron: ok and now run /snap/bin/<app>00:59
SuperJonotrondid, same error00:59
naccSuperJonotron: can you pastebin it?00:59
SuperJonotronh/o, i still had sudo in the bash script calling that00:59
SuperJonotronlet's see if rebuilding without fixes01:00
SuperJonotronif this does at least allow it to run, any thoughts on fixing this for non root user?01:01
naccSuperJonotron: not off the top of my head probably better to ask during the day US time01:02
SuperJonotroncan do01:02
SuperJonotronno luck01:03
naccSuperJonotron: can you pastebin the exact output?01:03
SuperJonotronthe whole output won't mean anything to you since it's just the applictions startup output01:03
naccSuperJonotron: the error line01:04
SuperJonotronit just prints this out: sh: 1: /usr/sbin/dmidecode: not found01:04
naccSuperJonotron: so there are ways to add a shell option to your snap01:07
nacchttps://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1615163 e.g.01:07
mupBug #1615163: shell boilerplate could be automatically added when building in devmode <snapcraft (Ubuntu):New> <https://launchpad.net/bugs/1615163>01:08
naccSuperJonotron: and then you can run <app>.shell01:08
naccwhich will put in bash running in the env of your snap01:08
naccyou could see from there if you can run the commands you expect01:08
SuperJonotroni'll bookmark that to continue testing tomorrow01:08
SuperJonotronthanks for the help01:08
naccSuperJonotron: i'll be around again then to help01:09
SuperJonotronawesome, thanks again01:09
=== JanC is now known as Guest21552
=== JanC_ is now known as JanC
=== cpaelzer_ is now known as cpaelzer
mupPR snapd#2113 opened: Add i2c builtin interface <Created by bergotorino> <https://github.com/snapcore/snapd/pull/2113>06:03
dholbachgood morning06:14
didrockshey dholbach06:18
dholbachsalut didrocks06:19
dholbachsvij, taskwarrior can be removed from https://github.com/ubuntu/snappy-playpen/wiki/SandPit - right?07:28
svijdholbach: yes07:28
dholbachgreat, doing that now07:28
mupPR snapd#2114 opened: tests: add readme about spread's external backend <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2114>08:41
trijntjeHi all, I want to snap https://github.com/broadinstitute/wdltool09:18
trijntjeshould I build it myself, or is there a way to tell snapcraft to pull the release .jar from github directly? https://github.com/broadinstitute/wdltool/releases09:19
trijntjeI don't have any experience with building .jar files myself09:19
mupPR snapcraft#859 opened: Set GOBIN in go plugin build environment <Created by tasdomas> <https://github.com/snapcore/snapcraft/pull/859>10:00
johnogra_: o/10:04
johnum10:04
=== john is now known as Chipaca
ogra_heh10:04
Chipacaogra_: you know a lot more sh than I. Is there a way to make /bin/sh behave wrt signals?10:05
ogra_one sec10:05
Chipacaogra_: case in point: a script runs a; b, you sigint, a exits on the signal, sh still runs b10:05
Chipacabash behaves properly and will exit if a doesn't catch (or catches and reraises) the signal10:06
ogra_Chipaca, http://paste.ubuntu.com/23288279/10:06
ogra_use trap ...10:07
Chipacathat seems to be the opposite of what I want10:08
Chipaca:-)10:08
stubAnyone know if there is a way to set environment variables when invoking qmake? qmake FOO=bar doesn't seem to work, and I don't know the tool.10:08
ogra_trap b INT10:08
Chipacaogra_: maybe I'm stating my problem wrong. Give me a while and I'll show you a testcase.10:09
ogra_(a should just exit anyway, then the trap runs b on INT)10:09
stubOr maybe this qmake project is just broken :-(10:11
ogra_stub, try prefixing qmake with the var instead ?10:12
stubyer, but I can't do that with the qmake plugin so am working around it with a custom plugin10:13
* ogra_ would just use the make plugin and call qmake from the build target with all env needed10:14
stubI'm trying to ween myself off from that approach :D10:14
ogra_heh10:14
stubAlthough I am slightly tempted with a bash plugin, that lets you embed a shell script in the yaml.10:15
cjwatsonChipaca: WFM10:16
cjwatson$ sh -c 'sleep 5; echo a'10:16
cjwatson^C10:16
cjwatson$10:16
Chipacayeah. test case coming soon.10:16
ogra_stub, i think there are a few PRs on github with that approach10:16
cjwatsonChipaca: my theory is you have process A in a different process group for some reason (or is it session?  I can never remember)10:17
stubI could write a part that generates a snapcraft.yaml and calls snapcraft on it10:17
cjwatsonwhatever terminal signals are delivered to the whole of10:17
* cjwatson waves hand vaguely at the copy of Stevens somewhere behind him10:17
Chipacacjwatson: ogra_: so, given the following go program (could be in C, but I had the go one closer to hand): http://pastebin.ubuntu.com/23288428/10:23
Chipacacjwatson: ogra_: and http://pastebin.ubuntu.com/23288429/10:23
Chipacacjwatson: ogra_ there are four modes, with different behaviour10:23
Chipacabash does the right thing as I understand it10:23
Chipacash does not10:23
Chipacasave 'em as /tmp/q.go and /tmp/q.sh & give it a try10:23
Chipacathe idea is, run q.sh, hit ^C when it prints the first text, observe10:26
cjwatsonwhich particular arg demonstrates the difference?10:26
Chipacacjwatson: with both catch and ignore, where the script should continue, it exits instead10:28
ogra_why would the script continue at all your ^C goes to the shell10:32
cjwatsonI think this is often what people want for scripts, in order that they can ctrl-c something they're running interactively and not have to repeatedly hammer ctrl-c to get the whole script to exit10:32
cjwatsonbash happens to ignore SIGINT itself for reasons I haven't unpicked10:33
ogra_oh10:33
ogra_i wasnt aware of that !10:33
Chipacathis is about WIFSIGNALED and WTERMSIG10:33
cjwatsonbut you can either do 'set -m' in sh to turn on job control, which has the effect of making it have the behaviour you're asking for10:33
Chipacawhich it seems sh isn't looking at10:33
* ogra_ actually hasnt used #!/bin/bash in years 10:33
cjwatsonor probably do something with trap10:34
cjwatsonto get sh to ignore SIGINT10:34
Chipacaogra_: wrt why: imagine the process you launched changed the behaviour of ^C (e.g. because you launched emacs)10:34
ogra_whats emacs ?10:35
ogra_:P10:35
cjwatsonno, it has nothing to do with WIFSIGNALED/WTERMSIG; the terminal-generated signal is being delivered to *both* processes (the shell and the Go program) and it's a question of what the shell does with the SIGINT signal that it receives itself10:35
Chipacaogra_: an embedded operating system for 128-bit arm boards10:35
ogra_and i thought a backend for organist :)10:35
ogra_*organists10:35
Chipacacjwatson: but bash isn't ignoring the ^C, it's correctly stopping the script if the process dies from the signal10:36
Chipacacjwatson: i.e. in the other two cases10:36
Chipacain any case, as you say "set -m" makes sh do the (imho) right thing wrt this10:37
Chipacacjwatson: thanks!10:38
cjwatsonChipaca: I misspoke when I said "ignore"; bash installs a custom handler for SIGINT, I haven't quite unpicked exactly what it does10:42
cjwatsonit's nevertheless true that the signal is delivered to the whole foreground process group10:43
cjwatsonI'd suggest playing with things under "strace -I4 -f" to see more detail of what's going on10:44
Chipacacjwatson: doesn't sh also have a handler, to wait until after the running command finishes to exit?10:44
Chipacacjwatson: ok :-)10:44
cjwatsonyeah, I guess it has slightly different semantics.  I suspect this is not well-specified: the closest I can find so far is http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_1110:46
cjwatsonthe relevant effect of set -m here is that the subprocess gets run in its own process group10:47
cjwatsonjob control is really mainly for interactive shells though; I don't recall whether there's weird behaviour from trying to use it in scripts10:48
cjwatsonyou'll probably get some spurious output at least10:48
ogra_hmm, i there anything special i need to do to make ubuntu-image use core instead of ubuntu-core ?10:49
Chipacaok. Once I pop this out of academic-ish and back in to "why does systemd-activate not exit when I ^C if I'm running it via ssh" we'll see10:49
Chipacait's been fun digging into this anyway10:49
ogra_i installed snapd and snap-confine from proposed and use the ubuntu-image trunk tree to build10:50
Chipacacjwatson: i got here via https://www.cons.org/cracauer/sigint.html fwiw10:50
Chipacaogra_: ubuntu-image ships its own snap10:50
Chipacaogra_: snap-the-binary10:50
Chipacaogra_: I suspect you're using an old ubuntu-image10:50
ogra_hrm, so how do i build rom trunk now10:50
ogra_*from10:51
trijntjeHi all, I'm trying to make a snap by downloading a .jar directly, what plugin should I use? I tried 'copy' but i get a "no handler to manage source" error10:51
ogra_Chipaca, i dont, i directly run out of trunk to get the very latest10:51
Chipacaogra_: how does trunk compare to the edge snap?10:51
ogra_not sure10:51
Chipacaogra_: me neither10:52
ogra_mvo didnt leave any docs, i thought using the proposed packages and latet trunk would suffice10:52
Chipacaand I'm not about to ask mvo after the week he's just had10:52
ogra_*latest10:52
ogra_yeah10:52
ogra_same10:52
cjwatsonChipaca: looks like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683671 too10:52
Chipacaogra_: when you say trunk, where're you getting it from?10:52
ogra_github upstream trunk10:53
Chipacacjwatson: heh10:53
ogra_the same thing that barry uploaded to the archive yesterday10:53
Chipacaogra_: and what snap is that using?10:54
cjwatsonChipaca: of course there's also the underlying bug that your test shell script isn't using set -e ;-)10:54
ogra_Chipaca, whatever is on the host indeed10:54
Chipacacjwatson: sssh :-D10:54
Chipacaogra_: so your snap is probably pre-core10:55
ogra_well, i hopees that one was in proposed10:55
ogra_*hopd10:55
Chipacaogra_: pre-core is like deathcore but with simpler chords?10:55
ogra_sigh10:55
ogra_this kbd didnt survive 1,5 years !10:55
ogra_half the keys dont work10:55
Chipacaogra_: no, we've not started the SRU dance of the FF'ed snap yet10:56
cjwatsonChipaca: sigint.html is interesting, thanks10:56
ogra_Chipaca, well, given that yakkety is alreeady frozen i'd have expected that all needed bit are in there by now10:56
ogra_and likewisse in proposed in xenial10:56
Chipacaogra_: i don't know10:57
Chipaca(literally)10:57
ogra_(else you wont be able to build images in yakkety)10:57
Chipacaogra_: that is: I don't know if the last SRU was cut with the core change or not10:57
ogra_yeah10:57
Chipacaogra_: it's been crazy :-)10:57
Chipacayakkety is overrated :-p10:57
ogra_well, devs use it i guess10:58
ogra_(i dont though ... admittedly :P )10:58
ogra_the prob is that mvo actually patches the ubuntu-image snap ... but not with all patches i fear10:59
Chipacathis is the first cycle since 2008 that i haven't switched at or before the alphas, i think10:59
Chipaca(because our focus was on 16.04)10:59
ogra_iirc his version still builds 4GB images or everything10:59
ogra_*for10:59
Chipacaogra_: if it's any help, afaik barry also can upload the snap11:00
ogra_well, he wont know either which patches are used and which arent11:00
ogra_the wondeful world of binary only packages :P11:00
* ogra_ tries to find a new kbd in the house ... half the char of my password dont work ... igh11:02
trijntjeHow can I create a snap using an existing jar file? I keep getting "no handler to manage source"11:10
Chipacatrijntje: have you read up on the java parts?11:20
Chipacatrijntje: http://snapcraft.io/docs/build-snaps/parts#snapcraft-for-java-maven-or-ant seems to have some info11:21
Chipacaif that's not enough, hang around for a while and somebody who knows snapcraft and/or java might be able to help11:22
trijntjeChipaca: I don't want to build the .jar myself, I just want to download the .jar and put it in the snap. The project I want to use requires sbt11:23
Chipacatrijntje: I think there's a "copy" plugin, maybe that works?11:24
trijntjeChipaca: when I tried that it said it had been replaced by 'dump', but I can't get dump to do anything at all11:26
trijntjePreparing to pull wdltool11:26
trijntjePulling wdltool11:26
trijntjeno handler to manage source11:26
trijntjeand the examples are not help either https://github.com/ubuntu/snappy-playpen/search?utf8=%E2%9C%93&q=dump11:27
Chipacatrijntje: and "snapcraft help dump" doesn't help?11:27
trijntjenope. I can't even find where the it supposedly pulled the .jar to11:28
Chipacatrijntje: the good news is, we're needing people new to snapcraft to find these issues11:29
Chipacatrijntje: the bad news is it's a little bit early for the people who could help you11:30
trijntjeits just frustrating that there are no simple examples that make clear how that plugin works11:30
trijntjelike this: https://github.com/ubuntu/snappy-playpen/blob/af7154cc9cac61d55b17c4aa9517c4d7c003a1a0/jtiledownloader/snapcraft.yaml From this, I guess dump automatically unzips stuf as well?11:31
=== hikiko is now known as hikiko|ln
Chipacatrijntje: i wouldn't know :-)11:34
trijntjeChipaca: yeah, me neither ;) Do you happen to know the best time to get help here?11:35
Chipacatrijntje: usually I'd say starting about now (or in half an hour tops), but it's been a crazy week so people might be taking it slower today11:36
ogra_hrm, so i have an image building now ... but that seems to hav cloud-init enabled and not configured11:43
ogra_(which means the boot takes about 5min with spilling cloud-init errors to the console)11:44
ogra_sigh11:45
Chipacaaugh11:45
trijntjeChipaca: thats good to know, thanks. I'll hang around for a bit ;)11:45
ogra_i really dontz know what mvo did here :/11:46
ogra_ * live-build/ubuntu-core/hooks/22-disable-cloud-init.chroot:11:47
ogra_    - removed, the gadget.yaml now contains an "cloud.conf" file11:47
ogra_      that will create a /etc/cloud/cloud.cfg or a "cloud-init.disabled"11:47
ogra_      file (if coud.conf is missing)11:47
ogra_oh man11:47
ogra_would be helpful if he actually had published that gadget.yaml anywhere to the world11:48
ogra_(and also ... this broke all dailies ... )11:48
ogra_Chipaca, do you by chance happen to know if he publisshed that gadget somewhere ... seems to have been sideloaded into the image he published11:52
ogra_(there is nothing in the store nor in the gadget upstream tree)11:53
Chipacaogra_: the pc gadget in the store should be like that11:53
ogra_it definitely isnt11:53
* Chipaca looks11:53
ogra_ha not been changed since 4 weeks11:53
ogra_*ha11:53
ogra_*h a s11:53
* ogra_ curses this kdb ... thats the last expensive one i ever bought !11:54
Chipacaogra_: sorry, i don't follow11:55
ogra_Chipaca, the gadget in the store has not been changed in 4 weeks11:55
Chipacaogra_: the test suite creates an image using the gadget from the store11:55
ogra_(ignore my rasmbling about my broken kbd)11:55
Chipacaogra_: the resulting image disables cloud-init because it doesn't have a cloud.cfg11:56
ogra_Chipaca, well, that might be ... but the pc gadget in the tore doent have any magic for cloud init11:56
Chipacaogra_: correct, the lack of magic means no cloud-init11:56
ogra_no11:56
Chipacathat's what you just pasted from that changelog11:56
ogra_th magic *disables* cloud-init11:56
Chipacathe thing you just pasted says "if no cloud.cfg, disable cloud-init"11:57
ogra_the gadget in the store doent have *any* cluld handling11:57
ogra_ince it is to old11:57
Chipacawhich means cloud-init gets disabled as wanted11:57
Chipaca:-)11:57
ogra_well, it doent11:57
Chipacahah11:57
ogra_doe that come from an ubuntu-mage ack ?11:58
ogra_ARGH11:58
Chipacaogra_: is this still with ubuntu-image master?11:58
ogra_does that come from an ubuntu-image hack that waa not publihed ?11:58
ogra_yeh11:58
ogra_i built a local nap from mater now11:58
ogra_oh man11:58
oparozHello, is `$ snap-compose` on the roadmap?12:00
* ogra_ wonders where these chars go when they are missing :P12:00
oparozor should we install other snaps from the snap we install?12:01
oparoz(if that's even possible)12:01
ogra_technically it is, via the snapd-control interface i think12:02
ogra_but thats no auto-connect one12:02
Chipacawhat is snap-compose?12:03
oparozdocker-compose12:04
oparozas an analogy12:04
Chipacawhat is docker-compose?12:04
oparozFor a pre-configured setup based on snaps12:04
Chipacaoparoz: is the setup at the gadget level, ie you want a system with a bunch of snaps, or at the snap leve, ie you want a snap with a bunch of building blocks?12:05
oparozI'd like to make some snaps more flexible, so instead of shipping the database, per example, I'd like to be able to create a config file which comes with one option, but if you want another one, you modify the config file to load the other one and then re-launch the "bundle"12:06
oparozChipaca, because tight coupling doesn't always make sense for server apps12:06
Chipacaogra_: ubuntu-image fails with an error from mkfs.ext4 for me12:07
Chipacaogra_: the one from master, that is12:07
ogra_Chipaca, you need the foundations ppa12:08
Chipacaoparoz: i'm probably too obtuse right now. Are you assuming you can make snaps explicitly depend on each other? Or do you want to have, say, a blog engine that talks to either postgres or mysql?12:09
ogra_sudo add-apt-repository ppa:canonical-foundations/ubuntu-image12:09
oparozChipaca, the latter12:09
ogra_and add "- lib" and e2fslibs to snapcraft.yaml12:09
Chipacaoparoz: and what's stopping you from doing that today?12:10
ogra_i'm sure mvo has a good bunch of local patches for his snap12:10
ogra_sadly not in his github branch12:10
oparozChipaca, nothing is stopping me, but then I have to install every single snap and connect them12:10
Chipacaoparoz: (i'm still trying to understand the problem you're having, hence all these questions, sorry)12:10
Chipacaoparoz: so you want something to orchestrate your snaps?12:11
oparozChipaca, exactly12:11
Chipacaah!12:11
oparoz:)12:11
oparozSorry12:11
Chipacaoparoz: some people were looking into that, but there's nothing promised yet afaik12:12
oparozChipaca, OK, that's what I wanted to know. Thank you12:12
ogra_ogra@localhost:~$ ls /snap/pc/current/meta/12:14
ogra_gadget.yaml  icon.png  snap.yaml12:14
ogra_so there is no cloud.conf in the released image in the gadget12:15
=== hikiko|ln is now known as hikiko
ogra_it is definitely the 4 weeks old one from the store ... so there must be some ubuntu-image bit missing12:16
Chipacaogra_: I'm sorry, i'm still missing something12:18
ogra_error ?12:18
Chipacaogra_: your problem is that the generated image runs cloud-init?12:18
ogra_Chipaca, yes ... and there must be code somewhere that disables it for mvo's12:19
ogra_ogra@localhost:~$ ls /etc/cloud/12:19
ogra_cloud-init.disabled12:19
ogra_i.e. something that puts this file in place12:19
ogra_it is definitely not the gadget though12:19
ogra_(like the commit above suggested)12:19
ogra_so there must be some ubuntu-image patch he didnt commit anywhere12:20
Chipacaogra_: or maybe, maybe, the patch is in cloud-init12:21
ogra_unlikely ... then that would be in the archive or in the PPA12:21
Chipacawait12:22
Chipacait's in snap12:22
Chipacaogra_: it's in snap12:22
ogra_i think i found it °12:22
ogra_https://github.com/CanonicalLtd/ubuntu-image/pull/6912:22
mupPR CanonicalLtd/ubuntu-image#69: include etc/ as well <Created by mvo5> <https://github.com/CanonicalLtd/ubuntu-image/pull/69>12:22
ogra_oh man ...12:22
ogra_simply not merged12:22
Chipacaogra_: ogra_ https://github.com/snapcore/snapd/blob/master/image/image.go#L22212:23
Chipacaogra_: build snap from snapd master12:23
Chipacaogra_: put it somewhere in your path12:23
ogra_snapcraft does that12:23
ogra_when rolling the snap12:23
Chipacaah, ok12:23
ogra_the missing merge is the issue, i'm sure12:23
Chipacaok fair enough12:24
Chipacai'm going to go now have lunch12:24
Chipacao/12:24
ogra_enjoy12:24
jgdxmy snap is published to the edge channel, but it can't be found using snap install --channel=edge. Can be found using the beta channel, though.12:34
jgdxdisregard, may have been pebkag12:35
ogra_Chipaca, hmm, still not enough ... for some reason the ect dir isnt even created12:38
Chipacaogra_: sorry, i can't quite hear what you're saying over the delicious lunch12:39
ogra_i didnt mean to distract you from it (i was assuming you are afk :P )12:39
ChipacaI am!12:39
Chipacai'm probably doing it wrong tho12:39
ogra_with very long arms ?12:39
Chipacawell, it's said my ancestors were good swimmers12:40
Chipacaso maybe? i'm not sure how it works12:41
ogra_heh12:41
ogra_well, i see all the snapd cloud code in my ubuntu-image tree and i have hacked the etc copying in ... but i dont end up with an etc dir at all in the image build when i keep the fragments around12:42
ogra_oh, wait ... i *do* see it12:43
ogra_ogra@anubis:~/datengrab/images/snappy$ ls workdir/unpack/image/etc/cloud/12:43
ogra_cloud-init.disabled12:43
ogra_ogra@anubis:~/datengrab/images/snappy$12:43
ogra_yet, the image i built still fires up cloud-init12:43
* ogra_ goes for a break12:47
rvrhttps://bugs.launchpad.net/snappy/+bug/163135712:54
mupBug #1631357: Can run multiple configure processes in different terminals <Snappy:New> <https://launchpad.net/bugs/1631357>12:54
rvrHi guys. I am trying to configure wifi, but nothing happens when I press Enter in "Use DHCPv4 on this interface". Any tip?12:56
mupBug #1631357 opened: Can run multiple configure processes in different terminals <Snappy:New> <https://launchpad.net/bugs/1631357>12:57
mupPR snapd#2115 opened: tests: only stop a service if it is running or ok (eg. active (exited)) <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2115>13:54
kgunnogra_: yo, do you know if the new dragonboard image will be ready today?14:10
kgunnre "Ubuntu Core 16 Feature Freeze" mail14:10
davmor2rvr: ^14:10
ogra_kgunn, if i ever find out which patches mvo used locally to create the images ...14:10
ogra_sadly i cant build them atm14:10
kgunndoh14:11
ogra_and mvo is off today14:11
rvrdavmor2: ?14:11
kgunnnw, will camp out on the beta image a bit more14:11
davmor2rvr: there is a new image to come so that might help but pick on ogra_ now he is back, it'll all be his fault anyway ;)14:11
ogra_there is nothing to pick on me14:12
rvrdavmor2: Ah, thanks14:12
ogra_i cant do much until i know what mvo did to make sure cloud-init stays turned off14:12
* davmor2 hands rvr a pick and points ogra_ 14:12
rvrogra_: Do you publish them directly on http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/ ?14:13
ogra_no14:13
ogra_i will only do dailies14:13
ogra_(which are broken as well now)14:13
rvrogra_: What exactly is broken?14:14
rvrI installed the current one14:14
ogra_ubuntu-image from master or the snap doesnt create them correctly14:14
ogra_there are bits missing14:14
ogra_mvo seems to have used some local patches that i cant find anywhere in the trees14:14
ogra_so they try to fire up cloud-init on boot and fail14:15
rvrI see14:15
ogra_(theoretically snap prepare-image (internal command that ubuntu-image uses) should disable cloud-init by default, but the files are not copied into the image that care forthis14:16
ogra_)14:16
=== jgrimm is now known as jgrimm-out
ralsinasergiusens: I just changed the error message a couple of minutes ago, but your review comments sometimes have no 'reply' button :-P14:30
sergiusensralsina oh, that's fine, just looking at the latest diff and in theory my comment should go away if there was a change :-)14:31
ralsinasergiusens: well,they didn't for some reason. GH reviews are just weird.14:32
ralsinasergiusens: 1st GH feature I like better on launchpad, to be honest.14:32
sergiusensralsina all review systems have their quircks indeed14:32
sergiusensralsina I bet it is just a bug in their "one submit with all comments" new feature14:33
oSoMoNdidrocks, for your reviewing pleasure: https://github.com/ubuntu/snapcraft-desktop-helpers/pull/1214:36
mupPR ubuntu/snapcraft-desktop-helpers#12: Install all available locales and ensure that apps can locate them <Created by oSoMoN> <https://github.com/ubuntu/snapcraft-desktop-helpers/pull/12>14:36
pedronisogra_: as far I understood mvo had to teach ubuntu-image to copy /etc bits and not just /var from what prepare-image produces, but not sure where that patch lives14:37
ogra_pedronis, yeah, thats the patch i added ... didnt help14:37
pedronisok14:37
pedronisthen not sure at all14:37
ogra_i see /ect in the workdir if i build with "-w workdir"14:38
pedronisdidn't hear of anything else14:38
ogra_but it doesnt get copied even with the patch14:38
ogra_https://github.com/CanonicalLtd/ubuntu-image/pull/69 is the one14:38
mupPR CanonicalLtd/ubuntu-image#69: include etc/ as well <Created by mvo5> <https://github.com/CanonicalLtd/ubuntu-image/pull/69>14:38
didrocksoSoMoN: already in! :-)14:39
didrocksthanks ;)14:39
ogra_i use this ammd the snap i rolled definitely also has the latest snapd from master (so it does the cloud handling)14:39
oSoMoNdidrocks, wow, that was fast, thanks!14:39
didrocksoSoMoN: service! :-)14:39
ppisatiogra_: you don't do any modification to initrd.img these days, don't you? i just tried to build an rpi3 image using a custom kernel snap, but it fails in some obscure way in initrd.img14:39
ogra_<ogra_> ogra@anubis:~/datengrab/images/snappy$ ls workdir/unpack/image/etc/cloud/14:39
ogra_<ogra_> cloud-init.disabled14:39
ogra_<ogra_> ogra@anubis:~/datengrab/images/snappy$14:39
ppisatiogra_: i alread tried the beta and edge channel FWIW14:39
ogra_and it even creates everything ...14:39
ppisatiogra_: http://pastebin.ubuntu.com/23289082/14:39
ogra_ppisati, /bin/date: invalid date 'n/a'14:40
ogra_thats the issue ...14:40
ogra_there was a ga where the wrong initramfs-tools was added to ubuntu-core for a few hours ... but during that time no ubuntu-core should have been built14:41
ogra_weird that you get the broken initrd14:41
zygamorphis__: I could use some testing and review on https://github.com/snapcore/snap-confine/pull/16814:42
mupPR snap-confine#168: Rework mount namespace support <Created by zyga> <https://github.com/snapcore/snap-confine/pull/168>14:42
zygajdstrand: ^^14:42
* zyga lseep14:42
zygasleep14:42
morphis__ssweeny: ^^ can you look into that?14:42
morphis__zyga: I am out full next week but ssweeny will have a look14:42
pedronisogra_: did you see this:  https://github.com/CanonicalLtd/ubuntu-image/pull/69  that's all I see there14:43
mupPR CanonicalLtd/ubuntu-image#69: include etc/ as well <Created by mvo5> <https://github.com/CanonicalLtd/ubuntu-image/pull/69>14:43
ssweenymorphis: sure14:43
zygamorphis__: I'm out next week but I'll get it done tomorrow14:43
zygamorphis__: gustavo helped me find an easy way to test this14:43
ogra_pedronis, yes,, see above ... my ubuntu-image snap has that14:43
zygamorphis__: so just first thing tomorrow, now time to sleep14:43
pedronisogra_: ok, definitely need mvo at this point14:44
morphis__zyga: great!14:44
* zyga -> sleep14:47
ogra_it obviously creates the /etc/cloud dir14:48
ogra_just doesnt copy the content14:48
ogra_aha, i thik i found the issue ... the patch is wrong14:55
ogra_shutil.move(os.path.join(src, 'etc'), os.path.join(dst, 'etc')) should be shutil.move(os.path.join(src, 'etc'), os.path.join(dst, 'etc'), copy_function=copytree)14:56
ogra_(i think)14:56
SuperJonotronwhen I try to copy data out of the SNAP(read only area) into the SNAP_DATA area from within the snaps start process, I am receiving a permission denied response14:56
SuperJonotrondoes a snap not have permissions to it's own file space?14:57
naccSuperJonotron: heya, were you able to get further today?14:57
ogra_SuperJonotron, SNAP_DATA is definitely writable, but usually lives in a space where only root can write14:58
naccSuperJonotron: right so there's SNAP_DATA and SNAP_USER_DATA14:58
ogra_what are you trying?14:58
SuperJonotronncc, for the time being, I removed the admin requirement for now14:58
naccSuperJonotron: ah ok :)14:58
SuperJonotronwill likely double back when time isn't as tight for this project14:58
naccSuperJonotron: makes sense :)14:58
* ogra_ sighs ... copytree didnt help 14:59
SuperJonotronso my application needs to load a license file, the application needs to have it in a specific folder that is unchangeable (confirmed with manufacturer)14:59
SuperJonotronthis means I have to essentially  move the entire app from the read only space to the SNAP_DATA space and run from there14:59
SuperJonotronso i need to move it during start14:59
mupBug #1631407 opened: ugly error when failed to sign because of wrong password <Snapcraft:New> <Snappy:New> <https://launchpad.net/bugs/1631407>15:00
SuperJonotronwas trying cp -R -n so it essentially only happens the first time a new version gets installed15:01
ogra_well, that will only work if you start it as root15:01
SuperJonotronand will likely eventually  move the license to the common space15:01
ogra_a normal user cant write to SNAP_DATA15:01
SuperJonotroncan you install data there via the yaml file initially to prevent needing to run as root?15:01
ogra_nope15:02
abeatojdstrand, hi, I have removed the seccomp calls you mention in the review, and now ofono gets killed when doing getsockopt(). Maybe the default template you mention only applies on tip of master branch?15:03
ogra_what you could do is create a daemon (service) ... that runs some script15:03
SuperJonotronogra, so if only a root can access SNAP_DATA, how does a snap application run not as root have any write access?15:03
ogra_and does the copying only if the license doesnt exist in the target15:03
ogra_and for a license you probably also want SNAP_COMMON15:04
ogra_SuperJonotron, user apps write to SNAP_USER_DATA15:04
ogra_thats not different to any normal linux ...15:04
ogra_as a user you wont be able to write to a sibdir in /var usually15:05
SuperJonotronI can move it to common only after I move the whole application because I can't create a link in the read only area but I do plan on figuring that out once I get the app in a writable area to do that15:05
ppisatiogra_: ok, by reusing the initrd.img from the pi2-kernel.snap, now i can make an image that boots fine15:05
ogra_well, write a small script that you declare as daemon in snapcraft,.yaml15:05
ppisatiogra_: actually i ripped that snap apart and replaced the different pieces15:06
SuperJonotronogra, so if i get the snap to run as a daemon, it will have access to SNAP_DATA then?15:06
ogra_have that script check if you need to copy something ... if so, copy it ...15:06
ogra_right15:06
ogra_ppisati, i fear mvo released an ubuntu-core that has the broken script15:07
SuperJonotronogra, thanks, i'll see what I can do to make my app a daemon15:07
ogra_SuperJonotron, no, dont ... just write a small shell script, dont make the whole app a daemon15:07
ogra_only for the copying15:07
abeatojdstrand, nm, my fault15:08
SuperJonotronthat's what I am doing now on the start command of the app, but your saying, break that out into a separate app within the yaml that is the setup portion versus the start of the app?15:08
SuperJonotronand that setup is a daemon?15:08
ogra_right15:08
naccSuperJonotron: yeah, i think so, and that part will run as daemon (root)15:08
naccand by part, snapcraft terminology would be 'app'15:09
SuperJonotronogra, i think i got it, i'll start on that and see if I can get it to work15:09
ogra_have a small script ... say "initialize.sh" ... make it a daemon and just check if SNAP_DATA is populated ... if it is, exit 0 ... if it isnt, copy $SNAP to $SNAP_DATA15:09
ogra_or to SNAP_COMMON15:10
SuperJonotronogra, that sounds like what I was going to do so I think i'm on the same page15:10
ogra_good :)15:10
ogra_oh !15:15
ogra_so for some reason the patched file doesnt end up in my ubuntu-image snap15:15
ogra_argh !15:17
* ogra_ curses setup.py15:17
jdstrandzyga: ack-- that'll have to wait til next week (working on snap declarations in review tools)15:23
ogra_ogra@anubis:~/datengrab/images/snappy$ ls workdir/root/system-data/etc/cloud/15:24
ogra_cloud-init.disabled15:24
ogra_\o/15:24
ogra_silly snapcraft !!!!15:25
ogra_pedronis, thanks for trying to help ... in the end the issue was in snapcraft,yaml of ubuntu-image ("source-type: git", even when you have set "source: ." still pulls from the remote branch and overwrites all local changes ... )15:27
mupPR snapcraft#857 closed: Document the grade option <Created by dholbach> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/857>15:33
* ogra_ dances and finally creates a set of working dailies again15:35
ogra_kgunn, in about 30min there should be a new daily that you can use15:36
SuperJonotronhttp://paste.ubuntu.com/23289279/15:36
SuperJonotronogra, added a second app as a daemon and I can run the original app by name but can't get the daemon to run, here is the part of the yaml it's defined in15:36
ogra_should be identical to the beta (just a little newer)15:37
SuperJonotronam i missing some simple command to make it run?15:37
ogra_SuperJonotron, what do you mean ? the daemon runs on snap install or on boot usually ... from a systemd unit snapcraft creates15:37
ogra_there should be nothing you need to do15:38
SuperJonotronah yes, it does do that, i knew i was forgetting something as I'd gotten a snappy daemon to work a while ago15:38
SuperJonotronogra, still ended up having to run the app as root since it needed write access to generate and save the license file15:43
kgunnvery cool15:43
ogra_SuperJonotron, oh, i thought you have the license and want to copy it15:47
ogra_you should then rather use SNAP_USER_DATA or SNAP_USER_COMMON15:47
ogra_cant you teach the app itself to read/write the license in one of these ?15:47
ogra_via config or so15:48
SuperJonotronI think I will end up doing one of those, thanks15:48
ogra_withouth even having to copy the world around15:48
SuperJonotronI discussed with the manufacturer of the application i'm "snappifying" and they don't expose that capability yet15:49
SuperJonotrondiscussed as a future release option15:49
ogra_ah, k15:50
SuperJonotronis SNAP_COMMON also root access only?15:51
ogra_yep15:51
SuperJonotrondamn, trying not to make the snap too user specific15:51
ogra_same thing as SNAP_DATA ... just one levelö up in the fs15:51
ogra_but there is SNAP_USER_COMMON15:51
SuperJonotroni'll have to use one of them, just not sure which yet15:52
naccSuperJonotron: http://snapcraft.io/docs/reference/env15:52
naccSuperJonotron: if you haven't seen it already15:52
SuperJonotronnacc, i have a similar doc up actually with a few more variables defined, just trying to figure out what's root and what's not and what I can get away with15:53
naccogra_: i wonder if that page should be updated to say not just "writable" but writable as whom?15:54
ogra_well, the window at the bottom shows the hypothetical target dirs15:54
naccogra_: ah that's true, and i guess you would know /var is not user-writable15:55
ogra_from that it should be rather clear where a user can write and where she cant15:55
naccogra_: it "should" be versus is .... i think clarity is better :)15:55
ogra_indeed15:55
naccimplicit vs. explicit, etc15:55
SuperJonotronfrom the developer page though, it is not https://developer.ubuntu.com/en/snappy/guides/security/15:55
stubThis application failed to start because it could not find or load the Qt platform plugin "xcb".15:57
stubThis is why I do backend.15:58
* stub looks for examples to cargo cult15:59
ogra_kgunn, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ has a freshly baked set of images (now using the "core" snap, not "ubuntu-core" anymore ... and all the other goodness the beta has)16:00
* ogra_ prefers to not do backend ... 16:01
ogra_i rather do weekend ;D16:01
SuperJonotronogra, just changed my daemon to copy from $SNAP to $SNAP_USER_COMMON but when I go to /home/user/snap/app, it's just the versions, no common folder exists.  Should the copy be moved back out of a daemon now that it's user specific?16:08
* ogra_ wonders why rvr attaches a wifi dongle to a dragonboard in bug 163135716:09
mupBug #1631357: Can run multiple configure processes in different terminals <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1631357>16:09
ogra_:P16:09
ogra_SuperJonotron, i think you need to mkdir ... iirc there was a bug16:09
rvrogra_: I was following some instructions16:10
ogra_heh16:10
rvrogra_: But I reproduced that without the dongle16:10
ogra_well, the dragonboard has onboard wifi ... no need for a dongle16:10
SuperJonotronogra, will do16:10
ogra_rvr, yeah, it is a subiquity (console-conf) bug ... it should put a flag file somewhere when an instance has been started or so ...16:11
ogra_rvr, some work for cyphermox or mwhudson16:11
rvrogra_: Ack16:12
dobeyany go hackers know how to force GODEBUG=cgocheck=0 from inside main() or in the source file, rather than having to set it in the env?16:30
oparoz_snapd has been broken for over a week now on ARM, should I open a bug to escalate this?17:10
ogra_oparoz_, ?17:27
ogra_works fine here17:27
ogra_ogra@pi3:~$ snap version17:27
ogra_snap    2.16+ppa36-117:27
ogra_snapd   2.16+ppa36-117:27
ogra_series  1617:27
ogra_ogra@pi3:~$ snap list ubuntu-core17:28
ogra_Name         Version  Rev  Developer  Notes17:28
ogra_ubuntu-core  16.04.1  838  canonical  -17:28
ogra_oparoz_, you should always file bugs if unsure though ... it isn hard to invalidate them ;)17:28
mupPR snapcraft#847 closed: Implementing channel-closing <Created by cprov> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/847>17:30
mupPR snapcraft#848 closed: `sign-build` to prompt users for key selection <Created by cprov> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/848>17:36
pmcgowanogra_, hey, where can I find the 2.17 release? the usual places not working for me17:38
pmcgowanthe only place I see new images is you page17:38
oparoz_ogra_, it's the bug we talked about, here, last week. snapd-confine is broken and the fixes need to be backported17:43
oparoz_ogra_, when people install a snap it doesn't start17:43
oparoz_one which fails per example is snapweb if you installed it this week17:44
oparoz_And ogra, you must be on edge or something to have such high release numbers :P17:44
mupPR snapcraft#858 closed: python plugin: allow usage of bzr <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/858>17:51
mupPR snapcraft#860 opened: In the downloader demo test, use https <Created by elopio> <https://github.com/snapcore/snapcraft/pull/860>18:00
pedronisogra_: not the place you would expect problems to come from, I see18:01
=== om26er is now known as om26er1
=== om26er1 is now known as om26er
ogra_oparoz_, yes, indeed i am ... but today edge is nearly equal to beta ... it will take a while til they diverge again18:07
sborovkovoparoz_: is not that bug classic only. everything is working on core? but idk for sure18:07
oparoz_sborovkov, could be that core is not affected18:07
ogra_pmcgowan, 2.17 ? what do you mean by that ?18:07
sborovkovoparoz_: at least if i am thinking about the same issue... go arm architecture stuff...18:08
oparoz_sborovkov, exactly that one18:08
sborovkovthankfully I had some image from few weeks ago.18:08
sborovkovafraid to ever upgrade again now...18:08
oparoz_ver 42 fixes the bug which is in version 38 I think18:08
oparoz_sborovkov, the other workaround is to install snap-confine from yakketi18:09
sborovkovoh alright. I tried xenial-proposed but that did not work18:09
oparoz_The problem is that people using snapweb to install snaps won't understand why nothing works...18:09
ogra_pmcgowan, i dont think there is any snapd 2.17 yet ... (in case you refer to snapd)18:10
pmcgowanogra_, ok maybe I am confused, jamie's last update refered to the release of 2.17 and images being on the server later that day19:06
cmarsis it possible to install snapcraft on 14.04, just to build snaps?19:11
mupPR snapcraft#861 opened: python plugin: install from wheel for local setup.py <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/861>19:30
=== leftyfb_ is now known as leftyfb
=== devil is now known as Guest53394
=== chihchun_afk is now known as chihchun
dobeyhow do i build and run snapd from in tree to test a change?20:09
=== svijee is now known as svij
=== xnox_ is now known as xnox
=== Michaela is now known as Mikaela
=== drizztbsd is now known as timothy
zygao/22:42
=== bdmurray_ is now known as bdmurray
SuperJonotronhaving an issue with installing a snap on 16.04 server that works on desktop version23:23
SuperJonotrondesktop accepts --force-dangerous and server doesn't recognize it23:23
SuperJonotronthat's the only difference in the two other than desktop vs server23:23
SuperJonotronsnap is run as root on both instances23:24
naccSuperJonotron: are they running the same version of snapd, etc?23:25
naccSuperJonotron: just wondering if one picked up an update and one didn't?23:25
SuperJonotronpossibly, how do you update snapd from snappy?23:26
naccSuperJonotron: these both sound like classic systems, so i meant `apt update; apt upgrade` on both23:26
SuperJonotronserver isn't classic, no apt-get23:27
SuperJonotrononly snappy23:27
naccSuperJonotron: ah, that i'm not sure then :)23:27
naccSuperJonotron: you might try --dangerous rather than --force-dangerous23:27
nacciirc, there was some disucssion about this23:27
SuperJonotronnacc, no go23:28
naccSuperJonotron: although i'm not sure how that plays into the core images23:29
naccSuperJonotron: sorry, out of my depth :/23:29
SuperJonotroni'm not even sure if lacking that flag is causing my issue23:29
SuperJonotroni just know thats the difference and one runs fine and the other runs with security issues so...23:29
SuperJonotronanybody familiar with the use of --force-dangerous during install and why it doesn't seem to be accepted on server edition?23:37
SuperJonotronwhat's the latest release of snap?23:46
SuperJonotronand/or snapd?23:46
SuperJonotronanybody know what the snappy equivalent to apt udpate is?23:52

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