/srv/irclogs.ubuntu.com/2014/04/16/#ubuntu-desktop.txt

=== oCrazyLemn is now known as CrazyLemon
mlankhorstHello, world!\n07:26
seb128good morning desktopers08:02
mlankhorsthai08:02
Laneyyo08:04
mvohey seb12808:06
seb128mvo, hey ;-) wie gehts?08:06
mvoand good morning mlankhorst and Laney08:06
seb128same!08:06
mvoseb128: good, thanks. looking at upgrade bugs08:06
mvothat is medium fun but important :)08:07
* mvo makes up for it by drinking huge amounts of tea08:08
mvo(to add fun ot it I mean)08:08
Laneynever upload chromium08:08
Laneyto be more precise, don't subscribe to its bugs08:09
seb128Laney, living the life of the maintainer of a popular (and buggy) application? ;-)08:09
Laneya maintainer who has an overused "mark all as read" button :P08:10
seb128lol08:10
mvohaha - or a worn out "d" key08:11
LaneyI've got a script which subscribes me to bug mail for packages I upload08:13
Laneywhich is fine most of the time, but not when I upload chromium just to change a recommends to a suggests08:13
mvo*cough*08:13
pittibonjour seb12808:13
pittihey mvo08:13
pittimorning Laney08:14
pittihey mlankhorst!08:14
mvohey pitti08:14
Laneyguten morgen pitti08:14
pittiI should check this channel more often :)08:14
mvoits good fun here08:14
Laneywas ist los?08:15
seb128pitti, guten tag! wie gehts?08:15
mlankhorsthai08:15
pittiseb128: mediocre, caught a cold :(08:15
seb128pitti, :-(08:15
seb128pitti, get better! I hope it's over for the easter w.e08:15
pittibut yesterday was fun, we went to the Munich theater to see the West Side Story (my wife's bday present)08:15
mvopitti: oh, get well!08:15
seb128pitti, oh, nice08:15
pittiI hadn't seen that before08:16
pittiwith an original NY theater cast08:16
=== tkamppeter_ is now known as tkamppeter
seb128didrocks, see, pitti seems to like croissants au chocolat, he +1ed my post!08:26
pittiseb128: oui, je les aime !08:26
didrocksyeah, I had to reflect reality and just answered!08:26
seb128pitti, moi aussi, mais le pauvre Didier ne connaît pas les croissants au chocolat08:26
didrocksit's clearly a German thing08:26
seb128he says that they don't have those in Lyon08:27
pitticomment est-ce c'est possible ?08:27
pitti"que"08:27
didrocksseb128: we have french cuisine in Lyon!08:27
didrocksonly things on THE list :)08:27
seb128pitti, je ne sais pas non plus, dommage pour eux :/08:27
pittiseb128: mais du gâteau de rhubarbe est encore mieux :)08:28
didrocksrhubarbe… pas très fan ici08:28
seb128gâteau ou tarte ?08:28
seb128tarte à la rhubarbe !08:28
pittiseb128: ma femme a fait le tarte pour mon anniversaire, yummy08:29
seb128pitti, une tarte à quoi ? à la rhubarbe ?08:30
seb128c'est pas encore la saison, si ?08:30
pittioui08:30
pittiseb128: non, nous pouvons acheter de la rhubarbe dans nos "market"08:30
pittiseb128: de avril à juin08:32
pittiseb128: c'était un printemps tôt :)08:32
seb128pitti, tu as raison ;-)08:33
didrocksdbarth: I think alex_abreu, Laney and you talked about the migration script which readded the amazon entry in launcher if people have removed it. Is that fixed now?09:39
Laneydon't think so, but alex_abreu said he thought he knew what to do09:40
dbarthwhat's the bug num. for that one?09:41
LaneyDon't know, I asked him on irc yesterday09:41
dbarthhmm ok09:42
didrocksLaney: dbarth: this needs to be fixed before we release trusty though09:42
didrocks(and should go on -updates)09:42
dbarthand the issue is that the amazon launcher comes back09:42
Laneyyup09:42
* didrocks can already imagine the bad PR with "Canonical forces amazon in the launcher where I removed it"09:42
didrocksthe solution is really easy09:42
dbarthoh no, please ;)09:42
didrocksjust put back the script to the older name09:42
dbarthright09:42
didrocksso, people transitionned are already transitionned09:42
didrocksfor the new part of the script09:43
didrocksbrings a second script with a new name09:43
didrocksbut don't mix both in the same script09:43
dbarthhmm, taking a look09:43
Laneywhat changed?09:43
didrocksso people on past LTS won't get it added09:43
didrocksLaney: the name of the script09:43
didrocksso never seen -> executed09:43
LaneyI mean in the script09:43
didrocksLaney: I didn't check yet09:43
Laneyokay09:44
didrockswas hoping to bring the topic and having people with more knowledge knowing :)09:44
seb128https://launchpad.net/ubuntu/+source/webapps-applications/2.4.17+14.04.20140411-0ubuntu109:44
Laneywell, then we could take the opportunity to do my fix from yesterday09:44
seb128  * Update session migration script to remove all the cruft09:44
seb128    ~/.local/share/applications by supported webapps09:44
Laneyand avoid having that grimy dependency on libunity-core-whateveritis09:44
dbarthyup09:44
dbarthLaney: this one landed i think09:44
LaneyI know09:44
LaneyI suggested an IMO nicer fix to check that at runtime instead09:45
dbarthhttps://bugs.launchpad.net/ubuntu/+source/webapps-applications/+bug/130807609:45
ubot2Launchpad bug 1308076 in webapps-applications (Ubuntu) "/usr/share/session-migration/scripts/install-default-webapps-in-launcher-and-cleanup-local.py:5:g_settings_set_property:object_set_property:g_object_new_internal:g_object_new_valist:g_object_new" [High,Fix released]09:45
dbarthah i see09:45
seb128Laney, can you handle that/make sure the fix land?09:45
Laneycan do09:45
dbarthwell, so you want to change robru's fix with another one?09:45
Laneydunno09:45
dbarthi don't mind, that's packaging black magic to me09:45
dbarthas long as it covers more bases09:46
LaneyI like it more, but who knows09:46
Laneyhe said he thought it was still technical debt, not sure I agree09:46
Laneyanyways we can do the first fix I guess09:46
dbarthand so the first fix landed afaict09:47
Laneyunrenaming the script09:47
Laneyand doing the new part in a second one09:47
dbarthyeah, marked as landed in citrain09:47
dbarthok09:47
dbarthnow on to the amazon one09:47
LaneyI wonder if I should rename the "new" script10:06
Laneyinstall-... isn't what it does now10:06
LaneyWill do, it shouldn't be bad to run it an extra time10:07
didrocksdbarth: btw, not sure it was discussed, but this is now broken with the new webapps: http://developer.ubuntu.com/web/tutorial/10:07
didrocksdbarth: if a website is setting a userscript on their site to show a webapps, from what I heard (didn't try myself), it won't be shown10:08
Laneydidrocks: a bad exit code means a script will be re-run the next time, yes ?10:17
Laneybut no error or anything like that10:17
didrocksLaney: right10:17
Laneyok10:18
didrocks        g_printerr("Exited with an error\nstdout: %s\nstderr: %s\n", stdout, stderr);10:18
didrocksin logs10:18
LaneyIt's "the schema isn't installed, don't do anything but try again next time"10:18
Laney== sys.exit(1)10:18
didrockssounds good :)10:19
Laneycheers10:20
Laneyseb128: dbarth: https://code.launchpad.net/~laney/webapps-applications/dont-readd-launcher-icon/+merge/216057 please to review10:27
LaneyI just copied the old script back10:28
Laneyand removed that part of the new one10:28
dbarthuh, faster10:28
Laneyhmm10:28
Laney?10:28
didrocks(looks like from what you tell is the right strategy to me)10:29
seb128Laney, didrocks, dbarth: looks fine to me as well10:32
LaneyI saw that you suggested this runtime check too10:33
Laneyon the original bug report10:33
Laney;-)10:33
dbarthyup +110:33
dbarthadding a silo request10:34
Laneyok well if you want to get it trained into the queue then there's a minor chance of it being accepted10:35
Laneyotherwise 0-day sru which is fine10:35
Sweetshark*grumble* *grumble* fscking logscreen forces me to kill my debugging session and loose a trillion carefully planted breakpoints. A logscreen that lets me Alt-Tab though apps (which are not shown of course), but not unlock the screen is ... not helpful.10:35
LaneySweetshark: what unity version is running? can you reproduce it?10:35
dbarththanks Laney10:36
Laneynp10:36
Sweetsharkunity 7.2.0+14.04.20140404-0ubunt(here the terminal ran out of chars)10:38
LaneyTry upgrading ;-)10:39
SweetsharkLaney: I have no welldefined reproduction scenario, but its not the first time this happened.10:39
LaneyLots of issues like that were fixed in >> 040410:39
Laneyman that chromium notifications indicator is ugly10:43
seb128Laney, getting used to be the chromium maintainer? ;-)10:43
qenghoLaney: :(10:45
* Laney hugs qengho 10:45
Laneyqengho: Is the indicator an upstream thing or something you've done?10:47
LaneySorry for sounding mean :(10:47
qenghoLaney: It's not me. Don't feel bad for that.10:51
LaneyIn that case I don't know what a Chromium notification is or why I need an indicator for it the whole time :-)10:52
qenghoLaney: Can you show me a screenshot?10:53
Laneyqengho: http://ubuntuone.com/0Ejd0uop0SwgC8HLiR7hUL10:56
Laney(I'll miss being able to do that)10:56
=== MacSlow is now known as MacSlow|lunch
seb128Laney, how did you activate that?11:14
LaneyI have no idea11:15
Laneynot on purpose11:15
LaneyMaybe it was when I got a notification on Twitter (I'm using tweetdeck inside chromium)11:16
qenghoLaney: I have honestly never seen that. I have seen little pop-up windows in bottom-right corner, and I was going to agree they're ugly.11:17
LaneySomeone send me a tweet :-)11:17
* Laney posts something controversial11:17
seb128lol11:17
didrocksI guess seb128 already did on g+11:18
seb128roh11:18
* Laney doesn't have seb128 there :-o11:19
didrocksLaney: you are just missing some fake photos :p11:20
Laneyit's like the moon landing right11:20
seb128didrocks, you are loosing on that post, we are 3 to say "yummy" and you are alone to say "fake"11:20
Laneyhe just faked it up in a studio11:20
didrocksseb128: hum, that's not what Julie is saying11:20
didrocksLaney: exactly!11:20
seb128didrocks, you both are counting for 1 :p11:20
didrocksroh11:21
seb128didrocks, I don't want to say anything but Julie just admitted on the same post that you eat cat food11:22
didrocksseb128: I saw that, but it seems you don't understand irony :p11:22
didrocksbad for you ;)11:22
seb128tssss11:23
Laneydidrocks / seb128: want to check landing-004 doesn't re-add icons for you?11:24
seb128didrocks, btw I saw Julie (the real one on TV, with a "e" in the name :p) cooking some of those pink stuff on TV yesterday11:25
seb128Laney, on it11:25
didrocksseb128: ahah ;)11:28
rickspencer3seb128, what's the word on the street regarding trusty? everything looking good?11:28
seb128rickspencer3, there were some rounds of bugfixes/respin since yesterday (mostly langpack install issues), but things look under control/good11:29
LaneyStill another go around for that problem11:30
LaneyOEM installs getting the wrong language settings11:30
* seb128 test Laney's migration script fix, session restart, brb11:30
LaneySeems to be under control though11:30
rickspencer3well, tomorrow is release day ...11:30
LaneyYup, fix is uploaded11:31
rickspencer3Laney, seb128 so sounds like one last respin for desktop today?11:31
LaneyAIUI, but I'm not in the room11:31
seb128rickspencer3, hopefully one and we are good yes11:31
rickspencer3nice11:31
Laneyother than that it's pretty good I think11:32
seb128Laney, no icon added after a session restart11:34
Laneycool11:34
Laneythanks for checking11:34
Laneynew kettle!11:35
seb128yw11:35
* Laney MPs a gsettings-qt symbols file11:37
Laneydbarth: do you want to check 004?11:54
LaneyI'd like to publish it quickly so it has a chance of going in11:54
Laneydoing this now ;-)11:58
dbarthLaney: sure11:58
dbarthjust doing now (removed amazon first)11:59
LaneyI think you might get it readded if you installed in the 5 days since the script was renamed12:01
Laneybut that's probably acceptable12:01
dbarthjust re-starting my session to make sure12:01
didrocksLaney: yeah, it's the "risk" of running a development release :)12:02
didrocks(seems acceptable if we only had those kind of issues :p)12:03
dbarthLaney: ok, that's a land then12:04
dbarthlanding12:04
dbarthwell, anyway12:04
Laneydbarth: thanks, already pressed the button ;-)12:04
Laneycheers for checking12:05
dbarthsee that12:05
Laneyon that note, going to lunch12:05
dbarthLaney: the icing on the cake is that i don't even have to ping the release team about the unapproved queue ;)12:05
Laneywill walk to the cafe in the sun, nice day for it :-)12:05
dbarthLaney: yup, enjoy12:06
didrocksLaney: don't take any croissant please!12:06
=== MacSlow|lunch is now known as MacSlow
=== Sweetsha1k is now known as Sweetshark
SweetsharkLaney: FWIW libreoffice autopkgtest magically self healed: https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-libreoffice/13:16
LaneySweetshark: witchcraft?13:19
seb128time for some exercice, bbiab13:20
SweetsharkLaney: "any sufficiently advanced technology is indistingushable from magic"13:22
SweetsharkLaney: teaches you something about how advanced LibreOffice is ;)13:22
alex_abreuLaney, didrocks https://code.launchpad.net/~abreu-alexandre/webapps-applications/dont-forcefully-add-amazon-webapp/+merge/21610013:31
Laneyalex_abreu: thanks - we already uploaded something similar to that earlier to try and get it into the release13:36
Laneycheck the trusty-proposed branch13:36
Laneybut in that one we restored the old script to add the launcher entry too13:37
alex_abreuLaney, yeah sorry for the delay, was busy w/ other things13:37
Laneyyou think that's not needed?13:37
alex_abreuLaney, mmmh yeah yours is better actually13:40
Laneyok13:40
alex_abreuLaney, why do you remove libunity-core ?13:40
Laneyadded a runtime check for it instead13:40
alex_abreuLaney, the SettingsSchemaSource ?13:41
Laneyy13:41
Laneya13:41
alex_abreuok +113:41
Laneyavoids having that fugly dependency13:41
Laney:)13:41
alex_abreuagree13:41
Laneywowzers, my PC's locked up hard13:46
Laneyall I did was try the G+ webapp13:46
Laneytwice now13:57
Laneysomeone else want to try this?13:57
Laneyusing nouveau if that helps13:58
Laneymlankhorst: maybe you13:58
Laneyhttp://paste.ubuntu.com/7261615 http://paste.ubuntu.com/726162214:00
mlankhorstcard's dead14:04
mlankhorstoh looks like fun corruption14:04
mlankhorstand a newer card than I have :P14:05
Laneycard specific?14:05
mlankhorstno idea14:05
Laneylaunch the G+ webapp and use it a bit14:05
Laneyeventually (< 1 min) it locks my system up14:05
mlankhorstlooks like the real fun is in 'Unknown handle 0x0000001f' which means that the kernel disagrees with userspace about whether some buffers are valid or not14:05
=== JanC_ is now known as JanC
mlankhorstLaney: can I run it from the command line?14:29
LaneyExec=unity-webapps-runner -n 'R29vZ2xlUGx1cw==' -d 'plus.google.com' --store-session-cookies %u14:30
Laneythat's what the desktop file runs14:30
mlankhorstno crash yet14:59
LaneyI never managed to get signed in14:59
Laneytime to expense a new card!14:59
mlankhorstjust as i finished typing it..15:03
mlankhorst:/15:03
Laneyyou got it?15:03
xclaessewhat's the facebookmessenger app that keep coming back into my launchers15:03
mlankhorstLaney: yeah after i hit enter on 'no crash yet'15:04
Laneywell, that's promising15:04
Laneyas in, if anyone in the team can fix it :P15:04
mlankhorstno! It's downright terrible..15:04
qenghoxclaesse: Hrm.   $ grep face ~/.config/autostart/*15:04
xclaesseqengho, nothing15:04
qenghoxclaesse: How often does it "keep coming back"?15:05
xclaessethat app seems completely useless, it just dispaly the same facebook than I have in firefox already15:06
xclaesseqengho, literraly every time I'm not looking15:06
qenghoOh, a web-app maybe?15:06
xclaesseah ok, each time I reload facebook tab in firefox15:07
xclaessethat facebook icon appear in the launchers15:07
Laneyuh, yeah, that happens here too15:10
Laneyalso for other webapps15:11
Laneyalex_abreu: do you know about this?15:11
mlankhorstLaney: bleh I suspect something that valgrind will turn up anyway15:11
* qengho thinks hard about Valgrind on GPUs.15:12
alex_abreuLaney, mmmh no15:12
mlankhorstqengho: no it's a handle issue, some handle is annotated by userspace but the handle is invalid :P15:13
Laneyalex_abreu: ok, I'll file it, which package is the firefox webapps integration?15:17
alex_abreuLaney, unity-firefox-extension15:17
Laneyty15:17
=== m_conley_away is now known as m_conley
seb128Laney, xclaesse, alex_abreu: I guess that's how I got the amazon icon back on my launcher the other day btw15:18
seb128Laney, since I didn't have webapps-applications-common installed15:18
Laneymaybe15:19
LaneyI can't trigger it with amazon but could be15:19
seb128Laney, I had it after visiting your kettle stuff I think15:20
Laneytry again?15:20
seb128yeah, I couldn't reproduce15:20
LaneyI guess you can do with facebook or g+ though15:20
seb128but I can't reproduce on fb either15:20
Laneyhuh15:20
seb128no15:20
seb128it seems to depends of the url15:20
seb128or how you access the site15:20
seb128not sure15:20
LaneyI just go to facebook.com in firefox15:20
Laneynot logged in if that makes a difference15:21
seb128yeah, can't reproduce...15:21
Laneyoh well15:21
seb128that made amazon listed first in my dash as most recently used though15:22
seb128(trying on amazon)15:22
mlankhorstLaney: yeah freed memory use in egl_gallium, probably the cause of this bug :P15:24
Laneythat's usually inadvisable15:24
mlankhorstcan't look further, no debug symbols yet15:24
mlankhorstok tomorrow :P15:27
Laneybug #130862515:29
ubot2Launchpad bug 1308625 in unity-firefox-extension (Ubuntu) "Visiting a website with a webapp re-adds the launcher icon every time" [Undecided,New] https://launchpad.net/bugs/130862515:29
LaneyI don't remember what, if anything, I picked when it asks you if you want to 'install' the site15:30
Laneyor how to get that choice back15:30
seb128Laney, I can confirm your issue btw15:31
Laneywhich one?15:31
seb128Laney, I had the webapp integration disable, I did that ages ago, I didn't remember it15:31
seb128Laney, fb adding itself to the launcher15:31
Laneyah15:31
Laneyyou mean you had the extension off?15:31
seb128yes15:31
Laneynod15:32
* Laney adds that to the bug15:32
Laneyeveryone must disable it or we'd certainly have heard about this by now, you'd think15:33
Laney...15:33
Laneyor keep the icon there I guess15:33
seb128or don't use fb :p15:33
Laneyyeah it is pretty niche15:34
seb128our devel release userbase is for sure not the same set than the ones who are going to run the stable version15:34
LaneyI don't use it on that machine or I'd have noticed sooner15:34
seb128hum, visiting g+ adds googledocs to the launcher15:34
seb128dbarth, alex_abreu, are you looking at those issue?15:35
seb128that seems like a potential release blocker to me15:35
dbarthseb128: same as amazon, or is that a new one?15:36
dbarthseb128: hmm no, ok ,taking a look15:36
seb128dbarth, https://launchpad.net/bugs/130862515:36
seb128dbarth, it's happening with facebook, g+ at least15:36
ubot2seb128: Error: Could not gather data from Launchpad for bug #1308625 (https://launchpad.net/bugs/1308625). The error has been logged15:36
Laneygood old LP going down15:36
dbarthyeah,seems so15:37
dbarthrelease time, not a good time for being launchpad15:37
seb128dbarth, well, basically is "enable webapp integration in firefox, visit facebook -> get an icon for fb in the launcher"15:37
dbarthright15:37
seb128dbarth, if you unpin it, the icon comes back every time you visit the site15:37
Laneyremove facebook first if it's already there15:37
dbarthok, checking in a guest session; any particular rev. of the firefox ext?15:38
seb128same on g+ (it doesn't even add the right site there, you get a gdrive launcher)15:38
seb128dbarth, trusty15:38
seb128current trusty versions15:38
LaneyI get the G+ one15:38
seb128could be random on google sites?15:39
Laneyshrug15:39
seb128oh, I don't have unity-webapps-googleplus in fact15:39
LaneyI'll let these guys debug it now :)15:40
seb128yeah15:40
Laneyxclaesse: thanks for reporting15:40
seb128dbarth, alex_abreu: let us know what you figure out15:40
seb128xclaesse, thanks!15:40
=== gatox is now known as gatox_lunch
seb128shrug, does the same on launchpad15:42
seb128do we enable that integration by default?15:42
* seb128 boots test box15:42
LaneyI don't see it there either15:43
Laneywonder why15:43
LaneyI probably said 'never' ages ago15:43
seb128Laney, we don't install any of the unity-webapps-* by default in trusty15:45
Laneyyeah I checked I have these ones installed though15:45
seb128that's likely why nobody ran into the issue15:45
seb128same here15:45
seb128so either we tried that15:45
seb128or they were installed in older releases15:45
LaneyI had it installed as far back as my apt/dpkg logs go15:46
Laney2013-05-1615:47
Laneycould have done it manually though15:47
Laneyor that's what the install prompt does/did15:48
alex_abreuLaney, seb128 ok a fix is on the way15:53
Laneythis guy is fast15:53
alex_abreuLaney, seb128 https://code.launchpad.net/~abreu-alexandre/unity-firefox-extension/fix-launcher-pin-on-reload/+merge/21614815:53
Laneyty, building that15:54
Laneyalex_abreu: yep, no new icon, thanks15:59
seb128dbarth, can you organize a landing for that fix?16:00
alex_abreuLaney, ok great, ...16:00
Laneyshould get it reviewed16:00
Laneyit's not obvious why it's right to me16:00
seb128yeah, to me neither16:01
seb128we should also check that they still get added on first use/when they should16:01
seb128rsalveti, hum, committing to trunks/uploading of projects without asking for review or even pinging on IRC now? :-(16:02
rsalvetiseb128: packaging changes, and just adding |16:02
rsalvetifor the x86 emulator16:02
rsalvetinot changing anything else16:02
seb128yeah, packaging changes can be buggy16:03
rsalvetithat was the direction I took with the landing team for that sort of changes16:03
rsalvetiseb128: right, I'm a core-dev16:03
rsalvetiI could just upload it by hand as well16:03
seb128and asking is also explaining to others what you commit to their trunk and why :p16:03
seb128rsalveti, the fact that you can do it doesn't make it right though16:03
rsalvetiI just did the sync so the trunk is also in sync with the archive16:03
seb128rsalveti, yeah, my problem is not with the way the landing is done16:03
rsalvetiright, but it doesn't mean I need to ping someone before doing it16:03
seb128is about committing changes to project you don't usually contribute to without even bothering give a notice/ping on IRC16:04
alex_abreuseb128, Laney I did test that & other use cases16:04
rsalvetiwell, I didn't change the code, and check the review, it's minimal16:04
rsalvetilanding for this is a huge pita16:05
rsalvetifor a minor packaging change16:05
seb128rsalveti, let's agree to disagree, it feels wrong in principle to me but maybe that's just me being old school16:05
rsalvetiwell, the old school way would be me uploading it directly16:05
rsalvetiand not pushing to trunk16:05
seb128rsalveti, yeah, as said my issue is not with the way it landed, it's about doing changes on packages actively maintained by somebody else without asking/let a fyi first16:05
rsalvetibut then someone from the landing team would need to do that later on16:05
Laneyalex_abreu: I mean I can't tell what that realInit call is for and if it was ever useful16:06
Laneybut maybe nobody else exists who knows this code anyway16:06
rsalvetiseb128: asking for changes when minimal?16:06
rsalvetithis is not debian16:06
seb128rsalveti, I soviet Debian you would get list flamed for uploading a package without talking to the maintainer :p16:06
seb128I->in*16:06
rsalvetiright, but that's why I'm not doing that there16:06
rsalveti:-)16:06
seb128haha, fair enough16:06
rsalvetiseb128: but I'll ping you next time if you prefer that, np with that16:07
seb128rsalveti, well as said, no big deal, it's maybe me but I try to ping/let a quick fyi before uploading a package if it's usually actively maintained by somebody/a team in Ubuntu16:07
alex_abreuLaney, yeah, I asked for a review, ... the thing is that it is a left over from the past. The extension was much simplified & now only takes care of very little16:07
seb128rsalveti, thanks16:07
seb128rsalveti, like if you had asked "ok if I upload a small control fix for the emulator" I would have said "yes, no problem, go for it" and we would have spared that discussion ;-)16:08
seb128anyway moving on16:08
seb128rsalveti, thanks for the fix btw ;-)16:08
rsalvetiseb128: np, I thought it was fine because I had that discussion with the landing team before doing such changes16:08
rsalvetiso I had their 'ack'16:08
rsalvetibut anyway, pinging you next time :-)16:09
seb128rsalveti, it's not their project :p16:09
rsalvetifair enough16:09
rsalveti:-)16:09
seb128but yeah, enough discussion about a minor detail16:09
seb128thanks ;-)16:09
seb128rsalveti, btw another approach is to email ubuntu-devel@ saying "I"m going to go through the package that have that depends to add an alternative, let me know if you are in this case and have an issue with an upload"16:10
rsalvetisure16:10
seb128rsalveti, that way you don't have to ping individual projects and you let everyone know waht's going on16:10
seb128</discussion>16:10
seb128;-)16:10
seb128bregma, Trevinho, ChrisTownsend: is anyone looking at why compiz is making update-manager not resizable? that's a regression from this cycle and quite annoying, if you try to see the details of an upgrade you have like 1 line of content and can't change the height to see more16:17
Trevinhoseb128: I will16:18
Trevinhoseb128: it's resizable btw... but the hints gets updated with some delay16:18
seb128Trevinho, you should share some of the bug with your team ;-)16:18
Trevinhoseb128: playing with the window size gets the power back16:18
Trevinhoseb128: hehe, of course, just that I know where to put the hands16:19
seb128Trevinho, not it's not resizable for me, I don't have the cursor changing on borders16:19
seb128no*16:19
=== gatox_lunch is now known as gatox
bregmaTrevinho, same thing happens with the apport dialog, btw, I used to be able to resize it now it's fixed size and I can't see most stack dumps... maybe those windows have something in common>?16:36
Trevinhobregma: might be... as I ignored one event that I thought it was duplicated, while it might not be the case16:37
=== maclin__ is now known as maclin
=== dpm is now known as dpm-afk
=== psivaa_ is now known as psivaa
=== mjohnson151 is now known as mjohnson15
=== alex_abreu is now known as alex-abreu
* Laney is off17:06
Laneyseb128: do you think we need to insert some stuff in the release notes?17:06
Laneyhttps://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Desktop looks bare17:06
seb128Laney, we should17:06
seb128bregma, can you get an unity7 section in ^17:07
Laneythat's for known issues17:07
* bregma looks17:07
Laneythere's an 'updated packages' section for good stuff17:07
Laneyknown issues could be e.g. the grab lockscreen bug17:07
Laneyprobably others too, need to think17:08
Laneywill be back later / tomorrow morning to work on that a bit17:08
Laneybut now I have to go: https://twitter.com/DepotNottingham/status/456410825117671424/photo/117:08
Laney:-)17:08
seb128Laney, I guess that be filed tomorrow morning still?17:08
seb128Laney, happy climbing ;-)17:08
Laneysorry?17:08
seb128that can be*17:09
seb128Laney, the release notes17:09
LaneyI think we'll have the morning to work on it17:09
seb128ok17:09
seb128so good17:09
seb128let's do that then17:09
Laneybut you could verify with ubuntu-release17:09
Laneyi'm not doing that stuff17:09
seb128right, but I think I'm going to call it a day soon as well17:09
Laneynod17:09
seb128let's see, I might be back later in front of the TV to write some stuff17:09
seb128otherwise it's going to be for tomorrow17:09
Laneywe have our .nz overnight guy who might have time ;-)17:09
seb128oh, that's right!17:10
seb128I'm going to drop an email to robert_ancell17:10
Laneyour man in the land of the upside down17:11
Laneyok, back later17:11
Laneybye!17:11
seb128have fun, ttyl!17:13
=== mjohnson151 is now known as mjohnson15
qenghorobru, did you have any trouble with smuxi and the notifications menu?17:55
robruqengho, notifications *menu* seems fine for me, the problem I'm having is that I can't get it to make an audible beep on notifications. And yet it makes the beep in gnome-shell, so it seems more like a unity issue...17:56
=== psivaa is now known as psivaa-afk
qenghorobru: say my name. I'll get a screenshot.17:58
robruqengho, ok17:58
qenghorobru: Hrm, again?17:58
robruqengho, qengho, qengho !17:59
qenghorobru: thanks.  http://i.imgur.com/RM2nQ45.png18:02
robruqengho, nope, never saw that18:03
qenghorobru: do you use many workspaces?18:05
robruqengho, nope, just the one (but two screens though)18:05
qenghorobru: I just discovered I get no notification menu update if smuxi is focused, even if it's in a different channel than focused one.18:05
qenghoI don't know if focus/visibility is different.18:06
robruqengho, right, if the window is focused then smuxi assumes you're paying attention and doesn't do any notification18:06
robruqengho, actually what's annoying me about smuxi now is the when I wake up each morning and it tells me I have x pings in a given channel, but then I have to scrollllll so far through the scrollback to find them. I might give quassel another try because it has that special notification area that just shows all your pings at once...18:08
qenghoWhat's the best way to bisect this menu problem? Before we added DBus security, I'd have just snooped it.  Is that still easiest?18:09
robruqengho, I don't know much about dbus personally ;-)18:10
qenghorobru: lucky.18:11
=== dpm-afk is now known as dpm
seb128qengho, what's the issue?18:34
=== dpm is now known as dpm-afk
qenghoseb128, I want to find the problem with my IRC notifications.   http://i.imgur.com/RM2nQ45.png18:52
qenghoseb128: I suspect the client is doing something wrong.18:53
seb128qengho, that seems like an indicator-messages issue, larsu can probably help you if you ping him during european work hours18:53
seb128or client issue, but larsu knows the api/can help you debugging18:53
qenghoseb128: thx.18:53
rickspencer3robert_ancell, jasoncwarner, hey is https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/1308572 on your radar at all?20:13
ubot2Launchpad bug 1308572 in gnome-screensaver (Ubuntu) "Ubuntu 14.04: security problem in the lock screen" [Undecided,New]20:13
robert_ancellrickspencer3, I hadn't seen it but bregma should be looking at that (it's all in unity now)20:13
rickspencer3robert_ancell, ok, thanks20:14
jasoncwarnerTrevinho: can you take a look at the bug rickspencer3 mentioned above?20:17
Trevinhojasoncwarner, rickspencer3: ok... I'm moving the bug to unity btw20:19
Laneybeat you :)20:19
TrevinhoLaney: oh :)20:19
bschaeferTrevinho, just bumped the prio...20:20
jasoncwarnerThanks Trevinho IMO this should be top of our list right now. Thanks!20:20
bschaeferhopefully didn't step on anyones toes20:20
bschaeferTrevinho, i can take a look as well20:20
Trevinhojasoncwarner: I can't reproduce btw...20:20
bschaeferTrevinho, i can20:20
Trevinhobschaefer: ok, cool20:21
bschaeferTrevinho, just type an incorrect password20:21
bschaeferTrevinho, and just hold enter down20:21
Trevinhobschaefer: yeah, but it goes well here20:21
* bschaefer assumes it the TextEntry being popped off the queue20:21
rickspencer3just hold down enter20:21
rickspencer3you don't even need to put a password in20:21
bschaeferyeah just did that as well20:21
Trevinhorickspencer3: yes, I'm trying but I can't :)20:21
Trevinholucky me :P20:21
bschaeferTrevinho, did you accidentally fix it :)?20:21
bschaeferTrevinho, what unity branch are you running? Im a bit behind trunk20:22
bschaeferi think20:22
Trevinhobschaefer: mh, I think no... I'm on trunk + hacks now...20:22
rickspencer3to repro I just cntrl-l and hold down the shift key until it crashes20:22
rickspencer3then I am into Unity20:22
bschaeferTrevinho, yeah i've a crash dealing with a lockscreen tooltip...hopefully thats not where im crashing20:23
rickspencer3I guess we need to fix either the crasher or make it so that unity doesn't comeback when it crashes20:23
bschaeferrickspencer3, well you can always restart unity in a tty...20:23
bschaeferto get around the lock screen (idk if thats been fixed)20:23
Trevinhorickspencer3: well, it should come up locked if it crashes in such state20:23
rickspencer3bschaefer, do you not need a password for the 'puter to log in to do taht?20:23
rickspencer3Trevinho, right, but the first step is to get it into a shippable state20:23
bschaeferrickspencer3, yeah, so its not as critical20:24
bschaeferTrevinho, was that bit fixed? When you restart unity, if in lockscreen, to show the lockscreen still?20:25
Trevinhobschaefer: sorry? We don't have that yet20:27
bschaeferTrevinho, shoots20:27
bschaeferTrevinho, thats half the fix for this bug20:27
* bschaefer will focus on the crash it self20:27
Trevinhobschaefer: it would be trivial to achieve though... Just touching/removing a cache file when entering/exiting the lockscreen so that when loading unity we check if locking or not20:28
bschaeferTrevinho, we can do that for now20:28
bschaeferor possibly the way to do it :)20:28
bschaeferso anytime we setup unity and the lockscreen controller, check if that file exists, if so, then lock the screen20:29
Trevinhoexactly20:29
bschaeferTrevinho, that should be a really quick way around the current security issue (though crashes are bad bad BAD!!!)20:29
Trevinhobschaefer: I can do it, if you move on the crash20:29
bschaeferTrevinho, sounds good20:29
rickspencer3bschaefer, right, the crash should be fixed, but it seems like that method is necessary anyway20:29
bschaeferrickspencer3, yeah, ... hopefully we can get that landed asap to fix the release...20:31
rickspencer3groovy20:31
rickspencer3bschaefer, Trevinho will it help if I ask for status every 5 minutes20:31
rickspencer3?20:31
rickspencer3j/k20:32
bschaeferhaha20:32
bschaeferit motivates Trevinho20:32
Laneyyou need to juju deploy a status pinger to all the manager nodes20:32
bschaeferTrevinho, ill set up a new bug for you :)20:32
rsalveticrap, just tried to reproduce and now unity is gone20:32
rsalvetibut at least it returned locked20:32
Trevinhorickspencer3: eheh :)20:32
bschaeferTrevinho, actually ill turn that current bug into the main problem you're looking at and ill make a new bug for the crash20:36
Trevinhobschaefer: ok, if you've the bt to attach is better to go with a new20:37
bschaeferTrevinho, i dont, gdb doesn't like my laptop due to schemas :(20:37
bschaeferill give it a go though20:37
bschaeferTrevinho, if you cant reproduce the crash, you can always restart unity from a tty to test that fix :)20:41
Trevinhobschaefer: indeed20:42
bschaeferTrevinho, also try unpluging your extra monitor :)20:42
Trevinhobschaefer: or, also from main view20:42
bschaeferTrevinho, couldn't get the crash with a second monitor, with 1 i can20:42
bschaeferTrevinho, or that ;)20:42
Trevinhobschaefer: ah so maybe it's why I can't reproduce it, I'm two monitors20:43
bschaeferTrevinho, yeah20:44
bschaeferTrevinho, you always do :)20:44
bschaeferTrevinho, but cool, got the stack trace20:44
bschaeferTrevinho, interesting: http://paste.ubuntu.com/7263684/20:45
bschaeferlooks like an issue with future (some message hanging aroud) and calling a glib signal20:45
=== Ursinha is now known as Ursinha-afk
jasoncwarnerHey robert_ancell could you help test the fix that Trevinho is working on when he's done?20:46
Trevinhobschaefer: I'd avoid the problem from the root btw, by avoiding to emit too many signals when enter is pressed, and if we didn't get anything back yet20:47
Trevinhobschaefer: basically unless we don't have a reply, we should avoid to send anything20:47
bschaeferTrevinho, cool, andyrock said he'll take a look20:47
bschaeferTrevinho, yeah20:47
bschaeferTrevinho, andyrock said he knew whats causing it, so with that fix + your fix (should be a yay!)20:48
robert_ancelljasoncwarner, sure20:48
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
jasoncwarnerThanks robert_ancell21:00
robert_ancellTrevinho, let me know when you have a branch to test21:00
Trevinhorobert_ancell: indeed21:00
xnoxHey, i have a solution to respawning compiz locked again, using upstart.21:01
xnoxso when compiz crash, instead of just respawning compiz we add a second job to respawn compiz and lock the screen.21:01
xnoxthis should protect from any crashes caused to lock screen WM.21:01
xnox(in the x11 world)21:01
dobeyexcept for the ones that introduce an infinite loop you can't break out of because compiz crashing results in the screen being locked, when you try to unlock it :)21:02
rickspencer3Trevinho, robert_ancell, jasoncwarner I should be able to test as well21:03
rickspencer3just let me know if you want any help21:03
=== psivaa-afk is now known as psivaa
=== Ursinha-afk is now known as Ursinha
andyrockrickspencer3, https://code.launchpad.net/~andyrock/unity/fix-1308572/+merge/21621621:36
rickspencer3and, nice21:36
rickspencer3andy, I guess that fixes the crash, right?21:37
andyrocksorry about that that... but sometimes nux is just stupid21:37
andyrockrickspencer3, yep21:37
bschaeferrickspencer3, testing it right now :)21:38
rickspencer3nice21:39
jasoncwarnernice andyrock fingers crossed ;)21:39
andyrockcan we get it in for the final image?21:40
Sweetsharkjasoncwarner: thanks for the quick approval ;)21:41
jasoncwarnernp Sweetshark21:42
jasoncwarnerandyrock I think we are going to hold up image for this fix21:42
jasoncwarnerinfinity fyi, fix is coming...testing to commence.21:42
bschaeferjasoncwarner, we still need Trevinho fix :)21:42
jasoncwarnerbschaefer: yeah21:42
rickspencer3excellent work guys21:43
Sweetsharkdesrt: wasnt it you saying: I wont support the lib on a bazillion platforms. Sit down and take a look at this in amazement: http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/src/apps/asn1pars.c?rev=1.1521:43
Trevinhorickspencer3, jasoncwarner, robert_ancell: this is the other: https://code.launchpad.net/~3v1n0/unity/relocks-on-crashes/+merge/21622121:43
* bschaefer needs a faster computer...21:43
Trevinhobschaefer: ^21:43
bschaeferTrevinho, awesome21:43
infinityjasoncwarner: Shiny.  Whatever fix occurs for the rexec issue, do let's make sure it doesn't do anything silly like lock after login or other such failure modes one might think about. :)21:43
rickspencer3andyrock, we should work hard to get this fix and the fix that protects against other crashes as well ready today/tonight so that we can respin and get it into the final image21:43
* bschaefer gets that compiling21:43
desrtSweetshark: beautiful21:44
rickspencer3Trevinho, bschaefer, andyrock great work guys!21:44
desrtSweetshark: and not too dissimilar to a mess that i had to recently unravel21:44
infinityTrevinho: OnUnlockedSCreen with a capital C? :)21:45
Trevinhoinfinity: yeah I've fixwed that locally, pusjhing in a sec21:45
infinityTrevinho: Is there a cleanup here, or if I crash my laptop while locked, will a reboot lead to login->lock->login?21:45
* Trevinho has evidently typo issues :P21:45
Trevinhoinfinity: I was thinking that just now...21:46
Sweetsharkdesrt: I assume so. Its been a while since I last dared to look at our main().21:46
Trevinhoinfinity: mh, no.. so maybe it's better to save in temp... at that point21:46
Trevinhoalso if temp can be configured not to be cleaned up..21:47
Sweetsharkdesrt: slightly unnerving that there is still a comment saying "/* hmm... this is a little evil but it works */" in openssls main ...21:47
infinityTrevinho: /tmp is usually not the right answer, security-wise, cause then you need to get all mktemp-happy and audit that whole mess.  User's ~/.cache or whatever is less error-prone.21:48
infinityTrevinho: Especially if you're relying on it being a well-known-name on restart.21:48
bschaeferandyrock, woot no crash!21:48
bschaeferrickspencer3, andyrock branch works for me, and is approved (off to test Trevinho)21:50
andyrocknice!21:50
Trevinhoinfinity: yeah, I would prefer to avoid that... Mh, so... The only thing we can do is probably adding it to the startup script21:51
chrisccoulsonoh, I was just about to ask the same question as infinity (about cleaning up on crash)21:53
infinityTrevinho: Yeah, cleaning the semaphore in /usr/share/upstart/sessions/unity7.conf would likely do the right thing.21:53
chrisccoulsonwouldn't /run/user be a better place?21:53
chrisccoulson(rather than /tmp or ~/.cache)21:53
Trevinhochrisccoulson: mh, oh, right... that might be probably better21:54
infinitychrisccoulson: Oh, indeed, I keep forgetting we have that.21:54
infinityThat would solve needing to clean the semaphore on system restart.21:54
Trevinhoright21:54
* Trevinho moves there21:54
bschaefernice :)21:54
jasoncwarnerbschaefer andyrock nice. looks like #1 is all set ?21:54
bschaeferjasoncwarner, yup, and Trevinho is hammering out the finishing details on #221:55
jasoncwarnerawesome, great work everyone! thanks for jumping on this.21:55
bschaeferTrevinho, nice :)21:59
bschaeferTrevinho, working here for the #2 case21:59
jasoncwarnerbschaefer Trevinho already?22:00
jasoncwarnerwhat kind of black magic is this?22:00
thumpero/22:00
Trevinhojasoncwarner: now should be done22:00
thumpersometimes I miss you guys22:00
bschaeferthumper, :)22:00
* bschaefer has done nothing22:01
bschaeferbut tested22:01
bschaeferhaha22:01
jasoncwarnerthumper: you should always miss those guys ;)22:01
* thumper is feeling nostalgic22:01
Trevinhothumper: <322:01
Trevinho:D22:01
thumperjasoncwarner: how goes the home gym purchase?22:01
jasoncwarnerthumper: slow...have to slowly convince the wife it's a good idea (aka, her idea)22:02
thumperhaha22:02
jasoncwarnerrobert_ancell: , seems both should be fixed. mind looping in and helping to verify?22:02
robert_ancelljasoncwarner, still compiling the first one...22:02
bschaeferhttps://code.launchpad.net/~3v1n0/unity/relocks-on-crashes/+merge/21622122:02
jasoncwarnerinfinity: FYI, looks like #1 and #2 are both fixed. bschaefer verified, looping in more people to test22:02
bschaeferrobert_ancell, i was lucky to have half compiled unity branches :)22:02
bschaeferjasoncwarner, always a good idea22:03
robert_ancellbschaefer, I was wondering what you had!22:03
bschaeferrobert_ancell, haha22:03
* bschaefer reboots22:04
Trevinhochrisccoulson: the runtime dir is cleaned up also on login/logout, right?22:05
chrisccoulsonTrevinho, that's a good question. does upstart manage this?22:06
wgrantI wouldn't expect it to be, but does it matter?22:06
wgrantThe main case we care about is system crash, when /run will obviously be wiped.22:06
wgrantThe screen won't be locked during logout.22:07
Trevinhochrisccoulson, wgrant: well probably it won't happne if you're also logged in a nother tty or ssh...22:08
wgrantRight, that's why I doubt it happens at all.22:08
Trevinhowgrant: I care about it because if in that case an user goes to tty1, then kills gnome-session at next login it will get a double lock screen22:08
Trevinhowgrant: both lightdm and unity lockscreen22:08
Trevinhowgrant: cleaning it up on unity destruction should help, but not if there's another crash there (hard killing the session?)22:09
wgrantTrevinho: Well, if they kill gnome-session then they deserve what they get? :)22:13
infinityYeah, that's a weird case to cater to.22:13
Trevinhowgrant: eheh ok :)22:13
infinityReal users have machines crash.22:13
apwjust deleteing the marker on unlock should be enough no?  worst case they get relocked, and when they unlock it gets removed and they are good22:13
wgrantIt seems most important to fail as safely as we can.22:13
infinityThey don't kill random processes.22:13
* Trevinho tries to things to corner cases as well22:13
Trevinhothink*22:13
apwif they randomly kill compiz and survive that, they get locked, and can unlock22:14
bschaeferwell it'll only happen if they were in the lockscreen22:14
bschaeferthat file is only generated when in the lockscreen22:15
infinityRight.22:15
infinitySo, /run/user is absolutely the right thing here, since it also can't go wrong if your /home goes readonly, etc.22:15
Trevinhoapw: it depends how they kill it, since on sigterm it will gets cleared22:15
bschaeferthe only edge cause i can think of is restarting while in the lockscreen22:16
infinityThe only weird failure mode is if you actually start randomly killing processes for kicks, and then you get two login screens (maybe), not world-ending.22:16
bschaeferwhich putting it in /run/user will fix that22:16
jasoncwarnerhey all, robotfuel is going to test the fixes as well. robert_ancell is probably still compiling unity. robert_ancell and robotfuel could you let me know when/what you find?22:16
wgrantbschaefer: Reboot while locked is handled by /run clearing on reboot22:16
bschaeferinfinity, well unity-greeter shouldn't start up?22:16
robert_ancellwill do. I'm at 60% at the moment22:16
bschaeferwgrant, cool, were there any other edge cases?22:16
infinitybschaefer: Depends on when you went r/o. ;)22:16
bschaeferinfinity, right... lockscreens are interesting haha22:16
infinityAnyhow, it seems the advantages of /run wildly outweight the potential benefits of ~/.cache22:17
infinityoutweigh, too.22:17
Trevinhobschaefer: if you want to do a new test, btw... I've pushed the cleaned up version22:18
bschaeferTrevinho, sweet, will do!22:18
bschaeferbregma, yay you've returned!22:19
olli_Trevinho, robert_ancell, everyone else thx for your help22:28
Trevinhoolli_: np ;)22:28
olli_Trevinho, let me know if you want me to test something22:28
Trevinhoolli_: the branches are lp:~3v1n0/unity/relocks-on-crashes and lp:~andyrock/unity/fix-130857222:29
bschaeferTrevinho, \o/22:29
bschaeferTrevinho, works now on a reboot :)22:29
bschaeferTrevinho, we need to get a silo for test, not sure if bregma has resolved his internet issues22:29
olli_Trevinho, do we have .debs?22:29
olli_ah22:29
olli_happy to give the silo a spin22:30
Trevinhoolli_: eh, not yet I believe... bregma will set it up in minutes I guess22:30
bschaeferolli_, i've tested both branches, and confirmed them working22:30
bschaeferrobert_ancell, is also testing22:30
olli_bschaefer, alrighty22:30
robert_ancell72%...22:30
bschaeferrobert_ancell, you should always have a nice (~5GB) unity build ready to compile a new unity branch! (joking)22:30
robert_ancellbschaefer, heh :) I guess it's nice to have a complete build from scratch to be 100% sure everything is working22:31
bschaeferrobert_ancell, this is very true!22:31
bschaeferTrevinho, bregma wanted either you or I to poke robru to get a silo22:32
bschaeferTrevinho, it makes it easier for others to test as well, from a ppa22:32
bschaeferTrevinho, code looks good as well, branch approved22:34
Trevinhobschaefer: cool22:35
robrubschaefer, i'm back now, silos for all!22:35
bschaeferrobru, \o/22:35
bschaeferrobru, would you be able to place these two branch in them, and start the build?22:36
bschaeferlp:~3v1n0/unity/relocks-on-crashes and lp:~andyrock/unity/fix-130857222:36
robrubschaefer, got some branches for something? I hope you're not wanting to land something in desktop trusty...22:36
robrubschaefer, yeah I can help you with that. you know bout the spreadsheet right?22:36
jasoncwarnerrobru: yes, they do and yes, they shoudl ;)22:36
Trevinhorobru: we have22:36
bschaeferrobru, we are un fortunately, critical security issues22:36
bschaeferrobru, yeah, but i don't think i hvae the power!22:36
jasoncwarnerrobru: these are critical security things in the lockscreen.22:36
LaneyYeah XDG_RUNTIME_DIR is what you want22:36
robrujasoncwarner, ok ok I'm on it22:37
LaneyIt lives as long as the user is logged in somewhere22:37
bschaeferrobru, then you very much!22:37
bschaeferthank*22:37
Laneyand will be cleared on a reboot or full logout22:37
robrubschaefer, do you have merges for those branches? I need merges22:37
bschaeferrobru, yeah let me get them22:37
bschaeferhttps://code.launchpad.net/~3v1n0/unity/relocks-on-crashes/+merge/21622122:37
bschaeferhttps://code.launchpad.net/~andyrock/unity/fix-1308572/+merge/21621622:38
bschaeferrobru, ^22:38
robrubschaefer, thanks.22:39
bschaeferrobru, thank you :)22:39
robrubschaefer, jasoncwarner Trevinho : ok, got those building in silo 8: https://ci-train.ubuntu.com/job/landing-008-1-build/44/console22:39
bschaefersweet22:40
robrujasoncwarner, is the release team aware of this?22:40
Trevinhoolli_: then, if you want to test they will be there in some minutes ^22:40
jasoncwarnerrobru: infinity is looped in22:40
robrujasoncwarner, ok great, so when I ask him to accept it he won't be surprised ;-)22:41
wgrantWe're all eagerly awaiting it.22:41
jasoncwarnerrobru: shouldn't be ;) robert_ancell and robotfuel are also testing when they can. robert_ancell is trying to build unity...probably at 78% right now ;)22:41
robert_ancell7922:42
robotfuelI am compiling as well22:42
Trevinhorobert_ancell: unrelated, but why we don't get the PropertyChanged signal from lightdm https://code.launchpad.net/~andyrock/unity/lp-1281058/+merge/215331/comments/513206 ?22:42
Trevinhorobert_ancell: if you want to speed things up (and you're not building the debs), just build things inside build/plugins/unityshell and build/UnityCore22:43
robert_ancellTrevinho, I guess it was never implemented - please file a bug22:43
Trevinhorobert_ancell: ok, fine... Also, I've noticed that when the unity_Greeter is already there (i.e. you call .Lock on display manager, then you move with ctrl+alt+fX to the prev session, you unlock and back in, then again you recall .Lock), then unity don't get the Locked signal22:44
Trevinhorobert_ancell: thus we don't lock...22:45
Trevinhorobert_ancell: gdbus monitor said it's not sent to anyone...22:45
robert_ancellTrevinho, this is Locked from logind?22:45
Trevinhorobert_ancell: yes22:45
robert_ancellTrevinho, interesting. Please file a bug and we can make a test for that and check it does the right thing22:46
Trevinhorobert_ancell: ok, in lightdm or what?22:46
robert_ancellTrevinho, yes, put it in lightdm22:46
jasoncwarnerhi everyone. I have to step out for about 15 minutes, just fyi.22:52
olli_Trevinho, is it done?22:58
Trevinhoolli_: still building at https://launchpad.net/~ci-train-ppa-service/+archive/landing-008/22:59
Trevinhoolli_: amd64 is doing the pkgs btw, so it's matter of few minutes22:59
Trevinhorobert_ancell: here you are some details23:00
Trevinhohttps://bugs.launchpad.net/lightdm/+bug/130878923:00
ubot2Launchpad bug 1308789 in Light Display Manager "logind Locked signal is not emitted when (unity_)greeter is already running" [Undecided,New]23:00
robert_ancellTrevinho, thanks23:00
Trevinhorobert_ancell: same happens with g-s (double checked now), so it's not unity fault (and it would be weird as we don't get the signals)23:02
Trevinhorobert_ancell: the only thing that I see differnt with g-s is that I also get /org/freedesktop/login1/session/c2: org.freedesktop.DBus.Properties.PropertiesChanged ('org.freedesktop.login1.Session', @a{sv} {}, ['IdleHint', 'IdleSinceHint', 'IdleSinceHintMonotonic']), do you know what is that related to?23:04
robert_ancellTrevinho, I think that's the same as the idle that comes from gnome-screensaver. Though I don't know if anything populates it23:05
Trevinhojasoncwarner, olli_: packages are finally at https://launchpad.net/~ci-train-ppa-service/+archive/landing-008/+packages for your tests23:05
olli_bschaefer, Trevinho, robert_ancell, robotfuel, do we have a testplan we are using to validate this one23:07
TrevinhoTrevinho: there are actually two fixes in there23:08
Trevinhoerr self-ping23:08
Trevinhoolli_:  there are actually two fixes in there23:08
Trevinhoolli_: the first one is: it should not crash when keeping enter pressed in the lockscreen23:09
Trevinhoolli_: then, the other fix is about making sure that if unity crashed when in lockscreen, then it relocks when run23:10
Trevinhoolli_: so for this one, just run your normal session, lock it23:10
Trevinhoolli_: go to tty1 and do something like killall -9 compiz (the -9 is important, otherwise it will not be like a crash)23:10
olli_k23:11
Trevinhoolli_: go back to tty7 and unity should be reloading, but locked23:11
olli_Trevinho, try sleep 5; killall -9 compiz23:12
olli_and go to 7 to watch23:12
robert_ancellandyrock, bschaefer, also confirm lp:~andyrock/unity/fix-1308572 fixes the crash23:12
olli_didn't recover for me23:12
Trevinhoolli_: further test would be doing the same, but after killing it, reboot... And not-experiencing the 2nd lock after lightdm (quite unlikely as it's ensured by the kernel, but... just to be sure)23:12
Trevinhoolli_: oh, yeah indeed.. you can just run a sleep 5 && killall -9 compiz, then Super+L23:12
Trevinhoolli_: weird I didn't mention that since it's the way i tested it :D23:13
robert_ancellTrevinho, does https://launchpad.net/~ci-train-ppa-service/+archive/landing-008/+packages contain both lp:~andyrock/unity/fix-1308572 and lp:~3v1n0/unity/relocks-on-crashes? Do you want confirmation on the latter?23:13
olli_Trevinho, I kicked it off on tty123:13
olli_and it the lockscreen didn't come back23:13
Trevinhorobert_ancell: yes it has both23:13
Trevinhoolli_: you mean, once you're back on tty7 that unity is running normally?23:14
olli_no, it's not23:14
olli_Trevinho, go to tty123:14
olli_sleep 5; killall -9 compiz23:15
olli_in a clean / newly started session23:15
olli_that works as expected23:15
olli_however, if you do it a 2nd time without login in I don't get the lockscreen23:15
olli_iow, compiz can't crash multiple consecutive times23:16
Trevinhoolli_: that's because it doesn't get reloaded twice maybe? :o that should be upstart doing it... mhmh23:16
olli_Trevinho, even when I log in between the 2 tries I am not getting the lock screen on the 2nd try23:17
Trevinhoolli_: let me test, but I think it's not unity's fault, mostly it doesn't get reloaded more than a certain limit I think23:17
robert_ancelljasoncwarner, ^23:18
robruuh, guys? I just tried silo 8 in a VM... after installing the updated unity, it doesn't restart after a crash, locked or not, killall -9 makes it go away permanently.23:19
jasoncwarnernot quite out of the woods yet?23:19
robrujasoncwarner, gonna test more23:19
olli_jasoncwarner, I think the security issue is fixed23:20
Trevinhorobru: this is just weird, since we didn't change anything that should be related to that :o mhmh23:20
olli_i.e. can't crash Unity anymore by keep pushing Enter23:20
robruolli_, yeah, I couldn't reproduce the Enter key crash in an unpatched VM either.23:21
jasoncwarnerolli_: acked23:21
olli_jasoncwarner, what's left is that 2 consecutive crashes of Unity while being locked doesn't bring UNity back23:21
jasoncwarnerolli_: ok, thanks for the clarification23:21
olli_so, you can argue whether the latter is a ship stopper still23:21
olli_I think we need to keep pushing atm23:22
olli_but got to be aware that the security aspect is solved23:22
olli_robru, interesting, did you keep pushing Enter for like 30sec?23:22
robruolli_, ok, just confirmed, same. the first killall makes unity come back locked, second killall makes unity not come back.23:22
wgrantI've seen thatbefore thischange23:22
Trevinhoolli_: I think this problem isn't a new thing btw... I don't use unity run by upstart much, but I noticed it doesn't restart always...23:22
robruolli_, i held down the enter key for one full minute.23:22
wgrantI could only crash it maybe 2 or 3 times before it stopped autorestarting.23:22
wgrantBut the Enter crash is reliable within 30s or so23:23
olli_robru, that makes for sucky repro testing ;)23:23
robruI'm testing in a VM, it's quite slow, I guess it's a race condition or something.23:23
olli_let me try the 2 consecutive crash thing on this machine real quick, this is unpatched23:23
olli_brb23:23
infinityrobru: That's not a new behaviour.  We saw the same pre-patch when reproducing the crash in the first place.23:23
robruwhen you guys hold down enter, do you see the lock screen check and recheck rapidly? because it seemed to only do it quite slowly for me23:23
infinityrobru: (ie: it's not a regression that you can't keep crashing it forever)23:24
robert_ancellTrevinho, olli_, do we strictly need the "keep lock on unity crash" fix? Note that killing gnome-screensaver would break the lock in the existing case23:24
robruinfinity, ok23:24
infinityrobert_ancell: That's the fix that matters.23:24
wgrantKilling gnome-screensaver would break it, but gnome-screensaver is simpler, well-tested code.23:24
wgrantThere will be other crashers.23:24
infinityrobert_ancell: The crash isn't the security bug, the fact that it's unlocked after a crash is.23:24
wgrantWe need to prevent the crashers from becoming security bugs in the first place.23:25
olliinfinity, and that seems to be fixed - sorry I dropped just when you started23:25
robert_ancellsure, it just feels like this is a bit of an enhancement over the status quo rather than a fix. Though of course the likelihood of unity crashing is higher than gnome-screensaver.23:25
robotfuelkillall compiz unlocks the screen.23:25
ollirobotfuel, under which circumstances?23:26
infinityrobert_ancell: Enhancement is to be encouraged. :P23:26
wgrantA non-crash exit should unlock the screen.23:26
robert_ancellinfinity, this close to release? :)23:26
robotfuelolli: wait for the screen to to dim and lock, switch terminals to tty1 login and type killall compiz23:27
infinityrobert_ancell: For a security hole?  Yes.23:27
ollirobotfuel, will try23:27
wgrantrobotfuel: The crash case is the interesting one; killall will send SIGTERM for a clean shutdown by default.23:27
infinityrobotfuel: A sigkill isn't a security hole.23:27
wgrantunity should be cleaning up on SIGTERM.23:27
olliTrevinho, ^ what robotfuel says23:27
infinityOr term.23:27
wgrantSIGKILL or SIGSEGV should both work fine for reproducing this.23:27
infinityolli: A TERM isn't a crash.23:28
apwdon't we send a SIGTERM to unlock, isn't that normal23:28
wgrantBut SIGSERGV isn't the interesting one.23:28
jasoncwarnerinfinity: I think what robert_ancell is asking, if I read it right, is would we stop the release for the same behavior in gnome-screensaver (which, I believe, has done this for quite some time as well). again, if I read that right23:28
wgrantSIGSEGV *is* the interesting one.23:28
olliinfinity, ah, didn't get that robotfuel missed -923:28
infinityjasoncwarner: If there was any evidence that gnome-screensaver had crashed at some point in the last 7 years, sure.23:28
infinityjasoncwarner: Turns out that compiz and unity do a lot.23:28
jasoncwarnerinfinity: maybe I'm misunderstanding. perhaps someone could rephrase the current issue? As I understand it, the security hole is fixed....but....23:30
jasoncwarnerolli ^23:30
ollijasoncwarner, I think infinity is arguing that killall -9 is not valid23:30
olliSIGKILL vs SIGSEGV23:30
robrujasoncwarner, infinity ok guys, well, the package as built in silo 8 contains the behavior that unity restarts locked after a crash, I guess that is what we desire? let me know if you want me to hit 'publish'23:30
Trevinhowgrant, robert_ancell: gnome-screensaver? it's not anymroe in trusty (unless you don't have some a11y settings on)...23:30
Trevinhowgrant: unity *does* cleanup in SIGTERM23:31
wgrantI know, and I know.23:31
infinityTrevinho: Right.  Which it should.23:31
wgrantgnome-screensaver's reliability is important, because it's what we have to measure against.23:31
infinityTrevinho: The point is that people were (incorrectly) using TERM to fake a "crash". :)23:31
wgrantThe point is that SIGKILL, SIGABRT, SIGSEGV are all good for testing23:31
wgrantSIGTERM is not.23:31
Trevinhoinfinity: ah, indeed... but SIGKILL is fine, sin't it?23:32
wgrantYes.23:32
jasoncwarnerthanks olli23:32
Trevinhowgrant: I underlined that on the test-case I wrote above... :)23:32
infinityrobru: That is what we want, yes.  Both the lock-on-crash and, optionally (but highly desired) the fix for the crash itself.23:32
olliinfinity, I tested with killall -923:32
robrui was also testing with -923:32
olliand couldn't get into unity23:32
ollinow doing a -11 also doesn't get me into unity23:33
ollieven though it takes way longer for compiz to die23:33
olliback to the lockscreen though23:33
wgrantThat's correct.23:33
wgrant-11 will invoke aport, so it will coredump.23:33
wgrant== slow23:33
ollialrighty, so do we have agreement that the security issue is sufficiently addressed?23:35
olliinfinity, ^23:36
wgrantHave we etseted that edge cases such as system crashes while locked don't require double login?23:36
wgrantBut it sounds like it works, and the code looks fine.23:36
Trevinhowgrant: it needs if you use your tty powers... :/23:36
Trevinhowgrant: not if you reboot23:36
olliI think once we agree that the sec issue is addressed I'd do some more general testing23:37
wgrantWe just need to make sure it's not regressing anything, given how late this is.23:37
ollijust to make sure we didn't catch a nasty regression23:37
olliack23:37
wgrantRight.23:37
robruok guys here's the thing23:37
robotfuelI did some guest session test, but multiple user tests might be interesting.23:37
wgrantTrevinho: Right, but we can't really avoid that, and it's not a normal user case.23:37
wgrantPower failures are a normal user case :)23:37
robruso doing killall -9 makes it relaunch locked the first time, but then the second time it doesn't relaunch at all. that's supposedly expected23:37
wgrantRight23:37
robrubut eg I was testing this with a terminal open23:37
Trevinhowgrant: yeah, indeed :)23:37
robruand when "unity doesn't relaunch", it leaves the terminal open23:38
infinityOkay, has anyone also done a fresh reboot with this unity to make sure it doesn't do anything silly on first login?23:38
wgrantThe failure to restart the second time is not a regression23:38
wgrantIt is a security vuln, but that's probably harder.23:38
infinityI see no way from the code that it would, but.23:38
olliinfinity, I did23:38
infinityolli: Thanks.23:38
robrucan't type in it, but I can copy & paste with the mouse in the terminal. so effectively I have access to the terminal to issue commands in a limited way. still seems like a security hole to me23:38
olliwill do again just to be sure23:38
robrueg if i'm an attacker and i have the ability to take down compiz, all i have to do is do it twice...23:38
wgrantIt would be nice to track down the double restart issue23:38
olliTrevinho, ^23:39
Trevinhothis thing about "unity doesn't relaunch" I think it's something related to wront config from gnome-session/upstart since it doens't seem to be managed by upstart at pstree level, but maybe it's just because upstart runs throught g-s?23:39
wgrantBut I don't think it's absolutely essential, as it requires a triggerable crash to exploit, and is possibly awkward to fix now.23:39
wgrantBut it should certainly be investigated.23:39
robruok23:39
robruwell I'm happy to publish this unity then, do we all agree it's a good idea?23:40
* Trevinho abstains, but would say +1 :P23:40
infinityrobru: Do it.23:40
robruok23:40
wgrantAgrred.23:40
robotfuelrobru: +123:40
robruoh lol, still building on armhf and powerpc...23:41
olliTrevinho, why, just because it's like... 2am23:41
Trevinho:)23:41
jasoncwarnerpowerpc? did someone say powerpc? don't even get me started.....23:41
ollirobru, can yuou pls update the bug with your latest finding re terminal23:42
robruolli, sure23:42
ollijasoncwarner, I'll update the incident report to document the decision23:42
jasoncwarnerthanks olli23:42
olliinfinity, is there anything else left to do?23:42
ollifor today23:42
olliI think we need to follow up on the double crash23:42
olliasap23:42
infinityjasoncwarner: I'll hook you up with (much) faster ppc buildds after release.23:43
jasoncwarnerinfinity: :)23:43
jasoncwarnerTrevinho andyrock robotfuel robert_ancell robru infinity thank you all for working this so late in the game (and day for some!).23:44
jasoncwarnerawesome to see how people rallied around it....not that we like seeing it b/c of a bug, obviously ;)23:44
Trevinhojasoncwarner: np, it's mostly my normal work time :)23:44
jasoncwarnerTrevinho: ah, to be young again ;)23:45
jasoncwarneror...perhaps....not old :)23:45
Trevinhojasoncwarner: not that young... unfortunately :/ but time is not my friend23:46
jasoncwarnerTrevinho: :) indeed!23:46
robrujasoncwarner, hah, not even 5PM here ;-)23:47
robrujasoncwarner, but you know that!23:47
robruolli, https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1308572/comments/623:49
ubot2Launchpad bug 1308572 in unity (Ubuntu) "Ubuntu 14.04: security problem in the lock screen" [Critical,In progress]23:49
ollithx robru23:49
robruyou're welcome23:49
ollirobru, can you pls ping me once you have hit release23:49
robruolli, sure23:49
ollithx23:49
infinityrobru: That ppc build should be done in ~5m or so.  Sorry, if I'd known the build was in flight earlier, I would have aimed it at sagari.23:54
robruinfinity, no worries.23:54

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