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

ikeyis it ok for me to make a new snapd interface?00:13
ikeythink im gonna need one for steam..00:13
=== devil is now known as Guest64572
sergiusensikey I am just going to mention jdstrand here so he can look in the morning; or maybe it makes itself into a forum post; if its simple enough I'd just create a PR01:28
ikeyok01:29
ikeyit looks like i have no choice but to make one01:29
ikeywe have weird requirements01:29
ikeythe one im struggling with is the mknod denial..01:29
ikeyok nvm fixed that one. lol01:36
mupPR snapcraft#1802 closed: metadata: extract metadata from appstream <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/1802>01:40
=== cwayne_ is now known as cwayne
=== davidcalle_ is now known as davidcalle
=== tedg_ is now known as tedg
=== davdunc_ is now known as davdunc
=== kalikiana_ is now known as kalikiana
=== thomi_ is now known as thomi
=== nsg_ is now known as nsg
=== victorbjelkholm_ is now known as victorbjelkholm
mupPR snapcraft#1823 opened: elf: search for DT_NEEDED in prime and the base <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1823>03:31
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEnfdpyaaxi: dasjoe Trevinho Shibe benoitc iatrou fnordahl rob-oi-ma Ama04:43
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEcgfhe: tanimislam iatrou fnordahl icey nottrobin m04:43
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEpzzivqqi: kyrofa joedborg Stan04:43
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODErsoty: iatrou StanleyHsiao paulmey matiasb marcoceppi_ cavea04:43
erkan982▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEeylvicwdq: Trevinho mpontillo caveat Cust0sLimen sdrobertw StanleyHsiao lfaraone petevg joedborg atriv jacekn04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEfrromdwkuq: JamieBennett AmarokNelg rob-04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEqddcwzw: StanleyHsiao petevg mardy nottrobin dragly cprov la_juyis Kaleo lfaraon04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEevivcj: lool tianon dragly dkessel la_juyis Kaleo petevg rob04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEesoaz: philroche joedborg dragly rob-oi-ma dasjoe Shibe ahayzen ralsin04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEywjvgmzgqn: iatrou icey jamespage AmarokNelg faenil stgraber Shibe loo04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEvxypasdzpn: matiasb JamieBennett Trevinho lool mardy tianon iatrou petevg AndyWo04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODExzsyqeboid: mardy ralsina abne04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEqqdzr: benoitc ahayzen marcoceppi_ blood04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEfcqoxefk: lool jacekn coreycb asac la_juyis matiasb Son_Goku mardy AndyWojo Trevinho paulm04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEmqivq: la_juyis icey jamespage magicaltrout Shibe tianon abner marcoceppi_ Cust004:44
erkan982▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEuvhdqcp: AmarokNelg ahayzen coreycb magicaltrout philroche la_juyis cprov dkessel StanleyHsiao mpontillo icey04:44
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEdsospbl: thibautr__ mardy kyrofa tanimislam paulmey Kaleo jacekn rob-oi-ma corey04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODErpely: coreycb ralsina paulmey iatrou ahayzen moon127 dkessel petevg bloodearnes04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEnrdbnbutfu: mpontill04:45
erkan982▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEzfven: ahayzen om26er bloodearnest mpontillo la_juyis ahrs icey iatrou coreycb Cust0sLimen stgraber nottrobin fnordahl K04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEsfcxopsh: ahrs benoitc Son_Goku AndyWojo coreycb tianon la_juyis bloodearnest asac tanimislam rob-oi04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEwylbxiacm: StanleyHsiao joedborg Shibe icey Trevinho bloodearnest cprov caveat sdrobertw paulmey mpontillo la_04:45
erkan982▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEbsjxao: stgraber philroche caveat m4sk1n_ kyrofa tanimislam cprov JamieBennett petevg mardy StanleyHsiao thibautr__ drag04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEianpmabyg: faenil thibautr__ dasjoe StanleyHsiao bloodearnes04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEextdkd: mpontillo ma04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEgfiegfqa: magicaltrout thibautr__ om26er cprov philroche dkessel Trevinho Kaleo paulmey ah04:45
erkan982▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ https://beta.companieshouse.gov.uk/company/10308021/filing-history christel sold freenode to Private Internet Access Andrew Lee WHO ALSO OWNS SNOONET AND IS MOVING FREENODE TO THAT SERVER (NEXT MONTH) AND CLOSING DOWN OPEN SOURCE ROOMS PLEASE COMPLAIN IN CHAN FREENODEqsxsmvtya: dasjoe matiasb Kale04:45
=== zarcade_droid is now known as Guest45071
mborzeckimorning06:17
=== chihchun_afk is now known as chihchun
kalikianagood morning07:45
mborzeckikalikiana: morning07:46
mborzeckij605: hi, did you manage to start spotify with libpulse logs?07:46
mborzeckimvo: morning07:57
mvohey mborzecki, good morning07:58
mvomborzecki: how are you?07:58
mborzeckimvo: good, thank you07:58
mborzeckiseems like with debian-sid-64 gone, we can actually complete the tests07:58
mvomborzecki: yeah, the PRs look much nicer this morning08:00
mupPR snapd#4414 closed: tests/main/interfaces-fuse_support: fix confinement, allow unmount, fix spread tests <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4414>08:03
mborzeckimvo: do you have any idea why systemd-remount-fs might be failing like this? https://paste.ubuntu.com/26225909/08:19
mborzeckiit's happening in the image that the guy from yocto forum thread uploaded08:20
mvomborzecki: hm, we have not touched this at all for core, the message is also strange. something wrong with the permissions maybe in ls -l /lib/systemd/systemd-remount-fs ?08:27
mvomborzecki: stracing it might be nice, especially with -e trace=execve -s1024 to see what it passes to mount08:27
mborzeckiwhat's funny, in the console, id gives: uid=0(root) gid=0(root)08:28
mborzeckimount /dev/hda2 /mnt: mount: only root can do that (effective UID is 1000)08:28
mborzeckihmm ok08:28
mborzeckibut i'm in the maintenance shell started by systemd that could not complete system init :/08:29
mvomborzecki: uhh08:29
mvomborzecki: that is strange indeed08:29
mborzecki-rwxr-xr-x    1 1000     1000       1148876 Dec 14 10:23 /lib/systemd/systemd08:30
mvomborzecki: aha!08:31
mvomborzecki: I bet most of the FS is owned by uid 1000 instead 008:31
mborzeckiit is08:31
mborzeckinevertheless, the kernel starts init with uid/gid 0 right?08:31
mvomborzecki: yes, your /bin/shell is also owned by 1000:1000 I pressume so it seems like this makes the euid also 1000 (which is new to me but I never dealt with a system with wonky permissions like this before)08:32
=== chihchun is now known as chihchun_afk
j605mborzecki: this log is with the debug flags, https://ptpb.pw/VbIw08:35
mborzeckiTrying to connect to /run/user/1000/snap.spotify/pulse/native...08:36
mborzeckiconnect(): No such file or directory (2)08:36
mborzeckithis ^^ is interesting08:36
mborzeckij605: can you `ls -l /run/user/1000/pulse/` ?08:37
j605the directory is empty08:37
mborzeckij605: `ps -ef|grep pulse` is there a pulseaudio daemon workign for your user?08:39
j605mborzecki: jagan     1960  1954  1 Dec20 ?        00:12:49 /usr/bin/pulseaudio --daemonize=nojagan     1978  1960  0 Dec20 ?        00:00:00 /usr/lib/pulse/gconf-helper08:41
j605from systemctl --user status pulseaudio.socket, "Listen: /run/user/1000/pulse/native (Stream)"08:42
mborzeckij605: can you try pulseaudio -k && pulseaudio --start and check if a socket appears under /run/user/1000/pulse/native ?08:43
j605the socket already exists08:43
j605it doesn't exist under snap.spotify08:43
j605> srw-rw-rw- 1 jagan jagan 0 Dec 20 20:57 native=08:44
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mborzeckij605: can you run `snap run --shell spotify` and then `ls -l /run/user/$(id -u)/pulse` inside that shell?08:48
j605mborzecki: https://paste.ubuntu.com/26226041/08:54
mborzeckij605: this is using snapd-git right?08:56
j605mborzecki: yes08:56
mborzeckij605: in your log, spotify is trying /run/user/1000/snap.spotify/pulse/native, can you also `snap run --shell spotify` and ls -l this path?09:01
j605mborzecki: it is empty09:02
mborzeckimvo: XDG_RUNTIME_DIR is something we populate right?09:05
j605mborzecki: is that directory a symlink to /run/user/1000/pulse if it works correctly?09:09
mvomborzecki: yes, we set this09:10
mvomborzecki: via the `snap run` mechanism09:10
mborzeckimvo: ^^ i guess it's a bind mount or sth?09:10
mvomborzecki: I need to check, there was some discussion in the context of wayland and things changed a bit, let me see09:12
mvomborzecki: is that the problem for j605 ? that the pulse socket is in xdg_runtime_dir but because we change it spotify cannot find it?09:13
mvomborzecki: https://forum.snapcraft.io/t/wayland-dconf-and-xdg-runtime-dir/186 was the discussion I had in mind09:14
mborzeckimvo: something weird, XDG_RUNTIME_DIR=/run/user/1000/snap.spotify and for j605 libpulse tries that location, in my case it's completely ignored and instead /run/user/1000/pulse/native is used09:15
mvomborzecki: yeah, so one easy fix would be in the spotify snap to do what is done for the wayland socket, i.e. a tiny snippet that creates a symlink09:17
j605for me that is never tried, after snap.spotify it goes to /var/run/pulse/native09:17
mvoj605: out of curiosity, if you create a symlink from /var/run/pulse/native to /run/user/1000/pulse/native - does that work?09:17
mvo(not as a permanent fix, more out of curiosity)09:18
j605seems messy since I need to be root for this but pulse is started per user09:18
j605mvo: it works09:19
j605may snapd should look into the user dir before going to /var/run/pulse09:20
mvoj605: thanks for confirming! yeah, the symlink is not a "solution", just to see if that was the only piece in the puzzle to make things work09:21
mvoj605: I think we have various ways to fix this, one is to ask spotify to modify the snap (as outlined above) or we could manually migrate the pulse socket into "our" runtime dir09:22
mvoj605, mborzecki thanks for getting to the bottom of this! will you update the forum topic with the findings? I can quickly create a PR to make the socket appear in the right dir09:22
j605I am not sure how it worked for popey in Manjaor. May be it is doing things differently09:23
j605may be a log from him would be nice to see09:23
j605mvo: sure09:23
mvoj605: yeah, its all a bit odd, also that it works for mborzecki who is also using arch AIUI. but its fine, we figured it out, now we just need to implement the fix :)09:23
mvoj605: he should be around soon, we can ask him for logs09:24
mborzeckii'm grabbing a cofee :) bb in a while09:27
mborzeckimvo: just a thought, but shouldn't pulseaudio 'interface' be doing this? i mean bind mount /run/user/$(id -u)/pulse to $XDG_RUNTIME_DIR/pulse inside the snap?09:30
j605so that fixes vlc as well :)09:34
mborzeckiyay09:37
mvomborzecki: tying it to the interface would be ideal, not sure how feasible this is with the current structure we have09:39
mborzeckibtw. still a mystery why it looks in a different location here09:39
mborzeckihmm09:39
mborzeckior09:40
mborzeckimvo: do you need any help with the PR?10:12
mvomborzecki: I have not even started yet, I was starring at command-not-found, feel free to pick it up if you want10:14
mborzeckimvo: hm i don't exactly see where we could put the symlink part in current code, maybe snap-confine, there's some xdg setup code but it's currently disabled10:30
mvomborzecki: yeah, snap-confine was my thinking, the same way we make the Xauthority file available10:35
mborzeckiit'd be great to have per-interface exec hooks that are part of snapd10:35
* kalikiana coffee break10:47
=== Dmitrii-Sh is now known as Dmitrii-Sh-PTO
sergiusensdiddledan corebird all of the sudden does not launch for me, I tried a reinstall (refresh data on snap info is no wrong though :-P); I don't see anything wrong, did anyone else mention it not working anymore?12:55
kalikianasergiusens: which version are you using? the version on edge launches for me (r88), despite errors about libopenh264.so.bz2 and libgstalsa.so - I don't use it much, but it's showing tweets fine13:11
* kalikiana FYI going to have lunch in ~15min13:16
mickesummerHi, I have installed the RPI2 and PRI3 image for ubuntu core. Both on a RPI2 and RPI3. I boot up the PI, follow the instructions. Logon with SSH to the PI with the SSO (ubuntu ont account). After a reboot, I cant logon. The account has disapeard. I have to run the "wizard" again. Any ideas?13:27
=== Guest45071 is now known as ^arcade_droid
kalikianabbl13:36
mborzeckii'm off to pick up the kids13:43
mupPR snapcraft#1822 closed: tests: skip classic confined tests on armhf <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1822>13:54
=== LyzardKing__ is now known as LyzardKing
mupPR snapcraft#1807 closed: tests: run test_cleanbuild in LXD on Travis <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1807>14:33
jdstrandikey: anyone can propose an interface. if it is easy/straightforward, just submit a PR. if you think there needs to be discussion, I'd suggest a forum topic14:37
jdstrandikey: do note that many of us are either on holidya or going on holiday soon14:37
kalikianare14:38
=== rharper` is now known as rharper
=== mbiggers_ is now known as markb1
ikeyjdstrand, yeah no worries bud :D15:40
ikeyi got the vast majority of it up and running last night15:40
ikeyin the end i couldnt see any other way than the creation of a new interface15:40
ikeyi preliminarily named it "steam" but ill likely rename it "steam-support"15:40
ikeyand its already full of ugly steam specifics: https://hastebin.com/usadagasug.bash15:41
jdstrandikey: interesting. I don't see anything conceptually wrong with a steam-support interface (esp for the shm accesses). we might want to move some rules around/etc, but feel free to send up when you're happy and we can iterate15:44
ikeysure :D15:45
ikeyit needs some work yet and fleshing out15:45
ikey*but* i did finally manage to get steam working under full confinement15:45
jdstrandcool. thanks for working on it :)15:45
jdstrandthat's awesome :)15:45
ikeyonly real bug i need to work out is why i cant execute things on another partition15:45
ikeyand i think my snapd version is bugged truthfully15:45
ikeyi ran "snap run --shell linux-steam-integration" with fresh installs last night15:45
ikeyhit "ctrl+d"15:45
ikeythen i got invalid syscall errors15:46
jdstrandikey: if you don't know about this already: sudo sysctl -w kernel.printk_ratelimit=015:46
ikeyand it was impossible to run "--shell" again15:46
jdstrandsometimes denials get rate limited15:46
ikeyaah15:46
ikeyty ty15:46
jdstrandsnappy-debug will do that for you, but if you are just taling the log, you'll want to do that15:46
ikeyyeah15:46
ikey"what went boom"15:46
jdstrandikey: I have an alias for: sudo sysctl -w kernel.printk_ratelimit=0 ; journalctl --follow15:47
ikeyheh15:47
ikeyi think apparmor is gonna need new variables once im done with this.. :p15:47
jdstrandheh15:47
ikeyhaving uid/pgrpid could be useful..15:47
jdstrandyeah15:48
jdstrandkernel side variables would be super handy15:48
jdstrandit's on the roadmap15:48
ikeyoh fantastic15:48
ikeyi see someone let /usr/share/themes through too15:48
ikeymust be for gnome bases?15:48
ikeybecause my bundled themes kept working :p15:48
ikeywas quite happy about that lol15:49
jdstrandjhenstridge has been improving fonts, themes, etc15:49
jdstrandhehe15:49
jdstrandnice!15:49
ikeyah right - saved me a whole bunch of bother then15:49
jdstrandI think if you use the desktop interface with updated desktop snapcraft parts, you get more and more goodness15:49
ikeyoh right15:49
ikeyatm we're not actually using desktop snapcraft at all15:50
ikeyso i might need to merge behaviours15:50
ikeywe have a main entry point, "$SNAP/linux-steam-integration"15:50
ikeywhich has lots of magical shim entry work15:50
jdstrandI think the biggest improvement lately was the gschemas work15:50
jdstrandso you don't have a slow first startup15:50
ikeyAOT compilation?15:50
ikeytbh i think im even safe in that regard15:51
ikeyall my schemas are inside the runtime15:51
ikeyand the LSI snap is tiny - just the shim and zenity and mesa-demos and such15:51
* jdstrand nods15:51
ikeyi think once this confinement story is solved i can move onto the last challenges like udev + joystick improvements15:52
ikeythen we could see steam "done" early '1815:52
jdstrandthat would be great :)15:52
ikeydidnt mean for it to take so long :/15:52
kyrofakalikiana, sergiusens I'll be right there16:02
sergiusensfirefox isn't working fwiw16:02
kyrofaOh darn, I saw a tweet about it and wanted to try16:04
cprovkyrofa: bug #1739260 fix just got released.16:10
mupBug #1739260: Add macaroon expiration date to acl/verify endpoint <Snap Store:Fix Released by cprov> <https://launchpad.net/bugs/1739260>16:10
diddledansergiusens: I had a report a week or so ago, but they rebooted and it started working again (ref: Corebird not working)16:13
diddledansounds scarily like windows behaviour to me :-p16:15
diddledanikey: did you get zenity to work in snap? the ubuntu variant has hardcoded it's location so you can't get ubuntu snaps to use zenity16:17
ikeyyeah i have some patches16:18
diddledanaha16:18
ikeyhere lemme find linky16:18
om26erpopey: ping16:18
ikeyhttps://github.com/solus-project/runtime-snaps/tree/master/support_packages/zenity/files16:18
ikeythe most important patch is the 0001 patch16:18
diddledanI wonder if we could get those upstreamed... *scratchy head*16:18
ikeyit allows us to build a relocatable zenity binary with gresource compiled in16:18
om26erpopey: thoughts on promoting sublime-text and android-studio to 'stable' channel ?16:19
ikeyid like to for zenity but i couldnt get distcheck unbroken lol16:19
popeyom26er: how robust are they both?16:21
popeyAny feedback from users?16:21
om26erpopey: there was an issue with sublime that was fixed quite a few days ago.16:21
om26erpopey: Android Studio seems to be running solid. I gave it a try on a clean VM today, just to be sure.16:22
popeyNice one. I will do the same16:24
mcphailOut of interest, why does the "joystick" interface not autoconnect? it would seem like a much smaller security risk than "network"...16:34
ikeynot sure as for the why right now, but i imagine joystick is going to grow in future16:56
ikeyi.e. to support wheels and steam controller16:56
ikeythough some of that is likely up in hidraw too..16:56
kyrofamcphail, can't speak for the security team (I'll let jdstrand speak up), but it's my understanding that all interfaces are considered risky. We don't want to speak for the users regarding the risk they're willing to accept as much as possible17:03
kyrofamcphail, there are some interfaces we auto-connect as snaps would be useless without them17:04
kyrofaBut the rest, we leave up to them17:05
mcphailkyrofa: yes, i think paranoia by default is sensible. but, as a user, i'd be more worried by the network interface than the joystick one. and the syntax to connect these things is pretty horrible. are there plans for a gui so users could drag and drop connections?17:10
kyrofamcphail, yeah I actually dislike some of the ones we autoconnect as well: https://forum.snapcraft.io/t/autoconnection-override/2465/417:12
kyrofaRegarding the GUI, I think so, but you'll need to talk to the desktop folks17:12
kyrofa(or maybe jdstrand has more insight there)17:13
mcphailaah. it'd be nice to have a panel in the gnome settings thingy where users could set their own defaults, then separate tabs for individual snaps17:13
mcphaili'd probably have joystick as an autoconnect and network as manual on my default panel :)17:15
kalikianakyrofa: wrt snapcraft#1817 ironically, the raw properties are not preserved in pluginhandler, but preprocessed with default values... so I added another property with the original properties and a check if it was specified... lemme know what you think17:16
mupPR snapcraft#1817: grammar: support strings <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1817>17:16
jdstrandthe gui will make that better. it is best to not autoconnect hardware by default. we can use snap declarations for autoconnection, but very much looking forward to the gui17:19
mcphailjdstrand: cool. thanks!17:19
sergiusensjdstrand once apps don't get sigkilled autoconnection wouldn't be such a big problem17:20
sergiusensnot having autoconnection17:20
jdstrandwell, people will always want this or that (not everything is sigkilled-- mostly just process-control)17:21
jdstrandI'm looking forward to that PR too :)17:22
kalikianasergiusens: kyrofa wrapping for the year now. FYI confirmed lxd/core from stable work fine with persistent containers, whatever is broken with edge will need to be investigated in the new year17:22
kyrofaAlright kalikiana, thank you!17:22
jdstrandkalikiana: enjoy your holiday :)17:23
kalikianaCheers17:26
kalikianaSame to you (soon)17:27
kalikianao/17:27
sergiusenskyrofa #1823 is good for a review17:48
mupPR #1823: overlord/devicestate: try to fetch/refresh the signing key of serial (also in case is not there yet) <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1823>17:48
sergiusenskyrofa a final one, the snapcraft one, not that17:49
diddledanlooks like another of my snaps made it to the 10 featured in the monthly summary: https://insights.ubuntu.com/2017/12/20/top-snaps-in-november18:02
diddledanspecifically mars the ridiculous shooter18:02
kenvandinediddledan, awesome18:18
popeyogra_: do you know what work is needed to make your wine snap strict?18:33
diddledanI vote for whips and chains18:49
cachiokenvandine, I am running in a linode image a gsettings app and it is not creating the dconf dir in ~/snap/test-snapd-gsettings/27/.config/18:49
cachiokenvandine, any idea why it could be happening?18:50
kenvandinecachio, do you have a user session running?18:51
kenvandinecachio, can i see your yaml?18:53
cachiokenvandine, https://paste.ubuntu.com/26228811/18:53
cachioin the test I create a user18:54
cachioand execute the gesettings command from that user session18:54
kenvandinecachio, so dbus is running?18:54
cachiohttps://paste.ubuntu.com/26228820/18:55
cachiokenvandine, this is what I see18:55
kenvandinecachio, iirc you need to do something like this18:57
kenvandineeval `dbus-launch --sh-syntax`18:57
kenvandinecachio, https://dbus.freedesktop.org/doc/dbus-launch.1.html18:57
kenvandinecachio, oh... this is interesting18:57
kenvandineTo start a D-Bus session within a text-mode session, do not use dbus-launch. Instead, see dbus-run-session(1).18:57
cachiook, trying it18:58
kenvandinecachio, read the man page on that18:59
kenvandine       dbus-run-session -- bash19:00
kenvandinemight be what you want19:00
kenvandineor... in your snap19:00
cachiokenvandine, shoiuld I run it as part of the snap command?19:00
kenvandinecommand: dbus-run-session -- desktop-launch desktop-launch $SNAP/gsettings "$@"19:01
kenvandinemaybe :)19:01
kenvandineif not, you probably need to use dbus-run-session to setup the environment before executing the snap19:01
kenvandinecachio, if you add it to the command in the snap, it won't behave well for tests trying to run on the desktop19:02
cachiokenvandine, i'll try this dbus-run-session -- desktop-launch $SNAP/gsettings "$@"19:04
cachiokenvandine, I am getting dbus-run-session: Permission denied19:16
kenvandinedunno19:16
cachiokenvandine, should I plug another interface?19:16
kenvandinei think you need to run that before running your snap19:17
kenvandineso pull it out of the yaml19:17
kenvandinedbus-run-session -- bash19:17
kenvandinebefore running the snap19:17
kenvandinei think that might work19:17
cachiook19:18
cachiokenvandine, nothing19:31
cachiokenvandine, it is not saving the values19:31
cachioI save a value for a key and it is not saved19:32
cachiobut I can access to the default value19:32
cachiokenvandine, is there any log to see?19:33
kenvandinecachio, oh.. it can read the the values?19:35
cachiokenvandine, yes, but the default ones19:35
cachiokenvandine, it is not able to save19:35
kenvandinemust be using the memory backend19:35
kenvandinecachio, is this file getting created?19:38
kenvandine~/snap/test-snapd-gsettings/current/.config/dconf/user19:38
cachiokenvandine, no19:38
cachiokenvandine, this dir does not exist ~/snap/test-snapd-gsettings/current/.config/dconf19:39
kenvandinedoes  ~/snap/test-snapd-gsettings/current/.config ?19:39
cachioyes19:39
cachiohttps://paste.ubuntu.com/26229018/19:40
kenvandinecachio, what do you have in /run/user/$(id -u)/19:40
cachiokenvandine, I manually created the dir snap.test-snapd-gsettings on there19:41
cachiokenvandine, https://paste.ubuntu.com/26229029/19:43
kenvandinecachio, and in your snap, is gsettings a script or binary?19:45
cachiokenvandine, it is a script19:46
kenvandinecan you try running it without the snap?19:46
kenvandinerule out any of the desktop helpers or snap19:46
kenvandinemaybe it's related to the session19:47
cachioI'll try it19:47
cachiokenvandine, not working19:56
kenvandineok, so that rules out the snap itself19:57
cachioI am executing the script and it is not saving the valus19:57
kenvandineyeah, it's probably falling back to the memory backend19:57
cachioand if I run /usr/bin/gsettings it works19:57
kenvandinenot sure how to set that19:57
kenvandinecachio, can i see your script?19:57
cachiokenvandine, http://bazaar.launchpad.net/~snappy-dev/snappy-hub/test-snapd-gsettings/files19:59
mupPR snapcraft#1824 opened: Update test_rpm.py <Created by heesen3> <https://github.com/snapcore/snapcraft/pull/1824>20:01
mupIssue snapcraft#1664 closed: Search prime for DT_NEEDED and add rpath <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1664>20:04
mupPR snapcraft#1823 closed: elf: search for DT_NEEDED in prime and the base <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1823>20:04
kenvandinecachio, i think you need new_with_backend there20:05
kenvandinehttps://people.gnome.org/~gcampagna/docs/Gio-2.0/Gio.Settings.new_with_backend.html20:05
cachiokenvandine, ok20:06
kenvandinecachio, better docs https://lazka.github.io/pgi-docs/Gio-2.0/classes/Settings.html#Gio.Settings.new_with_backend20:07
kenvandinecachio, oh... that might not be the issue at all20:09
kenvandineyou don't have a main loop20:09
kenvandineyour script is going to exit before the change can be made20:09
kenvandinei think20:09
kenvandinefor gsettings, you really need a main loop and wait until you get the changed notification from gsettings before exiting20:10
cachiokenvandine, ok, I'll work on that20:12
cachiokenvandine, I'll ping you tomorrow20:12
kenvandinecachio, i'm off tomorrow :)20:12
cachiokenvandine, ok :(20:13
kenvandinecachio, hopefully you won't need me tomorrow :)20:13
cachiokenvandine, hopefully20:13
cachiothanks for helping me20:13
kenvandinehappy to help20:14
* cachio afk20:15
mupPR snapcraft#1825 opened: metadata: add infrastructure for extracting metadata from parts <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1825>20:37
mupIssue snapcraft#1686 closed: Support strings in grammar <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1686>20:40
cmiles74I'm working on getting snap/snapd working under NixOS. When a snap is mounted, it tries to create a symlink to /etc/system/d/system representing the mount... On NixOS, most of /etc (including this path) is read-only. Can I set a flag or something to get the systemd unit written somewhere else? I could maybe link a directory in and get it working that way.21:37
Son_Gokucmiles74: no21:44
Son_Gokuyou'll need to patch it to put it somewhere else21:44
Son_Gokusnapd assumes it has control of the system21:44
cmiles74Son_Goku: Thank you. This seems like something I could make work, like it would work. Does that seem reasonable? I'm hoping it won't lead to another issue, etc.21:49
Son_Gokucmiles74: it's possible, at least you're not trying to rip out systemd requirements like the Slackware guys...21:49
Son_Gokusnapd heavily leverages systemd functionality21:49
Son_Gokubut if you've got a different writable path, you'll need to patch systemd to use that path instead21:50
Son_Gokualso note that snapd has to operate privileged21:50
Son_Gokuas it manipulates seccomp filters, among other things21:50
cmiles74Son_Goku: I don't want to remove systemd, but NixOS has some pretty particular ideas about how things in /etc, /lib, and so on should be managed. I can write things in there at install time, but at run time writing things to /etc isn't allowed. My idea is to get snap to write the system files to another location and then I will symlink them into the proper location in /etc afterwards.21:52
Son_Gokuif snapd is running as root, it should have write access to /etc21:53
jdstrandkyrofa: hey, would you mind voting on https://forum.snapcraft.io/t/alias-request-for-snap-john-the-ripper/3169/2?22:40
kyrofajdstrand, sure, let me take a look22:40
jdstrandkyrofa: it should be all of 10 seconds. pinging directly since so many or on holiday22:40
jdstrands/or/are/22:40
kyrofajdstrand, you never need to apologize for pinging me :)22:41
jdstrandthanks :)22:41
kyrofajdstrand, how high-traffic is that topic? I'm not subscribed, but perhaps I should be22:44
kyrofaEr, not topic, but category22:44
jdstrandnot very22:45
kyrofaAlright, subscribed22:48
jdstrandcool. thanks for the vote22:49
jdstrandand with that, I am eoy22:49
jdstrandhappy holidays everyone :)22:49
=== devil is now known as Guest51955
mcphailjdstrand: Happy christmas and a guid new year!23:17
ikeybut not a setguid new year23:18
kyrofaSeeya in the new year, jdstrand. Merry Christmas!23:32
mupIssue snapcraft#1687 closed: Make source grammar-powered <Created by sergiusens> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/issue/1687>23:41
mupPR snapcraft#1817 closed: grammar: support strings <Created by kalikiana> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1817>23:41
mupPR snapcraft#1826 opened: appstream: extract appstream metadata from parts <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1826>23:44

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