/srv/irclogs.ubuntu.com/2016/10/30/#snappy.txt

=== JanC is now known as Guest84922
=== JanC_ is now known as JanC
mupPR snapcraft#868 closed: Parametrize call args for pluginhandler <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/868>07:36
zygaSon_Goku: hey13:23
zygaSon_Goku: greetings from bucharest13:23
zygaSon_Goku: how's stuff?13:23
Son_Gokuyou're alive!13:23
Son_Goku*\o/*13:23
zygagee, dude, shave ;-)13:23
zygathis is the last week of my journes13:24
zygaI saw some warnings that snap-confine doesn't build in master13:24
zygaSon_Goku: how are you doing?13:25
Son_GokuI'm alright13:26
Son_GokuI've been getting pings about snapd for Fedora though13:26
Son_Gokuand you missed me getting the policy working13:26
zygaSon_Goku: \o/13:27
zygaSon_Goku: wooot, what's next?13:27
* zyga hugs Son_Goku :)13:27
Son_Gokuhttps://github.com/zyga/snapcore-fedora/pull/1013:27
mupPR zyga/snapcore-fedora#10: Refresh patches for snapd spec <Created by Conan-Kudo> <https://github.com/zyga/snapcore-fedora/pull/10>13:27
Son_Gokufirst, merge that13:27
zygaSon_Goku: I was broken during wekeend and partially last week, trying to get some health back13:27
zygachecking that out now :)13:28
Son_Gokuthen update https://bugzilla.redhat.com/show_bug.cgi?id=1367825 with a new spec13:28
Son_Gokuand SRPM13:28
zygayep, with pleasure!13:28
Son_Gokuand since the service files have changed a bit, check to be sure if additional services need to be requested for the preset: https://bugzilla.redhat.com/show_bug.cgi?id=136793213:29
zygaSon_Goku: yeah, I was just thinking about that13:29
Son_GokuI think snapd.autoimport.service needs to be enabled as well13:29
zygaSon_Goku: no, not really, it's just for core AFAIK13:29
zygaSon_Goku: I need to check with mvo when he's here today but I don't think we need it13:29
zygawell. think :)13:29
zygaDid you get it to work all the way?13:30
zygawith snaps installing and stuff?13:30
zyga`+2.8.4 (Apple Git-73)13:30
Son_Gokuwell, I need to retest on a fresh VM to be certain, but yes13:30
zygawas that you or me? :)13:30
Son_Gokuhttps://github.com/snapcore/snapd/blob/master/debian/rules#L6613:30
zygathat's amazing :)13:30
Son_Gokuthat's where I checked to see the services that should be enabled13:31
zygayeah, I know we run them everywhere13:31
zygabut I think this was just us hurrying with image readiness13:31
zygaI'll double check with mvo13:31
Son_Gokuah13:31
zygaI'd rather not enable that service unless we have to13:31
Son_Gokuright13:31
Son_Gokuif it's not necessary, then leave it be13:31
Son_GokuI've already updated the patches to have new versions of the services :)13:32
Son_GokuO.o13:34
Son_Gokuffs13:34
Son_Gokuthe store doesn't work now!13:34
Son_Gokubecause it uses port 5313:34
Son_Gokunowhere was that documented :(13:34
zygaSon_Goku: what's the .foo syntax in %patchN13:34
=== pedronis` is now known as pedronis
zygawhat?!?13:35
Son_Gokuzyga, if the patch fails, the buildroot maintains a backup copy of the original with that prefix13:35
zygaport 53?13:35
zygaah, nice13:35
Son_Gokumakes it easier for rediffing13:35
Son_Gokuwtf is it using port 53 for?!13:35
zygaSon_Goku: DNS?13:36
zygaSon_Goku: can you point me to some code that does this?13:36
Son_GokuI just tried to do "sudo snap install hello"13:36
Son_Gokutry it in a Fedora VM with the package and latest stuff13:36
Son_Gokuah, I think it is DNS lookup13:36
Son_Gokuwhy is snapd doing its own DNS lookup?13:37
zygaSon_Goku: probably because it's golang but I'm checking13:37
zygaSon_Goku: yes, internal DNS13:39
zygaSon_Goku: does that need selinxu tweaks?13:39
Son_Gokuyes13:39
Son_Gokuare there any other TCP/UDP things that I need to do as well?13:39
zygaI don't know of any13:41
zygajust https and DNS13:41
zygaSon_Goku: as a side comment, working on confinement of any kind makes you re-learn how the stack _really_ works13:42
zygaSon_Goku: I find that refreshing13:42
zygaSon_Goku: merged13:46
Son_GokuI'm working on adding rules for dns and http cache ports13:46
Son_GokuI have a feeling it'd be a good idea to add cache ports too13:46
zygaSon_Goku: http cache?13:47
* zyga is starving, had u-breakfast only 13:47
Son_Gokuports like 8080, etc.13:47
Son_Gokuoften used by proxies and stuff13:48
zygaah, I understand13:48
zygasure13:48
zygaSon_Goku: ok, we don't want autoimport13:51
zygaSon_Goku: I'll ript it out (both the service and udev)13:51
Son_Gokuokay13:51
zygaSon_Goku: this means the approvals are okay now13:51
Son_Gokujust don't install the files, but leave the patches alone13:51
zygaSon_Goku: I'll do this and redo the SRPM :)13:51
zygaOK13:51
Son_Gokuwhat are they used for, btw?13:51
zygathey are used to claim a headless device13:52
zygaplug a drive with stuff you made elsewhere13:52
Son_Gokuah13:52
Son_Gokuuseless then13:52
zygait sucks assertions13:52
zygayes13:52
zygaand "acks" them13:52
Son_Gokubut yeah, leave the patch alone13:52
zyga(imports and checks signatures and cross-signatures and stuff)13:52
Son_Gokuas it can eventually be applied to snapd once the debian packaging is gutted from the package13:52
Son_Gokutechnically, it could be applied now, as it doesn't conflict13:53
Son_Gokubut... meh13:53
zygaSon_Goku: pushed a small patch, please look at it13:57
zygaSon_Goku: this week I'll try to merge snap-confine into snapd and we _may_ finally get dist tarballs13:59
Son_Gokuneh14:00
Son_Gokunot particularly enthused about that *shrugs*14:00
zygawell, it will simplify a lot though14:00
zygaone package14:00
Son_Gokuat least from my point of view, not really14:01
Son_Gokuif we really wanted to build everything as one thing, we could have, since rpmspec supports multiple sources14:01
Son_Gokutechnically, so does dsc built debian packages14:02
zygaSon_Goku: yeah, that's true, this is more of an upstream change though, it will make changes easier14:02
zygaclose coupling between the two packages14:02
Son_Gokuzyga, you know, I'm surprised you guys don't just use systemd presets in the packaging of snapd for Debian/Ubuntu14:08
Son_Gokuit makes things a lot simpler14:08
Son_Gokuthen you don't even *need* dh-systemd to do much14:08
zygaSon_Goku: I suspect because those are not used in debian but I don't know14:09
zygaSon_Goku: the first time I even realized this feature existed was when I started working with fedora14:10
zygaSon_Goku: I'm building everything locally for testing14:11
zygaSon_Goku: I'll do a small release of snap-confine to fix some issues and integrate patches with packaging, probably 1.0.44.114:11
zygaSon_Goku: but only after this works :)14:11
zygaSon_Goku: I think we should do f24+ only for now14:11
zygaSon_Goku: until 23 is resolved14:11
zygaSon_Goku: right now I think I broke 23 because of older libc (trivial patch already merged into master)14:12
zygaSon_Goku: and we need to update something (still unsure what) to get store interaction to work14:13
Son_Gokuwell, Fedora 23 is EOL in December14:13
zygaSon_Goku: but again, I'll focus on 23 when 24+ is done14:13
zygaSon_Goku: are there any stats available to know how many users moved to 24 already?14:13
* Son_Goku shrugs14:13
zygaOK14:13
zygawell, I think 23 shoudl be easy-ish14:14
zygafingers crossed :)14:14
zygaSon_Goku: what should I say for bodhi type= when there's just a new upstream release?14:16
Son_Gokuuse bugfix as the type unless it's an enhancement14:16
zygaSon_Goku: I want to update snap-confine in f24 with the new patches and snap runtime layout14:16
Son_Gokuor a security fix14:16
Son_Gokubugfix14:16
Son_Gokuuse bugfix14:16
zygaSon_Goku: is there a bug? I think we can only refer to snapd tracking bug itself (/snap change)14:16
Son_Gokubugfix doesn't require a bug14:17
zygaSon_Goku: do I need a bug number or will it ignore it?14:17
zygaah, OK14:17
Son_Gokuit'll ignore it if no bugs are listed14:17
zygaSon_Goku: any karma tweaks I should apply?14:17
Son_Gokuchange the positive karma version from 3 to 114:17
zygathanks, done14:18
Son_Gokuthough I hadn't been pushing snap-confine updates through bodhi because I figured we'd want to ship snap-confine and snapd in the same update14:18
zyga  https://bodhi.fedoraproject.org/updates/FEDORA-2016-c579dae0b414:18
zygawell, not today :)14:19
zygatoday I just want both out14:19
Son_Gokuwell, fortunately, we can edit an existing update :)14:20
zygaand this is 2514:21
zyga  https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3b947ec5d14:21
* zyga reboots with enforcing policy :)14:21
zyga"make selinux enforcing again"14:21
zygaI'll bump snap-confine dependeny to .4414:24
zygaSon_Goku: more selinxu denials14:25
zygapaź 30 15:25:38 fedora24 setroubleshoot[3400]: SELinux is preventing snapd from read access on the directory /etc/systemd/system. For complete SELinux messages. run sealert -l 3dc56126-a462-4305-8495-d9bb54be374014:26
zygaSon_Goku: can you please include that in the policy?14:26
Son_Gokuwhy does it need to read /etc/systemd/system?14:26
zygaSon_Goku: you made it :)14:26
zygaah14:26
zygawell, sorry14:26
zygamy bad :)14:26
zygait needs to because it looks there for systemd units14:26
zygaand knows which one to make and which to remove14:27
zyga(snap specific untis)14:27
Son_Gokuso it needs read/write access to /etc/systemd/system14:27
zygaSon_Goku: correct14:27
zygaSon_Goku: one more denial14:27
zygapaź 30 15:25:29 fedora24 setroubleshoot[3400]: SELinux is preventing snapd from node_bind access on the tcp_socket port None. For complete SELinux messages. run sealert -l 73e31352-953f-4156-8ab0-7b67ce1db01914:27
zygapaź 30 15:25:29 fedora24 python3[3400]: SELinux is preventing snapd from node_bind access on the tcp_socket port None.14:28
zygathat's internal golang thing that probes for ipv614:28
zygaSon_Goku: does this look ok? http://paste.ubuntu.com/23402604/14:35
Son_Gokuthat's fine14:35
zyga(I switched to ubuntu pastebin as the one on fedora didn't work for some reason)14:35
zygaSon_Goku: pushed14:36
zygaSon_Goku: if you fix the policy I think we can get this in now :)14:36
zygaSon_Goku: can I help you in any way?14:36
Son_Gokuhmm14:39
Son_Gokuthis is annoying14:39
Son_GokuI may have to grant access to unlabeled files because snaps don't have the label applied to them :(14:39
zygaSon_Goku: can you be more specifc?14:40
zygaSon_Goku: snapd doesn't touch (I think) snap files, just systemd units it creates, udev rules it creates and a few other similar things (dbus xml stuff)14:40
zygaSon_Goku: can those inherit the label from snapd somehow?14:40
Son_Gokunot sure14:41
Son_GokuI wonder if systemd mounts can be set up to mount with a label?14:41
zygaSon_Goku: maybe, let me look14:41
zygaSon_Goku: nothing in systemd.mount14:42
zygaer, systemd.unit14:42
zygamorphis: hey14:47
zygamorphis: are you working today?14:47
* zyga inspects failures on f26 and ppc6414:50
zygaDEBUG util.py:421:  Error: nothing provides kernel-headers >= 2.2.1 needed by glibc-headers-2.24.90-13.fc26.ppc64.14:51
zygaDEBUG util.py:421:  nothing provides kernel-headers >= 2.2.1 needed by glibc-headers-2.24.90-13.fc26.ppc6414:51
zygalooks like something that's more general14:51
zygaSon_Goku: I'll step outside to have a snack14:53
=== chihchun_afk is now known as chihchun
Son_Gokuurgh16:01
Son_GokuUbuntu Core does way too much16:01
linuxhikerI am trying to figure out how to get the following to happen: ./configure; make world17:13
linuxhikerI have configure working just fine17:14
linuxhikerand make without world just fine17:14
linuxhikerI figured out that if I use the make plugin, I can use a parent make file that can call world17:14
linuxhikerbut that is outside of the source tree as it is part of the snapcraft build system, not the software I am actually trying to build17:14
qengholinuxhiker: Is that "configure" autoconf?17:47
qengholinuxhiker: That "world" bit seems weird. Does it have a "install" target?17:49
linuxhikerqengho: yes the configure is autoconf (that part works) and in fact the basic build works fine17:53
linuxhikerqengho: but "world" is needed to build a secondary part of the source tree that only builds with either "world" or something like make -C contrib/Makefile17:54
zygaSon_Goku: hey19:24
zygaSon_Goku: so what did you manage to do with the policy?19:24
Son_GokuI hate Ubuntu Core19:24
Son_GokuI got enough for snapd, but apparently ubuntu-core wants to stick its fingers everywhere19:25
zygaSon_Goku: can you be more specific and less dramatic19:26
Son_Gokualso, is ~/snap a directory created by snapd?19:26
zygaindirectly, through snap run or snap-confine19:26
Son_Gokuzyga, ubuntu-core installs udev rules, etc.19:26
zyga(currently both do)19:26
Son_Gokuokay, so I need to define a snap_home_t19:26
zygaSon_Goku: yes, it manages the system19:26
* zyga pats Son_Goku on the back19:27
zygayou can do it :)19:27
* Son_Goku sighs19:27
Son_Gokualso, apparently something wants to talk to NetworkManager19:27
* Son_Goku is tired19:28
Son_GokuI'm taking a break from playing whack-a-mole19:29
Son_Gokuzyga, are there any specific directories I need to know about for the home directory?19:29
zygaSon_Goku: no, just ~/snap19:32
=== JanC_ is now known as JanC

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