/srv/irclogs.ubuntu.com/2015/06/22/#ubuntu-desktop.txt

=== Guest97037 is now known as Tm_T
=== Guest50701 is now known as Tm_Tr
=== Guest47071 is now known as pitti
pittiGood morning04:53
=== pitti is now known as Guest48990
=== Guest48990 is now known as pitti_
didrocksgood morning05:26
pitti_ça va didrocks, as-tu eu un bon we ?06:11
didrockspitti_: très bien, on est allé en extérieur et pas mal marché. On a planifié nos vacances grâce au portable + 3G en profitant du soleil :)06:12
didrockspitti_: et toi ?06:12
pitti_didrocks: ça semble bien !06:14
pitti_didrocks: nous avons été à Dresden à nouveau06:14
pitti_didrocks: je suis encode là, j'ai un rendez-vous ici ce matin06:14
didrocksah, tu rentres quand ?06:14
pitti_didrocks: midi, après le rendez-vous06:16
pitti_je vais travailler dans le train06:16
didrockscomfy train ;)06:18
pitti_didrocks: mon bureau mobiles :)06:19
didrockspitti_: waiting for you to plug a monitor and a keyboard to it then! :)06:22
pitti_didrocks: not that comfy yet :) but power plugs and wifi06:22
didrockswell, wifi -> 3G, right?06:22
didrocksor real wifi?06:22
pitti_didrocks: I suppose they have a 3G connection in the train of some sort06:25
pitti_maybe satellite, but I don't know06:25
pitti_I let Telekom do their stuff, as long as the bits are flowing :)06:25
pitti_as the user you just see wifi06:26
didrockspitti_: and the connexion is decent?06:29
pitti_didrocks: not perfect of course, but much better than with 2g/3g tethering from my mobile06:29
didrocksstill nice to have that service :)06:30
seb128good morning desktopers07:37
didrocksre seb12807:38
seb128lut didrocks ;-)07:38
Laneyhello!07:40
didrockshey Laney!07:41
Laneyhey didrocks07:43
seb128hey Laney, wie gehts? you are on IRC early today!07:43
Laneyyeah want to send an email first ;-)07:44
Laneydoing good thanks!07:45
Laneychillaxed at the weekend https://goo.gl/photos/MAbjkKbN2ZkU7uSD607:46
Laneyhow's it going?07:46
seb128good!07:53
seb128nice picture ;-)07:54
Laneywe taught him a fun trick08:06
Laneywhen he put both of his arms up in the air everyone around copied it and cheered08:06
Laneyhe wouldn't stop doing it for the rest of the day08:07
seb128haha08:08
seb128sounds like you had some familly fun :-)08:08
seb128hum, mterry is online, I've a feeling some people have a work week in Europe ;-)08:11
mterryseb128, heh  :)  I'm in Isle of Man, yeah08:11
=== davmor2_ is now known as davmor2
seb128didrocks, pitti_, if a systemd service A Requires/After=B.service and B.service is not installed, should A start or not?10:59
seb128bregma, hey, is there any unity7 landing scheduled for wily?11:00
seb128I see that some fixes are approved since may and still not landing11:00
=== MacSlow is now known as MacSlow|lunch
didrocksseb128: A wouldn't start11:43
didrocksRequires is a strong dependency11:43
seb128didrocks, ok, I don't get why the job is in a failed state then...11:43
didrocksso A will never start if B couldn't get activated11:43
didrockswhat's the message?11:43
seb128would it start if it owns a dbus name and something try do dbus active it?11:43
seb128what message?11:43
didrocksseb128: sudo sytemctl status <service_which_fails>11:44
didrockssystemctl*11:44
seb128oh sorry, I got confused11:45
didrocksnot sure what you are asking for, as it seems that B isn't installde in your case?11:45
seb128I don't get why it tries to start11:45
didrocksinstalled*11:45
seb128it fails because it timeouts11:45
didrocksah11:45
seb128which is expected, since it shouldn't be active11:45
seb128yeah11:45
seb128that's powerd.service11:45
didrocksso powerd.service tries to start and you don't know why, right?11:45
seb128which Depends on lxc-android-start11:45
seb128which is not installed11:45
didrocksand nothing Requires/Wants it?11:45
seb128yes11:45
seb128unsure11:46
seb128how do I tell? ;-)11:46
didrocksgrep -r Requires /lib/systemd/system/*11:46
didrocksand same for Wants :p11:46
seb128user friendly :p11:46
didrocksyeah, I don't know of a reverse depends command11:46
didrocks(also, do you mind pastebining the service file?)11:47
seb128let me see what I can do11:47
seb128it's on the snappy personal image in a vm11:47
seb128let's see if I can get internet working to pastebin things11:47
didrocksheh, I bet! :11:48
* didrocks gets some water meanwhile now that I'm back from running11:48
seb128didrocks, http://paste.ubuntu.com/11756343/11:57
seb128it's not really clear11:58
didrocksWantedBy=multi-user.target11:58
seb128but first 10 lines are systemctl --failed11:58
didrocksare you sure it's not activated?11:58
seb128then it's cat powerd11:58
seb128then status lxc-android-config11:58
seb128well, powerd gets activated11:58
seb128which is the issue11:59
seb128it shouldn't11:59
seb128there is no android side there11:59
ogra_powerd should be activated .... but fixed for non android use cases ;)11:59
didrockssystemctl is-enabled powerd11:59
didrocksseb128: ^11:59
didrocksI think I know what you mean now… I bet powerd is enabled on your unit12:01
didrocksso, if A Requires/After B12:01
didrocksand is A enabled (through a target, or as a dependency)12:02
didrocksA will try to be activated12:02
didrocksif B isn't there, A will fail to active12:02
didrocks(as you have here)12:02
didrockssystemd doesn't say "only active A if all requirements are installed"12:02
didrocksit will activate A, see that it needs B, try to start B, B fails (as not installed), and so A fails because of dependency missing12:03
seb128didrocks, is-enabled -> enabled12:04
seb128(sorry, had to restart the vm, took a bit)12:04
didrocksno worry12:04
didrocksbut yeah, so it's what I meant here ^12:04
didrocks(back in 5)12:05
bregmaseb128, we have a bunch of Unity 7 fixes in a silo for wily but we haven't yet figured out why there are suddenly so many AP test failures12:05
seb128bregma, k12:05
=== pitti_ is now known as pitti
=== pitti is now known as Guest84030
Guest84030seb128: no, in that case A sohuld not start; it would if it was a Wants= instead of a Requires=12:09
=== Guest84030 is now known as pitti_
seb128pitti_, hey12:09
seb128bregma, hum, k, good luck with that12:10
pitti_meh, what's up with freenode?12:10
pitti_I can't be "pitti"12:10
didrockspitti_: but it will fail as seb128 saw, right? (due to missing Requirements)12:10
seb128there can be only one pitti!12:10
seb128didrocks, well, it doesn't fail12:10
seb128it starts12:10
seb128then get killed by timeout because powerd doesn't work without android12:10
pitti_ca va seb128 ! (brb)12:10
didrocksah, I misread then12:10
seb128so it's in failed state12:11
didrocksthat's indeed very weird12:11
seb128what if the job owns a dbus name and it's dbus activated?12:11
Laneypitti_: try /msg nickserv release pitti12:12
seb128it's->is12:12
Laneyif you're authed first12:12
pitti_Laney: still says "nick pitti is temporarily unavailable"; I already tried ghosting too12:15
pitti_didrocks: yes, it will fail12:15
seb128pitti_, you are in IoM this week?12:16
pitti_seb128: no, just entered the train from Dresden to Augsburg12:16
seb128oh ok12:17
pitti_seb128: we were visiting family/friends again, and today I had a long appointment here12:17
seb128I see12:17
seb128seems like there is a snappy week in IoM I though you might be there ;-)12:17
pitti_seb128: nah, I'm not in the snappy business :)12:19
seb128;-)12:19
seb128k, so I don't understand why powerd try to start on that snappy personal issue12:19
seb128lxc-android-config is not installed and is a Requires12:19
pitti_seb128: those are separate issues12:21
pitti_seb128: starting A or not is unrelated to A's dependencies12:22
pitti_the question is if some target or service wants/requires A12:22
seb128pitti_, powerd is WantedBy=multi-user.target12:22
pitti_if powerd has [Install]WantedBy=multi-user.target or so, and gets enabled, it will try to starr12:22
pitti_seb128: perhaps it's easier to explain what you want to do?12:23
seb128pitti_, I want to have a clean boot on the snappy personal iso12:23
seb128atm powerd is listed as failed because it starts, can't work, timeout and creates a fail12:23
pitti_ok, so it wil always try to start (unless you disable it)12:23
seb128it can't work because it's a desktop amd64 install and there is no android side12:23
seb128so it shouldn't try to start if lxc-android-config is missing12:24
seb128not sure how to state that though12:24
pitti_seb128: so, what you can do:12:24
pitti_- disable it12:24
seb128locally?12:24
pitti_- ship an override unit or drop-in which disables it12:25
pitti_- add a Condition* to check if lxc/android is available12:25
seb128is there a standard Condition stating "if that job is started"?12:25
pitti_like, ConditionPathIsMountPoint=/srv/lxc/android or whatever12:25
=== alan_g is now known as alan_g|lunch
pitti_or12:26
pitti_- adjust the postinst to only enable the service in ubuntu touch / with android available12:26
pitti_no, and that wouldn't help you12:26
ogra_in any case file a bug so it learns to handle ACPI stuff12:27
seb128why wouldn't it?12:27
seb128ogra_, right12:28
pitti_seb128: because chances are high that it's not yet started at the time when powerd.service is considered12:28
ogra_(it is what the UI talks to about all brightness stuff ... and if available aboout proximity sensor covering etc)12:28
pitti_(in fact it most probably won't be)12:28
didrocks(that's what I told: it will try to start without looking at the dependencies…)12:28
didrocksseems like this didn't get to the wire though :p12:29
pitti_seb128: if you want to express that, then say it directly:12:29
seb128didrocks, I guess it's just me not understand the systemd model well enough :p12:29
seb128upstart \o/12:29
pitti_WantedBy=lxc-android.service12:29
pitti_instead of multi-user.target12:29
ogra_nobody understants  it ... :P12:29
ogra_that is why pitti needs to write plea-for-help mails :)12:29
didrocksthis is simple: basically there is no magic12:29
didrocks(for this)12:30
pitti_seb128: perhaps that would be cleanest, if we only ever want to start it with android?12:30
pitti_well, you say "please always start powerd" and then complain that it does :)12:30
seb128well, "wait for that job to start to start" is not magic12:30
didrocksyeah, it's explicit, as you told it in Requires/After12:30
didrocksexplicitely12:31
seb128well, requires/after is not enough to state that12:31
pitti_seb128: yes, that's After=12:31
seb128since it starts despite the other one not being started12:31
seb128pitti_, powed has Requires/After lxc12:31
didrocksthat's the part I don't understand12:31
didrocksare you sure the daemon starts?12:31
seb128yes12:31
seb128status is clear12:31
didrocksor it's just trying to activate the service12:31
seb128it starts and hit the timeout and get killed12:31
didrocksyou didn't get us the status output12:31
seb128need to restart the vm12:32
seb128but it stats the daemon12:32
pitti_what it says now is:12:32
seb128but the daemon hangs because no android side12:32
seb128and gets killed by timeout12:32
seb128because it never daemonize12:32
pitti_ - always start powerd (WantedBy=multi-user.target)12:32
pitti_and12:32
didrocksseb128: I guess the service starts, but not the daemon12:33
didrocksand the service waits for lxc-android-config to start12:33
seb128http://bazaar.launchpad.net/~phablet-team/powerd/trunk/view/head:/debian/powerd.service12:33
didrocksand fails after a timeout12:33
pitti_ - I need lxc-android.service (Requires=) and start after it (After=)12:33
pitti_apparently that's not what we want then?12:33
pitti_(sorry, I really don't know much about powerd, and whether it should be started in any other use case)12:33
seb128pitti_, btw you added that service according to the blame :p12:33
pitti_my guess is that WantedBy=lxc-android.service and After=lxc-android.service should be what you want?12:33
seb128would WantedBy state that lxc-android wants powerd?12:34
seb128which is not the case, lxc-android doesn't care about if powerd is there or no12:34
seb128not12:34
pitti_seb128: yeah :) (cf. "I don't know much when it shold be started)12:35
seb128my understand is that it should be started on systems with an android side12:35
seb128because that's what it talks to12:35
didrocksI guess the ConditionPathExists= would be the best bet…12:35
seb128that feels hackish12:36
seb128like I've no clue is the path is stable or bound to change12:36
pitti_it states that you want to start it when lxc-android.service starts12:36
seb128"it"?12:36
pitti_and it sounded like that's what you wanted12:36
pitti_(ICBW)12:36
seb128it does12:36
seb128the issue atm is that it starts on systems where lxc-android.service is not installed12:37
pitti_start on started dbus and android12:37
pitti_respawn12:37
seb128that's upstart syntax?12:37
pitti_that's the upstart job, which is fairly equivalent to that12:37
pitti_(dbus is implied, you don't need to declare that)12:37
seb128well, the upstart job start only on "android"12:38
pitti_yes, that's from debian/upstart12:38
seb128which is what we want12:38
seb128the systemd job stats atm despite having no android afaik12:38
seb128starts*12:38
seb128http://bazaar.launchpad.net/~phablet-team/powerd/trunk/view/head:/debian/powerd.service12:38
seb128would deleting the WantedBy work?12:39
seb128if that's what makes it start atm12:39
didrockswell, it will not start then on android system12:39
pitti_seb128: right, so changing WantedBy to lxc-android.service (please check the correct name) should be fine12:39
seb128k12:39
pitti_seb128: just deleting it will then not make it start at all, unless something else requires/wants powerd12:39
seb128but lxc-android doesn't want it12:39
seb128so it would work12:39
seb128but it feels like a wrong workaround12:40
pitti_(which might be the case)12:40
seb128so there is no way in systemd to state "start if that job is started"?12:40
seb128or is that WantedBy?12:40
seb128the naming is confusing if that's the case12:40
didrocksthis is the WantedBy (conterpart of Wants)12:40
seb128it suggests the other job wants yours12:40
didrockscounterpart*12:40
seb128when the other job doesn't care12:40
didrockswell, it's the only way to achieve what you want, that or Condition12:41
pitti_seb128: well, we don't have a target for android support, so that's the closest thing12:41
seb128k12:41
seb128didrocks, pitti_, thanks12:41
seb128that wfm12:41
seb128the naming is just counter intuitive12:41
pitti_seb128: that's WantedBy=, more or less (it's usually being used with targets, where reading it makes more sense)12:42
seb128they should have called if "IfJobStarted" or something12:42
pitti_in a dependency model you can't do "start me if that other thing starts", that's the event-based upstart model12:42
seb128pitti_, well you can condition on the existence of a while, which can be created by another job12:43
seb128so I don't get why you couldn't condition on the status of another job12:43
seb128it's just another random condition12:43
seb128of a file*12:43
pitti_seb128: yes, you can also use conditions12:43
seb128but there is no builtin condition "is that job active"12:44
seb128?12:44
pitti_not quite12:44
seb128k12:44
pitti_no, there isn't12:44
pitti_it wouldn't do what you think it does12:45
pitti_or you had to start everything serially12:45
seb128well, you would have to block in the case where you depends from something else to be ready12:45
seb128but if that's what you want/need...12:46
pitti_well, it could be done with "running or will be run in the current transaction"12:46
pitti_but anyway, it's rather counterintutitive in a dependency based model12:46
seb128yeah, I guess I just didn't adapt to the the dependency model yet12:46
seb128that feels less natural to me atm12:47
seb128I might eventually get used to it ;-)12:47
seb128didrocks, pitti_, thanks12:47
=== MacSlow|lunch is now known as MacSlow
pitti_seb128: thanks to you too12:48
pitti_sorry for having misunderstood powerd when I wrote that service12:50
seb128no worry12:50
seb128ideally powerd should work on linux !android systems as well12:50
pitti_ok, back to autopkgtest-cloud :)12:50
seb128but it doesn't atm12:51
=== dpm_ is now known as dpm
=== alan_g|lunch is now known as alan_g
Sweet5harkdesrt, larsu, seb128: http://pranavk.github.io/open-source/initial-preview-of-libreoffice-integration-with-gnome-documents/ <- libreoffice running in a gnome-documents container ...14:35
Sweet5hark(even with basic selections/editing)14:36
seb128cool I guess14:36
=== mfisch` is now known as mfisch
seb128you are doing something similar for our touch viewer, right? ;-)14:36
=== mfisch is now known as Guest82290
Sweet5harkseb128: I throwing a hint over the fence and hope someone who already knows about QML and foo will pick it up from there, yeah ;)14:38
seb128right ;-)14:38
seb128let's see how that goes14:38
Sweet5harks/hint/proof of concept/14:38
seb128Sweet5hark, so you gave the example to dpm&co?14:38
Sweet5harkseb128: working on it right now.14:39
seb128great14:39
seb128k, need to restart machine to test some iso, back in a bit14:39
=== pitti_ is now known as pitti
=== pitti is now known as Guest85442
=== Guest85442 is now known as pitti_
dpmexcellent, thanks Sweet5hark!15:21
Sweet5harkdpm: FYI, I get it to load a document and to report that the document is a writer document (so it should already be done with the parsing etc.) for that ... however I get a segfault after that, dunno why yet.15:38
* Sweet5hark installs libreoffice-dbg.15:38
dpmthanks for following up Sweet5hark15:59
LaneySweet5hark: looks like we got new wps from an autosync - https://jenkins.qa.ubuntu.com/view/Wily/view/AutoPkgTest/job/wily-adt-libreoffice/91/ARCH=i386,label=adt/console now fails16:01
Laneycan we take http://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/commit/?id=99bd1e8ec3736c450b32f09388787a70e2dbbf95 or similar or are you going to upload a new version?16:02
=== Guest82290 is now known as mfisch
Sweet5harkdpm, seb128: *squeee*16:32
=== jdstrand_ is now known as jdstrand
* Sweet5hark just rendered a document into a png16:32
seb128nice16:33
Sweet5harkca. 20 lines of C++11 to render the image into the buffer. ca. 60 lines of C to tell libpng to write it to a file.16:34
* didrocks1 waves good evening16:38
larsuSweet5hark: you're comparing a language from a couple of years ago with a 20-year-old library...16:41
larsu(which has a really bad API)16:41
Sweet5harklarsu: it wasnt meant as a comparison between C/C++ really. Rather just to show that the 'LibreOffice-specific' stuff to use this is just some 20 lines, the rest being boilerplate for the demo.16:50
larsufair enough :)16:56
=== alan_g is now known as alan_g|EOD
dpmSweet5hark, great. Let me or popey know once you've got the final example17:17
Sweet5harkdpm: yep, will tindy it up a bit and add some documentation, you will have it tomorrow.17:31
dpmthanks Sweet5hark!17:43
dupingpingawesome notes editor: http://sourceforge.net/projects/ubuntusticky/files/ubuntu-sticky-trial_1.0.0-0ubuntu1_i386.deb/download18:38
GunnarHjdarkxst: Hi Tim, did you notice my comments at bug #1440275?18:39
ubot5bug 1440275 in gnome-desktop3 (Ubuntu) "Ubuntu GNOME only allows regional format setting for US, UK, Canada, Australia, and NZ" [Medium,Triaged] https://launchpad.net/bugs/144027518:39
Sweet5harkdpm: you've got mail ;)18:47
=== nessita_ is now known as nessita
=== siel_ is now known as siel
robert_ancellEnabled Inbox for work email today. So. Much. Easier. :)22:55
robert_ancell_rsalveti, I think I'm set as the bug supervisor for libhybris in Launchpad. Can you remove me from that? https://launchpad.net/libhybris/+configure-bugtracker23:29

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