[00:11] <snapresearch> HI, I have a quick question - how to integrate openvpn (client) into a snap?
[08:25] <shadeslayer> hey!
[09:29] <flux242> Hi, What does this mean?$ sudo snap refresherror: cannot refresh []: Post https://search.apps.ubuntu.com/api/v1/snaps/metadata: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
[10:09] <Chipaca> the package index is timing out; I've contacted IS.
[10:50] <mup> PR core#37 opened: install keyring (LP: #1670475), update pkglists <Created by ogra1> <https://github.com/snapcore/core/pull/37>
[10:55] <mup> PR core-build#10 opened: make /etc/environment writable <Created by ogra1> <https://github.com/snapcore/core-build/pull/10>
[11:00] <Chipaca> ogra_: will that work with atomic writes?
[11:00] <ogra_> Chipaca, no
[11:01] <Chipaca> ogra_: what needs doing so it does?
[11:01] <ogra_> like any ontgher single file we make writable like this
[11:01] <ogra_> unionfs ... aufs, overlayfs ?
[11:01] <Chipaca> ogra_: so this bind-mounts instead of being a symlink?
[11:01] <ogra_> yes
[11:01] <Chipaca> ogra_: how do you say "make it a symlink"?
[11:01] <Chipaca> NicolinoCuralli: you're making me wish i disabled join/part notifications
[11:02] <ogra_> you create a file in /etc/writable and link to it ...
[11:02] <ogra_> problem is ...
[11:02] <Chipaca> ogra_: any reason not to do that?
[11:02] <ogra_>  /etc/environment is hardcoded in half the world ... so that wont work here
[11:02] <Chipaca> why?
[11:02] <Chipaca> they won't follow a symlink?
[11:02] <ogra_> because i highly dbout anything reading it follows symlinks
[11:03] <ogra_> we could try ... but i really doubt it
[11:03] <Chipaca> people have to do extra work to not follow symlinks
[11:05] <ogra_> why is atomic so important for you ? we wont allow more than a proxy setting ... writing to a tmp file and mv is close to atomic
[11:05] <ogra_> it isnt like we could make the system unbootable or something if that fails
[11:06] <ogra_> (and i will surely fight adding other random stuff to that file that might make it break the boot)
[11:07] <Chipaca> ogra_: because if we don't, the file will get corrupted (most likely being zero'd out)
[11:07] <ogra_> how ?
[11:07] <ogra_> we dont open it
[11:08] <ogra_> you cp it to /tmp ... change the file in tmp and then you mv ...
[11:08] <Chipaca> ogra_: /tmp is a different filesystem, so mv is a cp, is an open and write
[11:08] <ogra_> (you could add an additional check between editing and mv if that makes you feel safer)
[11:09] <ogra_> well, then /var/tmp or whatnot ... you knwo waht i mean :)
[11:09] <Chipaca> _as far as i know_ (but we can test if you want) they're all different filesystems as far as rename is concerned
[11:09] <Chipaca> i mean, try it with python, easy enough to do
[11:10] <ogra_> well, i dont really want to add all the problems we have with /etc/writable to that file
[11:10] <ogra_> then i'll rather keep it readonly and have whatever adds the proxy add it differently
[11:11] <Chipaca> ogra_: every time we come to this area I'm closer to thinking we need to reverse the logic
[11:11] <Chipaca> ogra_: and make /etc writable except for <these things>
[11:12] <ogra_> Chipaca, we need to change it ... weather it is by reversing the logic, i dont know .... it was on the "to discuss" list for the sprint ... lets see what came out of it
[11:12] <Chipaca> ok
[11:13] <ogra_> /etc/writable is an ugly wart
[11:13] <Chipaca> lower your voice! don't want it to hear and throw a hissy fit
[11:13] <ogra_> lol
[11:30] <jfcastroluis> is snap store down?
[11:34] <jfcastroluis> I can't install snaps
[11:35] <jfcastroluis> Client.Timeout exceeded while awaiting headers
[11:35] <jfcastroluis> network is working ok
[11:35] <jfcastroluis> maybe the server?
[11:35] <jfcastroluis> anybody with problems also?
[11:45] <Chipaca> jfcastroluis: yes, the store is down, people are working on it
[11:47] <jfcastroluis> Chipaca: ok, thank you! :)
[11:47] <jfcastroluis> where is hosted snap store? aws?
[11:48] <Chipaca> jfcastroluis: I think it's in one of canonical's DCs
[11:49] <jfcastroluis> how you know is down? is there a status page? for next times (hope not many :)
[11:51] <Chipaca> jfcastroluis: I know the URL to the store?
[11:52] <Chipaca> and it times out
[11:52] <jfcastroluis> ok, ok! :)
[15:09] <sciencefyll> hellu
[15:09] <sciencefyll> i hear du guys liked feedback
[15:09] <sciencefyll> so i just wanted to say that on my fresh manjaro xfce install, it hangs right after you install it
[15:10] <sciencefyll> i've run both systemctl start/enable snapd.socket and systemctl start/enable snapd.refresh.timer
[15:10] <sciencefyll> running "sudo snap install discord" makes it hang at "[-] Run configure hook of "core" snap if present"
[15:12] <sciencefyll> force stopping it, and running it a second time gives the issue:
[15:12] <sciencefyll> "INFO snap "core" has bad plugs or slots: core-support-plug (unknown interface)"
[15:13] <sciencefyll> is this chat dead? xD
[15:17] <ogra_> sciencefyll, you are better off to post to the forum onn weekends (see the channel topic)
[18:06] <mup> PR snapcraft#1300 opened: tools: add a script to install autopkgtest dependencies <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1300>
[18:46] <ali1234> hi. i made a sigrok snap ages ago but it never worked outside dev mode because it needs raw usb access. should i just make it use classic mode and put it in the store?
[18:46] <ali1234> and does anyone want to help me clean it up and do that?
[18:47] <ali1234> its here: https://github.com/ali1234/mysnaps/tree/master/sigrok
[18:47] <ali1234> upstream showed interest in it too
[18:50] <ali1234> oh there's a raw-usb interface now
[19:13] <ali1234> i built my snap to use the raw-usb interface and connected it but i still get "sr: backend: libusb_init() returned LIBUSB_ERROR_OTHER."
[19:13] <ali1234> type=1400 audit(1494097705.817:107): apparmor="DENIED" operation="create" profile="snap.sigrok.sigrok-cli" pid=8274 comm="sigrok-cli" family="netlink" sock_type="raw" protocol=15 requested_mask="create" denied_mask="create"
[19:21] <mup> PR snapcraft#1301 opened: recording: record global build-packages installed on the host <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1301>
[19:26] <ali1234> it still works in devmode
[19:42] <fgfgffgfhfghsgh> ok
[19:43] <fgfgffgfhfghsgh> now, please tell me
[19:55] <ali1234> qt5 apps aren't themed correctly, not even in the store
[19:56] <ali1234> also "snapcraft cleanbuild" still fails: HTTPSConnectionPool(host='parts.snapcraft.io', port=443): Max retries exceeded with url: /v1/parts.yaml (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe2d6334898>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))