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

eraserpencilwhen i "df -h" on my ubuntu machine, I get a lot of /snap/core/xxxx. what are these and why cant i remove them?03:26
mwhudsoneraserpencil: snaps are distributed as squashfses, so those are the mount points for them03:45
mborzeckimorning05:04
zygaGood morning06:02
mborzeckizyga: hey06:03
zygaHow arę things06:04
zygaArę, omg :-)06:05
mborzeckiheh06:05
zygaQuick brekfast and reviews, reviews06:05
mborzeckiwent to manufaktura yday, to meet some friends, left the car in the parking lot and came back to this: https://i.imgur.com/2Pis8il.jpg06:06
mborzeckiapparently some lady in her grand white bwm had trouble maneuvering the parking lot, knocked down 'give way' sign, hit my car and took off06:07
zygaHolly Caro06:07
zygaThis sucks,06:07
mborzeckispent 3h waiting for the police to come to write the report and secure monitoring footage06:07
zygaBut they should have her plate on camera06:07
zygaExcellent06:07
zygaWell06:07
zygaConsidering06:07
zygaI hope she is caught quickly06:08
mborzeckiyeah, me too06:08
zygaBMW is always something nasty in practice :-(06:08
mborzeckion a side note, i really hate going to manufaktura, it's always super crowded06:08
zygaI haven’t been there yet06:10
zygaI need to plan a trip to Łódź :-)06:11
mborzeckineed to go to the hospital for a checkup, be back in ~2h06:27
=== pstolowski|afk is now known as pstolowski
pstolowskimornings06:57
pstolowskimborzecki: crap... good luck with that, i hope it won't take long to get resolved06:58
pedronispstolowski: hi, are you working on the post about disconnect/undo and interface hooks? or did you already and am I not seeing it?07:42
pstolowskipedronis: i didn't, i'm about to do it today07:43
pedronisthx07:45
Chipacamoin moin08:16
mvoogra_: can I make the pi2 boot output everything on the serial terminal somehow? currently I only get "booting kernel" and thats it08:17
mvoChipaca: hey08:17
popeydiddledan: reckon we should push gimp rev 37 to stable?08:18
ogra_mvo, edit cmdline.txt, drop the console=tty008:18
mvoogra_: ta08:19
mvoogra_: much better now :)08:20
ogra_:)08:20
pedronispstolowski: I did a first pass over 451008:35
pstolowskipedronis: thanks08:36
mborzeckire08:47
mborzeckipstolowski: heh, notice the dark spot just in front of the car? https://i.imgur.com/nyDMOOQ.jpg this is where the sign was08:48
Chipacapedronis: if you could give the comments on #4790 a once-over just to make sure, I'd appreciate that08:48
mupPR #4790: jsonutil/puritan: introducing puritan.String & etc <Created by chipaca> <https://github.com/snapcore/snapd/pull/4790>08:48
* Chipaca updates the description there08:48
pedronisChipaca: yes, one sec08:49
mborzeckii still don't get how it's possible to pull shit like this with all the parking assitance, sensors, cameras etc.08:49
pstolowskimborzecki: unbeliveable08:49
Chipacamborzecki: what happened?08:55
pedronisChipaca: looks good, but if you put an emoji in those comments my browser cannot or github is doing something that doesn't render it properly08:55
mborzeckiChipaca: a lady in a large white bmw knocked down a give way sign and hit my car, then she took off08:55
pedronisChipaca: I see �08:56
Chipacapedronis: yes08:56
Chipacapedronis: I mean, I wrote a �08:56
mborzeckiChipaca: all in a parking lot of a go-to shopping plaza in lodz, so lots of industrial cameras etc08:56
Chipacamborzecki: so they've got you covered? ie the plaza security people?08:57
pedronisChipaca: is that special?08:57
mborzeckiChipaca: yeah, i called the police, waited 3h for them to get there, write a report and secure the footage08:57
* pedronis is likely missing something08:57
Chipacapedronis: maybe I should write “� (U+FFFD)”?08:57
Chipacamborzecki: :-/ were you stuck there alone?08:58
pedronisChipaca: you remove the charatecter that usually means something else couldn't process things?08:58
pedronisjust so I understand08:59
Chipacapedronis: pretty much, yes08:59
Chipacapedronis: the strings are supposed to be valid utf8, so it shouldn't happen08:59
Chipacapedronis: and in fact they have to be, per json08:59
Chipacapedronis: so the only reason U+FFFD appears is if somebody intentionally put it there08:59
pedronisChipaca: ok, then   yes a paranthesis (U+FFFD, aka replacement character) would be useful09:00
Chipacaand putting a character that means "something broke", intentionally, is not cool09:00
mborzeckiChipaca: nah, i was meeting with some mates before, so we stayed in the parking lot chatting and waiting for the police :)09:00
Chipacamborzecki: "we waited, chatting and having a few beers"09:01
Chipaca:_D09:01
pedronisChipaca: because otherwise somebody looking at that code will be confused about the replacement character showing up just as itself :)09:01
pedronisas I was, maybe09:01
mborzeckiChipaca: technically they had a few, i only had a soda and a tea :)09:01
Chipacapedronis: … and that's why it's disallowed :-)09:01
Chipacamborzecki: :-)09:02
Chipacapedronis: there09:04
niemeyerMorning folks09:11
pedronisChipaca: thx09:13
Chipacapedronis: now to wait for it to green09:13
pstolowskipedronis: https://forum.snapcraft.io/t/disconnect-hooks-howto-undo-connect-hooks/5339 ; let me know if I missed something09:15
mupPR snapd#4983 closed: osutil/sys, client: add sys.RunAsUidGid, use it for auth.json <Created by chipaca> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/4983>09:15
mborzeckiChipaca: you make my heart break ^^09:16
Chipacamborzecki: ikr09:17
mborzeckiChipaca: runuser it is then?09:17
Chipacamborzecki: runuser + dd + mv + sync, probably09:18
Chipacafor the write case09:18
ogra_mvo, regarding your uboot.env research, you might also want to take a look at what systemd does to the partition (i think it runs an fsck too before mounting)09:18
Chipacamborzecki: arch doesn't use a weird dd or sync does it?09:18
Chipacamborzecki: i mean, all from coreutils?09:18
mborzeckiChipaca: woo, nice combo, iirc in case we ever need it runuser suppors switching selinux contexts too (or maybe some other tool?)09:19
Chipacashould I give up and just hand it off to /bin/sh09:19
Chipacagrmbl09:20
mborzeckiChipaca: nothing weird with dd or sync here09:20
Chipacak09:20
mvoogra_: yes, we do that (we set the fstab line to fs_passno to 2). it looks like this is part of the problem, fsck.vfat corrupts more than it fixes :(09:21
mborzeckimvo: meanwhile, patching u-boot would be nice too, if you upload the boot partition somewhere i could take a stab at it over the weekend09:23
mvomborzecki: sounds good, I will send you the link to the corrupted image. I think the upper/lower case is a bit of a red-herring, it comes down to "lfn" (long-file-name) directory entries09:24
mvomborzecki: what is super annoying is that its really hard to recover once there is this corrupted file on disk09:25
mborzeckimvo: running fsck does not fix it right?09:28
mvomborzecki: it claims it does, but I think it leaves the directory entires on disk in a state that confuses uboot so next write uboot will pick up the wrong file (short name fsck0000.000) again09:28
mvomborzecki: which is super annyoing nice that was got delete in my fixup script09:29
zygamvo: will we use the repair assertion?09:30
mvomborzecki: this is the only way that worked so farhttps://paste.ubuntu.com/p/ySvHbxRVH9/  - slightly terrible though09:30
mvozyga: interessting idea09:30
mvozyga: fixing this oob might not be a bad option09:30
mvozyga: my goal was to fix in initramfs but its harder than I anticipated09:30
zygawhat will we do about affected devices?09:31
zygathey are "bricked" right?09:31
mborzeckimvo: do you think there's a chance the file could have been there in the original image that was shipped with the devices?09:32
=== pstolowski is now known as pstolowski|bbiab
mvomborzecki: that is possible. however my theory is that our fsck created it. from looking at the code there it seems to rename files under some cirumstances but keep the lfn (long-file-name) the same, my theory is explained inhttps://github.com/dosfstools/dosfstools/pull/83  but no feedback yet09:33
mupPR dosfstools/dosfstools#83: [RFS] check.c: do lfn_remove  on auto_rename() <Created by mvo5> <https://github.com/dosfstools/dosfstools/pull/83>09:33
mvomborzecki: we run fsck.vfat on mount for /boot09:34
mvomborzecki: even more annoying we don't have enough modules in initrd to mount as vfat and copying stuff around there is jjust terrible, i.e. this will be totally broken when the power is cut at the wrong point. so I'm still looking for options09:35
mvomborzecki: maybe I should write what I found in the forum to ensure everyone knows what is going on09:35
mborzeckimvo: fwiw uboot ENV_IS_IN_FAT is a questionable idea09:39
mvomborzecki: what can we do to fix that?09:40
pedronispstolowski: seems to capture the problem, made a comment of a possible variant, I suppose we need to discuss with niemeyer the options09:40
mborzeckimvo: it'll be risky for devices that are already deployed09:40
mvomborzecki: yeah :/09:41
mborzeckimvo: but i'd recomment ENV_IS_IN_MMC, and put it somewhere at the boundary of 2 separate erase block sizes (you'd really know what the size is with mmc but you can try and do an educated guess, or side channel benchmarks to find out)09:41
mborzeckimvo: and instead of parsing uboot's env manually, work with fw_printenv/fw_setenv instead09:42
zygaofftopic09:43
zygahave you guys seen "checks"09:43
zygahttps://github.com/snapcore/snapd/pull/5144/checks for example09:43
mupPR #5144: tests: update bionic release image on gce <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5144>09:43
mvomborzecki: the idea ENV_IN_MMC sounds good, we should talk about this after the fire is over. portability comes to mind. the fw_printenv stuff we did initially but it had its own set of problems, I need to dig into git history (and memory) to remember those.09:45
mborzeckimvo: yeah, setting up fw_env.config is quite funny :)09:46
mvomborzecki: I think we actually are more careful with our writes than fw_setenv (but I'm biased so happy to accept that I'm wrong)09:47
mvo(or grudgingly accept it)09:47
mborzeckimvo: experimentation is key :)09:49
mborzeckiotoh, pull a power plug on rpi and there's a chance it's not coming back up09:50
mvomborzecki: yeah09:51
* Chipaca despairs and switches branches for a bit09:56
pstolowski|bbiabpedronis: thanks10:02
mupPR snapd#5073 closed: set up journal streams in user session application autostart (2.32) <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5073>10:06
popeyom26er: https://github.com/snapcrafters/android-studio/issues/23 :)10:12
niemeyermvo: +1 for following up in the forum10:16
mupPR snapd#4387 closed: interfaces/gpg-keys: force use of '--no-random-seed-file' via explicit deny <Blocked> <Created by jdstrand> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/4387>10:31
diddledanpopey: yeah, everyone who's tested gimp 37 has reported back positively. let's ship it10:36
Chipacamvo: I feel you're missing a 'GOTO 4' in your sequence of events10:38
mvoChipaca: good point, I added a 10 which is not quite GOTO but close10:40
Chipaca:-)10:42
diddledanpopey: I've just done it10:45
diddledanpopey: prepare for the hoards of complaints :-p10:45
popeyWoooHooo!10:45
popeyThanks diddledan !10:45
ogra_mborzecki, mvo, the only proper solution is to use u-boot only as SPL for a UEFI grub boot ... get rid of all u-boot patching, completely de-couple the OS by simply chainloading grub-UEFI ... redhat and opensuse only support that model nowadays and we should too (i had quite some discussions with the maintainers of both distros during embeddedworld)10:46
ogra_mvo, i was wanting to write a prototype for this but customer work is eating my time10:47
diddledanrunning snapcraft in an i386 container (lxd) on an amd64 host I'm getting: "sudo: main: unable to allocate memory" when it tries to install apt packages10:48
ogra_mvo, we'd only need to maintain grub.cfg and porters can use u-boot as-is from their BSP10:48
ogra_(no patching at all)10:49
ogra_(along with that you get the full UEFI secureboot setup for free )10:50
mupPR snapd#5145 opened: boot: clear "snap_mode" when needed <Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5145>10:51
mvoChipaca: someone with a fresh and sharp mind should look at 514510:51
Chipacamvo: we should hire somebody like that10:51
mvoChipaca: this should give us the first line of defense, i.e. no more bricking but also no more refreshes10:51
mvoChipaca: lol10:52
Chipacamvo: where does "trying" come into the picture10:53
Chipaca?10:53
ogra_mborzecki, mvo in case one of you wants to take a look, http://download.opensuse.org/ports/armv7hl/factory/images/ has all images using this setup (not sure if the RH images are public, but it is a well maintained setup nowadays and has active upstreams)10:54
mborzeckiogra_: thanks, will take a look10:56
mborzeckiogra_: wow ..sabrelite, brings back bad memories10:56
ogra_haha, yeah, i still have one running here with a 15.04 core install10:56
ogra_(i still love the full SATA it has)10:57
=== pstolowski|bbiab is now known as pstolowski
mvoChipaca: trying is usually cleared by the snapd boot code, i.e. it switches to "". it is only used so that uboot knows it tried to boot and things did not work at all in which case it reverts back to the good core/kernel11:05
pedronismvo:  is the state sequence   try ->  trying -> "" ?11:07
mvopedronis: correct11:08
mvopedronis: I can write something in the forum if you want, seems like this should be documented better11:08
zygamvo: should snapd remove all the uboot.env files and write a new one to "recover"?11:09
mvopedronis: snapd sets to "try", bootloader from "try" to "trying" and snapd (after reboot) from trying to "" if things went well11:09
zyga(recover FAT)11:09
Chipacamvo: would detecting the breakage and re-writing the boot partition be doable?11:09
pedronismvo: yes, I see only a not very complete comment in partition/bootloader.go11:09
mvoChipaca, zyga yes, remove and rewrite seems to work11:09
zygamvo: as in while uboot.env exits, remove it // tricky11:10
mvoChipaca, zyga not very atomic but give this is already a holly-crap situation maybe an acceptable workaround11:10
mvopedronis: sure, will do11:10
zygathis is somewhat less nuclear than repartitioning /boot11:10
* zyga -> coffee11:10
mvozyga: yeah, let me try something like that11:11
pedroniswe also should consolidate this code at some point, is a bit spread around  partiation snapstate etc11:11
mvopedronis: good point11:11
pedronisanyway11:11
pedronismvo:  I think this also shows the issue that we need to detect reboot vs restart11:12
pedroniswhich is a TODO pending since a bit11:12
mborzeckipedronis: restart as in restart due to a failure?11:18
pedronisyes11:18
pedronisanyway I looked at the PR and it's probably less urgent than I thought11:19
mvopedronis: at what PR did you look?11:19
pedronisyour new PR11:19
mvopedronis: less urgent? how so?11:20
pedronismvo: your new code seems correct either way11:20
mvopedronis: aha, yes11:20
pedronismvo: aynway at some point you should review my #449711:21
mupPR #4497: many: make rebooting of core on refresh immediate, refactor logic around it <Created by pedronis> <https://github.com/snapcore/snapd/pull/4497>11:21
mvopedronis: thats a nice aspect about it, it also fixes the case when we snap refresh new-core, snap refresh current-core without a in-between reboot11:21
mvopedronis: yes, once the fires are out :) the next big fire for today is the snapd.seeded.service thing11:21
niemeyermvo: Let me know if/when you want to discuss it11:24
pedronisniemeyer: I commented in the PR to your suggestion11:31
niemeyerpedronis: I've seen it, but not sure I'm reading your point completely11:32
pedronisniemeyer: I'm just trying to double check that we are doing this because we think snap wait  snap  key  will be generally useful, we will promote it11:32
niemeyerpedronis: Right, that was the idea.. I think waiting for a state on the snap sounds generally useful11:33
niemeyerpedronis: snapd and otherwise11:34
pedronisniemeyer: ok,  but this state is config right?   I mean snapd itself is already using bits of config to expose state, I'm just making sure we think that's the way to go also for other snaps11:34
mupPR core-build#29 closed: ubuntu-core-rootfs: deal with leftover fsck files <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/core-build/pull/29>11:34
pedronisniemeyer: it will need to fit in in schemas as well when we get there11:34
niemeyerpedronis: Not sure there's much to add in terms of schema11:35
pedronisniemeyer: well, we want to make this things read-only no?   I don't think we want a user to  do  snap set system seeded false11:35
niemeyerpedronis: Config is state.. can't see it otherwise11:35
pedronisI mean read-only from outside the snap11:36
pedronisor at least the snap should have that choice11:36
niemeyerpedronis: Yeah, I think this depends on the use case at hand.. properties that are read-only outside the snap is definitely sensible11:36
niemeyerpedronis: For seeded it makes sense too11:36
pedronisindeed, that would fit into schemas11:36
mupPR snapd#5146 opened: tests: fix user mounts test for external systems <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5146>11:36
mborzeckizyga: Chipaca: updated 514111:38
pedronisniemeyer: and maybe my questions were redudant but we have already so many concepts flying around, I wanted to make sure the plan was what it looked like11:38
zygaack11:38
niemeyerpedronis: The question seemed fine.. I was just concerned about missing some deeper underlying point11:39
mvoniemeyer: probably after the standup, still working on mitigation on the vfat bug11:39
hiHi every one11:40
=== hi is now known as Guest57528
pstolowskiniemeyer: hey, i've documented https://forum.snapcraft.io/t/disconnect-hooks-howto-undo-connect-hooks/5339 , we should discuss the options11:40
Guest57528i just want to know the command in snap.yaml file11:40
zygamborzecki: +111:42
mupPR snapcraft#1064 closed: pluginhandler: collide with directories and symlinks <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1064>11:43
peter___HELP11:43
peter___Any one tell me the command line process inside the snap.yaml file11:44
diddledanhuh?11:45
peter___(App: Command: )in snap.yaml11:45
zygapeter___: can you explain what you mean by that?11:45
* cachio_ afk11:46
peter___I am not clear with (Command: Path to executable (relative to snap base) and arguments to use)?11:47
zygapeter___: it is the command you want to associate with a given application11:47
zygapeter___: any shell command you want to run11:47
peter___I am new to snap.11:48
=== alan_g_ is now known as alan_g
pstolowskimvo: do you need more eyes on #5095? it has +2 and could be merged11:49
mupPR #5095: snapstate: support getting new bases/default-providers on refresh <Created by mvo5> <https://github.com/snapcore/snapd/pull/5095>11:49
pedronispstolowski: it says explicitly it's missing spread tests11:51
pstolowskipedronis: ah, right, should be marked blocked then11:52
pedronisyea, doing that11:52
pstolowskiwe did at the same moment ;)11:53
pedronis:)11:54
pedronisI see alot of branches failing spread tests today?11:54
zygaI see timeouts11:54
pedronisChipaca: your safejson PR for example11:54
jdstrandniemeyer: hi! I responded in https://github.com/snapcore/snapd/pull/438711:55
mupPR #4387: interfaces/gpg-keys: force use of '--no-random-seed-file' via explicit deny <Blocked> <Created by jdstrand> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/4387>11:55
Chipacapedronis: yes, timeouts downloadin core from the store11:57
Son_Gokumeeep11:57
niemeyerjdstrand: Responded11:59
niemeyerpstolowski: Thanks for the post!11:59
newbeemy project developed in netbeans how to create snapcraft.ymal for this, please assist12:01
* Chipaca ~> lunch12:04
pedronisnewbee: for java we have these docs: https://docs.snapcraft.io/build-snaps/java  , and snapcraft plugins has maven, gradle and ant plugins for dealing with java projects12:11
newbeei have installed snapd and snafcraft snap on my linux mint 18. in netbeans IDE8 i have created a java helloworld program. after that i created a snapcraft build and snapcraf.ymal file is generated12:11
newbeein this snapcraft.ymal file how to mention the hellowrold program12:12
zygahmm12:15
zygacat: write error: No space left on device12:15
zygathat's on opensuse12:16
zygaChipaca: could slow / failed / retried downloads fill the disk of a VM?12:16
zyganewbee: hey, have you seen: https://snapdocs.labix.org/the-snap-format/698 ?12:16
pedronisnewbee: what does the build produce  a jar ? something else?   in that doc example  the command goes into  apps: freeplan: command: (see the Apps section there)12:18
newbeezyga: thanks, we have go through the snapcraft.io documents in ubuntu core site, will try this too..12:19
pedroniszyga: your new doc page mentions a command that is not there yet?  it should probably list in which versions the various commands appeared12:20
zygapedronis: ah, great point, I'll add that12:21
newbeepedronis: yes its creating .jar file, but in that we confused what are the commands should we use.12:22
zygapedronis: done12:23
pedroniszyga: I think we just discovered that discourse has no conflicts checks12:25
zygapedronis: indeed, my changes are gone12:25
zygawhat did you do?12:25
pedroniszyga: I did an edit too, it seems your changes are not there12:25
pedronisI edited the last section about get-base-declaration12:25
pedronissorry :/12:26
zygano worries12:26
zygaI'll add the edits back12:26
* zyga holds the forum lock ;-)12:26
* zyga drops the forum lock12:28
newbeepedronis / zyga : sorry for the intruption, do you got my question..12:29
zyganewbee: whatever commands are appropriate to run a jar file12:29
zygajava -jar ... probably12:29
* zyga needs to take the dog out12:29
zygattyl12:29
newbeealso want to know does the snap can be decompile ?12:31
pedronisnewbee: it's not compiled, is just a compressed filesystem12:33
pedronisif you care about obfuscation you need to add it at the level of compiling/producing the jar12:34
newbeeis there any other sites to refer to create snapcraft.ymal file...?12:36
newbeealso please share example snapcraft.ymal file for java application ...12:36
zygaIt should be all documented12:37
zygaDid you google for that?12:37
pedronisnewbee: here's is an example for a jar:  https://github.com/snapcore/snapcraft/blob/master/demos/gradle/snap/snapcraft.yaml12:38
jdstrandniemeyer: responded12:38
newbeepedronis: ok, will try with this..12:39
pedronisnewbee: what java plugin are you using?12:39
sergiusensniemeyer: morning, hope the trip back home was good. Pinging you to see if we can get an rfc (request for comment) tag on the forum, to be used to specs and user stories of the work ahead so we can easily find them later.12:39
pedronisnewbee: you can do snapcraft prime   and look around in prime to see what gets built, where things are12:40
newbee@pedronis : we are using netbeans default plugin - ant12:42
pedronisok12:42
niemeyersergiusens: Sounds reasonable, but request-for-comment and spec is not the same thing.. user stories is also not a spec.. how about a more general "design" tag?12:43
pedronisnewbee: this one example is using ant:  https://github.com/snapcore/snapcraft/blob/master/demos/java-hello-world/snap/snapcraft.yaml12:43
ogra_niemeyer, oh, while sergio brings this up, does discourse have a way to allow more than one category for a post (a config option etc) .. . i often have posts that would benefit from being able to be in more than one category (specifcally in the device section)12:45
sergiusensniemeyer: +1 on design tag12:46
Chipacaogra_: maybe device should be a tag instead of a category?12:47
newbee@pedronis: Thanks, please clarify my understanding , in the command i have to mention the java path and the project path ..12:47
ogra_Chipaca, dunno, would people still use it then ? the category is pretty visible which is helpful12:47
ogra_it just happens often enough that i think "hmm, tis happens on core but would benefit from more attention via the snapd category" ...12:48
niemeyerogra_: No, one per post only12:48
ogra_niemeyer, ok, thanks12:48
mvopstolowski: if pedronis is happy with 5095 then I would say we should merge it12:49
mvopstolowski: aha, spread tests, nevermind12:50
pedronismvo: I haven't checked it carefully but indeed spread tests12:50
niemeyersergiusens: done12:52
mupPR snapd#5147 opened: snapd.core-fixup.sh: add workaround for corrupted uboot.env <Created by mvo5> <https://github.com/snapcore/snapd/pull/5147>12:53
pedronisnewbee: I'm not sure  what you mean with project path, the command can refer only to things inside the snap,  as I said, if you run "snapcraft prime"   and look into the created "prime" dir  you should see what is inside and where12:54
pedronis*things inside the snap or provided by the core snap12:54
newbee@pedronis- ok will try, thanks12:58
niemeyerHey, just heating up some water.. will be with you in a moment13:00
Chipacapstolowski: https://www.reddit.com/r/AskReddit/comments/7r1395/besides_bmw_which_car_has_the_douchiest_drivers/13:08
sergiusensthanks for the tag!13:08
pstolowskiChipaca: ty :)13:08
* diddledan twiddles his thingies until alsa-project.org comes back online13:22
um1b0zuis snap core down?13:36
pstolowskiChipaca: on that note, we have a joke - since they generally don't use turn indicators here: the guy shows up at a car service saying his front light broke as it's blinking all the time13:36
um1b0zuI've been trying to install a few packages and also just search the website13:36
pstolowskium1b0zu: store is having issues today, yes13:37
um1b0zuand I keep getting 500 and timeout errors13:37
um1b0zuok. so it's not a me problem13:37
um1b0zuthanks!13:37
Chipacaum1b0zu: https://status.snapcraft.io13:37
Chipacaum1b0zu: down: very yes13:37
Chipacaum1b0zu: although it might be coming back :-)13:37
pstolowskiand also https://forum.snapcraft.io/t/intermittent-outage-on-snap-downloads-and-uploads/534213:37
um1b0zunbd I just figured I'd ask13:38
* zyga is back home now13:50
ShmamWill snap packages use the same gtk settings?14:08
zygaa storm is coming here14:20
ogra_was that a trump reference ?14:21
zygait's a hot day, who knows ;)14:22
ogra_:D14:24
cwayneogra: he said a storm, not a stormy14:27
ogra_cwayne, didnt he qoute SNL ?14:28
ogra_*quote14:28
cwayneogra_: oh dunno, didn't see it yet14:28
ogra_heh14:28
ogra_dont want to spoil ya then :)14:28
cwaynelol14:29
=== rsalveti is now known as rsalveti__
=== rsalveti__ is now known as rsalveti
zygaI think in US the weather is officially "shit storm"14:40
zygahere it's just rain14:40
zygaand warm air 😃14:40
popeys/weather//14:51
kjackal_Hi jdstrand. I am working on microk8s and it seems I am hitting a permission denied from AppArmor when trying to terminate a pod. However I am on devmode.15:21
zygakjackal_: hey, perhaps I can help you15:37
zygawhat is the denial that you see?15:37
kjackal_Hi zyga, it is a permission denied from a docker deamon trying to sent signal kill 15 to a container15:38
zygakjackal_: can you please paste the denial15:38
kjackal_let me see if i can spot it, give me a moment15:39
zygakjackal_: dmesg | grep DENIED might help15:39
kjackal_zyga: let me ping you in a few minutes. I need to redeploy, just a sec15:41
zygasure15:42
kjackal_zyga: are you still there? https://pastebin.ubuntu.com/p/d9pgT6sFXj/15:56
zygasure15:56
kjackal_last couple of lines15:57
kjackal_4 lines15:57
zygakjackal_: thanks, can you dmesg | grep DENIED15:57
zygaand pastebin that15:57
zygawhat I see is May  9 09:18:03 jackal-VGN-FZ11M kernel: [ 2699.709975] audit: type=1400 audit(1525846683.188:298601): apparmor="DENIED" operation="signal" profile="docker-default" pid=23021 comm="containerd" requested_mask="receive" denied_mask="receive" signal=kill peer="snap.microk8s.daemon-docker"15:57
zygabut I want to make sure we're not missing something15:57
zygawhat is interesting is that this is the profile for docker, not for the snap, that is in the way15:57
kjackal_https://pastebin.ubuntu.com/p/6bhqbBjKVQ/15:58
kjackal_zyga: How does it get decided which profile to be used?15:58
kjackal_is there some kind of pattern matching?15:59
kjackal_If I rename the snapped docker daemon to something else would the right profile be used?15:59
zygakjackal_: this profile (docker-default) comes from docker, not from snap world16:00
zygait looks like a bug in docker16:00
zygaI'm not a docker person, just googled for this and found https://docs.docker.com/engine/security/apparmor/16:00
kjackal_For reference here is the snapcraft yaml https://github.com/juju-solutions/microk8s/blob/master/microk8s.yaml16:00
zygaagain, this is not related to snaps16:01
zygathis is a profile generated by docker that doesn't allow container processes to be signalled16:01
zygait probably allows them to be signal by unconfined peers16:01
zygabut not by confined peers16:01
zygaplease report this to docker16:02
kjackal_zyga: How does devmode work? Do snaps in devmode apply their own apparmor profiles?16:03
zygadevmode doesn't affect this16:03
zygathe profile is that of docker, not snaps, docker snap or anything16:04
zygadevmode works by using advisory confinement16:04
zygabut again16:04
zygathis is not related to devmode or snaps, look at the profile="..." string there16:04
zygaif this were a snap profile it would say profile="snap.something"16:04
kjackal_This is why I am asking, on all other snapped daemons the snap.samthing profile was used but not in the case of the snapped docker. I read at the docs of docker I could provide my own apparmor profile. I was wondering if in devmode one such profile already exists16:06
zygakjackal_: docker apparently generates its own profiles16:06
zygaand has permissions to break out of confinement16:06
zygaI don't know enough about docker to tell you more, I would suggest that you seek help with docker developers to ask about changing the automatically generated profile to allow it to send signals to confined processes16:07
kjackal_zyga: question on snap created profiles. Where can I find the apparmor profiles applied in the case of devmode?16:09
kjackal_Are there any files generated somewhere?16:09
zygain the same place as other profiles, they are all in /var/lib/snapd/apparmor/profiles16:10
kjackal_awesome thanks16:10
kjackal_will try that zyga, thanks16:10
zygagood luck16:11
vidal72[m]are snap packages and components builded with same flags as normal deb packages in ubuntu? i.e. are security related flags enabled by default (pie,ssp,rerlo,bindnow, fortify)?16:31
zygavidal72[m]: not necessarily16:33
zyganoise][: is the store running again?16:33
noise][zyga: yes, we are just waiting for a bit more stability time before updating announcements16:34
zygathanks!16:34
vidal72[m]zyga: why?16:34
vidal72[m]nowadays all major distro harden building packages, if snap doesn't then installing snap is a step back in this aspect16:36
zygavidal72[m]: because snaps don't mandate how software is built16:36
zygavidal72[m]: you can certainly harden your snap but there's no requirement that everyone does that or enforcement of that16:37
vidal72[m]zyga: opt-in security?16:37
zygaI don't know what you mean by that16:38
vidal72[m]zyga: if snap creator doesn't care about hardening build then it won't be hordened...16:39
zygavidal72[m]: do you have a well defined definition of hardening and a reliable way to check?16:39
zygavidal72[m]: don't get me wrong, it's nice to improve stuff but this is not an easy task16:40
zygavidal72[m]: people find packaging hard as-is16:40
zygavidal72[m]: and distributions don't agree on hardening concepts or use same defaults or toolchain versions and patcehs16:40
zyga*patches16:40
vidal72[m]zyga: things which I mentioned are enabled by default in fedora,debian,ubuntu,archlinux,gentoo and probably more...16:41
zygavidal72[m]: can you be specific, which things16:42
vidal72[m]zyga:  pie,ssp,rerlo,bindnow, fortify16:43
vidal72[m]see links included in https://github.com/flathub/flathub/issues/35316:43
zygaand how do you verify that those are set?16:43
zygavidal72[m]: what I'm trying to point out is that while an individual snap may be as hardened as you want, in general snaps don't come with source or build instructions and there's no way to require hardening16:44
zygavidal72[m]: we can improve snapcraft and the defaults used there16:44
zygavidal72[m]: and I would gladly support that16:44
zygavidal72[m]: I was just trying to explain my point16:45
vidal72[m]zyga: there should be some way to pass some defaults to gcc during build16:46
zygavidal72[m]: we can improve snapcraft and the defaults used there <- I know16:47
vidal72[m]flatpak16:47
vidal72[m]zyga: sounds good16:47
vidal72[m]zyga: flatpak is going to set in in runtimes (sdk)16:48
zygavidal72[m]: and is Spotify flatpak hardened? no because it's not using that16:49
vidal72[m]zyga: https://github.com/flatpak/flatpak-builder/pull/14216:49
mupPR flatpak/flatpak-builder#142: Load libdir and flags from SDK configuration file <Created by valentindavid> <Closed by alexlarsson> <https://github.com/flatpak/flatpak-builder/pull/142>16:49
zygakalikiana,sergiusens: ^ what is the hardening story in snapcraft?16:50
vidal72[m]zyga: almost nothing (except runtimes) are hardened in flatpak yet. Spotify isn't builded from source so it isn't target for hardening.16:52
sergiusensvidal72[m]: zyga I am all for it, but I would defer to the security team on that. If CFLAGS and such are already exported it is already achievable16:56
kyrofaYeah it wouldn't be hard, but it will obviously depend on the plugin being used16:58
=== pstolowski is now known as pstolowski|afk
tomwardillzyga (and everyone): store is back and operating normally, FYI17:01
zygathank you!17:01
vidal72[m]PIE and SSP can be enabled in gcc config. Probably they are enabled in ubuntu gcc package already.17:02
popeytomwardill: thanks!17:02
mvopedronis, niemeyer I updated 5124 based on the feedback. it lacks some more unit tests but I would love to get a first look to ensure naming/approach is in line with what we discussed and I also need dinner :)17:14
pedronismvo: I don't like seed.done for what is worth17:28
mvopedronis: ok, just leave a comment for niemeyer I have no strong opinion about the particular name17:28
* zyga prefers the original "seeded"17:28
kyrofasergiusens, this diff allows classic snaps to be built on trusty... but I'm not sure why we're doing that in the first place: https://pastebin.ubuntu.com/p/jmnJCtpP75/17:28
kyrofaLD_LIBRARY_PATH seems odd for classic17:29
kyrofaWill this break other things? Or is that old?17:30
pedronismvo: did you discuss it with him already?17:30
kyrofaEspecially given that the host was already determined to be compatible with the core snap. Might as well just let it build against its own17:31
pedronismvo: it sounds very unenglish as well,  it would have to be seeding.done17:31
pedronisseed as name is not an action afaik17:32
kyrofasergiusens, also, I'm fixing a conflict here but it could use another pass when you're able: https://github.com/snapcore/snapcraft/pull/212217:32
mupPR snapcraft#2122: many: introduce variables for part src and build <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2122>17:32
zygajdstrand: is that what you expected: https://github.com/snapcore/snapd/pull/5107/commits/bfdd7caca6dfb81df6fe7e218d3bd4d93dc08a8717:40
mupPR #5107: cmd/snap-update-ns,tests: mimic the mode and ownership of directories <Squash-merge> <Created by zyga> <https://github.com/snapcore/snapd/pull/5107>17:40
mupPR snapcraft#2127 closed: delta: properly search for in-snap xdelta3 <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2127>17:45
sergiusenskyrofa that is there to be able to find libraries from the base when doing the elf search17:52
kyrofasergiusens, what happens if we don't do that? We build against the host, but then fix all the rpaths when priming to use the base17:57
kyrofaIs that bad?17:57
jdstrandzyga: that looks like a nice choice, yes17:58
jdstrandkjackal_ (cc zyga): so, the issue is that signal rules have two sides: the sender and the receiver. the sender needs to be able to send to the receiver and the receiver needs to be able to receive from the sender18:00
zygajdstrand: ack, here the profile created by docker for the container doesn't allow this18:00
jdstrandkjackal_ (cc zyga): so while microk8s is allowed to send to the receiver because of devmode, the receiver (in this case the process running under the 'docker-default' apparmor profile) is not allowed to receive the signal from microk8s18:01
jdstrandkjackal_ (cc zyga): this is a variation of https://forum.snapcraft.io/t/htop-snap-unable-to-signal-aa-enforced-processes/5222/218:03
jdstrandkjackal_: it seems like microk8s is trying to talk to docker install via a deb. is this accurate?18:04
jdstrandinstalled*18:04
kjackal_jdstrand: yes, we deploy dockerd from docker.io18:05
zygathat last link is very interesting, thank you for sharing18:05
kjackal_jdstrand: is there another option?18:05
zygajdstrand: just as a quick check in #5090 is there a deeper issue or are you just after the comment changes?18:07
mupPR #5090: cmd/snap-update-ns: poke holes when creating source paths for layouts <Created by zyga> <https://github.com/snapcore/snapd/pull/5090>18:07
jdstrandkjackal_: honestly, I thought that microk8s would ship its own docker and plugs 'docker-support'18:07
jdstrandkjackal_: you *could* use a deb or other docker, but you would *not* be able to send signals directly to those processes, because those docker's don't know about microk8s and to add the signal receive rule18:09
jdstrandkjackal_: you *could* instead of sending signals directly use the docker socket to manage the containers though18:09
jdstrandkjackal_: even more honestly, I thought k8s used its own runc and didn't use dockerd, but I'm not up on the current implementation18:10
jdstrandzyga: yes-- all comments. based on your answer for returning the changes, I requested a comment there too18:12
sergiusenskyrofa: as we everything classic, we will need to try it out.... this is mostly for the ldd story (if memory serves correctly), so there might be side-effects18:13
wililupyI'm trying to use the layout feature in snapcraft but I am getting the following error: Issues while validating None: Additional properties are not allowed ('layout' was unexpected)18:13
zygawililupy: I think that for now you must use passthrough for that18:13
sergiusenswililupy: use passthrough for that18:13
wililupyso instead of bind: $SNAP/usr use passthrough: $SNAP/usr?18:14
zygawililupy: put all of the layout section under passthrough:18:14
zygaintent it one level deeper18:15
wililupyOk. I'll try that. Thanks zyga and sergiusens18:15
kyrofasergiusens, alright, I'll propose and create a snap of it. See if we can break it18:16
mvo5147 also needs a careful review18:16
zygamvo: question about 8.18:24
zygado you remove both files and write one new one18:24
zygamvo: or do you remove one at random (whatever kernel chooses)18:24
zygamvo: and if the answer is the latter, how do you know you removed the right file for uboot?18:25
zygamvo: ah, I see the diff now18:27
zygathis is interesting18:27
zygaand linux picks up the non-corrupt one18:27
zygamvo: the grep is incorrect18:28
zygamvo: it will trigger when boot.env.GARBAGE is there18:28
zygaor uboot.env.save18:28
zygaor whatever18:28
wililupyso I tried to install my snap and it says error: cannot install snap file: cannot use experimental 'layouts' feature, set option 'experimental.layouts' to true and try again so I use snap set experimental.layouts=true and get the following: error: the required argument `<conf value> (at least 1 argument)` was not provided.18:29
wililupyIs there any documentation on this?18:29
zygawililupy: yes, please see18:29
zygahttps://forum.snapcraft.io/t/layouts-re-mapping-snap-directories/1471/63?u=zyga18:30
zygain short: snap set core experimental.layouts=true18:30
zygalet me know of any issues you find18:30
zygaI know of three issues that have pending fixes but are not in edge yet18:30
zyga(though two will soon be)18:30
wililupyzyga: thank you!18:31
zygabetter yet, please add your observations to that thread18:31
niemeyerpedronis: The "seed" name is the path towards options related to seeding.. much like we have "proxy", for instance18:34
niemeyer(not proxyign)18:34
niemeyerpedronis: We also have /var/lib/snapd/seed, for similar reasons18:34
niemeyerpedronis: The goal was having something that we might use when we need more seed-related options18:34
zyganiemeyer: have you seen https://github.com/snapcore/snapd/pull/5141/checks ?18:41
mupPR #5141: tests: shellchecks, part 1 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5141>18:41
zyga(the PR number is not relevant)18:41
niemeyerzyga: Ohhh, nice!18:42
zygait seems we can now pay for travis and get more slots18:43
zygaand it feels like we want to have snapcraft there :)18:47
* cachio_ afk19:06
pedronisniemeyer: I understand but /var/lib/snapd/seed is a "seed",  and a proxy proxies,  but a seed doesn't seed and cannot be done19:08
niemeyerHmmm.. my messages didn't go through19:10
niemeyerTrying again..19:10
niemeyerpedronis: The "seed" directory has plenty of content inside it too, so we could organize things there19:10
niemeyerpedronis: I was driving for something similar here19:10
niemeyerrefresh, proxy, seed, ... would be top documents inside the system configuration19:10
niemeyerpedronis: The "seed" directory has plenty of content inside it too, so we could organize things there19:10
niemeyerpedronis: I was driving for something similar here19:10
niemeyerrefresh, proxy, seed, ... would be top documents inside the system configuration19:10
niemeyerHeh, thanks IRC19:11
niemeyerpedronis: "done" is less important, though.. we could use something else there maybe?19:11
zygapstolowski|afk: can you please merge master into your PRs after 4358 got merged19:12
pedronisniemeyer: the problem is the relationship of seed noun and seed verb,  you seed a seed,   seed is the object is seed the verb,  while proxy can be the subject of proxy the verb, and refresh is action of refresh the verb19:12
niemeyerpedronis: Sure, but that doesn't sound like an issue.. we have proxy and refresh as top documents, and seed would be no different19:14
niemeyerIt's clearly not an issue for the directory under snapd/19:14
zygajdstrand: not sure if you registered this, it has two +1s and I'm inclined to merge it https://github.com/snapcore/snapd/pull/512619:14
mupPR #5126: cmd/snap-update-ns: add support for ignoring mounts with missing source/target <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/5126>19:14
pedronisniemeyer: because that directoriy is a "seed"19:14
niemeyerpedronis: Yep.. the configuration too19:14
niemeyerpedronis: seed/*, seed.*19:15
jdstrandzyga: I did not see it. looking19:16
pedronisniemeyer: you would need to spell "seed.processed" not "seed.done" though19:16
niemeyerpedronis: That sounds fine to me.. any other good alternatives, just for brainstorm purposes?19:17
* niemeyer synonyms19:17
zygaseed.achieved?19:17
pedronisseed.installed19:17
zygaseed.completed19:17
zygaseed.up-to-date19:17
pedronisseed.seeded (but that's too repetitive)19:17
zyga(in case seed changes)19:18
zygaseed.ed (too geeky)19:18
pedroniszyga: the linguistic problem of those is that seed is not an action, is the object of an action19:18
zyganot sure, we call it "seeding" too19:19
zygaEnglish is too flexible it seems19:19
pedroniszyga: the action indeed is seeding19:19
niemeyerprimed19:19
zygahttps://www.macmillandictionary.com/dictionary/british/seed_219:19
zyga"to put seeds in the ground so that they can grow"19:20
pedroniszyga: yes,   but indeed seed  is already a name, so you cannot take the verb and nominalize it19:20
pedronisthe seed is primed,  the seed is installed, the seed is processed  sounds all okish19:21
jdstrandzyga: approved19:21
niemeyerloaded19:21
zygajdstrand: thank you!19:22
pedronisniemeyer: loaded also works19:22
zygaseed.planted? :D19:22
pedronisthe seed is achieved  or the seed  is completed sounds stranger19:22
mupPR snapd#5126 closed: cmd/snap-update-ns: add support for ignoring mounts with missing source/target <Created by jhenstridge> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5126>19:22
zygaseed.sprouted19:23
niemeyerplanted is not bad either19:23
niemeyerFollows the analogy19:23
zygaremember that small version of ubuntu on some dell machines?19:24
zygawhat was t hat name19:24
zygalight?19:24
niemeyerplaced, planted19:24
pedronisanyway atm  our terminology follows both  seed as of a plant and seed as of a crystal19:25
niemeyerpedronis: primed works well for the crystal19:25
niemeyerpriming also has the connotation of making it ready which fits well in this case19:26
zygaI'm unfamiliar with that term, is is the act of growing a crystal from a single attachment point?19:26
pedroniszyga: seed for crystal?19:26
pedronisyes19:27
zygayes19:27
niemeyerpedronis: Pick one.. :)  primed, planted, loaded19:27
pedronisI'm ok with either loaded or primed19:27
zygaI'd go for planted as it is most simple for English non-natives19:27
pedronisplanted is doubling down on the metaphor a bit too much for my taste19:27
pedronisalso a planted seed is not fully grown yet19:27
pedroniszyga: it's a bit misleading metaphor wise tough19:28
zygasprouted?19:29
zygais this about the systemd service name? :D19:29
* kyrofa breaks out the chemistry book to understand snapd's code19:29
pedronisno, the flag19:29
niemeyerseed.primed sounds nice19:29
zygawhat does it mean to prime a seed?19:29
niemeyerLet's go with that then..19:29
zygato start growing it?19:29
niemeyerzyga: Installs the snaps in the system and configure the whole system appropriately.. ;)19:30
pedronisnothing in particular19:30
zygaand does it relate to prime/ directory in snapcraft?19:30
pedronisbut that's not too bad, as I said our metaphor is already ambiguous and breaks down if you look too close19:30
niemeyerzyga: Right, the motivation for the word is the same there19:30
niemeyerzyga: "snapcraft prime" makes the snap ready for packing19:31
niemeyerseed.primed means the seed was processed19:31
zygaas long as it is documented :)19:31
zygaI think it will raise eyebrows as it doesn't sound natural but if it is documented and consistent then +119:32
niemeyerThis is also something pretty much nobody will look into, other than system hackers, so it's good enough I think19:32
niemeyerzyga: seeds are very natural :)19:32
zyganiemeyer: I mean the prime part19:32
zygaprior to this moment I didn't consider that a word I'd associated with seeding (prime)19:32
niemeyerzyga:      3. To prepare; to make ready; to instruct beforehand; to19:32
niemeyer        post; to coach; as, to prime a witness; the boys are19:32
niemeyer        primed for mischief. [Colloq.] --Thackeray.19:32
niemeyer        [1913 Webster]19:32
zygaas I said, it's just my familiarity with the word19:34
niemeyerack19:34
mvoonce there is agreement I guess we also need to rename the systemd unit(?)19:34
pedronisniemeyer: mmh,  to be fair   prime works best  with snapcraft because  after prime there is pack19:37
pedronisniemeyer: prime seems to have more the sens of make ready  for something else,  but for seed is a bit open/unclear wht the something else after is19:37
niemeyerpedronis: seed.loaded is fine too19:38
pedronisI think it would be less unclear19:38
niemeyerCool, let's go with that then19:38
niemeyermvo: ^19:38
zygaAs a non-native speaker I only know the word "prime" from movies and games where it usually only refers to primed explosive19:38
niemeyer:P19:39
niemeyermvo: Heya :)19:39
mvoniemeyer: sorry, it irc client crashed19:39
niemeyerIsn't that like 10pm for you guys?19:39
pedroniszyga: yea,  it means prepare/make ready for detonation19:39
mvoniemeyer: it is :(19:39
pedronisin that context19:39
mvoniemeyer: seed.loaded it is then?19:40
niemeyermvo: Yeah19:40
mvoniemeyer: also - snapd.seed-loaded.service for the unit?19:40
bashfulrobotQuick question all. I am not sure why I can;t find it in the docs. Is it possibel to remove all revisions from a channel?19:40
bashfulrobotQuick question all. I am not sure why I can't find it in the docs. Is it possible to remove all revisions from a channel?19:40
niemeyermvo: snapd.seeded still sounds nicer I think19:40
bashfulrobotdarn - edits duplicate.19:40
mvoniemeyer: so snapd.seeded and not snapd.seed-done ? happy with that19:40
zygabashfulrobot: you can close a channel, yes19:40
pedronisbashfulrobot: snapcraft help close19:41
zyganiemeyer: curious observation, unrelated to seeding19:41
niemeyermvo: Yeah, for the unit we don't have the same benefits of nesting as we do in the documentation19:41
zyganiemeyer: I'm just installing windows 10 on an old netbook19:41
niemeyererm.. in the configuration I mean19:41
bashfulrobotpedronis: ah ok - didn;t realise closing the channel was the same thing19:41
zygathe latest version that's been released last week19:41
zygait asks for every wifi connection if this is a metered connection19:41
zyga(offers to make it so)19:41
mvoniemeyer: great, I updated the PR comment - once the rest is reviewed I will push the fixes, I will see what i can do about the upload of .7, its getting late here, maybe tomorrow morning19:42
bashfulrobotthank you both zyga and pedronis19:42
niemeyermvo: Yeah, definitely.. some rest is due19:43
niemeyerOh, wait, and tomorrow is a holiday isn't it? /o\19:43
pedronismvo: systemd.special unit are a bit of a zoo,  most  are NAME.target/service with a few ADJECTIVE.target/service, but  I don't see anything like foo-done there19:43
mvofwiw, the image with the corrupted uboot.env rerfreshed itself out of misery after I (manually) run the core-fixup.sh and the double uboot.env was gone. so one revert but on the next auto-refresh it went to the right revision19:43
mvopedronis: yeah, it was just a strawman, snapd.seeded.service is the current agreement with niemeyer which sounds fine to me19:44
pedronisand sorry for being annoying about names but given this is part of the packaging and an interface we will be stuck with them for a while19:45
niemeyerpedronis: Thanks for worrying, actually!19:45
zygamvo: https://twitter.com/oheather1337/status/99399315679322112019:45
niemeyerpedronis: The options we discussed are much better than the quick name I suggested19:45
zyganames are hard, we should go back to magic numbers19:48
zygathis can be feature 4219:48
zyga(voice from the side) but I like the number 64 better19:48
mupPR snapd#5107 closed: cmd/snap-update-ns,tests: mimic the mode and ownership of directories <Squash-merge> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5107>19:51
mupPR snapd#5141 closed: tests: shellchecks, part 1 <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5141>20:01
mupPR snapd#5144 closed: tests: update bionic release image on gce <Created by sergiocazzolato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5144>20:01
mupPR snapd#5082 closed: cmd/snap-update-ns: use Secure.BindMount to bind mount files <Created by jhenstridge> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5082>20:16
zygajdstrand: #5116 has 2 +1s and I'm inclined to merge when green20:19
mupPR #5116: interfaces: move host font update-ns AppArmor rules to desktop interface <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/5116>20:19
zygait is a simple refactor of how we share fonts20:19
jdstrandzyga: approved20:26
zygathank you!20:26
mupPR snapd#4790 closed: jsonutil/safejson: introducing safejson.String & safejson.Paragraph <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/4790>20:31
zygajdstrand: having read the wiki page do you have any suggestions on the new debug command?20:33
zygajdstrand: I renamed it to "sandbox-features" and added a way to use it for scripting (return true/false if a set of features is available)20:33
zygaotherwise I feel it is ready20:33
jdstrandzyga: not otoh. I like the name change to sandbox-features20:44
zygathanks, I was wondering if I should add one for apparmor that's not from the kernel but I think for now it's fine20:44
zygait will help me with experiments20:44
jdstrandwe can always add stuff20:45
mvozyga: I slightly tweaked the test for 514720:58
zygaJust now?20:58
zygaI just approved it20:58
mvozyga: like 2min ago, please have another look, very much like before but tests a bit more20:58
zygaok20:58
mvozyga: not the actual recover unfortunately, I need to think how to do that, we could try to build a broken image somehow but not tonight20:59
zygathe test looks nice20:59
zyganote, there's a shorter way to test the size of a file, if it is zero21:00
mvozyga: hm, test -s was what I had in mind but that is >0 iirc21:00
zygaah, indeed, I though there's a "exits but empty" test as well21:00
zyga+1 :)21:00
mvothanks zyga !21:01
mvopedronis, niemeyer thanks for your input  on 5124!21:03
zygajdstrand: I'll handle the rest of your feedback tomorrow, I need to sleep now21:04
zygagood night everyone21:04
jdstrandzyga: good night :)21:38
bashfulrobotForthose that pop up in the AM... How long does the channel stable/ubuntu-18.10  Need to exist before closing to seed snaps on an ISO? Or do they need to exist for all ISO builds? And they exist until you are no longer building that ISO version? I seem to remember reading that it just had to be opened once with a revision, then could be closed immediately. I had set it up a while ago, and I am updating my personal docs... Plus since there22:51
bashfulrobotis no meantion of these details, I would likely also add to https://wiki.ubuntu.com/UbuntuSeededSnaps22:51
bashfulrobotTA22:51
mupPR snapcraft#2128 opened: project_loader: stop setting LD_LIBRARY_PATH <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2128>23:02
mwhudsonis there any way to tell snapd about a proxy without restarting it?23:15
mwhudsonoh _looks_ like it can be set with core config23:23
mupPR snapcraft#2116 closed: storeapi: handle 5xx error codes for all store endpoints <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2116>23:35
mupPR snapcraft#2122 closed: many: introduce variables for part src and build <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2122>23:35

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