/srv/irclogs.ubuntu.com/2017/01/17/#snappy.txt

lifelessmwhudson: o/00:08
lifelessmwhudson: is there an index of snaps ?00:09
mwhudsonlifeless: there is https://uappexplorer.com/apps?type=snappy00:09
lifelessmwhudson: yeah, but its pretty useless AFAICT - this https://uappexplorer.com/apps?type=snappy&q=nginx&sort=relevance00:13
mwhudsonlifeless: yeah no argument there00:13
lifelessmwhudson: or this - https://uappexplorer.com/app/apache2.mcaps - I can't figure out how to install that00:13
mwhudsonlifeless: creation date suggests that's from the version 15 era00:14
mwhudsonlifeless: this timezone is pretty bad for figuring out what's going on in the snappy world sadly00:14
=== JanC is now known as Guest21246
=== JanC_ is now known as JanC
lifelessmwhudson: thats sad; https://bugs.launchpad.net/snappy/+bug/1656976 is the next issue00:39
mupBug #1656976: classic mode cannot start services <Snappy:New> <https://launchpad.net/bugs/1656976>00:39
mupBug #1656976 opened: classic mode cannot start services <Snappy:New> <https://launchpad.net/bugs/1656976>00:41
nhainesCould I get someone to peek at my app spacedrive?  :)06:10
nhainesAlso, the build failed (except for ppc64el) on Launchpad, which is odd because it's a script and some deb packages.06:11
nhainesNot sure if this is public or not... https://code.launchpad.net/~nhaines/+snap/spacedrive06:15
mupBug #1657021 opened: Operator specified filesystem access <Snappy:New> <https://launchpad.net/bugs/1657021>07:49
zygagood morning07:55
nhaineszyga: good morning!08:03
didrocksMirv: hey! did you see my ping yesterday about the new runtime?08:37
mupPR snapd#2641 opened: cmd: fix hardcoded paths to rst2man and support rst2man.py <Created by zyga> <https://github.com/snapcore/snapd/pull/2641>08:59
didrocksMirv: Just did a PR for reference: https://github.com/ubuntu/snapcraft-desktop-helpers/pull/3409:03
mupPR ubuntu/snapcraft-desktop-helpers#34: Runtime refactor <Created by didrocks> <https://github.com/ubuntu/snapcraft-desktop-helpers/pull/34>09:03
mupPR snapd#2642 opened: tests: disable ipv6 before unpacking delta <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2642>09:20
r2geoHello, hen building a snap, launchpad throws a GPG error that I suspect is a launchpad problem, not related to my script. Am I correct? It may be related to 1626739? https://paste.ubuntu.com/23815514/09:41
tsdgeosr2geo: you mean the F1831DDAFC42E99D warning?09:45
r2geocorrect09:46
r2geowhen I install on my pi3, it fails on: $ snap install openhab_r2geo_2.0.0.b4-7_armhf.snap09:47
r2geoerror: cannot find signatures with metadata for snap "openhab_r2geo_2.0.0.b4-7_armhf.snap"09:47
tsdgeosr2geo: i understand you get that warning also "outside" of snap, right?09:47
r2geo? sorry, I don't understand your question09:48
tsdgeosi you run apt-get update (i.e. nothing snap related)09:48
tsdgeosyou also get that warning, right?09:48
tsdgeosshould be fixed if you run something like09:49
tsdgeossudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F1831DDAFC42E99D09:50
tsdgeoswill you make trust the launchpad packages signed by that key09:50
r2geoon the pi I don't use apt-get update. On my pc I do not get that error. The buildlog was from launchpad09:50
tsdgeosah09:53
r2geoshould that key be added to my pc (from which I request launchpad to build)? Or from the pi?09:53
tsdgeosthen i don't know, sorry09:53
r2geoJust checked, but building on pc does not throw this error09:53
r2geoso ... as the buildlog is created on launchpad, I suspect there is something wrong there. But I may be wrong. I will create a bug report - still if someone knows, I would be very happy to solve it via IRC. Thanks09:54
mupPR snapd#2643 opened: many: add stub implementation of snap-alter-ns <Created by zyga> <https://github.com/snapcore/snapd/pull/2643>09:57
=== chihchun_afk is now known as chihchun
mupBug #1656340 opened: XDG_RUNTIME_DIR is not created on app startup <Snappy:Confirmed for zyga> <https://launchpad.net/bugs/1656340>10:50
zygajdstrand: hey, can you please review https://github.com/snapcore/snapd/pull/263010:51
mupPR snapd#2630: many: detect potentially insecure use of snap-confine <Created by zyga> <https://github.com/snapcore/snapd/pull/2630>10:51
Trevinhoogra_: about the thing I was pointing out last night... https://bugs.launchpad.net/snappy/+bug/165708010:59
Trevinhonot snap run or unity7 specific10:59
Trevinhojdstrand: ^10:59
mupPR snapd#2642 closed: tests: disable ipv6 before unpacking delta <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2642>11:00
mupBug #1400802 changed: sudo snappy install should autocomplete <snappy-xp-console> <Snappy:Fix Released> <https://launchpad.net/bugs/1400802>11:09
=== chihchun is now known as chihchun_afk
mupBug # changed: 1500755, 1574114, 1574830, 1581596, 158832211:12
mupBug # changed: 1593371, 1593956, 1598656, 1611641, 1622782, 1623589, 1627338, 163526411:15
mupBug #1641590 changed: snap --help outline text <Snappy:Fix Released> <https://launchpad.net/bugs/1641590>11:18
mupBug #1641885 changed: jailmode doesn't work with snap try or snap install <Snappy:Fix Released by zyga> <https://launchpad.net/bugs/1641885>11:18
mupBug # changed: 1643885, 1643888, 1645413, 1646085, 1646479, 1647992, 1653955, 165458511:21
mupBug #1537793 changed: Autoupdate should be less frequent and more randomly distributed <verification-done> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <snapd (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1537793>11:24
mupBug #1654666 changed: snapd-xdg-open doesn't work in strict mode <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1654666>11:24
ogra_Trevinho, ah11:26
mupBug #1595064 changed: 'snap refresh' return code unhelpful <amd64> <apport-bug> <canonical-is> <xenial> <Snappy:Fix Released> <https://launchpad.net/bugs/1595064>11:27
mupBug #1600083 changed: 'snap' tool bash completion does not complete local file names <Snappy:Fix Released> <https://launchpad.net/bugs/1600083>11:27
mupBug #1603481 changed: multiple binaries from the same package <openstack> <Snapcraft:Fix Released by joetalbott> <Snappy:Fix Released> <https://launchpad.net/bugs/1603481>11:27
mupIssue snapd#2514 closed: seccomp tests fail on Ubuntu 14.04 <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2514>11:28
mupBug # changed: 1605258, 1606053, 1616657, 161789011:30
mupBug # changed: 1635016, 1636847, 1640874, 164596111:33
mupBug #1654590 changed: docker interface should account for /run/shm/ in addition to /dev/shm <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1654590>11:36
eduardas_mhello, I am currently building an embedded system with Yocto/OpenEmbedded. I am considering trying to port Ubuntu Core to my platform to get its update functionality. However I am unsure: does using Ubuntu Core on OEM devices require buying licences from Canonical?11:41
ogra_zyga, bug 1656976 is on purpose, right ?11:41
mupBug #1656976: classic mode cannot start services <Snappy:New> <https://launchpad.net/bugs/1656976>11:42
ogra_eduardas_m, nope, but we currently only support grub and uboot as bootloaders and you need full access to the source (we require a specific setup for the bootloader)11:42
ogra_beyond this there is nothing required11:43
eduardas_mogra_, thank you for the answer... my platform (DART6UL SoM from Variscite) currently has u-boot 2015.04 revision... where can I check if this is supported?11:46
eduardas_malso, is it possible to do kernel updates via snaps?11:46
ogra_eduardas_m, well, you need the source and need to enable/change some config options11:46
ogra_yes, os and kernel updates11:46
ogra_eduardas_m, https://github.com/snapcore/pi3-gadget/blob/master/prebuilt/uboot.patch has an example patch11:47
eduardas_mogra_, thanks a lot... sounds good so far... will give it a shot11:48
ogra_CONFIG_ENV_SIZE (with the right size), CONFIG_SYS_REDUNDAND_ENVIRONMENT, CONFIG_ENV_IS_IN_FAT and CONFIG_SUPPORT_RAW_INITRD are hard requirements11:48
zygaogra_: I believe so, yes11:50
ogra_zyga,  iirc we support that you install services that you can also (temporary) start ... i wonder if that affects it11:51
ogra_(so that you can experiment with apache until the next reboot where it wont be started anymore)11:52
ogra_at least thats the wording i remember11:52
mupPR snapd#2644 opened: snapctl: support running by the snap app itself, not only just from hooks <Created by stolowski> <https://github.com/snapcore/snapd/pull/2644>11:53
mupPR snapd#2634 closed: tests: improve debug output when reexec is used  <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2634>12:04
mupIssue snapd#2541 closed: tests/main/interfaces-network-control-ip-netns test fails on ubuntu 14.04-32 <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2541>12:05
mupIssue snapd#2576 closed: snap-confine cannot be setuid root on openSUSE <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2576>12:09
mupIssue snapd#2569 closed: snap-confine cannot perform namespace capture even with CAP_SYS_ADMIN <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2569>12:11
mupIssue snapd#2568 closed: snapd needs a SELinux profile to run on Fedora <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2568>12:12
mupIssue snapd#2553 closed: snapd is not tested against Debian <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2553>12:13
mupIssue snapd#2552 closed: snapd is not tested against Arch Linux <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2552>12:14
mupIssue snapd#2572 closed: .fstab files generated by snapd for the content interface do not follow the snap.<snap name> scheme <Created by morphis> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2572>12:15
mupIssue snapd#2603 closed: Disk free space left check <Created by cyberb> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2603>12:17
mupIssue snapd#2625 closed: feature request: ability to talk to sysctl <Created by battlemidget> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2625>12:18
mupIssue snapd#2484 closed: Support removing all unused revisions <Created by niemeyer> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2484>12:19
mupIssue snapd#2594 closed: Please add "install" hook <Created by jacekn> <Closed by zyga> <https://github.com/snapcore/snapd/issue/2594>12:19
mupPR snapd#2641 closed: cmd: fix hardcoded paths to rst2man and support rst2man.py <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2641>12:24
mupPR snapcraft#1051 opened: misc: remove snapd "submodule" <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1051>12:26
mupPR snapcraft#1039 closed: Check the older ubuntu-core snap name for core dynamic linker <Created by thomir> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/1039>12:35
mupPR snapcraft#1045 closed: Handle parser errors better <Created by josepht> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1045>12:38
stokachucan i move my scripts and setup dir from snapcraft to just the snap dir in the top level directory of my project now?12:45
zygastokachu: I don't know, sorry12:55
stokachuthanks12:56
mupPR snapd#2645 opened: spread: exclude .o and .a files <Created by zyga> <https://github.com/snapcore/snapd/pull/2645>12:59
stokachuzyga, where did https://github.com/snapcore/snapd/issue/2625 get moved to?12:59
zygastokachu: ohhh13:08
zygastokachu: hmm that's terrible,one cannot see the issues anymore13:08
zyganiemeyer: ^ can we have read only issues so that people can see where they were moved?13:08
zygastokachu: all of those moved to launchpad.net/snapd but I cannot even give you the URL now :(13:09
stokachuzyga, ah ok i figured you consolidated issue tracking13:18
eduardas_mogra_, my current u-boot has CONFIG_ENV_IS_IN_MMC since the board boots from SD card... is this option compatible with CONFIG_ENV_IS_IN_FAT?13:37
ogra_nope13:37
ogra_you need to use a uboot.env blob file13:37
ogra_the userspace needs to be able to find it where it expects it to change variables on the fly13:38
ogra_(there is interaction going on betweern snapd and the bootloader that needs to work)13:38
=== JanC_ is now known as JanC
eduardas_mogra_, this blob is available for download?13:39
ogra_look in the branch that has the patch above ... there is a uboot.env.in and there is the command you need to turn it into a uboot.env blob in the README.md13:39
ogra_(the uboot.env.in should contain your default env like you get it on a serial console with printenv)13:40
=== ben_r_ is now known as ben_r
eduardas_mogra_, thank you... that makes things clearer13:50
=== chihchun_afk is now known as chihchun
env_roHi folks; I do have a question: snapd reads environment variables from /etc/environment file, how could I modify this file since fs is mounted as 'read only'? ;)13:55
env_rothis is the first question. Second one is about to modifying the console command that connects to ubuntu-one so it obtains public key associated with a given account.13:56
env_roIf I would be able to modify the above mentioned file (/etc/environment) so I would put there http_proxy settings, would then that initial script connect via the proxy?13:56
env_roI'm asking, because I'm not able to install ubuntucore in my lab infrastructure (http proxy is required)13:57
env_roSo, maybe it would be a good idea if that script would take also the http proxy parameter?13:58
gbissonHi all! I'm experiencing with Ubuntu Core on RPi3 and have a few question, first I can't install webdm, it throws: (installation not allowed by "snapd-control" plug rule of interface "snapd-control")14:06
gbissonso I've used snapweb instead14:06
gbissonbut is it webdm replacement?14:06
gbissonis the error seen above normal?14:06
env_roHi gibsson. Unfortunately, it appears that noone is here ;)14:15
env_ro(i am not counting - newbie)14:16
gbissonenv_ro: thanks for your reply though, we're at least 2 listening ;)14:17
gbissonI'll wait for a little bit, it can be early for some timezones14:17
mupPR snapd#2368 closed: tests: parameterize remote store <Created by fgimenez> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2368>14:21
ogra_gbisson, it was renamed to snapweb a while ago14:23
mupPR snapcraft#1031 closed: store: fix sso_host for dev sso <Created by shawn111> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1031>14:32
zygajdstrand: good morning, thank you for triaging that bug14:32
jdstrandnp14:33
jdstrandit will be nice to have it fixed, but that work is behind upstreaming (at least) atm afaik14:33
zygajdstrand: that's a good plan IMHO14:34
zygajdstrand: btw, do you know how far are we from upstreaming everything?14:35
stokachuhas anyone run into https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1656580?14:39
mupBug #1656580: snapd on trusty fails to install snap with error loading shared library <conjure-up> <snapd (Ubuntu):New> <snapd (Ubuntu Trusty):New> <https://launchpad.net/bugs/1656580>14:39
stokachureferences some apparmor issue14:40
jdstrandzyga: I know a fair bit made the merge window. I don't have the details. perhaps tyhicks does?14:40
zygajdstrand: thanks, I'll ask jjohansen and tyhicks later today14:43
jdstrandstokachu: fyi, I asked for more information in the bug14:43
stokachujdstrand, thanks redeploying 14.04 in my maas lab will get you that info14:44
tyhickszyga (cc jdstrand): a ton of patches will land in 4.11 (https://marc.info/?l=linux-kernel&m=148455878701987&w=2) but we're still months away from upstreaming everything14:46
tyhickszyga: now that the ball is rolling on the upstreaming effort, I think that the kernel development cycle cadence is going to limit how fast we can upstream things14:47
tyhickszyga: while that was a large number of patches, that's all we'll be able to get into the 4.11 kernel so we'll be queueing the next set of patches up for the 4.12 kernel security subsystem merge window14:48
stokachujdstrand, hmm 2.21~14.04.2 does't seem to show this problem14:51
stokachuthink that was released this morning14:51
stokachustill testing though14:51
mupPR snapd#2645 closed: spread: exclude .o and .a files <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2645>14:51
jdstrandI know there has been a lot of 14.04 work lately. it doesn't surprise me it might be fixed14:51
stokachuhaving systemd issues now but i dont think that apparmor is an issue any longer14:52
stokachuwhere does snapd install the systemd files for 14.04?14:53
jdstrandstokachu: cool. can you followup in the bug? note that when I was playing with 14.04, cgmanager would get in the way of systemd14:53
stokachujdstrand, http://paste.ubuntu.com/23816658/ thats what i see with systemd and my snap14:56
stokachujournalctl -xn didn't give me much info though14:56
stokachucan't seem to find my systemd service file14:59
stokachunot in /lib/systemd14:59
stokachuit looks like the systemd file shouldve been linked into /lib/systemd/upstart on 14.0415:00
zygatyhicks: that's some great news, thank you15:07
gbissonogra_: thanks!15:09
gbissonin that case maybe webdm should be removed from the list or have a more explicit error message like "not supported any more, please use snapweb"15:10
zygajdstrand, tyhicks: FYI, I have extra data for the apparmor bug at https://github.com/snapcore/snapd/pull/2624 but I need some help to figure out what to collect15:10
mupPR snapd#2624: Re-associate with pid-1 mount namespace if required <Blocked> <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/2624>15:10
zygaI made it easy to re-run the spread test that uses the test kernel from jjohansen15:10
zygaand to collect various things15:10
zygaafter running it the erorr I see is different, not sure if that is because of the older base kernel15:11
zygathis log file has useful references: https://s3.amazonaws.com/archive.travis-ci.org/jobs/192346094/log.txt15:12
eduardas_mI am trying out Ubuntu Core image on Virtual Box... Ubuntu store account is mandatory to even launch Ubuntu Core?15:12
zygascroll to the bottom please then look for:  linode:ubuntu-16.04-64:tests/regression/lp-164443915:13
zyga(hmm, I guess I need to stil tweak that to restore correctly)15:13
zygathe results are much more comprehensive if the single regression test is executed15:13
zygaeduardas_m: to log in, yes, otherwise anyone on the same network could "own" your device and that's not great for security15:14
niemeyerzyga, stokachu: No, no way around that unfortunately15:14
zygajdstrand, tyhicks: let me know when would be a good time to try some interactive triage/debugging on this15:14
zyganiemeyer: ah, too bad; on the up side all the reporters got the email that included the new URLs so I hope they can find that15:15
niemeyerYeah15:15
niemeyerand we also only had two issues which were not filed by you or mvo15:15
eduardas_mzyga, but if I want to use Ubuntu Core to be ported for an OEM device that is really bad15:15
ogra_eduardas_m, it will launch without it ... but to log in you need one15:15
eduardas_mogra_, so lets assume that Ubuntu Core ships with hundreds of OEM devices..each one of these has to be tied to an Ubuntu Store account?15:17
zygaeduardas_m: if you have something specific in mind I can get you in touch with our commercial people; this scheme is designed to be secure for end users;15:17
ogra_thre is some way to set a local acocunt using a configuration on a usb stick on first boot15:17
ogra_but i dont think thats documented or promoted yet15:18
zygaogra_: only the owner of the device brand can issue this assertion15:18
zygaogra_: and it only (sensibly) applies to unowned devices15:18
zygaogra_: and canonical does not issue this assertion yet15:19
ogra_right15:19
zygaeduardas_m: being tied an account also lets the user manage the device better, depending on the form factor and interaction methods it would be impossible to do otherwise15:19
tyhicksogra_: I just ping you in the github PR but there's a test kernel for you to test: https://bugs.launchpad.net/apparmor/+bug/1656121/comments/215:20
mupBug #1656121: unexpected errno=13 and disconnected path when trying to open /proc/1/ns/mnt from a unshared mount namespace <AppArmor:New> <https://launchpad.net/bugs/1656121>15:20
tyhicksogra_: bah, my bad... that message wasn't meant for you15:20
tyhickszyga: I just ping you in the github PR but there's a test kernel for you to test: https://bugs.launchpad.net/apparmor/+bug/1656121/comments/215:20
zygatyhicks: I tested this kernel, all the stuff I said above was based on that15:21
tyhicksoh15:21
* tyhicks rereads15:21
ogra_see ... undocumented, so i know nothing about it obviously ;)15:21
zygatyhicks: one sec:15:21
ogra_tyhicks, heh, i was starting to wonder already :)15:21
zygatyhicks: https://github.com/snapcore/snapd/pull/2624/files#diff-f3378ae971fb046662010c5acfd2c35cR2115:22
mupPR snapd#2624: Re-associate with pid-1 mount namespace if required <Blocked> <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/2624>15:22
mupPR snapd#2347 closed: overlord: flag required-snaps from model as required and prevent removing them <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2347>15:22
zygatyhicks: I've automated the testing process for that issue15:22
tyhickszyga: since it is a kernel bug, I think you're better off working directly with jjohansen on this when he starts his day15:23
zygatyhicks: yes, I agree15:24
renatuzyga, hey, could you check if you are happy with this MR: https://github.com/snapcore/snapd/pull/222615:25
mupPR snapd#2226: interfaces/builtin: add evolution interfaces <Created by renatofilho> <https://github.com/snapcore/snapd/pull/2226>15:25
zygarenatu: yes15:26
zygarenatu: done15:28
renatuzyga, thanks15:28
eduardas_mI am having trouble logging in to Ubuntu Core on VirtualBox... I am trying my Ubuntu One username and password15:48
eduardas_mI used a public ssh key I generated on my Ubuntu 14.04 host to put into my Ubuntu One account15:49
kyrofaChipaca, unfortunately the bug you referenced was just discussing how unhelpful the error is, not that it was impossible to cleanbuild15:49
kyrofaChipaca, but it's a known issue, there was a ML thread about it and we're working on it15:50
mupPR snapcraft#1050 closed: repo: add multiarch support for stage packages <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/1050>15:59
mupPR snapcraft#1051 closed: misc: remove snapd "submodule" <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1051>15:59
niemeyerzyga, jdstrand: Do you want to have a quick call to discuss the new interface system?16:03
jdstrandniemeyer: I guess a call now is fine16:08
jdstrandtyhicks: fyi ^. I can handle it but if you want to be there ^16:08
zygayes16:10
zyganiemeyer: where shall we meet?16:10
niemeyerhttps://hangouts.google.com/hangouts/_/canonical.com/new-interfaces?authuser=116:10
=== chihchun is now known as chihchun_afk
niemeyerjdstrand: ^16:12
eduardas_mwhat is supposed to be the username/password combination for the ubuntu-core-16-amd64.img?16:13
eduardas_mis it the username and password of my Ubuntu One account?16:13
ogra_it is your username ... no password ... it uses the ssh key that you provided in your U1 account to provide ssh login16:14
kyrofaeduardas_m, there's no local login by default16:15
ogra_right, only ssh16:16
kyrofaeduardas_m, the idea is, you go through the first boot wizard, provide your Ubuntu One login info, and it'll pull down the SSH keys you have uploaded. Then you can use those to SSH in16:16
eduardas_mkyrofa, so I can not log in through tty1 in VirtualBox?16:17
kyrofaogra_, how is SSH configured by default? If a password is set, will one be able to SSH in with that password?16:17
eduardas_mbecause it prompts me for a password there16:17
kyrofaeduardas_m, not by default, but you can always set a password once you SSH in16:17
eduardas_mkyrofa, is this kind of interesting behaviour documented somewhere?16:18
eduardas_mbecause I believe a lot of people would benefit from instructions on how to test Ubuntu Core on VirtualBox16:18
kyrofaeduardas_m, yes indeed. I assume you started with the KVM option? https://developer.ubuntu.com/core/get-started/kvm16:20
mupPR snapd#2646 opened: tests: fix failing snapd-reexec test <Created by mvo5> <https://github.com/snapcore/snapd/pull/2646>16:21
kyrofaeduardas_m, note that this behavior is a little out of the ordinary, but it's done to ship a secure image by default16:21
kyrofaeduardas_m, default passwords etc. are why we have botnets of CCD cameras16:22
eduardas_meduardas_m, to be honest I am quite new to linux in general (haven't even spent a year with it) and have very limited experience with VirtualBox and VMware as it is...since KVM is totally unfamiliar to me, I did not even consider it16:24
kyrofaeduardas_m, oh I don't blame you. I'm NOT new to Linux and I prefer vbox16:24
kyrofaeduardas_m, but what image did you start with, then?16:25
eduardas_mkyrofa, I did a VBoxManage convertdd ubuntu-core-16-amd64.img ubuntu-core-16-amd64.vdi --format VDI16:27
kyrofaeduardas_m, or did you do something directly like this https://kyrofa.com/posts/ubuntu-core-on-virtualbox ?16:27
eduardas_mI found these instructions online and it was the first thing I tried16:27
kyrofaeduardas_m, ah16:27
kyrofaeduardas_m, well, had you gone through the developer.ubuntu.com path, you would have seen docs for this behavior. But no matter!16:27
eduardas_mkyrofa, thank you for the help so far... will continue exploring Ubuntu Core tomorrow16:31
ogra_kyrofa, hmm, no idea, since the key always preceeds password i have never tested that17:00
mupPR snapd#2647 opened: cmd: add autogen.sh <Created by zyga> <https://github.com/snapcore/snapd/pull/2647>17:01
mupPR snapcraft#1052 opened: Make git pulls less error prone due to history changes <Created by josepht> <https://github.com/snapcore/snapcraft/pull/1052>17:05
zygajdstrand: trivial: https://github.com/snapcore/snapd/pull/264817:23
mupPR snapd#2648: cmd/snap-confine: use flags rather than magic bool constants <Created by zyga> <https://github.com/snapcore/snapd/pull/2648>17:23
mupPR snapd#2648 opened: cmd/snap-confine: use flags rather than magic bool constants <Created by zyga> <https://github.com/snapcore/snapd/pull/2648>17:24
mupPR snapd#2649 opened: many: extract the logging http client and user-agent handling for use in devicestate <Created by pedronis> <https://github.com/snapcore/snapd/pull/2649>17:30
mupPR snapd#2633 closed: docs: simplify HACKING.md that snapd itself supports setting up the sockets <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2633>17:44
mupPR snapd#2647 closed: cmd: add autogen.sh <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2647>17:49
zygajdstrand: oldie but (hopefully) goldie: https://github.com/snapcore/snapd/pull/2416 -- it has one +1 and I'd love to land it17:54
mupPR snapd#2416: cmd/snap-confine: add snap-confine command line parser module <Created by zyga> <https://github.com/snapcore/snapd/pull/2416>17:54
* zyga takes a break17:57
pachuloelopio: are you around?18:04
jdstrandtyhicks, ratliff: zyga requested a review of https://github.com/snapcore/snapd/pull/2416 again. where should this be in terms of priorities?18:12
mupPR snapd#2416: cmd/snap-confine: add snap-confine command line parser module <Created by zyga> <https://github.com/snapcore/snapd/pull/2416>18:12
zygajdstrand: FYI not a urgent thing, just a poke as I was going over all pull requests18:13
zygait should land eventually :)18:13
zygajdstrand: feel free to delegate that to someone if you can18:13
jdstrandtyhicks: ^18:13
ratliffjdstrand, tyhicks: it seems like a nice refactoring and has been pending for a while, but I would put it below the seccomp arg filtering work that you are focused on this week18:15
* jdstrand adds card and moves to top of the list behind seccomp and other pending interface reviews18:16
zygathanks!18:17
mupPR snapcraft#1053 opened: meta: ensure snap.yaml is desktop free <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1053>18:23
mupPR snapd#2646 closed: tests: fix failing snapd-reexec test <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2646>18:29
=== davmor2_ is now known as davmor2
mupPR snapd#2636 closed: tests: add "quiet" wrapper function that only prints output on failure <Created by chipaca> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2636>19:12
zygajdstrand: the thing from last week, https://github.com/snapcore/snapd/pull/2630 already +1 from mvo and waits from a review from you19:15
mupPR snapd#2630: many: detect potentially insecure use of snap-confine <Created by zyga> <https://github.com/snapcore/snapd/pull/2630>19:15
zygasuper short apart from the spread test19:16
* zyga should really stop working19:17
jdstrandzyga: yes, it is on my list19:17
zygajdstrand: great19:17
mupPR snapcraft#1050 opened: repo: add multiarch support for stage packages <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1050>19:56
tito_Hi20:01
tito_ I do have a question regarding this document:20:02
kyrofaHey tito_, welcome20:02
tito_https://docs.ubuntu.com/core/en/guides/build-device/image-building20:02
tito_hi kyrofa20:02
tito_in the end, one can see that console-conf is sheduled and that you need physical access to the machine to go through it20:03
tito_imho , the last section (Known problems and limitations)20:04
tito_should be extended with a proxy problem...20:04
tito_because, how could I modify the image so it would use the proxy at that very initial moment?20:04
mupPR snapcraft#1054 opened: snapcraft as a snap <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1054>20:08
mwhudsonhuh i can't install the core snap in a zesty lxd20:09
mwhudson- Mount snap "core" (914) ([start snap-core-914.mount] failed with exit status 1: Job for snap-core-914.mount failed.20:09
kyrofatito_, indeed, good question. mwhudson how would one use a proxy in console-conf?20:09
mwhudsonkyrofa: missing feature20:10
mwhudsoni think there's a bug for it20:10
tito_in my project :)20:10
tito_this was a nearly killer20:10
tito_The bug mentions about already up and running snappy core system20:10
mwhudsonhuh can't find a bug20:10
mwhudsontito_: can you file a bug here https://bugs.launchpad.net/ubuntu/+source/subiquity20:11
mwhudsontito_: it shouldn't be incredibly difficult, i hope20:11
tito_and concerns about snapd service that consumes /etc/environment file20:11
tito_which, by the way, is mounted on RO partition thus I am unable to configure snapd later :(20:11
tito_mwhudson - I'm going to do this20:12
tito_so, does the console-conf python script utilize snapd at some way while connecting to ubuntu.one ?20:12
mwhudsonuh is /etc/environment really not writable? fun times20:12
pedronismwhudson: asking, I'm a bit surprised too20:13
tito_is really really.20:13
mwhudsonyeah seems so20:13
mwhudsonthat's fixable too of course20:13
tito_and is also nearly killer for my project frankly saying20:13
tito_If we/you/someone would fix those two things20:13
tito_it would be so perfect20:13
mwhudsoncan use systemd drop-in files for snapd.service specifically20:14
tito_so,I've red somewhere that I could do: systemctl edit snapd.service20:14
mwhudsonbut probably it should go in /etc/environment20:14
tito_right?20:14
mwhudsonyeah that should work i think20:15
tito_what should i put there ?20:15
tito_Environment=someproxyaddress:port ?20:15
tito_tfu20:15
tito_Environment=http_proxy=someproxyaddress:port20:15
tito_?20:15
mwhudsonEnvironment="http_proxy=blahblah:blah"20:15
mwhudson& https_ &c20:15
tito_and then20:15
tito_systemctl restart snapd.service would restart it with new hook for Environment right?20:16
mwhudsonyes20:17
tito_(checking :))20:19
pedronismwhudson: anyway it might be that /etc/environment is meant more for classic, not sure the thinking there20:22
tito_pedronis: now, snapd looks for Environment variables in that file20:22
tito_mwhudson: does not work unfortunately20:23
tito_root@localhost:/tmp# snap install gcc error: cannot install "gcc": Get https://search.apps.ubuntu.com/api/v1/snaps/details/gcc?channel=stable&confinement=strict: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) root@localhost:/tmp#20:23
mwhudsonbah snapd in my xenial vm has got itself confused20:23
mwhudsonpedronis: the bug is clear, the path to a fix not quite so20:23
mwhudsonJan 18 09:22:20 ubuntu snapd[2557]: 2017/01/18 09:22:20.086213 patch.go:65: Patching system state from level 3 to 420:24
mwhudsonJan 18 09:22:20 ubuntu /usr/lib/snapd/snapd[2557]: patch.go:72: Cannot patch: cannot get snap state for "core": <nil>20:24
tito_mwhudson: the layout of snapd.service edit looks like: Environment="http_proxy=sss:ppp https_proxy=sss:ppp HTTP_PROXY=sss:ppp HTTPS_PROXY=sss:ppp"20:24
mwhudsonpedronis: any ideas ^ ?20:24
mwhudsontito_: not sure you want those quotes like that20:25
mwhudsontito_: i think that syntax will set the value of the env var "http_proxy" to "=sss:ppp https_proxy=sss:ppp HTTP_PROXY=sss:ppp HTTPS_PROXY=sss:ppp"20:26
mwhudsoner minus that first = but you get the idea20:26
mwhudsonpedronis: i was a bit surprised when snapd install core wanted to install ubuntu-core, i guess snapd was too?20:27
tito_mwhudson: fair point20:33
tito_but I believe that this trick is overriden by snapd.conf20:33
tito_which reads /etc/environment anyway20:33
tito_because setting proxies like that (edit snapd.service) does not work unfortunately20:34
tito_Ok actually "snapd.conf" is not a proper name, but there is some file that holds already "Environment" entry right?20:34
mwhudsontito_: environment entries are cumulative20:39
mwhudsonso that's not the reason for it not working20:40
pedronismwhudson: you had a very old snapd in that vm?20:40
mwhudsonpedronis: nope, i installed it from scratch yesterday!20:41
pedronismwhudson: from scratch ?20:41
pedronismwhudson: the base ubuntu-server image has a very old snapd20:41
mwhudsoninstalled from 16.04.1 media, apt update, apt dist-upgrade20:41
mwhudsonand *then* snap install core20:41
pedronisthat is weird20:41
pedronisthere's a problem if you try to use snapd before doing apt upgrade20:42
mwhudsonubuntu@ubuntu:~$ snap version20:42
mwhudsonsnap    2.20.1+ppa149.4ca4ce07-120:42
mwhudsonsnapd   unavailable20:42
mwhudsonseries  -20:42
pedronisbut shouldn't be there after20:42
pedronisyour snapd is dead20:42
mwhudsonindeed20:43
mwhudsonbecause of the journal entries i pasted above20:43
pedronisyes, but those make sense only for an old snapd20:43
pedronisnot 2.20 or 2.21 (afaik)20:43
pedronis(and afaiu)20:43
mwhudsonhmm20:43
tito_btw: my snap version is 2.16 and I took the image from: http://cdimage.ubuntu.com/ubuntu-core/16/current/20:43
mwhudsonwhere is the snapd binary?20:44
mwhudsonubuntu@ubuntu:~$ /usr/lib/snapd/snapd --version20:44
mwhudsonerror: cannot read the state file: open /var/lib/snapd/state.json: permission denied20:44
mwhudsonbah20:44
mwhudsonii  snapd                            2.0.10                amd64                 Tool to interact with Ubuntu Core Snappy.20:44
mwhudsonwaaaiiiiiiiiiit what20:44
pedronisah20:44
pedronisthat is compatible20:44
pedroniswith the logs20:45
pedronisyou got20:45
mwhudsonmaybe i hadn't run dist-upgrade after all :)20:45
pedronisok20:45
pedronissadly base image has  a very old snapd20:45
tito_which is 2.1620:45
pedronisno 2.0.1020:46
tito_maybe 2.16 does not have the fix for proxy?!20:46
pedronisfix for proxy?20:46
tito_https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/157470220:47
tito_this one20:47
mupBug #1574702: 'snap' does not appear to use proxy settings <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1574702>20:47
mwhudsonawesome time for a system crash20:48
mwhudsonpedronis: i guess i'll need to purge snapd to fix the mess i have in my vm20:49
pedronismwhudson: yes20:49
mwhudsontito_: oh great20:50
tito_mwhudson can you tell me what is great ? :)20:50
mwhudsontito_: that bug20:50
mwhudsontito_: and, in case it wasn20:50
pedroniswell the fix was adding /etc/environment to the unit afaik20:51
mwhudsont obvious, i was being sarcastic :)20:51
mwhudsonoh ok20:51
pedronis(don't know why the bug wasn't updated)20:51
pedronisI mean go runtime should do the right thing (tm)20:51
pedronisalready20:51
mwhudsonyeah it seems to be odd ball and respect HTTP_PROXY not http_proxy20:51
tito_I've mixed all possibilities20:59
tito_and no success :/20:59
pedronismwhudson: it should consider either these days20:59
tito_maybe I should upgrade snapd itself to latest released version (in the network without proxy)21:00
tito_?21:00
mwhudsonpedronis: feel free to try sudo snap install --edge --classic go-17-mwhudson if you like :)21:00
mwhudson(trying that out was the reason i was futzing about in the vm anyway)21:00
mwhudsonsnapcraft.yaml at https://code.launchpad.net/~mwhudson/+git/gosnap/+ref/master21:01
mwhudsontito_: certainly more things are likely to work if you can upgrade snapd21:01
mwhudsontito_: but i'm not sure about this thing specifically tbh21:02
mwhudsontito_: did you file a but yet?21:02
mwhudsoni need to afk for a few21:02
mwhudson*bug21:02
tito_regarding this console-conf proxying?21:02
tito_not yet21:02
tito_(tried all the time to enable proxy in snapd first)21:02
ogra_kgunn, hmm ... i was just wondering, how hard would it be to run an XMir instance on top of the mir-kiosk snap ... that way one could package an X11 session :)21:05
ogra_(indeed you'd have to bundle all X apps in the session snap ... )21:07
tito_I've even installed snap with wget wrapper21:07
tito_so I have tested the proxy itself21:08
tito_and it works. But not in case of snapd21:08
kgunnogra_: it'd certainly be possible, i dont see why not21:08
tito_and this trick over Environment in snapd.service config21:08
kgunnthat would be xmir as a system compositor21:08
ogra_heh ... so unity7 on pi3 on top of mir *g*21:08
pedronistito_: afaik it should work , we even use it for the snapd own autopackage tests: https://github.com/snapcore/snapd/blob/master/debian/tests/integrationtests21:10
* pedronis needs to go afk21:12
tito_folks, I've put the bug for a console-conf + proxy : https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/165725421:17
mupBug #1657254: console-conf - unable to connect over proxy <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1657254>21:17
tito_will back later21:18
tito_btw - i love this mup bot ;)21:18
tito_ok guys. will talk to you later21:26
tito_c u21:26
mwhudsonoh maybe tito_ wasn't running systemctl daemon-reload21:32
pedronismwhudson: systemctl edit should do that for you22:00
mwhudsonoh right22:00
pedronisanyhow22:00
* pedronis -> rest22:00
pedronisttfn!22:00
mwhudsonbye22:03
wililupyQuestion: What is the context for my snapcraft yaml to stage packages for local deb's?23:14
kyrofawililupy, I don't really understand the question23:18
kyrofaContext?23:18
wililupykyrofa: My build machien doesn't have internet access, but I have all my stage debians on a flash drive and I want to use that for staging my dependencies for my snap.23:19
kyrofawililupy, eww :P23:20
kyrofawililupy, I wouldn't do it that way, then23:20
kyrofawililupy, because there's no way to tell snapcraft "I want these stage packages... but don't hit the internet"23:20
kyrofawililupy, but you can use .debs as sources23:20
kyrofawililupy, how many stage packages are we talking?23:21
wililupykyrofa: gotcha. Main thing is that this debian repository is unsigned and untrusted so trying to add it to sources.list fails.23:21
kyrofawililupy, yeah if you've got the debs already and don't care about checking for updates etc. just use them as parts23:22
wililupy823:22
wililupyThe rest can be pulled from repos...23:22
kyrofawililupy, you could make 8 parts, then, each with a `source: that/one.deb`23:22
kyrofaand the dump plugin23:22
kyrofaOr you can use the `make` plugin and write a Makefile that just extracts them all in one go23:23
wililupykyrofa: I'll give that a shot.23:23
kyrofaOh no, what am I thinkin23:23
kyrofaYou can use scriptlets now instead of the Makefile approach23:23
kyrofaBut yeah, keeping them all as separate parts is probably the easiest if you're okay doing that 8 times23:23
kyrofaIf you had like 20 though, that would get old23:24
wililupykyrofa: Thanks, I'll try that and let you know how it goes.23:24
kyrofawililupy, sure thing23:25

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