/srv/irclogs.ubuntu.com/2015/06/03/#snappy.txt

sergiusensrsalveti: check #ubuntu-release :-P00:04
sergiusens@reviewlist01:51
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/tmpdir/+merge/260620 | No reviews (4 days old)01:51
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/fix-tests/+merge/260618 | Approve: 1 (4 days old)01:51
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/link-to-external-ui/+merge/260833 | Needs Information: 1 (less than a day old)01:51
nothalhttps://code.launchpad.net/~sergiusens/snappy/trunkBackport470/+merge/260884 | No reviews (less than a day old)01:51
nothalhttps://code.launchpad.net/~sergiusens/snappy/forgetGocheck/+merge/260890 | No reviews (less than a day old)01:51
=== c74d3 is now known as c74d
rsalvetisergiusens: Chipaca: don't we have auto-merge for snappy/15.04?03:00
rsalvetichecking https://code.launchpad.net/~mvo/snappy/snappy-lp1449032-poor-mans-rsync-15.04/+merge/260556 , not sure what are the missing steps in there03:00
mikenrsalveti: missing commit message?03:22
=== tvoss|lunch is now known as tvoss
dholbachgood morning06:40
dholbachseb128, so you finally got an answer? :)06:46
seb128dholbach, hey, yeah, thanks for nagging mvo for me ;-)06:46
dholbach:)06:47
zygagood morning06:57
fgimenezgood morning07:03
davidcalleMorning snappy o/07:34
seb128hey davidcalle07:34
beowulfmorning08:20
beowulfsergiusens: hey, you asked if 'service ui' was a good name for the link to a snaps running web ui from webdm, it's the least bad name i could come up with08:29
beowulfi am open to suggestions as to what that link should be called, but i think the design of this area needs work08:30
beowulfsergiusens: also, thanks for the reviews :)08:37
ogra_mvo, hmm, seems the image builds all failed tonight looking for that apparmor features file08:40
mvoogra_: let me look into this08:41
ogra_i dont get why08:41
ogra_neither apparmor nor livecd-rootfs changed08:41
mvoogra_: I think its because I added the cache generation08:41
ogra_(or am i looking at the wrong archive ?)08:42
ogra_oh, i see ... the PPA08:44
mvoogra_: I think I know whats going on, I will check08:44
ogra_k, thanks :)08:45
elopiogood morning.08:47
JamesTaitGood morning, folks! Happy Repeat Day, and happy Repeat Day! 😃08:51
mvojdstrand: hey, for later. I put some ideas and a proof-of-concept for the apparmor cache file handling in https://bugs.launchpad.net/snappy/+bug/1460152/comments/609:44
ubottuUbuntu bug 1460152 in Snappy 15.04 "apparmor cache not updated when apparmor.d rules change (breaks 15.04/stable -> 15.04/edge updates)" [Critical,In progress]09:44
mvojdstrand: I added a different fix, but it might be a option to consider changing apparmors behavior here09:46
mvojdstrand: one example where the current behavior is not ideal is if a backup file is restored for a policy with the original (backup) mtime, then the cache is not re-generated either09:47
=== erkules_ is now known as erkules
mikenHi people. I created this bug the other day, but wasn't sure if it's a webdm bug or more generally how snappy itself sets up /tmp/snaps/ the first time a framework is installed. Can someone pls check? https://bugs.launchpad.net/bugs/146051710:31
ubottuUbuntu bug 1460517 in webdm "Cannot run other snaps after first installing webdm" [Undecided,New]10:31
sergiusensrsalveti: I see it merged10:57
sergiusensrsalveti: oh yeah, lp-propose's bug where the commit message is actually the description ;-)10:58
sergiusensbeowulf: how about just ui or web ui... or we can go back in time and call it 'web portal' :P10:59
beowulfsergiusens: web portal is possibly the most human, still doesn't accurately explain what's going on (because we can't explain what's going on, unless the user can give a string to explain what's at the end of that url?)11:07
beowulfi'll change it to anything though, just pick some words :)11:07
* ogra_ curses vivid and reboots his overheating laptop for the nth time today :(((11:11
sergiusensogra_: go back to precise!11:14
sergiusensbeowulf: maybe ogra_ has better words for it11:14
ogra_for what ? renaming webdm ?11:15
sergiusensogra_: no, let me get a screenshot ;-)11:15
ogra_(if i can open a browser without my laptop sutting down :P )11:15
ogra_*shutting11:16
sergiusensogra_: http://imgur.com/grZ72cS11:17
beowulfogra_: in your webrtc snap, you define a ui port, in webdm we create a button for this11:17
sergiusensthe mouse is over "Service UI"11:17
beowulfogra_: what should that button say?11:17
beowulf(talking buttons, who knew)11:18
ogra_just "Open" ?11:18
ogra_service Ui sounds confusingly as if i would access a configuration option there11:19
beowulfogra_: you might, in some snaps11:19
ogra_(somehow like "Management UI")11:19
ogra_well, then call it "Manage/Open" or some such ...11:20
beowulf"Open" is actually open ended enough to cover all options, or about "Open $name"11:21
ogra_its a bit tricky to find a unique name for a multi purpose button :)11:21
ogra_yeah, i guess Open is the best here unless you want to indicate management/configuration can be accessed through it11:21
ogra_but i guess thats up to the app11:22
beowulfhttp://bazaar.launchpad.net/~stephen-stewart/webdm/link-to-external-ui/revision/15511:37
beowulfsergiusens: ^11:37
sergiusensbeowulf: compromise :-)11:39
sergiusens@reviewlist11:53
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/tmpdir/+merge/260620 | No reviews (4 days old)11:53
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/fix-tests/+merge/260618 | Approve: 1 (4 days old)11:53
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/tidy-up-list-row/+merge/260837 | No reviews (less than a day old)11:53
nothalhttps://code.launchpad.net/~sergiusens/snappy/trunkBackport470/+merge/260884 | No reviews (less than a day old)11:53
nothalhttps://code.launchpad.net/~mvo/snappy/snappy-lp1449032-poor-mans-rsync/+merge/260931 | No reviews (less than a day old)11:53
sergiusensmvo: mind checking ^ ?11:53
mvosergiusens: yes! I wanted to get to this list this afternoon anyway :)11:58
* Chipaca adds https://code.launchpad.net/~chipaca/snappy/mangle/+merge/260934 to the pile12:07
Chipacamvo: wrt https://code.launchpad.net/~mvo/snappy/snappy-lp1449032-poor-mans-rsync/+merge/26093112:08
Chipacamvo: the comment about "xxx on trunk yadda yadda" might be worth addressing12:09
Chipacagiven that this is for trunk an' all12:09
mvoChipaca: *cough*12:16
mvoChipaca: indeed12:16
mvoChipaca: its good that I have you12:16
mvoChipaca: meh, extra work, I need to add a new CopyFlagArchive or CopyFlagPreserverUtimes, CopyFlagPreserverPermissions12:21
Chipacamvo: ah12:21
Chipacamvo: leave it for now then12:21
mvoChipaca: ok12:21
mvoChipaca: I will update the comment to say why its not using the internal one at least12:21
Chipacarsalveti: wrt "don't we have automerge for 15.04", we do, but the branch was missing a mommit cessage12:44
mvoyes, my bad12:48
rsalvetimorning12:48
rsalvetiChipaca: got it12:49
Chipacaspeaking of morning, lunch.12:49
rsalvetisergiusens: man, you're waking up quite early12:49
rsalvetineed to start doing the same12:49
rsalvetihm, actually, my irc server is in a different timezone12:50
rsalvetithat explains the log timestamp12:50
rsalvetiseb128: were you able to get uefi to work in the end?12:50
seb128rsalveti, no, I upgraded to the 0.22 version uploaded to wily this night and generated a new image/dd-ed that to a key but the device is still not listed a valid boot one12:51
seb128I was waiting on slangasek to be around to ask him how I can debug that more12:51
rsalvetiright, yeah12:52
rsalveti@reviewlist12:54
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/tmpdir/+merge/260620 | No reviews (4 days old)12:54
nothalhttps://code.launchpad.net/~mterry/ubuntu-core-launcher/fix-tests/+merge/260618 | Approve: 1 (4 days old)12:54
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/tidy-up-list-row/+merge/260837 | No reviews (less than a day old)12:54
nothalhttps://code.launchpad.net/~chipaca/snappy/mangle/+merge/260934 | No reviews (less than a day old)12:54
nothalhttps://code.launchpad.net/~mvo/snappy/snappy-oauth-quoting/+merge/260909 | No reviews (less than a day old)12:54
rsalvetisergiusens: Chipaca: mvo: anyone to review mterry's mrs?12:54
rsalvetiguess also something to backport to 15.0412:55
Chipacarsalveti: looking at them right now12:55
rsalvetiChipaca: awesome12:55
mvorsalveti: I just did12:55
rsalvetigreat12:56
Chipacamterry: why dir = strdup(dir)?12:57
mterryChipaca, that's the main focus of the bug fix.  strtok changes its argument.  And getenv returns the real live environment memory12:58
mterryChipaca, so we have to copy the environment memory so strtok doesn't ruin it12:58
Chipacatwo things:12:58
Chipaca(1) ahh12:58
Chipaca(2) aaaaaah12:58
mterry:)12:59
rsalvetimvo: https://launchpadlibrarian.net/208158748/livecd-rootfs_2.306%2Bppa1_2.306%2Bppa2.diff.gz12:59
rsalvetimvo: you're creating the cache without the features file12:59
rsalvetiI believe that means it would use the features file from the builder (host)12:59
Chipacamterry: about EEXIST, that's a can'thappen, btw12:59
mterryChipaca, it did for me!12:59
Chipacamterry: wat12:59
mterryChipaca, the test didn't pass if you ran it multiple times12:59
Chipacamterry: tell me more!12:59
mterryChipaca, if you try to mkdir a directory that exists, it gives you EEXIST13:00
Chipacamterry: yes13:00
Chipacamterry: but that mkoldtmpdir is called after you have a private /tmp/13:00
mvorsalveti: oh, let me look at this and its implications13:00
mterryChipaca, oh huh.  OK.  Fair.  Then it just affects the test code13:00
Chipacai guess in tests we don't run as root?13:00
mterryChipaca, right13:00
Chipacachicken13:00
Chipaca:-p13:00
mterry:)13:00
rsalvetimvo: that could mean that the cache is incompatible with our targets13:00
rsalvetiand that would make the cache to be generated again during first boot13:01
mvorsalveti: makes sense, meh - I need to figure out now why it was not working with the feature file. oh well :) I would actually really like to change the way the caching works to tie the cache stronger to the original file. I did a patch but need to wait for jdstrand as its a bit of a depature from the current way the caching works.13:03
Chipacamterry: um, just realised one thing: not checking the return value of that strdup13:05
mterryChipaca, ah!  ok.  I've lived in a g_strdup world so long that I forgot I needed to13:06
Chipacamterry: :)13:06
mterryChipaca, added a check and a comment on why we strdup (since that interaction really isn't obvious).  hence the bug I guess :)13:09
Chipacamterry: if the strdup fails, maybe die("wtf") is in order?13:10
mterryChipaca, sure could.  The other error cases were more mild in that function, but they were more mild errors13:11
Chipacaah, wait, it's mkoldtmpdir13:11
Chipacai'm not sure i care ;)13:11
mterryyeah13:11
Chipacaotoh, if the strdup failed, you're running on a c-64 or sth13:11
mterryalthough it doesn't bode well for the future of the run13:12
Chipacayup13:12
mterryI think a die() is appropriate13:12
Chipacaok13:12
mterryChipaca, done13:12
jdstrandmvo: re caching-- I think we need to pull in jjohansen13:14
sergiusensmvo: can't we add the kernel and os snap versions to the cache file and have ubuntu-core-launcher add them to the mix to determine which to load?13:25
sergiusensjust throwing out an idea13:25
mvosergiusens: yeah, I need to dig deeper, but I would love something like this13:25
jdstrandwe should probably have tyhicks involved too13:27
jdstrandmvo: maybe it makes sense to setup a hangout?13:27
jdstrandcaching seems like it isn't that complicated, but it is actually quite complicated and understanding all the requirements, etc is key13:28
mvojdstrand: probably, I can also write up something by mail and start a discussion with that?13:29
jdstrandmvo: mail will be too slow in this case. there is a lot to digest-- between distro, touch and snappy requirements, history and systemd, planned work and new ideas, I think we need to have a hangout13:30
mvook13:30
jdstrandmvo: feel free to send an email detailing the snappy requirements and your thoughts-- that would definitely be useful13:31
mvook13:31
jdstrandthat can springboard the conversation13:31
rsalvetimvo: right, we can have that script with a known/working features file and then land your change to improve the cache handling13:37
rsalvetiI believe the the features files should be stable for the generic kernel13:37
rsalvetimy main concern in there is once we start getting other kernels13:37
rsalvetibut we can handle this later on13:37
rsalvetimvo: we could just land that other approach we had which is not pre-caching and cleaning up the cache when updating13:39
rsalvetithen work with the security team next week to land a better fix13:39
rsalvetisince we'd need a fix already for 15.04.1, what do you think?13:40
mvorsalveti: yeah, I think that is ok, I am not overly happy with the options so far, removing the cache files after the upgrade feels like too much of a special case for my taste and the generate-on-image is also problematic once we have hte kernel snap. ideal would be to solve it in apparmor_parse IMO13:40
rsalvetiright, I agree, mostly concerned with the time that it would take to land that13:41
mvorsalveti: right, cleaning that dir works as a short-term, I am not really liking it, but of course its fine as a stop-gap. I would love to keep the upgrade free of special cases, it should (IMO) just be a untar13:41
mvorsalveti: time is a good point13:41
mvorsalveti: I look into the rm solution then13:41
rsalvetimvo: cool, but let's plan something for earlier next week to discuss this in depth13:41
kyrofabeowulf, ping13:43
mterrymvo, re: my envvars branch.  Thanks for the review!  You commented on needing a dep on ubuntu-core-launcher if I'm going to remove the TMPDIR creation.  But I didn't remove it, I just moved it lower in that file.  So I think I can skip the dep.  You mentioned that the env vars would make sense in the snappy package.  I don't disagree, but then I run into circular dependencies (that code is used in 3 total packages).  Is there a nice neutral place tha13:47
mterryt isn't helpers?  Lastly, I'll add SNAP_ARCH13:47
mvomterry: thanks, looks like I missed that the dir is created, all good then :)13:48
mvomterry: you could create a new package just for this, it seems to be a bit overkill though, so maybe helpers is good enough. I leave that to you, if it stays in helpers a small comment why its there would be cool (i.e. mention the circular deps)13:49
mterryOK13:49
beowulfkyrofa: pong13:49
kyrofabeowulf, quick question: The webdm download_size and install_size-- they're in bytes?13:50
beowulfkyrofa: yes13:51
kyrofabeowulf, just wanted to make sure. Thanks!13:52
beowulfkyrofa: did you see the default icon i added?13:52
beowulfkyrofa: default-package-icon.svg, let me know if it works for you or needs changing13:53
kyrofaWhy yes I did! It's lovely, thank you :)13:56
kyrofabeowulf, ^^ it works perfectly13:56
beowulf\o/13:59
mterrymvo, ok updated and merged from trunk14:03
mvomterry: thanks a bunch, just top-approve yourself (as its already approved), tarmac will merge14:05
mvoautomatically14:05
mterrymvo, done, though it feels dirty  :)14:05
mterryI'm curious what capacity/interest we have for sunsetting these deprecated variables14:06
ogra_well, did we change to the new ones before or after the store was flushed14:10
slangasekseb128: ok, so now I'd like to see a recursive directory listing for partition 2 of this image14:33
Chipaca@reviewlist14:49
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/tidy-up-list-row/+merge/260837 | No reviews (less than a day old)14:49
nothalhttps://code.launchpad.net/~chipaca/snappy/mangle/+merge/260934 | No reviews (less than a day old)14:49
nothalhttps://code.launchpad.net/~mvo/snappy/snappy-oauth-quoting/+merge/260909 | No reviews (less than a day old)14:49
nothalhttps://code.launchpad.net/~chipaca/snappy/unsetActiveClick/+merge/260570 | No reviews (4 days old)14:49
nothalhttps://code.launchpad.net/~chipaca/snappy/setActiveClick/+merge/260569 | No reviews (4 days old)14:49
Chipacanothal: something is very wrong with you, somewhere14:49
sergiusensChipaca: somehow somewhere something is wrong14:55
* sergiusens feels as if it were a Friday14:55
Chipacasergiusens: something other than nothal finding half the branches?14:56
seb128slangasek, hey, sorry I was in a call ...  http://paste.ubuntu.com/11544712/15:09
slangasekseb128: no .efi executables.  So this version of udf is /also/ broken.16:02
seb128slangasek, is there anything on the image saying what version of udf was used to generate it, in case for some reason something didn't work?16:03
slangasekseb128: not that I know of16:03
seb128slangasek, do you have any suggestion what to do next about the uefi thing?18:00
seb128did anyone got it to work?18:00
slangasekseb128: well the version I pointed you to yesterday still works18:00
slangasekthe one in the tools ppa18:00
seb128the wily one is supposed to have the same changes no?18:00
seb128the changelog includes18:01
seb128  [ Steve Langasek ]18:01
seb128  * Add UEFI support for grub.18:01
slangasekof course it's supposed to, but clearly somebody regressed something there18:01
slangasekit's good to know about this regression, and the snappy team should fix that; but if you're trying to get unblocked for your own work, use the version I know is tested :)18:02
seb128k, going to do that next18:03
sergiusensslangasek: there are 4 unrelated commits between that and what follows though18:16
sergiusensI'll check for regressions in any case18:17
slangasekI've just re-confirmed locally that udf 0.21-1+175~ubuntu15.04.1 sets up the boot partition correctly18:18
slangasek# ubuntu-device-flash core 15.04 -o ubuntu-15.04-snappy-amd64-generic.img -s 4 --channel stable --oem generic-amd64 --enable-ssh18:18
slangasek# kpartx -a ubuntu-15.04-snappy-amd64-generic.img18:18
slangasek# mount /dev/mapper/loop0p2 /mnt18:18
slangasek# ls /mnt/EFI/BOOT/18:19
slangasekBOOTX64.EFI  grub.cfg18:19
seb128sergiusens, slangasek: I've had issue with that usbkey so trying again on another one, it's almost done writing, going to let you know if that one worked better in a bit18:19
sergiusensseb128: slangasek (amd64)ubuntu@localhost:~$ ls /boot/efi/EFI/BOOT/18:19
sergiusensBOOTX64.EFI  grub.cfg18:19
sergiusensthat's with the latest wily one18:20
slangasekseb128: have you checked the contents of the generated image, /before/ flashing it to the usb stick?18:20
slangasekto rule out an incomplete usb write18:20
sergiusensrunning in kvm though18:20
slangasekseb128: ^^ ok so sergiusens shows the wily version working18:20
seb128slangasek, no, but it seems it worked this time18:20
seb128so I guess things were wrong puting the image on the first key :-/18:20
sergiusenswell, I don't know if it boots for uefi, I can attest the files are there at least :-)18:20
seb128slangasek, sergiusens: the laptop lists the key as a boot device this time, so it looks good ;-)18:21
seb128sorry for the noise :-/18:21
seb128yeah, and it boots!18:21
sergiusensno worries, you are the first live user ;-)18:21
sergiusensfor uefi that is18:21
seb128:-)18:21
seb128great, so that works18:22
seb128tomorrow to try to resolve desktop image package conflicts18:22
sergiusensgreat, as soon as that wily powerpc issue is gone I'll propagate this to all the ppa's18:22
seb128slangasek, sergiusens, thanks!18:22
mterry_Is tarmac not hooked up for ubuntu-core-launcher?19:17
sergiusensmterry_: I don't think so, no19:22
mterry_sergiusens, should we push to trunk manually once we're approved?19:22
sergiusensmterry_: I can setup a no build merge for it with tarmac; can setup a bzr bd/sbuild thing for tomorrow or later19:24
mterry_sergiusens, that would be awesome19:25
tedgsergiusens, When you do core launcher can you do snapcraft too please? :-)22:02

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