/srv/irclogs.ubuntu.com/2017/05/06/#snappy.txt

snapresearchHI, I have a quick question - how to integrate openvpn (client) into a snap?00:11
shadeslayerhey!08:25
flux242Hi, 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)09:29
Chipacathe package index is timing out; I've contacted IS.10:09
=== __chip__ is now known as Chipaca
mupPR core#37 opened: install keyring (LP: #1670475), update pkglists <Created by ogra1> <https://github.com/snapcore/core/pull/37>10:50
mupPR core-build#10 opened: make /etc/environment writable <Created by ogra1> <https://github.com/snapcore/core-build/pull/10>10:55
Chipacaogra_: will that work with atomic writes?11:00
ogra_Chipaca, no11:00
Chipacaogra_: what needs doing so it does?11:01
ogra_like any ontgher single file we make writable like this11:01
ogra_unionfs ... aufs, overlayfs ?11:01
Chipacaogra_: so this bind-mounts instead of being a symlink?11:01
ogra_yes11:01
Chipacaogra_: how do you say "make it a symlink"?11:01
ChipacaNicolinoCuralli: you're making me wish i disabled join/part notifications11:01
ogra_you create a file in /etc/writable and link to it ...11:02
ogra_problem is ...11:02
Chipacaogra_: any reason not to do that?11:02
ogra_ /etc/environment is hardcoded in half the world ... so that wont work here11:02
Chipacawhy?11:02
Chipacathey won't follow a symlink?11:02
ogra_because i highly dbout anything reading it follows symlinks11:02
ogra_we could try ... but i really doubt it11:03
Chipacapeople have to do extra work to not follow symlinks11:03
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 atomic11:05
ogra_it isnt like we could make the system unbootable or something if that fails11:05
ogra_(and i will surely fight adding other random stuff to that file that might make it break the boot)11:06
Chipacaogra_: 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 it11:07
ogra_you cp it to /tmp ... change the file in tmp and then you mv ...11:08
Chipacaogra_: /tmp is a different filesystem, so mv is a cp, is an open and write11:08
ogra_(you could add an additional check between editing and mv if that makes you feel safer)11:08
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 concerned11:09
Chipacai mean, try it with python, easy enough to do11:09
ogra_well, i dont really want to add all the problems we have with /etc/writable to that file11:10
ogra_then i'll rather keep it readonly and have whatever adds the proxy add it differently11:10
Chipacaogra_: every time we come to this area I'm closer to thinking we need to reverse the logic11:11
Chipacaogra_: and make /etc writable except for <these things>11:11
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 it11:12
Chipacaok11:12
ogra_/etc/writable is an ugly wart11:13
Chipacalower your voice! don't want it to hear and throw a hissy fit11:13
ogra_lol11:13
jfcastroluisis snap store down?11:30
jfcastroluisI can't install snaps11:34
jfcastroluisClient.Timeout exceeded while awaiting headers11:35
jfcastroluisnetwork is working ok11:35
jfcastroluismaybe the server?11:35
jfcastroluisanybody with problems also?11:35
Chipacajfcastroluis: yes, the store is down, people are working on it11:45
jfcastroluisChipaca: ok, thank you! :)11:47
jfcastroluiswhere is hosted snap store? aws?11:47
Chipacajfcastroluis: I think it's in one of canonical's DCs11:48
jfcastroluishow you know is down? is there a status page? for next times (hope not many :)11:49
Chipacajfcastroluis: I know the URL to the store?11:51
Chipacaand it times out11:52
jfcastroluisok, ok! :)11:52
sciencefyllhellu15:09
sciencefylli hear du guys liked feedback15:09
sciencefyllso i just wanted to say that on my fresh manjaro xfce install, it hangs right after you install it15:09
sciencefylli've run both systemctl start/enable snapd.socket and systemctl start/enable snapd.refresh.timer15:10
sciencefyllrunning "sudo snap install discord" makes it hang at "[-] Run configure hook of "core" snap if present"15:10
sciencefyllforce 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:12
sciencefyllis this chat dead? xD15:13
ogra_sciencefyll, you are better off to post to the forum onn weekends (see the channel topic)15:17
=== JanC is now known as Guest57282
=== JanC_ is now known as JanC
mupPR snapcraft#1300 opened: tools: add a script to install autopkgtest dependencies <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1300>18:06
ali1234hi. 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
ali1234and does anyone want to help me clean it up and do that?18:46
ali1234its here: https://github.com/ali1234/mysnaps/tree/master/sigrok18:47
ali1234upstream showed interest in it too18:47
ali1234oh there's a raw-usb interface now18:50
=== AdamH__ is now known as adamh__
ali1234i 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
ali1234type=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:13
mupPR snapcraft#1301 opened: recording: record global build-packages installed on the host <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1301>19:21
ali1234it still works in devmode19:26
fgfgffgfhfghsghok19:42
fgfgffgfhfghsghnow, please tell me19:43
ali1234qt5 apps aren't themed correctly, not even in the store19:55
ali1234also "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',))19:56

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