/srv/irclogs.ubuntu.com/2016/11/23/#snappy.txt

mupBug #1644058 opened: Different behaviour in MPRIS interface with local install vs store install <Snappy:New> <https://launchpad.net/bugs/1644058>00:17
=== jgrimm is now known as jgrimm-out
iceykyrofa: I just pushed the plugin (as a custom plugin) to my launchpad build and it worked :)00:45
alesagen00b question but what am I missing whilst trying to install this snap in a KVM http://paste.ubuntu.com/23519901/01:05
naccalesage: hrm, sudo?01:10
naccalesage: not sure, though01:10
alesagenacc let me get another paste thx01:10
alesagenacc appears the same FWIW http://paste.ubuntu.com/23519955/ (except for using sudo)01:12
naccalesage: sorry, dunno, hopefully somoene else can help out01:13
alesagenacc thanks regardless :)01:13
liuxgI have a sample project using content sharing. It is a Qt project at https://github.com/liu-xiao-guo/rssreader_platform. After I run the project, i get the error like "This application failed to start because it could not find or load the Qt platform plugin "xcb". Does anyone know what is missing there? thanks02:18
mupBug #1644074 opened: auto connect none auto-connect interfaces of snaps in gadget snap <Snappy:New> <https://launchpad.net/bugs/1644074>03:00
zygakyrofa: hey05:45
zygagood morning05:46
dholbachhey, good morning07:29
foxmaskbonjello07:34
didrockshey foxmask07:35
foxmaskdidrocks: o/07:36
=== chihchun_afk is now known as chihchun
vigofgimenez, morning :)08:19
fgimenezhey vigo :)08:19
vigofgimenez, do we need buildging our own images? or have you a link to download the images for this release?08:22
fgimenezvigo, no download link yet, we should use images built from edge08:23
vigofgimenez, ack08:24
jibelfgimenez, when I build a pc-amd64 image I get this http://paste.ubuntu.com/23521249/08:41
jibelfgimenez, do you know what this error is?08:42
jibelon zesty with ubuntu-image from edge08:42
fgimenezjibel, iirc the right ubuntu-image is on beta, works fine here08:45
fgimenezjibel, from snap list "ubuntu-image      0.10+real1  25   canonical  devmode"08:45
jibelokay, I'll try this version08:45
fgimenezjibel, ok it's working fine here for all platforms with snaps from edge08:46
jibelfgimenez, with 0.10 from beta http://paste.ubuntu.com/23521264/08:48
jibelah, it works after working around the permission issue08:53
jibelfgimenez, do you want a bug for the error with 0.12?08:53
fgimenezjibel, ah nice, haven't seen that error before08:54
fgimenezjibel, not sure about the error on 0.12, if it's not already reported, yes please :)08:54
jibelI filed bug 164413108:58
mupBug #1644131: ubuntu-image fails with: mkfs.ext4 - Invalid filesystem option set: has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize <Ubuntu Image:New> <https://launchpad.net/bugs/1644131>08:58
gerry_hi I uploaded my program yesterday how long until it appears in gnome-software?09:05
jamespagemorning all09:15
jamespagewhat's the current story with snaps creating/using user/groups  other than root?09:15
jamespageI'd like to not have to run openstack daemons that don't need to be root as root09:15
didrocksjamespage: nothing really changed on that regard AFAIK09:16
didrocksI guess you can link that to create user + override systemd unit files09:16
jamespagedidrocks, I can deal with the downgrade of privs in the wrapper stuff we have09:16
didrocksgood idea, indeed09:17
jamespagedidrocks, but I guess that means user/group have to be created outside of the snap right?09:17
didrocksbut creating a system user is possible, but manually though09:17
didrocksyep09:17
jamespagehmm09:17
gerry_hi I uploaded my app yesterday and wondered how long it takes until it appears in software?09:18
didrocksgerry_: normally, if software isn't broken, as soon as snap list lists it09:18
didrocksthere is no cache, snapd gives the results to it09:19
didrockssnap find* sorry09:19
gerry_oh I am getting no snaps  found at the moment is that normal for one day?09:20
didrocksgerry_: no, but I heard software is broken for snaps unless ran as root09:22
gerry_didrocks : sorry you have lost me are you saying my app is broken because.......?09:24
didrocksgerry_: not your09:25
didrocks"software"09:25
didrocksyours*09:25
didrocksso, just try:09:25
didrockssudo ubuntu-software09:25
gerry_didrocks: oh I see my app will not run when trying to run it as root09:27
gerry_thank you very much for your help it says it can't connect to x11 window server?09:29
didrocksgerry_: did you try it in devmode first?09:31
didrocksbefore figuring out confinement and such09:31
jamespagethis might seem like an odd question, but is there a good reason why the install_requires for snapcraft is not a complete set of runtime depends?10:13
jamespageI'd like to use snapcraft from virtualenvs for check/gate in openstack infra but currently an install from git misses most of the requirements.txt file10:13
caribouHello, is this proper practice to create a snap with multiple apps sections ?10:41
caribouif I do that, each supplementary apps has its command prefixed with the first apps command10:41
cariboui.e. if I have a gtimelog snap with gtimelog as its first app, then rep_tl (a script) as the second app, the second will be named gtimelog.rep_tl10:42
seb128caribou, yes that's normal10:42
seb128the prefix is the snap name, not the first command name I think10:43
seb128you only get away with cmdname = snapname if you want to avoid the prefix10:43
caribouseb128: so basically multiple apps in the same snap are useless as each one will always be prefixed with the snap name10:44
seb128it's a problem but stating that makes them useless is going a bit far10:44
seb128users don't care much the name of the command especially if there is a desktop entry in the unity dash to start it10:45
caribouseb128: yes, maybe, but if one wants more than one command inside a snap, there should be a way to alias it10:45
caribouseb128: given that the snap is to be used on a desktop, that's a different story on a server10:45
seb128caribou, I think the issue they have is to make sure you don't claim over a known name which is not yours10:46
seb128like you could make your caribou_hack_ubuntu_users snap provide "firefox"10:46
seb128which wouldn't be the real thing but your custom steal password version10:46
caribouseb128: I understand, but if the snap name is the same as the deb based one (vlc comes to mind), then the problem persists10:47
seb128what do you mean?10:48
seb128if you have "vlc" snap it can have the "vlc" binary name/command10:48
caribouinstalling the VLC snap will override the debianized version of VLC10:48
seb128right10:49
caribouok, I should be able to hack around this; thanks!10:49
seb128there is a way to register names though and random devs can't steal a known brand10:49
seb128anyway, known issue10:50
caribouseb128: yep, I know, I 'own' sosreport :-)10:50
seb128:-)10:50
seb128I think I saw the command name topic discussed in some of the recent mailing list discussions10:50
seb128but can't find it now10:50
seb128and I don't remember if they had a plan to address it and if so which one10:50
seb128so maybe somebody else can help you a bit more10:51
seb128but I think for now you have to deal with not having the name you might want10:51
dslulon rpi3 and core 16, I am following this guide: https://developer.ubuntu.com/en/snappy/guides/mir-snaps, however ubuntu core cannot find the snap mir-libs...is it still available?11:07
gerry_hi I my java app runs without problem until I try to run it as root then it crashes with this exception : "No protocol specified Exception in thread "main" java.awt.AWTError:  Can't connect to X11 window server"11:18
gerry_my yaml is here http://pastebin.com/6E1VZAVG11:24
vigofgimenez, hey! 2 tasks failed running spread on i38611:37
vigoThey're probably known already11:37
vigohttps://pastebin.canonical.com/171576/11:37
vigobut please check and let me know to be sure11:38
gerry_hi when I try to run my java app as root it crashes with No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server. Can anybody give me a tip on where to look thanks11:40
gerry_here is a copy of my yaml : http://pastebin.com/6E1VZAVG11:48
fgimenezvigo, looking, revert:production can be due to timeouts from the store, not sure about ubuntu-core-reboot11:50
vigofgimenez, spread -v -reuse -debug external:ubuntu-core-16-arm-64:tests/main/ubuntu-core-reboot could help¿ :)11:51
fgimenezvigo, sure :) but, are you using the ubuntu-core-16-arm-64 system for i386? it should be ubuntu-core-16-6411:54
vigofgimenez, I'm running i386 image and ubuntu-core-16-64 for spread11:56
vigoI just took it as example :)11:57
fgimenezvigo, ah ok :) (we should even use a ubuntu-core-16-32 system specific for i386, but now the tests for amd64 and i386 are the same)12:05
vigofgimenez, I getting this when trying to debug the ubuntu-core-reboot https://pastebin.canonical.com/171577/12:12
fgimenezvigo, it seems that it's not able to connect to the testbed, can you ssh to localhost:8022 as the "test" user?12:16
vigofgimenez, I've got an ssh session open12:19
fgimenezvigo, did you run spread with reuse the first time?12:22
vigofgimenez, yes I did12:22
gerry_hi I have got the x11 plug in the apps section of my yaml but I am getting the following exception when I try to run it as root :No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server12:23
gerry_any help gratefully received oh a copy of my yaml is: http://pastebin.com/6E1VZAVG12:24
fgimenezvigo, mm imo you should try to reconnect with ssh as the test user to localhost:8022, that's what the error in the log you sent was about. you can also run spread with the -vv flag to see what's actually going on12:25
vigofgimenez, ack12:25
gerry_it is like the x11 plug needs a part but I can not find out what part?12:29
mupBug #1644226 opened: SNAP_DATA and SNAP_USER_DATA don't point to current <Snappy:New> <https://launchpad.net/bugs/1644226>13:19
=== hikiko is now known as hikiko|ln
alex-abreumvo, ping13:35
mvoalex-abreu: pong13:35
alex-abreumvo, just saw the branch, not sure I understand you discarded mine? ... I did some changes yesterday not sure if you picked them up, I was just missing the retry changes13:36
mvoalex-abreu: not discarding it at all, just trying to help it land for 2.18 (which is happening soon). I will close mine and you can cherry pick the new bits13:37
mvoalex-abreu: the idea was to add the (small) missing bit while you sleep and have it all landed but now that you are back we can continue with the other one13:37
mvoalex-abreu: I re-targeted it, please have a look13:40
alex-abreumvo, oh, we can continue on your branch if it is easier to land13:40
mvoalex-abreu: either way is fine, but lets keep yours as thats the one that contains 95% of the commits13:41
mvoalex-abreu: I targetd my branch to yours os that should be easy13:41
mvoalex-abreu: sorry if that was misleading, we do pickup branches that just need trivial changes sometimes to make things move quicker (especially when timezones are involved). not discarding anything in any way :)13:43
alex-abreumvo, np really, I was just wondering :)13:43
mvoalex-abreu: ok, great. just wanted to ensure I do not send the wrong message with that :)13:44
alex-abreumvo, I should have read better in the comment you left :)13:44
gerry_hi, how do I install snapd_2.0.3 ?13:46
alex-abreumvo, quick question, so you removed the retry?13:46
mvoalex-abreu: its still there13:49
mvoalex-abreu: just slightly different13:49
mvoalex-abreu: a new branch landed the other day that simplied the retry into a single "retryOperation()" call13:49
zygajdstrand: hey, can you please have a look at snap-confine 18813:49
alex-abreuah I missed it13:49
mvoalex-abreu: this is what the code is now using (or should be using unless I did something wrong)13:50
mvoalex-abreu: its the same as before just consolidated into that single helper13:50
gerry_I have downloaded snapd_2.0.3 from launchpad and I can not find how to install it any help gratefully appreciated13:51
mvogerry_: please try "sudo apt install snapd"13:53
alex-abreumvo, ah yes ok13:54
mvogerry_: the download from launchpad is not required, apt can find and install it by itsel. apt will also pick a more version13:54
mvogerry_: more recent version13:54
alex-abreumvo, I add a small comment to your branch13:54
alex-abreuadded13:54
mvoalex-abreu: cool, thanks, I have a look13:54
gerry_it says that snapd is already the newest version (2.16ubuntu3) but I have a problem with my java app that an answer on ask ubuntu says is put right in snapd-2.0.313:56
gerry_oh sorry<blushes> just realised my mistake just this problem driving me nuts14:02
mvogerry_: ok, so you found the solution? thats good to hear14:04
gerry_I am trying to upload my java app. It works fine when I run it without root. but when I run it as root I get this exception No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server14:04
gerry_is it because I use java swing in my app?14:06
mvogerry_: yes, I think that is it, your root user can not connect to the x server socket. sounds ok if you don't need to be root14:07
gerry_mvo : thanks, any tips on what to do I am about out of ideas ?14:09
mcphailgerry_: does it work if you specify the DISPLAY variable in the command? Is DISPLAY passed to snap apps?14:13
gerry_sorry you mean like this  "sudo $DISPLAY highlighterpdf" ?14:15
mcphailgerry_: something like "DISPLAY=:0 highlighterpdf". Of course, sudo'ing graphical apps is dangerous at the best of times14:16
* mcphail hasn't tried to run a graphical snap as root yet14:18
gerry_oh the next line after the exception is "using ':0' as the value of the DISPLAY variable."14:18
mcphailgerry_: :(14:19
mcphailgerry_: I don't have any bright ideas, but would be interested to see how you get this fixed14:19
gerry_mcphail : is it that bad?14:19
mcphailgerry_: it tells you my suggestion was spurious14:20
=== hikiko|ln is now known as hikiko
mupPR snapcraft#925 opened: Use the connectivity check page to test the downloader snap <Created by elopio> <https://github.com/snapcore/snapcraft/pull/925>15:10
alex-abreumvo, ok merged, thx a lot, I am 100% sure about the hardcoded 'featured' bit but I guess that it is ok for now15:13
=== JanC_ is now known as JanC
alex-abreumvo, can we merge https://github.com/snapcore/snapd/pull/2288 then ?15:14
mupPR snapd#2288: Add new store endpoints & snap find support for sections handling <Created by AlexandreAbreu> <https://github.com/snapcore/snapd/pull/2288>15:14
edjeMight be a bit of a noob question, only just getting into snapping. Is/will hardware video decoding going to be supported?15:40
=== chihchun is now known as chihchun_afk
mvoalex-abreu: hm, for some reason github is not updating that PR, it still shows the commit from yesterday as the last commit15:46
alex-abreumvo, maybe I did something wrong with the merge ...15:47
mvoalex-abreu: git pull && git push maybe? but sounds more like github is acting strange15:49
alex-abreumvo, yes ... I'll update it manually15:49
mvothank you!15:49
alex-abreumvo, when is the snapd release?16:15
mvoalex-abreu: tomorrow (my) morning (in ~13h)16:16
alex-abreumvo, ok, I understand the rush then :) github still playing tricks, otp atm but will get back to it in a few mns16:18
mvoalex-abreu: oh, it ended up in your master16:19
mvoalex-abreu: that seems to be the problem16:19
mvoalex-abreu: let me redo the PR16:19
alex-abreumvo, ah !16:20
zygajdstrand: hey16:20
mvoalex-abreu: I send a new PR, sorry for the confusion16:20
zygajdstrand: can you please have a look at https://github.com/snapcore/snap-confine/pull/18816:21
mupPR snap-confine#188: Add apparmor support module <Created by zyga> <https://github.com/snapcore/snap-confine/pull/188>16:21
alex-abreumvo, np ...16:21
tyhickszyga: he's off for the remainder of the week16:22
alex-abreumvo, mvo ok merged16:25
alex-abreumvo, looks better16:25
alex-abreumvo, btw I was wondering about the config schema feature in snapd, is someone having a look at it? ...16:27
zygatyhicks: ah, thanks for letting me know16:41
zygatyhicks: would you mind reviwieng that 118 above? it's rather simple16:41
tyhickszyga: I wouldn't mind but can't right now as I'm working through a security update, then I've got a block of meetings, and then I need to get back to the apparmor SRU bug for snaps on 14.0416:44
tyhickszyga: I doubt I'll be able to get to it before I go on holiday starting tomorrow16:44
tyhickszyga: I'll let you know if that changes and I'm able to take a look16:44
* zyga nods16:51
zygatyhicks: thanks, good luck with the SRUs16:51
alex-abreusergiusens, ping16:53
kyrofaalex-abreu, sergiusens seems away at the moment. Can I help you?17:04
alex-abreukyrofa, ah sure, just a simple request, to get the admin rights on https://launchpad.net/snapweb17:06
kyrofaalex-abreu, ah, he's only an admin on snapcraft. You'll need to talk to niemeyer I think17:06
kyrofaOh so sory17:06
kyrofaI was thinking github17:07
kyrofaYeah, he can probably help you with that17:07
alex-abreukyrofa, ok thx17:10
kyrofaalex-abreu, sorry, alas I cannot ;)17:10
kyrofaalex-abreu, he's around today though17:11
Geo_hello guts i have a HP Compaq Presario C300 Solo 1.66GHZ 1Gb RAM 80Gb HDD. im completely new to linux. i have tried 3 different distros but i always get a black screen. i have tried the nomodeset command to no avail. is the laptop not powerful enough?17:14
Geo_lol guts! should be guys17:14
Geo_by black screen i mean i can install it onto the usb but cant get throught the startup to get to the desktop.17:16
Geo_ok bye guys not even sure if you read this17:17
kyrofaGeo_, I doubt it's a problem with power, but you might get more help asking in #ubuntu17:17
Geo_#ubuntu17:19
geo__#ubuntu17:28
k1l_hi, i read on some news that 18.04 will ship with unity8 and snaps as standard package system. Will this mean there is a .deb iso and a snap iso? or will this be full siwtch to snap only?17:31
sergiusensalex-abreu kyrofa I gave rights to dbarth a while back18:58
alex-abreusergiusens, can you give them to me too?18:58
mupPR snapcraft#925 closed: Use the connectivity check page to test the downloader snap <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/925>19:27
wililupyI can't seem to remember, where is there an example of a gadget snap?19:38
cprovsergiusens: you mean '.snapcraft/snapcraft.cfg' in PR#901, right ?19:39
mupPR snapcraft#926 opened: Sources: add current dir to ignore list if we're iterating on parent <Created by 3v1n0> <https://github.com/snapcore/snapcraft/pull/926>20:01
flexiondotorgsergiusens, I'm talking to an upstream.20:15
flexiondotorgSounds like they might be a Fedora user.20:15
flexiondotorgWhat is the current status of using rpms with snapcraft?20:15
mupPR snapd#2345 opened: many: tweak devmode and jailmode capitalisation <Created by zyga> <https://github.com/snapcore/snapd/pull/2345>20:20
zygaflexiondotorg: it's not done yet, neither is fedora base snap support nor fedora confinement support; we welcome any pair of hands that would help, I can work and guide all contributors20:21
flexiondotorgYeah, just read to source.20:21
flexiondotorgThanks.20:21
zygaflexiondotorg: if you want to help the main blocker today is selinux snapd confinement that is mandatory on f2520:22
zygaflexiondotorg: and unexplained mount denial even with relevant capabilities that only goes away when running as root (that affects snap-confine)20:22
zygaflexiondotorg: when those are away snaps are useful on fedora20:22
flexiondotorgOK. Understood.20:23
flexiondotorgThe developer in question is not so much concenred about running Snap on Fedora, although I expect that will be his next question.20:23
zygaflexiondotorg: the next steps can be done in parallel, support base snaps in snappy (so e.g. ubuntu base and fedora base snaps, support base snaps in meta/snap.yaml so that snaps can say which base they wish to run against and lastly snapcraft support for that so that such snaps can be built in ways other than manually, hand-crafted ones20:23
flexiondotorgBut build snaps on Fedora.20:23
flexiondotorg*building20:24
zygaflexiondotorg: until those are done building snaps on fedora can be achieved with lxd/qemu so that snapcraft is available (snapcraft relies on apt and apt was too old / removed in fedora AFAIR (but I don't remember fully))20:24
flexiondotorgzyga, Are alternate base snaps being worked on?20:24
zygaflexiondotorg: it's scheduled, we're making progress toward that, yes20:24
flexiondotorgThanks.20:25
zygaflexiondotorg: it won't be ready till (magic ball) 2.22 though20:25
zygaflexiondotorg: early next year I'd say20:25
flexiondotorgCool.20:25
flexiondotorgThanks for the answers.20:25
flexiondotorgGood info.20:25
zygaflexiondotorg: there's just more work required around the stack as this is a very low level thing that spans the whole system20:25
flexiondotorgIndeed.20:26
zygaflexiondotorg: if you want to help with fedora support we would gladly welcome you on the team :)20:26
flexiondotorgWell, let's see.20:26
flexiondotorgLike everyone, my plate is quite full right now :-)20:26
mupPR snapd#2344 closed: overlord/ifacestate: don't setup jailmode snaps with devmode confinement <Critical> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2344>21:25
sergiusenscprov yes, I mean exactly that, but not sure about .snapcraft/snapcraf.cfg and maybe snapcraft.cfg should be called credentials.cfg21:55
sergiusensalex-abreu no, dbarth owns it all now, he will have to create a team and set the team as admin21:55
alex-abreusergiusens, ack21:56
cprovsergiusens: maybe, but that file is loaded exactly as ~/.config/snapcraft/snapcraft.cfg would be, it really depends on what you have in mind for that file (currently a host->creds map)22:05
sergiusenscprov your call then; if we piggy back things in there like storeid and such maybe it is a good idea to keep the name22:07
cprovsergiusens: yes, makes sense. Do we need passing autopkgtest tests before merging ? I don't know what is going on there.22:10
gui_hello,22:29
gui_I want to configure a static IP for my ubuntu core server,22:29
gui_but I can't edit the /etc/network/interface file22:30
gui_any idea ?22:30
sergiusenscprov let me check22:31
sergiusenscprov all green is not good enough for you? :-) snapcraft#90122:32
mupPR snapcraft#901: Basic 'enable-ci' implementation <Created by cprov> <https://github.com/snapcore/snapcraft/pull/901>22:32
sergiusenscprov is there a bug report for this?22:33
cprovsergiusens: wow, autopkgtest magically passed in the last hour. No, there is not bug report.22:33
mupPR snapd#2341 closed: many: unify boolean env var handling <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2341>22:49
mupPR snapd#2304 closed: snap: add `snap list -a` to show all snaps (even inactive ones) <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2304>23:24
sergiusenscprov I updated your branch to include what fixed the problem 3 hours ago or so23:25
cprovsergiusens: nice! thank you23:26
mupPR snapcraft#901 closed: Basic 'enable-ci' implementation <Created by cprov> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/901>23:58

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