/srv/irclogs.ubuntu.com/2015/09/07/#snappy.txt

=== ubott2 is now known as ubottu
=== timchen1` is now known as timchen119
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
fgimenezgood morning07:11
dholbachgood morning07:14
=== slangase` is now known as slangasek
=== davmor2_HOLS is now known as davmor2
JamesTaitGood morning all; happy Monday, and happy Buy a Book Day! 😃08:28
* Chipaca buys a book08:29
JamesTaitWhich book, Chipaca?08:31
Chipacahttp://www.amazon.co.uk/gp/product/035650242208:32
=== kickinz1|lunch is now known as kickinz1
ChipacaJamesTait: although some would call it the promise of a book08:45
JamesTaitChipaca, isn't that true any time you order something for delivery?08:46
ChipacaJamesTait: get off with you and your logical thinking08:46
JamesTait"Take my money, and promise me you'll post the item to me."08:47
asachow can i get a core dump on snappy? e.g. how to set where it will write it etc?11:52
sergiusensasac, I think we want to set /proc/sys/kernel/core_pattern to something more useful than 'core'11:59
sergiusensbut that as far as my knowledge goes, maybe pitti or ogra_ can chime in12:00
sergiusenson desktop (and I guess phone), it's piped to apport12:00
ogra_well, we dont ship apport ...12:00
ogra_so i'm not sure12:00
ogra_you might be able to trigger a core dump but i dont think it would be processed12:01
sergiusensogra_, the pattern is set to 'core', maybe we want a fixed path12:03
ogra_yeah12:04
sergiusensogra_, since the working dir would be the snapdir in most cases12:04
ogra_sergiusens, well, i'd dump it to /run or /tmp (in the respective snap subdir)12:11
ogra_not sure if thats possible though, /proc/sys/kernel/core_pattern is a global thing, nt sure it takes variables12:12
ogra_(beyond tthe defined ones)12:12
sergiusensogra_, we can pipe it into somehting that would understand the variables, but yeah, would be complicated12:14
ogra_ah, right ... we could call that thing we pipe into "apport" :)12:16
ogra_or probably better "snapport" :)12:16
sergiusens;-)12:19
sergiusensmvo, did you have any time to check my MP?12:37
asacogra_: sergiusens: i am sure it wouldnt be processed, but if we know how to enable to dump it that would already help12:59
ogra_echo "/tmp/core.%e.%p" > /proc/sys/kernel/core_pattern13:00
ogra_as root13:00
asachow much space do we have in /tmp usually? enough for any reasonable dump:13:00
ogra_that would dump it to /tmp/core.$executable.$pid13:00
asac?13:00
ogra_dunno, else point to somewhere in /writable13:01
ogra_the kernel wont care13:01
ogra_asac, /tmp is a tmpfs ... so limited to ram size indeed13:03
asacogra_: is there another presistent directory that also has the /tmp properties of getting wiped from time to time?13:04
mvosergiusens: not yet, sorry, I do that now13:06
mikenHi mvo o/13:08
mikenIf anyone has time for a quick review, I wrote this doc update last week - https://code.launchpad.net/~michael.nelson/snapcraft/fix-golang-tutorial-to-match-changes-from-r132/+merge/27013113:08
mvohey miken13:08
ogra_asac, /var/log ? and a logrotate rule ?13:08
ogra_i.e. /var/log/core ... and have files wiped regulary ...13:09
ogra_... or by size or whatever13:09
asacogra_: how are we doing logrotate?13:24
sergiusenselopio, hey, how do you feel about rebasing your symlinks branches on top of the repo one?13:44
=== verterok` is now known as verterok
elopiosergiusens: no problem.14:33
elopiofgimenez: lets meet tomorrow.14:33
fgimenezelopio, ok np14:34
sergiusenselopio, thanks!14:35
elopioogra_: how do I generate the init img from this initramfs-tools-ubuntu-core branch?14:36
dholbachhey hey sergiusens, do you remember if there was any discussion about allowing packages being pulled from PPAs for snapcraft?14:48
beunodholbach, hi14:48
dholbachhey beuno14:49
sergiusensdholbach, yes there was; not sure how to cleanly do this yet14:50
dholbachsergiusens, should I file a bug for it?14:51
sergiusensdholbach, I think there is a task for it already on trello14:52
dholbachhum.......is there a separate trello board for snapcraft?14:53
sergiusensdholbach, no, it has it's own lane14:53
dholbachah yes, found14:55
guest42315uuu mycroft kicks a$$ :P http://i.imgur.com/cCrM6Nj.png15:43
ogra_:D15:46
sergiusenselopio, this mp has your name all over it :-P https://code.launchpad.net/~sergiusens/snapcraft/yaml_init/+merge/27032518:44
elopiosergiusens: I'm already looking at it. I'm too fast for you :p18:45
sergiusenselopio, \o/18:45
sergiusenselopio, slow Monday I guess ;-)18:45
sergiusenselopio, https://code.launchpad.net/~sergiusens/snapcraft/yaml-tabs/+merge/27033120:50

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