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

kyrofacprov, indeed, I haven't been able to get a failure myself, it's popey that's breaking everything00:00
kyrofacprov, thank you for your help :)00:00
popeyHah00:01
cprovkyrofa: right, unknown snap name/series or snap_id would result in a 404, also the body of the 404 response is a json error00:01
popeyOh god. I bet I know what it is00:01
cprovwould point what is wrong00:01
* popey gets out of bed to test a theory00:02
cprovpopey: you working on this time ?00:02
cprovah00:02
kyrofapopey, not registered?00:03
popeylemme just test as is first00:03
popeyto confirm it still happens00:03
popeywait, not registered, the snap has to be registered first?00:04
kyrofapopey, yeah, otherwise it's unknown by the store00:04
popeyok, well that't it then00:05
popeythis snap isn't registered00:05
kyrofaYep, I just tested that out and got the same00:06
popey(nothing in the docs says it should be)00:06
popeyI mean, I may be being dumb here, but neither the current docs nor the wall of text snapcraft prints, says it has to be registered first00:06
popeySorry :(00:06
cprovpopey: agreed, can you please file a bug in LP, we will update the doc. Just checking, the 404 response body was clear about why it failed, right ?00:07
popey(404 isn't the kind of error message I'd expect given this circumstance)00:07
cprovcorrect, it's a 40000:07
popeywell, snapcraft doesn't give a good error00:08
popey"Snap name not registered" is preferable (or similar)00:08
popeyand running snapcraft -d gives me a 404, which also isn't "snap name not registered"00:08
kyrofacprov, we're somehow printing "invalid creds" instead00:08
popeyya00:08
popeycprov: what project should I file the bug in?00:10
cprovlp:snapstore00:10
cprovkyrofa: the 404 body contains the resource-not-found identifier and `Snap not found for the given snap name: '{}' and series: '{}'` description, the code from enable-ci might need a patch to treat it correctly00:12
kyrofacprov, ah very good00:13
popeyhttps://bugs.launchpad.net/snapstore/+bug/173727600:17
mupBug #1737276: Store returns 404 for unregistered snap <Snap Store:New> <https://launchpad.net/bugs/1737276>00:17
=== epod is now known as luk3yx
satoshiHello!04:14
=== satoshi is now known as satioshy
satioshyclear04:28
RyoshiKayoWhat's the significance of a version number that has '+git' after it? Do you use that  when the package is from a git repo?07:15
Nafallohi. I'm using a desktop app, but compose doesn't seem to be picked up. any hints regarding where to start looking for a solution?12:07
mcphailikey: would it be a silly idea to have the lsi functionality in the solus core snap rather than a separate snap? the reason i'm asking is it would be useful to have a core snap with sane sdl versions etc for packaging non-steam games12:21
mcphaila generic core gaming snap would be brilliant12:22
ikeyso turn LSI snap into steam stub?12:25
ikeyand runtime-gaming as the support environment12:25
mcphailyes12:25
ikeysure - the only part of LSI in the lsi snap btw is the linux-steam-integration binaries and glxgears/glxinfo/steam12:25
ikeywe *could* expose lsi-exec within the main runtime snap itself12:26
ikeyto support proprietary games and redirect them12:26
ikeybut it'd need apparmor help12:26
mcphailso your solus sdl etc are in the core snap?12:26
ikeyyeah12:26
mcphailaah. that's probably enough in itself then12:26
ikeylinux-steam-integration snap is a tiny 3mb12:26
ikeywhereas solus-runtime-gaming is like 280mb or so12:27
mcphailok. will need to check it out12:27
ikeyits still in edge and will likely stay that way until such point as i can get full parity in apparmor for steam12:27
mcphailthis is brilliant, btw. thanks for making this12:27
ikeylots of stuff is wonky and its hopeless with full confinement12:27
ikeyah no worries12:27
ikeyif you wanna work towards making this a generic runtime then im happy to do so with input from other snapcrafters and we'll work out a plan for keeping it stable12:28
mcphailcool. i'm going to make a few game snaps against the ubuntu core and see ehat problems i hit12:28
ikeyok12:29
mcphaili've already hit a few snags, but those seem apparmor related rather than linker related, and are already being fixed12:30
ikeyah ok12:30
mcphailbut snaps seem a really great way to package games12:30
ikeythey are - but there is a gotcha12:31
ikeylets not recreate the mistake of 10,000 indie steam devs12:31
ikeyand release&forget12:31
ikeythey're the primary reason lsi exists lol12:31
mcphailindeed. but release and forget would cause fewer problems with lsi :)12:32
ikeyto an extent, it still derives from a rolling distro ^^12:32
mcphailmost of the breakage i've seen over the past 5 years has been the c++ abi break. hopefully lsi would tarmac over that12:33
ikeyas long as libstdc++ isn't vendored you'll be fine there12:34
ikeythe lsi-exec environment just prevents libstdc++ vendoring12:34
threshhello.  I've just booted into live ubuntu 17.10 via usb stick.  I've installed my .snap using sudo install --dangerous ./vlc.snap14:23
threshnow when I try to launch it, I get cannot create lock directory /run/snapd/lock: Permission denied14:23
threshapparently an apparmor policy or something prevents me from running it14:23
threshwhat can I do about it?14:23
threshI wonder if that's something I missed in my snapcraft.yaml or?14:26
ogra_thresh, snaps do not yet run on top of live sessions ... (due to apparmor not getting along with the livefs'es overlayfs)14:31
threshbah!14:31
threshthere goes my attempt at actually checking things :-)14:31
diddledanLSI should totally be renamed Linux Steam Detox so that you can play with LSD15:19
ikeylinux in the sky with diddledan15:23
kennylogginsdiddledan: I guess its how you look at the world, dan.15:39
thresh[  627.189105] audit: type=1400 audit(1512832800.481:36): apparmor="DENIED" operation="open" profile="snap.vlc.vlc" name="/etc/vdpau_wrapper.cfg" pid=2957 comm="vlc" requested_mask="r" denied_mask="r" fsuid=1000 ouid=016:33
threshI think this prevents my vlc snap from using the hw decoding16:33
threshhow would I go about extending this policy?16:33
threshcan I do it in the snap?16:34
Chipacathresh: not sure why you're seeing that denied; afaik the vlc snap uses the opengl interface and that's included there17:07
* Chipaca downloads the snap to see17:08
threshChipaca, grab a http://nightlies.videolan.org/build/snap/vlc_3.0.0-git-153-g0af7adb_amd64.snap17:08
threshthis is the one I'm testing17:08
threshthe one on the store is very old17:08
Chipacaah17:08
Chipacathresh: "snap interfaces vlc" should prove illuminating then17:09
threshhere's a snapcraft.yaml : http://git.videolan.org/?p=vlc/vlc-3.0.git;a=blob;f=extras/package/snap/snapcraft.yaml;h=e441b11cbd5672f02f3a37764fb701a5256ef9cf;hb=0af7adbca81a88218720851b803a5f9b1fcc893717:10
threshwell opengl is there indeed, but I dont find anything similar to "vdpau" on `snap interfaces`17:11
Chipacaaccess to read /etc/vdpau_wrapper.cfg is part of the opengl interface17:11
Chipacathresh: is the opengl interface connected?17:11
threshyes17:11
threshthresh@blackbox:~$ snap interfaces vlc | grep -i opengl17:12
thresh:opengl                  vlc17:12
threshI'm on a fully updated 17.10 if that matters17:12
Chipacathresh: running out of ideas. If you can wait for zyga to be around (monday?), or post to the forum for ditto, that'd probably be best17:13
threshthank you Chipaca!17:13
ikeyi was under the impression that the vdpau rule was only added very recently to opengl17:13
Chipacaah!that might be it17:13
Chipacathresh: what snapd are you on?17:13
threshthat'd be 2.28.5+17.1017:13
ikeyyeah you won't have that rule17:14
ikeyit happened in the last couple weeks iirc17:14
Chipacathresh: are you on ubuntu?17:14
Chipacaah yes you said 17.1017:14
threshyeah 17.1017:14
Chipacathresh: snap refresh core --beta17:14
threshany eta this hits regular users?17:14
ikeyit was added in 4b996f402417:15
ikeywhich was tuesday lol17:15
threshcause sure it's fine if I can test this, but I'd like my users to have hw decoding too :-)17:15
Chipacathresh: wait, that 2.28.5 version, where did you get it from?17:15
Chipacathresh: 'cause i want the one from 'snap version', not dpkg17:16
threshah I used dpkg -l | grep -i snapd17:16
Chipacathresh: (on ubuntu snapd et al will run from the core you have installed, if it's newer than the distro one)17:16
thresh$ snap version17:16
threshsnap    2.30~rc217:16
Chipacathresh: so you're _probably_ on 2.29, which still doesn't help you, but hey17:16
threshditto snapd17:17
ikeyo shiny17:17
Chipacathresh: a'ight17:17
threshdo I need to reboot or something17:17
threshit's still the same error afaict17:17
Chipacathresh: nope; although if it was added tuesday you might need to be on edge to see it17:17
threshright :-)17:17
* ikey is suddenly curious exactly what vdpau_wrapper.cfg is even coming from17:17
* thresh runs --edge17:17
threshprobably some evil nvidia package17:18
ikeyno i mean in terms of the snap not seeing / the same way17:18
* ikey is suddenly kerfuffled17:18
Chipacaikey: /etc/ is a kerfuffle wrapped in a mess wrapped in a lost brexit document17:18
* ikey sticks his fingers in his ears about brexit17:19
ikeybad enough they're trying to force a hard border back on me atm :P17:19
Chipacaikey: gibraltar must be super happy about everything, also17:20
threshthanks a bunch sirs17:20
Chipacathresh: did that do it?17:20
thresh--edge didnt solve it too, but I guess it's too old too17:20
thresh2.30~rc2+git469.69b980d~ubuntu16.04.1 is the "snap version" I get17:20
threshbut it's still good to know it was worked on17:20
Chipacathresh: just in case (and it shouldn't need it, but it might be a on-boot thing? zyga knows more), did you reinstall the vlc snap with the new snapd?17:20
ikeyit could be stale mount namespace17:20
threshI havent, but will do17:21
Chipacayeah, might be17:21
ikeyive had that happen when changing nvidia driver stuff17:21
threshwhich reminds me I'll need to test this with neauveueueueu too17:22
thresh(add o somewhere)17:22
ikeylol17:22
* ikey still can't say that word17:22
Chipacaikey: it's easy: start with nu as in "nude", and then hit the floor with your front teeth17:22
ikeyXD17:23
Chipacathresh: awesome that you're testing this! we try to cover all the opengl variations but there's just too many17:23
* ikey just choked..17:23
Chipacaikey: no, no, that's how you say "joaquín"17:23
ikeyand like a phoenix i rise again..17:24
threshChipaca, yeah we're getting real close to 3.0 release;  so feedback from Linux users would be very valuable => we need snaps17:24
Chipacathresh: i can test it on intel ¯\_(ツ)_/¯17:26
Chipacai can also test it on an nvidia, but after the weekend17:26
Chipacaif i get too close to the steam machine on the weekend i get hissed at17:26
threshno need for now - the hw is in a "known broken" state atm due to problems in ffmpeg17:27
threshI'm just checking if we have any weird crashes when setting the hw decoding up17:27
thresh(we do)17:27
ikeybtw is this a new vlc snap?17:28
ikeyor is this the one thats been rotting on the store since 1942?17:28
threshit's a new one yes17:28
ikeyphew xD17:28
threshIt's my fault17:28
ikeyeven surprised vdpau wrapper is needed these days17:29
* Chipaca 's go for the shame bells but likes vlc too much17:29
threshhopefully in a week or so I'll push a recent one17:29
ikeyi remember years back you had to edit it to stop the smurf effect on flash and vlc17:29
Chipacathresh: the cool kids have edge published from CI :-p17:29
threshChipaca, we do17:29
threshthe 153 should be there17:29
Chipacathresh: not in the store it ain't17:29
threshunfortunately we also broke the snapcraft website17:30
ikeyxD17:30
threshso it's Server Error all over for me17:30
* ikey did that a couple weeks ago17:30
ikeyhigh five :p17:30
threshhaha17:30
* ikey could do with some automation on the LSI snaps..17:30
ikeyover 1.5hrs to build them atm17:30
threshI do a snapcraft push vlc_4.0.0-dev-235-g001b765_amd64.snap17:31
threshanything else I should do to publish it on the edge?17:31
ikeysnapcraft release vlc $revisionID edge ?17:31
ikeyassuming vlc is the snap name17:31
threshshould be.. thanks17:31
ikeyand revision ID being whatever push said was the new id17:32
Chipacathresh: ikey: or, snapcraft push --release edge thesnap.snap17:32
ikeyooo17:32
ikeytoys17:32
* ikey jots that down17:32
Chipacaikey: snapcraft push --help17:32
ikeybut17:32
ikeybut then i have to read17:33
ikeyas a linux user i take offence to that notion17:33
Chipacaikey: remind me what do you do with the thing you jot down17:33
ikeyuhm17:33
ikey*trapped*17:33
Chipacaikey: and no border!17:33
Chipaca\o/17:33
ikeyonoes lol17:33
ikeyfwiw i forget how to use my own tools too17:33
ikeyevery friday when i sync the solus repos, i check "ferryctl help pull" because every week i forget the order of the parameters17:34
ikeyevery friday without fail.17:34
ikeywell. barring my own fail ofc17:34
threshmany thanks17:34
* ikey gets back to rebuilding everything that ever depended on gfortran17:35
Chipacaikey: wait until you find out about cron17:35
ikeylol i won't even do systemd timers17:35
ikeynoped my way out of them paper bags sharpish17:36
Chipacaooh, ooh, use a systemd timer to run an 'at' job17:36
ikey..oh thats evil17:36
ikeyyet somehow tempting..17:36
thresh--release candidate,beta for 3.0 then17:38
threshand edge for 4.017:38
threshin your store tomorrow morning eu time17:38
=== ShibaInu is now known as Shibe

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