/srv/irclogs.ubuntu.com/2017/09/28/#snappy.txt

ekkisI want to package a github project for Ubuntu.  someone said I should check out snap.  it looks great but does the user have to have snap installed to run a snap package?03:47
ekkisis it like docker?03:48
naccekkis: snapd is the runer, it's installed on ubuntu by default, and available for many distributions05:44
ekkisI noticed that.  so cool05:51
zyga-ubuntuo/05:59
=== bboozzoo is now known as mborzecki
mupPR snapd#3982 opened: tests/main: use rm -f in case file isn't there <Created by zyga> <https://github.com/snapcore/snapd/pull/3982>06:30
* zyga-ubuntu ponders background tasks in spread jobs 06:33
=== JoshStrobl|zzz is now known as JoshStrobl
mupPR snapd#3982 closed: tests/main: use rm -f in case file isn't there <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3982>08:57
mupPR snapd#3981 closed: release: 2.28.1 <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3981>09:19
kissielhey folks! Is there a reason for being so restrictive in how config keys can be named?11:29
kissielhttps://github.com/snapcore/snapd/blob/master/overlord/configstate/config/helpers.go#L3411:29
kissielno underscores, no uppercases allowed :(11:29
Chipacakissiel: if you'd like that loosened, I'd suggest you create a forum topic about it -- the team's sprinting this week so not all eyes are on irc (and not at the usual times)11:36
* Chipaca hugs zyga-ubuntu because the "all" isn't true11:36
kissielChipaca: roger that11:37
zyga-ubuntukissiel: also easier to be strict now and less so later :)11:43
zyga-ubuntujjohansen: hello11:43
jjohansenhey zyga-ubuntu11:44
zyga-ubuntujjohansen: hey, I wanted to check how is the upstreaming effort11:44
jjohansenzyga-ubuntu: everything but unix socket (dbus needs these) rules made it into 4.1411:46
zyga-ubuntuhow big is the delta from 4.14 then?11:46
jjohansen4.15 is a wip, but I bet you can guess what the goal is11:46
zyga-ubuntujjohansen: and is it likely that 4.15 will contain it all?11:49
jjohansenzyga-ubuntu: http://paste.ubuntu.com/25632831/11:49
jjohansenzyga-ubuntu: that is the goal11:50
zyga-ubuntuthat's very nice! thank you for the update11:50
zyga-ubuntujjohansen: do you have the patches for 4.15 in broken down form?11:50
zyga-ubuntujjohansen: I was wondering if those might be easier to apply for 4.14-based distributions11:50
jjohansenzyga-ubuntu: the final 4.15 patches no, the patches ubuntu is carrying that can be dropped on top of 4.14 yes11:52
jjohansenzyga-ubuntu: be warned though we are about to drop the LSM stacking patches on top of ubuntu, these aren't apparmor persay though they touch it11:54
zyga-ubuntujjohansen: is that a substantial pathc?11:57
zyga-ubuntuand is it upstreamed?11:57
jjohansenzyga-ubuntu: yeah LSM stacking is pretty substantial, we aren't taking all of it just 22 patches, no it isn't upstream yet, we are trying to help get it upstream11:59
zyga-ubuntuunderstood11:59
jjohansenit opens some fun possibilities11:59
zyga-ubuntushould we expect any impact on apparmor in general?11:59
jjohansenno11:59
zyga-ubuntuis there any docs on what those patches allow/do/expose to userspace?12:00
jjohansenzyga-ubuntu: you asked about the patch ubuntu is carrying for unix socket mediation, its 1 patch diff stat http://paste.ubuntu.com/25632887/12:03
jjohansenzyga-ubuntu: the only documentation atm is in the patches and upstream ml12:04
jjohansenwe will certainly have to put a little something together so people can experiment with it12:04
=== JoshStrobl is now known as JoshStrobl|Work
zyga-ubuntuis the goal there to be able to put selinux and apparmor under each other?12:04
jjohansenzyga-ubuntu: yes, I have been playing with that this week, we hope to do an lxd demo (on a patched fedora kernel) with fedora running selinux and running and ubuntu container and running a confined snap in the container12:10
jjohansenI don't think we will do a confined snap directly on fedora this week because there is some tooling work to do12:11
zyga-ubuntujjohansen: understood, that is indeed very exciting, cannot wait to see that :)12:13
* zyga-ubuntu -> lunch12:33
=== Sir_Gallantmon is now known as Son_Goku
diddledansomething is wrong with my mir-kiosk attempt :-(13:15
diddledanSep 26 20:32:07 localhost mir-kiosk.mir-kiosk[1138]: /snap/mir-kiosk/35/bin/run-miral: line 68:  1639 Floating point exception${SNAP}/usr/bin/${bin_to_run} --vt 1 --arw-file --file /run/mir_socket13:15
diddledanit emits that when I try to launch my client13:15
diddledanthis is on a raspberry pi13:16
diddledanthe code and snap are at https://code.launchpad.net/~diddledan/+git/netconsole-reader if you want to investigate with me13:17
zyga-ubunture13:22
cachiopstolowski, https://paste.ubuntu.com/25633274/13:24
mupPR snapd#3980 closed: snap-confine: Ensure lib64 biarch directory is respected <Created by ikeydoherty> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3980>13:26
diddledanaah, maybe this is a problem: Loading module: 'libubuntu_application_api_desktop_mirclient.so.3.0.0' <-- that file doesn't exist in my snap13:29
diddledannope, waasn't that13:35
apolhey, anybody knows if it's possible for different people to access a dashboard.snapcraft.io? in KDE we need different people to see the status and upload things, but sharing the credentials doesn't feel right13:36
cachiopstolowski, sudo screen /dev/ttyUSB0 11520013:37
cachiopstolowski, https://www.adafruit.com/product/95413:56
cachiohttps://www.modmypi.com/image/cache/data/rpi-products/gpio/debug/USB-to-TTL-Serial-Cable-Debug-Console-Cable-for-Raspberry-Pi-3-800x609.jpg13:57
pstolowskicachio, http://pastebin.ubuntu.com/25633478/13:59
zyga-ubuntuikey: hey, I heard you had some issues with snap-update-ns14:01
ogra_pedronis, where are you hiding ? need to pick your brain about the branded store stuff if you have some time (or just point me to docs how to include it in a gadget)14:01
kyrofaelopio, https://askubuntu.com/questions/816886/how-do-run-an-arm-lxd-container-on-my-intel-host14:22
mupPR snapcraft#1552 closed: tests: replace the first batch of demo tests with snapd integration tests <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1552>14:53
mupPR snapcraft#1561 closed: rust plugin: record the Cargo.lock file <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1561>14:53
mupPR snapcraft#1574 opened: Add Dotnet plugin and a sample snap for integration test <Created by rakeshsinghranchi> <https://github.com/snapcore/snapcraft/pull/1574>15:05
ogra_hmm ... do we have any way that enables me to obtain my own store ID from the commandline ?15:26
ogra_(assuming i used snap login before)15:26
ppisati_sergiusens: what's the $SNAPCRAFT_PART_* variable that points to the src dir?15:29
apolsergiusens: https://community.kde.org/Neon/Snap#Snapd_Problems15:36
naccapol: the 4. there is a huge issue15:37
naccapol: and it's worse, you *can't* debug them host/server-side15:37
naccapol: afaict, as you need to debug within the same env as the snap15:38
apolyes, we were looking into this one with sergio15:43
mupPR snapd#3983 opened: snap-confine: is_running_on_classic_distribution() looks into os-release <Created by mvo5> <https://github.com/snapcore/snapd/pull/3983>15:51
sergiusensppisati_ we have none, do you need one?16:03
sergiusensppisati_ in general it is not needed16:03
ppisati_sergiusens: well, here's my problem: i have to build a kernel, and all i get is a tarball containing both the kernel src code and the .config file, and i don't know how express something like 'kconfigfile: $SNAPCRAFT_PART_SRC/.config'16:06
zyga-ubuntuflexiondotorg: hey, any luck with arch, 2.28.1 is coming up16:07
naccppisati_: well, i mean, the kernel build system doesn't fit in any of the plugins, right? so wouldn't you have your own plugin?16:14
naccppisati_: or is this a gadget sap?16:15
nacc*snap16:15
flexiondotorgzyga-ubuntu: No reply so far16:19
zyga-ubuntuflexiondotorg: thank you16:24
mupPR snapd#3984 opened: release,cmd,dirs: Redo the distro checks to take into account distribution families <Created by Conan-Kudo> <https://github.com/snapcore/snapd/pull/3984>16:27
* zyga-ubuntu goes to the doctor with his son,16:28
zyga-ubuntuI'll EOD but return to finish and apply feedback on https://github.com/snapcore/snapd/pull/3966#discussion_r14166512516:29
mupPR #3966: cmd/snap-seccomp,osutil: make user/group lookup functions public <Created by zyga> <https://github.com/snapcore/snapd/pull/3966>16:29
mupPR core#38 closed: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>17:17
mupPR core#58 closed: use `snapctl internal configure-core` to configure core <Created by mvo5> <https://github.com/snapcore/core/pull/58>17:17
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>17:18
mupPR core#58 opened: use `snapctl internal configure-core` to configure core <Created by mvo5> <https://github.com/snapcore/core/pull/58>17:18
mupPR snapd#3835 closed: packaging: bring down the delta between 14.04 and 16.04 <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3835>17:40
mupPR snapd#3985 opened: cmd/snap-repair:  set user agent for snap-repair http requests <Created by pedronis> <https://github.com/snapcore/snapd/pull/3985>18:01
=== Sir_Gallantmon is now known as Son_Goku
pstolowski_Son_Goku, go get -u github.com/nsf/gocode18:10
sergiusensapol https://forum.snapcraft.io/t/custom-environment-variables-for-parts/1639/1018:30
mupPR snapcraft#1575 opened: added git for '{version: git}' usage <Created by jdxcode> <https://github.com/snapcore/snapcraft/pull/1575>18:36
* ikey missed zyga, derp18:39
ikeymk, thought, the polkit stuff in snapd git should be quite trivial to backport to older snapd right?18:40
ogra_pedronis, poke18:45
ogra_(or anyone else really ...):18:46
kyrofaogra_, anyone? What's up?18:46
ogra_if i have a gpg key thats not yet registered to the store ... can i rm ~/.snap/gnupg/* without killing my setup ?18:47
ogra_(snap keys lists it ... and snapcraft keys lists it with "not registered")18:47
kyrofaWhat is your setup if you haven't registered it? Doesn't that imply that you haven't used it at all?18:48
ogra_yes, i havent used it ... only tested "create-key"18:48
ogra_and didnt call "register-key"18:48
mupBug #1720216 opened: docs.ubuntu.com has "Phone Docs" <docs> <Snappy:New> <https://launchpad.net/bugs/1720216>19:02
youngcIf I want to install UC16 on system that does not have an image created for - where do I get the base image for UC1619:05
mupBug #1720216 changed: docs.ubuntu.com has "Phone Docs" <docs> <Snappy:Invalid> <https://launchpad.net/bugs/1720216>19:08
mupPR snapd#3986 opened: wrappers: fail install if exec-line cannot be re-writen <Created by mvo5> <https://github.com/snapcore/snapd/pull/3986>19:11
mupPR snapd#3987 opened: packaging/fedora: Add Fedora 26, 27, and Rawhide symlinks <Created by Conan-Kudo> <https://github.com/snapcore/snapd/pull/3987>19:28
pstolowski_Son_Goku, gofmt -w -s <file>19:37
ogra_cprov, do you ahev any clue about gpg keys ? i created a key ages ago on my desktop using snapcraft create-key and register-key ... now ... when using snapcraft login on my laptop i'd actually expect to find this registered key with either snapcraft list-keys or snap keys ... but both are emppty19:50
ogra_s/ahev/have/19:50
__chip__ogra_: PING19:54
ogra___chip__, P.O.N.G !19:54
__chip__ogra_: I have here a disgruntled swiss person that has been looking for you19:55
ogra_i'm in the snapcraft room19:55
__chip__ogra_: are you going to stay there for any length of time?19:55
ogra_yeah19:55
ogra_they have the more comfortable chairs19:55
__chip__ACK19:55
__chip__ogra_: message delivered19:55
__chip__ogra_: thank you19:55
ogra_good19:56
mupPR snapd#3985 closed: cmd/snap-repair:  set user agent for snap-repair http requests <Created by pedronis> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3985>19:59
sergiusenselopio mind reviewing https://github.com/snapcore/snapcraft/pull/1568 ?20:09
mupPR snapcraft#1568: lxd: don't re-inject the same snaps <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1568>20:09
sergiusenspopey that should solve your issue ^20:10
mupIssue snapcraft#1475 closed: rust plugin recording <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1475>20:12
mupPR snapcraft#1562 closed: Record rust versions <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1562>20:12
mupPR snapcraft#1575 closed: added git for '{version: git}' usage <Created by jdxcode> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1575>20:15
cprovogra_: you may check your remote/pukeys with that previous surl command and `| jq '.account_keys'`, but your private keys should be on your disk (or gone if `snapcraft keys` is not able to detect them)20:37
ogra_cprov, meanwhile pedronis was here and handed me a curl command :)20:38
cprovogra_: not sure how it would solve your lost keys, but fine ;-)20:39
ogra_well, he gave me the direct curl call to check if a key is on the server20:42
=== JoshStrobl|Work is now known as Josh|Gaming
mupPR snapcraft#1515 closed:  tests: use a fake pip, instead of mocking everything <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/1515>21:15
mupPR snapcraft#1576 opened: docker: add the environment variable to setup core <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1576>21:18

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