/srv/irclogs.ubuntu.com/2018/06/25/#snappy.txt

mupPR snapd#5385 opened: Update SELinux policy <Created by kevinanderson1> <https://github.com/snapcore/snapd/pull/5385>01:30
mborzeckimorning05:10
taaperotassuIs there any way to see snapcraft stores most downloaded packages? Or see all the packages that are available?05:43
zygaGood morning06:15
mborzeckizyga: mvo: hey06:17
mvohey mborzecki and zyga !06:22
mupPR snapd#5385 closed: Update SELinux policy <Created by kevinanderson1> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5385>06:25
zygahey mvo06:33
mupPR core18#37 opened: static: add systemd environment generator to ensure PATH contains /snap/bin <Created by mvo5> <https://github.com/snapcore/core18/pull/37>07:11
zygare07:15
zygaok, kids are handled07:15
zygamvo: re, so about those issues you saw last week07:15
zygaI'd like to look at the one with layouts later today07:15
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:15
zygaI need to work on some leftovers from Friday07:15
zygaand I need to plan a rework of security profiles after the call with gustavo07:15
abeatomvo, hey, do you have any comments on https://forum.snapcraft.io/t/pulling-network-online-target-as-prerequisite-target-slows-down-starting-services/6063 ? Would be nice to have the opinion of some core team member there :)07:18
mborzeckipstolowski: hey07:20
mvozyga: sure07:25
mvoabeato: let me look07:26
mvozyga: a quick look at core18#37 would be great, I hope this unblocks some tests07:26
mupPR core18#37: static: add systemd environment generator to ensure PATH contains /snap/bin <Created by mvo5> <https://github.com/snapcore/core18/pull/37>07:26
abeatomvo, thanks07:27
mupPR core18#37 closed: static: add systemd environment generator to ensure PATH contains /snap/bin <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/37>07:30
mborzeckiabeato: wondering, aside from longer times reported by system-analyze, does this dependency have any negative impact?07:31
abeatomborzecki, it does, it implies that starting a service can take 2 minutes more than it should. Think for instance in a system with eth0 and wlan0 configured but SSID not found: you get those additional 2 minutes07:33
abeatoor eth0 not connected07:33
mborzeckiabeato: right, but this is just snapd depending on the network (which it could not depend on because the failures are already handled in the code), but this should be fairly transparent for installed snaps and other services, i.e. you don't depend on snapd or network-online -> there's no penalty07:35
mborzeckiso it's either a service depends on snaps (when it shouldn't) or it's part of graphical target (which iirc depends on mult-user, which in turn snapd is WantedBy)07:36
abeatomborzecki, nope, it is that the unit created by snapd when installing the snap includes the network-online.target dependency. The impact is on the service defined by the snap, not in snapd07:36
mborzeckiabeato: aah ok, missed that! thanks for claryfing07:37
abeatonp07:37
mborzeckimvo: didn't we have some proposals for expressing dependencies on external services/targets?07:39
mvomborzecki: we have a request but no design for this so far :/07:39
mborzeckistill, we don't have support for Requires at this point07:40
mvoyep07:42
Chipacamoin moin08:00
pedronismvo: hi, did we add back code to wait for restarts for core/snapd ? we probably need to before 2.3408:01
mvopedronis: no code for this yet08:04
mvopedronis: I will look into it later today08:04
pedronisthx08:05
mupPR core18#38 opened: hooks: add libpam-systemd <Created by mvo5> <https://github.com/snapcore/core18/pull/38>08:06
mupPR core18#38 closed: hooks: add libpam-systemd <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/38>08:10
mvosil2100: hey, good morning! I did (as an experiment) mergehttps://github.com/snapcore/core18/commit/a9c4ea6ff0732911a47fa7a1b035eb10c1e68cd4  and https://github.com/snapcore/core18/commit/28b28abd1968b75d3d201d57321a746b6912c7b1 - the background is that "su -l -c env user" on core18 has a PATH without /snap/bin and I suspect its the missing libpam-systemd. if you have more ideas they are very welcome, its not entirely clea08:16
mvor to me if its that or not08:16
mborzeckianyoen feels like reviewing #5363 or #5366?08:32
mupPR #5363: snap: introduce the instance key field <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5363>08:32
mupPR #5366: snap: helper for validating snap instance names <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5366>08:32
pedronismvo: is the plan to add "netcat" to core18 or not ?08:39
mvopedronis: I pushed a pr to core18 with it, its tiny, I think its worth adding it08:39
mvopedronis: given that its useful in tests and on its own (for admins for debugging)08:39
mborzeckithanks for the reviews guys!08:40
Chipacayou ask for reviews, you get reviews08:41
Chipaca20 reviews per pr, approximately08:41
mvosil2100: hm, libpam-systemd did not cut it, I will need to dig into this a bit more it seems, very strange08:41
pedronismvo: yes, not against, just confused by the PR that remove tests that needs it08:42
pedroniss/remove/disable/08:43
=== chihchun_afk is now known as chihchun
mvopedronis: yeah, my initial thinking was to disable those but then I realized just how many that are and I think now that the better approach is to just add it08:44
mvopedronis: also it was to cut down noise from the tests, I ran the main suite against core18 over the weekend and tried to classify the failures08:45
pedronisit's ok08:45
pedronisalso they are all about network interfaces that are quite fundamental08:45
pedronisand they might have classic vs core differences08:46
pedronisChipaca: I added some questions to your snapshotstate PR,  not sure that's a way to unblock that doesn't involve doing the right thing though :/08:46
pedroniss/that's/there's/08:47
Chipacapedronis: I just see one about "snapshot" -> "snapshotSetup"08:48
pedronisChipaca: yes08:48
Chipacaah the others are under some of gustavo's hidden ones08:48
Chipacapedronis: I'll look at it later today (i probably meant IsActive instead of IsInstalled there)08:49
Chipacaneed to do paperwork now08:49
pedronisChipaca: yes, IsInstalled is just needed for the pattern I show08:50
pedronis(I think we have one place still in the code base that has a silly one)08:50
pedronisChipaca: anyway I need to finish the improved error stuff before I can help unblock you08:51
pedronisChipaca: sounds like snapshot will 2.35 though :(08:51
pedronis*will be08:51
mvopedronis: thank you. I will update the PR once I finished digging into a strange PATH issue on core1808:52
pedronismvo: which reminds me,  not urgent,  there's an extra ":"  in the entry  ': Interface hooks' in the snapd 2.34 roadmap  https://forum.snapcraft.io/t/the-snapd-roadmap/197308:53
mvopedronis: thank you, nice catch08:54
=== chihchun is now known as chihchun_afk
abeatomvo, a possible optimization: https://forum.snapcraft.io/t/are-systemctl-daemon-reload-calls-before-enabling-a-service-needed/608609:12
=== chihchun_afk is now known as chihchun
mupPR snapd#5386 opened: snap: introduce a struct StoreChannel to represent store channels, and helpers to work with it <Created by pedronis> <https://github.com/snapcore/snapd/pull/5386>09:22
pedronisChipaca: ^  what we discussed09:22
mupPR snapd#5363 closed: snap: introduce the instance key field <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5363>10:08
* zyga struggles with apparmor profiles10:25
mupPR snapd#5387 opened: snap{/snaptest}: set instance key based on snap name <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5387>10:45
mborzeckianother little piece of parallel installs is up for review10:45
mborzeckipedronis: ^^10:45
mupPR core18#39 opened: hooks: ensure /etc/login.defs PATHs contain /snap/bin <Created by mvo5> <https://github.com/snapcore/core18/pull/39>11:05
* Son_Goku groans to life11:20
mborzeck1wtf, no power, obviously the electricity company allegedly has this info posted 'somewhere', bunch of lunatics11:38
=== mborzeck1 is now known as mborzecki
Chipacamborzecki: did you electricity company not pay their bills11:45
mborzeckiChipaca: no it's just run by a bunch of a*holes, because it's easier to collect the bills rather than keep the infra in decent shape11:49
Chipacamborzecki: in my current font, * looks just right for use in that word11:50
mborzeckiChipaca: what's the font?11:50
Chipacamborzecki: the go one11:50
Chipacahttps://blog.golang.org/go-fonts11:50
Chipacareminds me of the old solaris console font11:50
mborzeckiglad i pushed everything minutes before the power was gone11:51
mupPR snapd#5329 opened: DON'T REVIEW: tests: Adding debug information to know why econnreset is failing <Blocked> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5329>12:00
* zyga runs another round of layout tests12:08
* Chipaca ~> lunch12:12
=== pstolowski is now known as pstolowski|lunch
mvoa review of core18#39 would be great, this should unblock some more tests12:15
mupPR core18#39: hooks: ensure /etc/login.defs PATHs contain /snap/bin <Created by mvo5> <https://github.com/snapcore/core18/pull/39>12:15
zygamvo: done12:23
niemeyerHeya12:23
niemeyerI've just did an update on Spread to fix the issue reported by Google.. please let me know if you see any hiccups12:23
niemeyerI've just done12:23
=== pstolowski|lunch is now known as pstolowski
mupPR snapd#5376 closed: tests: skip security-udev-input-subsystem without /dev/input/by-path <Created by mvo5> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5376>12:45
Chipacaniemeyer: how did google report an issue on spread?12:54
niemeyerChipaca: I got an email12:54
Chipacaniemeyer: "you're the person responsible for 98% of all api calls"?12:55
Chipacaflashbacks of linode12:55
niemeyerChipaca: Yeah, it did bring me memories, but this time it was more like "You are the person responsible for 98% of the API calls that start with a double dash (//)"12:56
niemeyers/dash/slash12:56
Chipacaniemeyer: so causing a lot of redirects?12:56
mborzeck1let me give you this bag og 500 Internal Server Error12:56
Chipacaah :)12:56
=== mborzeck1 is now known as mborzecki
niemeyerOr something.. we did get 500s12:57
niemeyerThey didn't specify what the outcome was on their end, just politely asked whether we could get it fixed12:57
Chipacaand you didn't turn around and spam double-slashed endpoints with all the bandwidth you could muster?12:58
Chipacayou're too kind12:58
mupPR core18#39 closed: hooks: ensure /etc/login.defs PATHs contain /snap/bin <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/39>12:58
mupPR snapd#5388 opened: tests: fix tests when no keyboad input detected <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5388>13:21
=== chihchun is now known as chihchun_afk
mupPR snapd#5382 closed: tests: add halt-timeout to google backend <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5382>13:26
zygacachio: which PR is that?13:31
mvomborzecki: ha! I found *why* su -l is not working anymore in core18: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/984390 - anyway, I will work with foundations now to see if I can get it upstream13:35
mborzeckizyga: i see 4.14 kernel in for raspberrypi in yocto13:35
mupBug #984390: $PATH is taken from login.defs not /etc/environment <patch> <shadow (Ubuntu):Triaged by canonical-foundations> <shadow (Ubuntu Precise):Triaged by canonical-foundations> <https://launchpad.net/bugs/984390>13:35
mborzeckimvo: thanks, intersting13:35
zygamborzecki: current "production" is 4.9 for older models13:36
mborzeckiheh 'production' for raspberry pi :P13:37
mvomborzecki: its quite terrible, I debugged fixed this ~2y ago already but it did not land in the distro13:37
* zyga had a full successful run on his layout patch, whee13:37
zygamborzecki: I mean the one they ship with by default13:37
mborzeckiwonder what's holding them back aside from gpu13:38
zygaprobably the question is different13:38
zygano need to go forward so why would they13:38
mborzecki(and totally crazy boot process, unless they changed it already)13:38
zygathe boot spec is part ot the hardware13:38
zygamvo, niemeyer: one new interesting feature of systemd is the specification for new boot process13:39
zygathat's worth reading13:39
mvozyga: do you have a link?13:39
zygayes, one sec13:39
mborzeckimvo: https://lwn.net/Articles/758128/13:39
mvomborzecki: ta13:39
zygahttps://github.com/systemd/systemd/blob/master/doc/BOOT_LOADER_SPECIFICATION.md13:39
mborzeckizyga: NoNewPrivileges looks interesting13:43
zygayes but it is unlikely to work soon13:44
zyga(as stated in the docs)13:44
zygamborzecki, mvo: I personally really like the idea of that single-efi file that bundles linux, initrd and os-release file13:45
zygathat means you can boot a single "linux.efi" file13:45
zygathat's self contained13:45
zygathat's neat IMO13:45
mvozyga: sounds a bit like a snap13:46
zygamvo: yes, we perhaps could adopt it13:46
zygait would mean we are an easier support target down the line13:47
zygawell, at least an idea13:47
zygabrb, need to resize my partitions13:50
mborzeckiheh, the hangouts call pulled 1.2GB of data on my modem13:50
zygarevising from break=bottom ;)13:55
zygaresizing*13:55
zygaok, quick lunch break13:56
sitterwhen I run snapcraft should it automatically detect common-id's or do I have to manually specify them in my snapcraft.yaml?13:59
cachiozyga, sorry for the delay, #534314:07
mupPR #5343: tests: adding extra check to validate journalctl is showing current test data <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5343>14:07
zygasitter: I don't know if it is implemented but there are specs for a system where appstream meta-data can be automatically ingested14:10
zygasitter: I don't know if that's implemented yet though, perhaps kyrofa knows14:10
mupPR core18#40 opened: hooks: add FIXME for /etc/login.defs changes <Created by mvo5> <https://github.com/snapcore/core18/pull/40>14:20
* zyga sincerely hopes for the weather to improve and some pressure to increase14:22
zygatoday feels like mid winter when it's dark, gloomly and wet outside14:22
zyganot like first week of summer14:22
mupPR core18#40 closed: hooks: add FIXME for /etc/login.defs changes <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/40>14:28
sitterseems https://forum.snapcraft.io/t/adopt-info-from-other-metadata-sources/4370 has the information, assuming that is the latest and greatest way of doing it anyway14:33
* zyga has IRL interrupt14:33
=== chihchun_afk is now known as chihchun
mupPR snapd#5380 closed: tests: blacklist more main tests for core18 <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5380>14:39
pedronispstolowski: disconnect branch seems to need now a merge from master (only test failing is spellecheck)14:42
pstolowskipedronis: thanks. it still needs some work re undo on disconnects14:43
mupPR snapcraft#2168 opened: build_providers: add ssh key managemet support to the qemu build prov… <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2168>14:56
zygajdstrand: good day, are you back by any chance?15:12
jdstrandzyga: hi! yes. lots of catching up. what's up?15:13
zygajdstrand: I will have some follow up from layouts but nothing major, just wanted to say hi :)15:13
mupPR snapd#5226 closed: data: add systemd user environment generator <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5226>15:13
mupPR snapd#5389 opened: snap: account for parallel installs when dealing with broken snaps <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5389>15:13
zygaI can imagine you have a lot of catchup to do15:13
jdstrandzyga: :)15:14
* zyga thinks about a 3rd coffee15:18
zygarainly gloomly summer15:18
* cachio lunch15:23
mupPR core18#35 closed: hooks: add netcat package <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/35>15:49
=== Sir_Gallantmon is now known as Son_Goku
mupPR snapd#5390 opened: data: add systemd environment configuration <Created by mvo5> <https://github.com/snapcore/snapd/pull/5390>16:14
=== pstolowski is now known as pstolowski|afk
ogra_zyga, i'm a but surprised about that snap version output in the forum, doesnt the snap command itself pull the info our of os-release and uname ? (i thought snap version does not require snapd to run to get at least the needed info from the os)16:37
zygaogra_: no, it's all server side16:38
ogra_hmm16:38
zygaogra_: (which makes sense if you think about it being, one day, able to talk to remote servers)16:38
ogra_(that makes debugging  a server outage indeed a bit tricky :) )16:38
ogra_true ... but perhaps it should then have a --no-remote flag so it can still collect the system info for debugging16:39
zygawell, it's not much of use if the server is down16:39
zygaand the set of collected things is tricky to compute locally really16:40
ogra_haha, systemd is always so helpful with its messages ...16:40
ogra_"he start-up result is RESULT"16:41
ogra_*the16:41
ogra_shouting doesnt help ! ... not even in logs :P16:41
cwayneIt just wanted to make sure you heard it ogra_16:42
ogra_yeah, obviously :)16:43
ogra_thats like "command failed with: SUCCESS"16:43
ogra_zyga, i bet one of these php thingies he installed is some third party installer or tarball that mangles the install bad enough to break the world16:45
ogra_ot that "magento CMS platform" or whatnot16:45
ogra_*or16:46
zygayeah, pretty horrible people make php16:48
zyga(as in make use of it)16:48
zygaalso make the thing16:48
ogra_WOW ... that log now !16:49
ogra_curious that *anything* works on that install16:49
mvohm, hm, can someone help with "error: File must begin with "/": %{_environmnentdir}/990-snapd.conf" - I get this from rpm packaging in https://github.com/snapcore/snapd/pull/5390 but the macro should be defined inhttps://github.com/systemd/systemd/blob/master/src/core/macros.systemd.in16:50
mupPR #5390: data: add systemd environment configuration <Created by mvo5> <https://github.com/snapcore/snapd/pull/5390>16:50
Son_Gokumvo, which target?16:52
zygamvo: I was reviewing16:52
mvoSon_Goku: opensuse and fedora16:53
mvoSon_Goku: is this stuff just too new? git blame tells me it was added only one month ago?16:53
mvozyga: ups, sorry16:53
zygano worries :)16:53
Son_Gokuwhile the functionality existed for a while, the macro didn't exist until systemd 23916:53
Son_Gokuwe just need a compat macro ;)16:53
mvoalso "_environmnentdir" looks like a typo16:53
mvoSon_Goku: aha!16:54
Son_Gokuand yes, someone screwed up16:54
mvoSon_Goku: I will push a fix16:54
Son_Goku%{?!_environmentdir: %global _environmentdir %{_prefix}/lib/environment.d}16:54
mvoSon_Goku: \o/16:54
=== jkridner|pd is now known as jkridner
Son_Gokumvo, zyga: https://github.com/systemd/systemd/pull/941716:57
mupPR systemd/systemd#9417: rpm: Fix typo in %_environmentdir <Created by Conan-Kudo> <https://github.com/systemd/systemd/pull/9417>16:57
mvoSon_Goku: heh, was about to do this, thank you!16:58
=== Sixth_Doctor is now known as Son_Goku
Son_Gokumvo, I would have liked to see you send a PR for rpm things :P17:14
pedronisniemeyer: btw, if I remember you said you wanted to chime in on (there is related work going on):  https://forum.snapcraft.io/t/url-contact-fields-in-snap-metadata/3067/1817:19
zygaThank you Son_Goku17:28
zygamy son has smalled a huge sliding window on his toe17:28
zygasome tears and blood later, I am back17:28
Son_Goku...17:28
cachiomvo, hey, do you know why the econnreset test blocks the download once it is started?17:38
cachiomvo, it is any reason to don't block it before it starts?17:39
cachiobecause I could reproduce the error and found the download finishes after we compare the size of the partial file and before iptables is applied17:40
cachiomvo, this is the log https://paste.ubuntu.com/p/2yFqrXT7rd/17:40
cachioit has extra debug info17:40
niemeyerpedronis: Looking17:47
niemeyerpedronis: Provided some feedback there17:56
niemeyerzyga: Ouch17:57
mvoSon_Goku: hehe, exactly :)17:57
mvocachio: iirc in the old days it would not retry on econnectionrefused17:57
mvocachio: but the retry logic has changed quite a bit so maybe now thats fine?17:58
Son_Gokumvo, one day, I'll win you over to the awesome side :)17:59
cachiomvo, ok, I'll change the test and see what's the result18:00
mvoSon_Goku: :-D18:00
mvocachio: cool, keep me updated18:01
cachiomvo, running18:02
mupPR core18#36 closed: hooks: set timezone to Etc/UTC <Created by mvo5> <Merged by sil2100> <https://github.com/snapcore/core18/pull/36>18:03
sil2100mvo: hmm, let me also experiment with that PAT18:06
sil2100*PATH missing /snap/bin18:07
mvosil2100: I found the issue18:08
mvosil2100: https://github.com/shadow-maint/shadow/pull/11918:08
mupPR shadow-maint/shadow#119: su.c: run pam_getenvlist() after setup_env <Created by mvo5> <https://github.com/shadow-maint/shadow/pull/119>18:08
mvosil2100: this also links to a bug (from 2012 :)18:08
mvosil2100: so we have a workaround for now, I will revert the systemd generator18:09
mvosil2100: and once the fix for su.c is approved I/we can SRU the fix18:10
mvosil2100: and undo the workaround18:10
sil2100wow18:14
sil2100;)18:16
* zyga moves to another room18:36
mupPR snapd#5391 opened: tests: simplify econnreset test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5391>19:18
* cachio afk19:34
mupPR snapcraft#2169 opened: Rust plugin improvements <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2169>19:42
mupPR snapcraft#2158 closed: rust plugin: fix cargo builds and run tests <Created by tismith> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/2158>19:45
mupPR snapcraft#2170 opened: Rust plugin env <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2170>19:45
mupPR snapcraft#2169 closed: Rust plugin improvements <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/2169>19:48
* zyga has a bad test day20:19
zygaor bad network day maybe20:19
tomreynhi there. i just read https://github.com/canonical-websites/snapcraft.io/issues/651 and https://blog.ubuntu.com/2018/05/15/trust-and-security-in-the-snap-store and am wondinerg whether embedding (privacy impacting) trackers is currently (1) considered acceptable (b) tested for and (c) how it's being handled, if at all.20:22
tomreynfrom my POV this is a major issue on android, and mostly unhandled / unsolved (or rather accepted) there. so i'm wondering whether what the situation with snaps is.20:23
tomreyns/on android/on the google play store/20:26
* zyga sees the same error mvo saw21:46
zygathat took a while, let's fix it21:46
mupPR snapcraft#2170 closed: rust plugin: fix cargo builds and run tests <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2170>23:57

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