/srv/irclogs.ubuntu.com/2017/03/21/#snappy.txt

mupBug #1674509 opened: unable to find bluetooth device on rp3 ubuntu core <Snappy:New> <https://launchpad.net/bugs/1674509>00:22
mwhudsonhaha console-conf shouldn't let you use a wifi password < 8 characters long01:23
=== Elleo_ is now known as Elleo
mupPR snapcraft#1202 opened: python plugin: support pbr/setup.cfg projects <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1202>03:56
RumpleSnap core has an old version of libstdc++, supporting only up to GLIBCXX_3.4.21 where as Ubuntu 16.10 provides GLIBCXX_3.4.2206:14
=== axino` is now known as axino
zygao/07:15
NicolinoCuralliniemeyer:what is the flow that it permit interface autoconnection by gadget plus model assertion? what about update flow for model assertion?08:19
=== chihchun_afk is now known as chihchun
mupBug #1674634 opened: After initial 'refresh', snapd doesn't work <Snappy:New> <https://launchpad.net/bugs/1674634>09:59
mupPR snapd#3054 closed: many: rename "snap-confine" to "snap-wrap" to workaround LP:1673247 <Created by mvo5> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/3054>10:16
niemeyerNicolino_: The model assertion must be updated together with the other assertions.. I don't think we're doing that today, but it's easy to fix11:41
niemeyerNicolino_: Looking through the code for flows with the snap-declaration should give a good picture11:42
niemeyerThis is also the assertion that allows auto connections in general11:42
mupPR snapd#3066 opened: asserts: remove some unused things <Created by emgee> <https://github.com/snapcore/snapd/pull/3066>12:02
mupPR snapcraft#1201 closed: demos: make ROS demos support exiting after success <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1201>12:47
mupPR snapcraft#1203 opened: Add some initial checks to intelligently build the initial snapcraft.yaml <Created by mhall119> <https://github.com/snapcore/snapcraft/pull/1203>12:47
mupPR snapd#3067 opened: tests: move docker test to new nightly suite <Created by zyga> <https://github.com/snapcore/snapd/pull/3067>13:12
mupPR snapd#3066 closed: asserts: remove some unused things <Created by emgee> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3066>13:40
mupPR snapd#3068 opened: boot: log error in KernelOrOsRebootRequired <Created by zyga> <https://github.com/snapcore/snapd/pull/3068>13:46
loolkyrofa: hey! around?14:33
loolkyrofa: sent you an email with details14:36
=== chihchun is now known as chihchun_afk
liuxgFor qt project, does anyone know how to set CONFIG in snapcraft.yaml? I do not want to change the original .pro file in the upstream. thanks15:17
=== chihchun_afk is now known as chihchun
kyrofaliuxg, just use the `options` param in the qmake plugin15:22
kyrofalool, I'm around now, I'll take a look at the email :)15:22
liuxgkyrofa, thanks. I am now trying ...15:24
=== joedborg_ is now known as joedborg
mupPR snapcraft#1161 closed: channels: Add track support to commands <Created by josepht> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1161>15:38
=== chihchun is now known as chihchun_afk
mupPR snapcraft#1197 closed: tests: increase the timeout in the shared ros test <Created by elopio> <Closed by elopio> <https://github.com/snapcore/snapcraft/pull/1197>16:11
jdstrandroadmr: hey, sorry, can you pull r850 at your convenience (not critical)16:23
roadmrjdstrand: sure!16:24
roadmrjdstrand: the pipeline is a bit clogged right now, may be a couple of days until I get this deployed, but do let me know if I should try to push it a bit16:24
jdstrandroadmr: that is totally fine, thanks16:29
zygaPharaoh_Atem: hey16:39
zygaPharaoh_Atem: morphis here will be looking after distributions, he's not going to be stolen for more upstream work like I was16:39
Pharaoh_Atemmorphis?16:39
zygaPharaoh_Atem: yes16:40
zygaPharaoh_Atem: I'll show him the tooling tomorrow16:40
zygaPharaoh_Atem: and we'll get started with the missing dependencies16:40
zygaPharaoh_Atem: I just wanted to introuduce you guys16:40
morphisPharaoh_Atem: hey :-)16:40
Pharaoh_Atemhello?16:40
kyrofaAh, Pharaoh_Atem you're in good hands16:40
kyrofamorphis, nice to have you on board16:41
Pharaoh_Atemam I?16:41
morphisPharaoh_Atem: I think we were sitting at the same table back in november talking about airlines other stuff in the late evening :-)16:41
mupBug #1668891 changed: Can install non classic snap with --classic, but classic flag isn't set <amd64> <apport-bug> <xenial> <snapd:Confirmed> <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1668891>16:41
morphiskyrofa: thanks!16:41
zygaPharaoh_Atem: btw, about those packages, no reply from gofed upstream, I think we should just hand-roll packages from copy-pasted gopkg.in examples in other places16:42
zygaPharaoh_Atem: replace names, hashes and stuff16:42
Pharaoh_Atemgo for it16:42
zygaPharaoh_Atem: we'll also do a build in COPR that has vendorized dependencies as a sanity check (if that thing works and main package doesn't it's the deps)16:42
zygaPharaoh_Atem: and we'll see what it would take to pass the unit tests on fedora16:42
Pharaoh_Atemwell, it currently doesn't build with vendorized stuff16:43
zygaPharaoh_Atem: then some look at CI (but not all tomorrow ;)16:43
Pharaoh_Atemit fails to link16:43
zygaPharaoh_Atem: right16:43
zygaPharaoh_Atem: but the COPR package could, just to see where we are16:43
zygaPharaoh_Atem: so sorry for the extremely long wait (and endless fires) but hopefully with the extra pair of hands we'll get it to work :-)16:45
Pharaoh_Atemmaybe16:45
morphisPharaoh_Atem, zyga: I am sure we will16:48
morphisneed some time to get started with this but we should get good results along the way :-)16:49
mupPR snapcraft#1204 opened: target-arch: decouple target arch from deb, and use a separate field … <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1204>16:53
Pharaoh_Atemmorphis: we're going to need to get you up to speed in Fedora-land16:55
morphisPharaoh_Atem: yeah, just registered my account and waiting for approval now16:57
morphisPharaoh_Atem: zyga will give me some more in depth introduction tomorrow and then we will get this going16:57
morphisthen I should have a better overview of what we need to do and how we can get this forward16:58
NicolinoCurallihi all is it possible set the log level for snapd?17:01
ogra_NicolinoCuralli, theer is a way to enable debug messages ... but i forgot the exact runes17:04
ogra_Chipaca, might know17:04
Chipacai know nuthin'17:04
ChipacaNicolinoCuralli— yes17:05
ogra_hah, lies!17:05
NicolinoCuralli:D17:05
ChipacaNicolinoCuralli— not particularly granular, except for http requests17:05
ChipacaNicolinoCuralli— what are you needing?17:05
ChipacaNicolinoCuralli— journalctl already has DEBUG logs in it; you can add HTTP debug logs via the SNAPD_DEBUG_HTTP environ17:07
Chipacait's a bitmask, because we're lazy like that. Set it to 7 for it to log everything except for the actual snap download content17:08
NicolinoCuralliperhaps i don't need to set the log level but understand if log of snapd are persistent and how much i/o can generate for a daemon that make network scan each 30 seconds17:08
NicolinoCuralliif the daemon run in devmode17:09
Chipacaah. ogra_ back to you :-D17:09
ogra_if anything runs in devmode, every execution will spill a löot of "ALLOWED" apparmor messages17:09
ogra_and there is no way to avoid that since the assumption is that devmode is only used during development and debugging17:10
* jdstrand notes that if you connect your interfaces in devmode, you can get rid of a lot of ALLOWED messages17:12
NicolinoCuralliogra_: yes i see it :D17:12
ogra_thats crazy talk ... who would connect interfaces in devmode :P17:12
mupPR snapd#2877 closed: interfaces: add chroot to base templates <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2877>17:12
ogra_(wow, i didnt knwo you could do that)17:13
jdstranddevmode logs violations against policy so if you don't connect your interfaces, there are a lot of policy violations :)17:13
jdstrandyou might be thinking of classic confinement-- you may not plugs/slots with classic confinement, but devmode you are meant to17:13
jdstrandthe idea is you have an access or two or 10 that are not in snapd yet, but you connect them and only those violations are ignored17:14
jdstrandas opposed to everything not in the default policy17:14
renatHi =) It's Renat from Screenly=)17:17
renatI have a new question for you=)17:17
ogra_and you always have the most interesting ones !17:18
ogra_:)17:18
renathttps://paste.ubuntu.com/24222873/17:19
renatWe' re trying to install our custom gadget snap from the store.17:19
=== genii_ is now known as genii
ogra_renat, that is during ubuntu-image ?17:19
renatNo. Image is created successfully17:20
ogra_(you cant install a custom gadget on an installed image afaik)17:20
renatIt's during the first boot.17:20
ogra_ah17:20
NicolinoCurallijdstrand: can you repeat your explanation?17:20
mupPR snapd#3069 opened: snapstate: restart as needed if we undid unlinking aka relinked core or kernel snap <Created by pedronis> <https://github.com/snapcore/snapd/pull/3069>17:21
renatSo, there is one more thing - snapd tries to mount it (as I can see from logs) and starts to use all the CPU17:21
renatOfficial pi3 gadget snap works fine.17:22
=== tinwood_ is now known as tinwood
ogra_renat, did you use your own model assertion as well ?17:22
ogra_afaik the signature needs to match17:22
renatYes.17:22
renatWhen we provide our gadget snap to the ubuntu-image using the --extra-snaps option - everything works fine.17:23
ogra_and it doesnt if you get the same snap from the store17:23
ogra_?17:24
renatYes.17:25
renatAs far as I can understand - if I install the snap using the extra-snaps cmd option - it doesn't try to mount the gadget snap.17:25
ogra_now thats weird17:25
ogra_theoretically the process should be exactly the same in both cases17:26
ogra_just one more download step17:26
elopiocoreycb: can you give me the links to your snaps? We'll put them in the nightly test suite to make sure that snapcraft master can always build the snap.17:27
renatCould you, please, see the logs I posted above? Maybe it would be good to show an error message to make debugging easier?17:28
coreycbelopio, that'd be great, would links to the github repos work?17:28
elopiocoreycb: yes, please.17:36
coreycbelopio, this is what we have so far: http://paste.ubuntu.com/24222988/17:38
=== JanC_ is now known as JanC
elopiocoreycb: thanks!17:45
coreycbelopio, thank you!17:46
ogra_renat, can you file a bug ?17:55
ogra_renat, i'll gather some poeople to look at it tomorrow17:55
niemeyerrenat: Yeah, sorry for the trouble there.. today was a bit busy due to issues with the stable release, but fire is all under control now.. we'll dig into your issue tomorrow17:59
renatorga_, okay, I will do, thanks!18:08
renatniemeyer, thanks!18:08
renatogra_, sorry.18:08
ogra_no worries :)18:08
mupPR snapcraft#1199 closed: cleanbuild: packaging independent detection <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1199>18:09
om26erI see this error: - Download snap "core" (35) from channel "stable" (Please buy core before installing it.) -- Note: I have snapd pointing to staging.18:09
ogra_i can give you my account data to transfer your money to ...18:09
ogra_(though 35 is a rather old revision ... not sure i'd pay for that ... we're in the 1500s nowadays)18:10
om26erogra_: http://paste.ubuntu.com/24223144/18:12
om26erogra_: could it be that the 'core' in staging is different than production.18:12
mupBug #1674778 opened: snapd hangs with 100% CPU usage when image has a custom gadget snap <gadget> <snapd> <Snappy:New> <https://launchpad.net/bugs/1674778>18:17
renatogra_, again me=) I have another question. I want to supply a custom journald.conf in my gadget snap. But just adding it to the gadget snap (in the etc/systemd/ directory) doesn't help. Is there a preferred way to change journald.conf in Ubuntu-core?18:31
ogra_om26er, could be, i never used staging and dont know how it ends up there18:31
ogra_renat, i fear that would have to happen through an option in the core config hook ...18:34
ogra_renat, i just have disabling syslog in the works, nothing for journald yet though18:34
cachioogra_, hey, any idea about this problem? My machine with yakkety is not detecting the sdcard when I flashed that with a ubuntu core image, but if I insert any other sdcard, it detects the card18:35
renatogra_, what I need is changing journald storage from auto to volatile18:35
ogra_cachio, what image did you flash ?18:35
cachioogra_, the dragonboard one18:35
renatogra_, okay, thanks for the answer, have a good day=)18:36
cachioogra_, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ubuntu-core-16-dragonboard-410c.img.xz18:36
ogra_cachio, there is only one partition your PC could see ... system-boot18:36
ogra_the writable partition is invalid until the first boot of the SD on a board happened (then it will be properly resized to the whole of the SD)18:37
ogra_so you could really only see the vfat called system-boot when plugging it in to a PC if you never booted from that SD18:37
ogra_renat, file a bug about that as well please, else i forget :)18:37
cachioogra_, I laready boot this SD card in the board, and it is working properly18:38
ogra_cachio, well, then your PC should mount system-boot and writable ...18:40
cachioogra_, it is not mounting nothing18:40
ogra_it surely does here on my xenial machines18:40
ogra_anything in dmesg right after you plug it ?18:40
cachioogra_, let me check again, I was trying to find something useful18:41
cachio[  380.505317] mmc0: error -110 whilst initialising SD card18:41
cachio[  382.879924] mmc0: card never left busy state18:41
cachioogra_, this is the only interesting thing I saw18:42
ogra_that sounds more like a controller issue on your laptop to be honest18:42
cachioogra_, it is happening with 2 sd cards18:42
ogra_i'd blame the yakkety kernel/mmc driver there18:42
ogra_is that any special type of SD ?18:43
ogra_sdxc or plain sd or sdhc18:43
cachioogra_, sdhc18:43
ogra_compared to the cards that are recognized18:43
cachioogra_, all of them are the same type18:44
ogra_weird18:44
ogra_well, there is nothing special about the GPT partition table used on the dragonboard SD cards18:44
ogra_your PC should just read it and mount the partitions ... as i said, this works for me18:45
ogra_but i use an USB card reader18:45
cachioogra_, perhaps the last update has wroken something in my yakkety18:45
ogra_i dont have any builtin MMC slot here18:45
ogra_and with that it usually works for all my SD cards18:46
cachioogra_, it was working for me too, but from yesterday I could not make it work it again18:47
ogra_well, i'd blame yakkety then :)18:47
cachioogra_, :), thanks18:48
ogra_if the SD worked and you didnt re-flash or anything ... we dont change anything on a booted SD regarding partitions r formatting after you did your first boot18:48
mupBug #1674794 opened: journald.conf storage=volatile config support <Snappy:New> <https://launchpad.net/bugs/1674794>18:57
ryebotWhen I try to build a classic snap without snapd installed, I get this message: "classic confinement requires the core snap to be installed. Install it by running `snap install core`."19:33
ryebotNon-classic snaps build just fine.19:34
ryebotIs there a way around that?19:36
kyrofaryebot, yeah, set the SNAPCRAFT_SETUP_CORE environment variable to 119:36
ryebotmagic!19:36
kyrofaryebot, instead of assuming you have the core snap, it'll download it itself and unpack it locally19:36
ryebotthanks :D19:36
ryebotdoes that require snapd to be running?19:36
kyrofaryebot, nope19:37
ryebotexcellent, thanks19:37
kyrofaryebot, it just unsquashes the snap itself, no mounting/running or anything19:37
ryebotkyrofa: perfect, thanks19:38
kyrofaryebot, any time!19:38
mupPR snapcraft#1205 opened: asset-tracking: track source VCS details <Created by josepht> <https://github.com/snapcore/snapcraft/pull/1205>20:45
mupPR snapcraft#1188 closed: store: set User-Agent header in store requests <Created by josepht> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1188>20:48
=== jkridner|pd is now known as jkridner
ryebotkyrofa: that doesn't seem to work if I use --target-arch=<not-my-arch>21:06
ryebotkyrofa: any workaround there?21:06
kyrofaryebot, hmm, is it pulling the core snap for the wrong arch?21:06
ryebothmm I'm not sure21:07
ryebotsays:21:07
ryebotSetting target machine to 'arm64'21:07
kyrofaryebot, what doesn't work?21:07
ryebotPreparing to pull kubectl21:07
ryebotclassic confinement requires the core snap to be installed. Install it by running `snap install core`.21:07
kyrofaOh interesting21:07
kyrofaAnd you have that env var still set?21:07
ryebotyeah21:07
ryebotSNAPCRAFT_SETUP_CORE=1 snapcraft --target-arch=arm6421:07
kyrofaryebot, I will say that support for --target-arch is a little shaky. It's typically only used for kernels21:08
kyrofaryebot, but please do log a bug so we can discuss and investigate21:08
ryebotalright21:08
ryebotthanks kyrofa!21:08
ryebotkyrofa: https://bugs.launchpad.net/snapcraft/+bug/167482821:18
mupBug #1674828: SNAPCRAFT_SETUP_CORE=1 doesn't work for foreign architectures <Snapcraft:New> <https://launchpad.net/bugs/1674828>21:18
ryebotlet me know if you need more details21:18
kyrofaThanks ryebot21:18
ryebotthank you!21:18
Saviqanyone with an idea why I can't install a snap on a xenial box? http://pastebin.ubuntu.com/24224369/21:19
kyrofaSaviq, you're sure the kernel you're on supports apparmor?21:20
Saviq4.4.0-65-generic, I'd have hoped...21:20
Saviqstandard xenial kernel21:20
kyrofaSaviq, that's nasty. Can you pastebin /var/lib/snapd/apparmor/profiles/snap.core.hook.configure?21:20
Saviqkyrofa, http://paste.ubuntu.com/24224381/21:21
kyrofaSaviq, huh, I was expecting it to be corrupted or something with that error, but that looks fine21:22
Saviqkyrofa, any idea where the abstractions/openssl file should come from?21:23
kyrofajdstrand, are you around? Not sure what that error entails ^^21:23
jdstrand/etc/apparmor.d21:23
jdstrandI just downloaded the paste and it parses fine21:23
jdstrandwhat is possibly happening is that the /var/lib/snapd/apparmor/profiles/snap.core.hook.configure was pasted failed to parse, then snapd reverted21:27
kyrofaAh21:27
jdstrandnote that ondra and I couldn't update to r1441 with snap refresh. it would spin over and over again phase 2 security profile generation (or something)21:28
Saviqjdstrand, FWIW there is no /etc/apparmor.d/abstractions/openssl ...21:30
SaviqI suppose my apparmor installation got broken, /me reinstalls21:30
jdstrandSaviq: oh, that is not good21:30
Saviqjdstrand, I had some filesystem issues on this box, that's probably what happened21:30
jdstrandyes, that file is presumed to exist21:31
jdstrand$ dpkg -S /etc/apparmor.d/abstractions/openssl21:31
jdstrandapparmor: /etc/apparmor.d/abstractions/openssl21:31
SaviqI wonder what can I do to recover those, --reinstall doesn't do21:31
Saviqok a bit of purge and install got them back21:35
Saviqback in business21:35
sergiusensryebot: kyrofa --target-arch and classic will not work at all21:36
kyrofasergiusens, since we would need to run the other arch's linker?21:37
kyrofasergiusens, a decent error message will probably solve that bug, then21:38
sergiusenskyrofa: yeah21:39
=== sarnold_ is now known as sarnold
=== balloons27 is now known as balloons
ryebotsergiusens: what if the build target is a static binary, like some golang artifact?22:56
ryebotsergiusens: maybe a better question is, what is getting linked with what?22:57
mupBug #1674847 opened: produce package lists for Ubuntu Core versions on the web <Snappy:New> <https://launchpad.net/bugs/1674847>23:04
mupBug #1674505 changed: Error checking context: 'can't stat '/home/user/docker-project' when runing docker build <Snappy:Invalid> <https://launchpad.net/bugs/1674505>23:31

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