/srv/irclogs.ubuntu.com/2018/09/17/#snappy.txt

=== pstolowski|afk is now known as pstolowski|sprin
=== pstolowski|sprin is now known as pstolowski|sprnt
mupPR core18#67 closed: hooks: add ping <Created by mvo5> <Merged by sil2100> <https://github.com/snapcore/core18/pull/67>08:15
ahasenackhi, is awk supposed to be in the core snap?08:48
ahasenackI started getting this error today:08:48
ahasenack09/17/2018 05:44:20 - ERROR:stderr: /snap/git-ubuntu/433/usr/share/quilt/push: line 306: awk: command not found08:48
ahasenackmy core snap was updated 5 days ago, and I haven't used the laptop since then (was on pto)08:48
ahasenackor maybe this is related to snapd's update regarding the PATH issue from last week?08:49
mupPR snapcraft#2277 opened: snap: move to a newer pysha3 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2277>09:34
jameshahasenack: git-ubuntu is a classic snap, so it may be relying on utilities on the host system09:40
jameshawk is definitely in the core snap, but /usr/bin won't be from core for classic snaps09:40
jameshand looking at the core snap, /snap/core/current/usr/bin/awk is an absolute symlink, so won't resolve if the snap adds /snap/core/current/usr/bin to $PATH09:42
=== phoenix_firebrd is now known as murthy
sergiusensWimpress: how's the sprint?10:32
WimpressAll good10:33
ads20000popey: quick idea, does the snap-advocacy-bot thingy update snap dependencies automatically? If so: 1. That's really really cool!!! 2. Where's the code and could you guys make it a service for other snaps to use?11:19
ads20000*non-snapcrafters snaps11:19
ahasenackjamesh: thanks. Trying to track what changed, since the git-ubuntu snap didn't (afaik)11:27
jameshahasenack: looking at the git-ubuntu snap.yaml, it is definitely adding /snap/core/current/usr/bin to $PATH11:29
jameshahasenack: so if I had to guess, the usr/bin/awk symlink has changed from relative to absolute11:30
jameshahasenack: I suspect https://github.com/snapcore/core/pull/93 is the cuprit11:31
jameshculprit, even11:31
mupPR core#93: hooks: unwind /etc/alternatives <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core/pull/93>11:31
ahasenackrbasak: ^11:32
rbasakjamesh: that sounds likely. I'm happy to fix the git-ubuntu snap as needed, but isn't it a problem that changes in the core snap regress existing classic snaps like this?11:35
jameshrbasak: I don't think it is a problem with the git-ubuntu snap11:35
rbasakOh, I misunderstood. You think it could be a core snap regression then?11:36
jameshrbasak: yeah.  Ideally all these symlinks should be relative so they point at the same thing whether in strict or classic confinement11:38
rbasakOK, thanks11:39
popeyads20000: it is just a shell script that touches a file which triggers a rebuild. It's not that clever :D11:42
mborzeckicachio: https://api.travis-ci.org/v3/job/428160334/log.txt11:44
popeyads20000: the goal was to trigger a rebuild of every single snap in snapcrafters to review what's broken11:45
rbasakIs there a reliable way for me to detect inside the code in a part whether snapcraft is running (eg. by it calling setup.py) or if I'm running in production?11:59
rbasakI was using $SNAP but that only worked with the deb, and I suspect it has stopped working with the latest snapcraft in Xenial.12:00
rbasakThis is for a workaround for a bug, so some kind of temporary hack will also do.12:00
popeyrbasak: to detect if you're currently building via snapcraft? There are various $SNAPCRAFT_ environment variables that only exist during the snap build in snapcraft12:18
popeye.g. $SNAPCRAFT_PART_INSTALL12:19
rbasakThat sounds like it'll do. Thanks!12:20
cachiomborzecki, https://paste.ubuntu.com/p/PHhq2ZpMH7/12:22
ads20000popey: oh I see... fair enough! :)12:25
jameshpopey: is SNAPCRAFT_PART_INSTALL actually set in the environment?  I thought they just expanded it in the scriptlet12:27
popeyoh, one for @sergiusens12:28
ograthere are other vars though12:29
ograthresh, yo ... i noticed that vlc can not access any avahi exported resources (namely i run various webcams around my house and while i can open them in a browser, the vlc snap does not resolve .local names at all)12:34
ograopeing them via IP works fine ...12:34
ograprobably just adding the "avahi-observe" plug would just be enough ... not sure ...12:35
threshpossibly12:37
threshif you could test that I'd be grateful12:37
ograif you can provide a snap with it enabled (in edge or so) i'll happily test12:41
threshlet me fire the build then12:47
threshogra, you're on stable right, so 3.0.4?12:48
mupPR snapd#5835 opened: tests: find snaps just for edge and beta channels <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5835>12:59
ograthresh, yep13:01
mupPR snapd#5827 closed: ifacestate/autoconnect: do not self-conflict on setup-profiles if core-phase-2 <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5827>13:14
mupPR snapcraft#2278 opened: snap: pull early <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2278>13:22
kyrofaHey Chipaca, what is the core snap release process? Does snapd master land anywhere that it can be used?13:29
ograthere is a PPA13:29
threshogra, it's in beta, #58313:30
mupPR #583: interfaces: support permanent security snippets <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/583>13:30
ograkyrofa, does https://launchpad.net/~snappy-dev/+archive/ubuntu/edge help ?13:30
kyrofaogra, I should have just asked that second question: how can I test out a feature in snapd that hasn't yet been released?13:30
ograkyrofa, ah, just the edge core snap then13:30
ograthat should always have a daily build of master13:31
kyrofaOh, that's what I thought, but a feature seems to be missing. Maybe it's my problem13:31
ogra(though dont ask me how that works for core18 ... )13:31
threshit also seems vlc from the store is missing a camera autoconnect13:32
ograwell ... not sure if i'd like it to do that on my system13:33
kyrofaogra, it seems edge core contains 2.35.213:33
ograso manual seems fine13:33
kyrofa(unless that version is hard-coded)13:33
popeyjdstrand: did something change in mksquashfs overnight? I have a snap which grew 5.5MB, but contents are same from yesterday to today.13:33
ograkyrofa, ah, i think mvo overrides it when he does a release, normally you have dailies from master though13:33
ograpopey, debug symbols ? (check the sizes of the binaries if you have yesterdays build around)13:35
popeythe contents are the same13:35
popeyonly the snap grew overnight13:35
kyrofaogra, are you in brussels?13:36
ograkyrofa, nope13:37
ogra250km east :)13:37
kyrofa:(13:37
kyrofaWell drive over here already13:37
ograhaha13:37
ograthresh, https://paste.ubuntu.com/p/NQbtcQ9wGC/ ... sadly the interface isnt enough ... i guess it'd also need a client lib or some such13:39
ograIP works fine ...13:39
ogra$ vlc http://192.168.2.59:8080/?action=stream13:39
ograVLC media player 3.0.5 Vetinari (revision 3.0.4-20-g7df06c6)13:39
ogra[0000000000d5f3b0] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.13:39
ogra(the UI pops up after that line)13:39
popeyDo you have network-bind?13:42
ograyeah, vlc has that by default13:42
ogra(and it is auto-connected)13:43
threshI think it has the avahi-client lib or somethign13:44
threshI mean the discovery works so13:44
ograwatching dmesg while it starts up with avahi address only gets me the typical perf denial ... nothing special there13:45
ogra(and using the IP shows the same message ... )13:45
threshogra, do you have avahi-daemon running?13:48
threshrunning vlc -vv gives me e.g. "[00007fa7d0d7b530] avahi services discovery: service 'ms' of type '_sftp-ssh._tcp' in domain 'local' port 2213:48
ograthresh, locally ? sure, else the browser wouldnt open the url13:48
ograand the processlist agrees13:49
threshbut it did resolve to an ip address it seems13:49
threshogra, can you PM/mail me the output of vlc -vv from your machine so I can compare?13:49
threshpreferably with LC_ALL=C13:49
ograwow, thats a lot of output ...13:51
ograhttps://paste.ubuntu.com/p/yW78Kct79N/13:51
ograthresh, ^^^13:51
threshoh I should have been more verbose: try accessing the discovered streams as well13:52
threshah wait13:52
threshyou're using CLI to actually access them13:53
ograi can use the UI only but that gets the same result13:53
ograhttps://paste.ubuntu.com/p/93nJGhkXHB/13:54
ograsame thing using the GUI to open the stream URL13:55
threshyou probably used "open network stream";  can you go to the "zeroconf network services" to check if it's there?  https://imgur.com/98AKRXp13:59
threshnormally it's nsswitch.conf that's supposed to have mdns4 or somethign similar, I'm not sure how that works in the snapped env14:00
ograi actually use "open network stream" (is there another way ?)14:00
ograsorry, i had to change machines now for a meeting ... will take a bit til i get back to the other one14:01
threshinterestingly this "zeroconf network services" works without granting vlc avahi-observe14:01
threshsure14:01
ogramy typical way is: media -> open network stream -> pick (former) URL from the pulldown14:02
ograi normally use the minimal interface and no playlist ... so i never noticed there is that zeroconf list14:02
kyrofazyga, are you around?14:11
mupPR snapd#5836 opened: tests: try to build cmd/snap for darwin <Created by chipaca> <https://github.com/snapcore/snapd/pull/5836>14:14
Chipacakyrofa: in a meeting14:21
kyrofaChipaca, does snapd actually have a room?14:21
Chipacakyrofa: yes14:22
Chipacakyrofa: we are fancy that way14:22
kyrofaIt's not on the spreadsheet. Or rather, it is, but it's actually MY room :P14:22
Chipacakyrofa: ¯\_(ツ)_/¯  come up to floor 7. We have cookies.14:24
Chipaca* the cookies are, all of them, lies14:24
kyrofaNice. Cookies always have butter in them anyway14:24
mupPR snapd#5837 opened: daemon: make error responders not printf when called with 1 argument <Created by chipaca> <https://github.com/snapcore/snapd/pull/5837>14:41
mupPR snapcraft#2277 closed: snap: move to a newer pysha3 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2277>14:52
mupPR snapd#5838 opened: many: return real snap name in API response <Created by zyga> <https://github.com/snapcore/snapd/pull/5838>14:56
mupPR snapd#5839 opened: overlord/state: return latest LastAdded time in WarningsSummary <Created by chipaca> <https://github.com/snapcore/snapd/pull/5839>14:57
ograthresh, so looking at the zeroconf stuff, that only opens sftp to act as file server15:10
ogra(back at the other machine)15:10
threshbut they do resolve?15:11
threshprobably via libavahi calls, not system dns resolver15:11
ograyes, they do resolve and i get a user/password prompt15:12
ograbut i guess thats very specific to the file services bit in the playlist ... wotn affect generic DNS resolution15:13
ogra*wont15:13
mupPR snapcraft#2279 opened: sanity checks: run properly on build VMs <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2279>15:14
threshinteresting that we only support ftp/sftp/nfs/smb/rtsp published via avahi, and not http15:14
ograah, is there a protocol list in the code somewhere ?15:14
kyrofasergiusens, ^15:15
ograperhaps thats the limiting bit15:15
threshyep https://git.videolan.org/?p=vlc.git;a=blob;f=modules/services_discovery/avahi.c;h=956835dbc1ad2f5376a50e09cf2ce0e934933320;hb=10e610ee2f1f11c6fbc6f723bb52a665010fbeb7#l8115:15
threshwell, I'm pretty sure vlc wont try avahi-sd when it just gets the http://foo.local/ link15:16
ograaha15:17
ograso not actually a snap issue then ... interesting15:17
ogra(funny that i never noticed it before though ... but i really havent)15:18
threshwill a regular system resolver be used for gethostbyname calls in a snap?15:18
threshI mean, does it respect the system-wide nsswitch magic or core snap has its own copy?15:19
ograit should through network and network-bind i think15:19
ograhmm15:20
ograchromium cant resolve it either15:20
ograjust trying with the chromuim snap here15:21
threshthen I'm a bit buzzled why it works in firefox then15:22
ograwell, not using a FF snap here15:22
threshmy snapped firefox doesnt resolve .local too15:22
ograbut it seems to be a systemic snap issue15:22
ograyeah15:23
threshnon-snapped ping foo.local works though, so I would say different settings in nsswitch for snaps15:23
ograaha ... snaps only use https://www.freedesktop.org/software/systemd/man/nss-resolve.html15:25
ograso the fact that i'm running 16.04 whihc doesnt use systemd-resolved might also play a role15:25
threshI'm on debian testing, and I dont have that daemon as well15:26
ograoh, really ? did debian not switch to it yet ?15:26
ogra18.04 uses it by default15:26
ograinstead of resolvconf ...15:27
ograthere is definitely nothig in any interface allowing access to nsswitch.conf though15:28
ograso unless the snap uses systemd's nss resolver .local links wont be resolved anywhere15:29
ograsmells like a bug ... hmm15:29
threshI've no idea what's the default in debian these days, I try to avoid system-* stuff where possible15:29
ograthresh, well, not a vlc issue in any case, thanks a lot for your time15:30
threshno problem at all15:30
ogra(and thanks for vlc ... it is one of my most used snaps !)15:30
mwhudsonChipaca: is created-at from the store v2 api going to get propagated to the snapd v2/find endpoint any time soon?15:34
Chipacamwhudson: define soon15:34
Chipacamwhudson: once the search api is also v2, yes15:34
Chipacamwhudson: otherwise search and info would be too different15:34
mwhudsonChipaca: dunno what i mean by soon really15:35
mwhudson(or any other words at this point of the day)15:35
mwhudsonthe reason for asking is that i want to show the info in subiquity15:35
Chipacamwhudson: there's a v2 search session this week15:35
mwhudsonwhich currently just pings v2/find?name=blah15:35
Chipacamwhudson: be there or be parallelepiped15:35
mwhudsonChipaca: "snap search improvements"?15:36
Chipacamwhudson: yeh15:36
Chipacaprobably15:36
* Chipaca looks15:36
Chipacamwhudson: yes, that's the one i meant15:37
mwhudsonok15:37
mwhudsoni shall consider loitering15:37
Chipacamwhudson: when you say it pings v2/find,  you mean on the store?15:39
mwhudsonno15:39
threshogra, I wonder if there is any software capable of publishing http streams on avahi15:39
mwhudsonon snapd15:39
threshI'd try that at home15:39
mwhudsonsorry, should have said15:39
ograthresh, well, on a laptop with webcam: snap install mjpg-streamer, edit "DAEMON" from false to true in /var/snap/mjpg-streamer/current/config; snap restart mjpg-streamer ... then it serves on "http://<host>.local:8080/?action=stream"15:46
ograshould theoretically work on any modern lptop15:47
ogra*laptop15:47
ograoh, i forgot ... snap connect mjpg-streamer:camera ... it doesnt auto-connect15:51
threshright, thanks!15:53
mupPR snapcraft#2280 opened: Use the better snapcraft.io/account URL <Created by evandandrea> <https://github.com/snapcore/snapcraft/pull/2280>16:35
mupPR snapcraft#2276 closed: spread: move legacy wiki tests to spread <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2276>16:50
mupPR snapcraft#2278 closed: snap: pull early <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2278>16:50
anarcathello16:55
anarcati'm trying to figure out the history of my firefox snap package16:55
anarcati'm running 62 now but i seem to recall other versions were installed in the past16:55
anarcatwhat's the magic command? "snap changes" doesn't yield any output16:55
Thesaurusdid they break the icons for gnome-system-monitor and gnome-characters in a recent update?17:23
threshhmm, seems apt://vlc no longer works as a <a> link to install VLC on Ubuntu Software app anymore, any tips what snapcraft.io app uses?18:35
threshsnap://vlc it seems18:41
=== phoenix_firebrd is now known as murthy

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