=== Guest97037 is now known as Tm_T === Guest50701 is now known as Tm_Tr === Guest47071 is now known as pitti [04:53] Good morning === pitti is now known as Guest48990 === Guest48990 is now known as pitti_ [05:26] good morning [06:11] ça va didrocks, as-tu eu un bon we ? [06:12] pitti_: 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] pitti_: et toi ? [06:14] didrocks: ça semble bien ! [06:14] didrocks: nous avons été à Dresden à nouveau [06:14] didrocks: je suis encode là, j'ai un rendez-vous ici ce matin [06:14] ah, tu rentres quand ? [06:16] didrocks: midi, après le rendez-vous [06:16] je vais travailler dans le train [06:18] comfy train ;) [06:19] didrocks: mon bureau mobiles :) [06:22] pitti_: waiting for you to plug a monitor and a keyboard to it then! :) [06:22] didrocks: not that comfy yet :) but power plugs and wifi [06:22] well, wifi -> 3G, right? [06:22] or real wifi? [06:25] didrocks: I suppose they have a 3G connection in the train of some sort [06:25] maybe satellite, but I don't know [06:25] I let Telekom do their stuff, as long as the bits are flowing :) [06:26] as the user you just see wifi [06:29] pitti_: and the connexion is decent? [06:29] didrocks: not perfect of course, but much better than with 2g/3g tethering from my mobile [06:30] still nice to have that service :) [07:37] good morning desktopers [07:38] re seb128 [07:38] lut didrocks ;-) [07:40] hello! [07:41] hey Laney! [07:43] hey didrocks [07:43] hey Laney, wie gehts? you are on IRC early today! [07:44] yeah want to send an email first ;-) [07:45] doing good thanks! [07:46] chillaxed at the weekend https://goo.gl/photos/MAbjkKbN2ZkU7uSD6 [07:46] how's it going? [07:53] good! [07:54] nice picture ;-) [08:06] we taught him a fun trick [08:06] when he put both of his arms up in the air everyone around copied it and cheered [08:07] he wouldn't stop doing it for the rest of the day [08:08] haha [08:08] sounds like you had some familly fun :-) [08:11] hum, mterry is online, I've a feeling some people have a work week in Europe ;-) [08:11] seb128, heh :) I'm in Isle of Man, yeah === davmor2_ is now known as davmor2 [10:59] didrocks, pitti_, if a systemd service A Requires/After=B.service and B.service is not installed, should A start or not? [11:00] bregma, hey, is there any unity7 landing scheduled for wily? [11:00] I see that some fixes are approved since may and still not landing === MacSlow is now known as MacSlow|lunch [11:43] seb128: A wouldn't start [11:43] Requires is a strong dependency [11:43] didrocks, ok, I don't get why the job is in a failed state then... [11:43] so A will never start if B couldn't get activated [11:43] what's the message? [11:43] would it start if it owns a dbus name and something try do dbus active it? [11:43] what message? [11:44] seb128: sudo sytemctl status [11:44] systemctl* [11:45] oh sorry, I got confused [11:45] not sure what you are asking for, as it seems that B isn't installde in your case? [11:45] I don't get why it tries to start [11:45] installed* [11:45] it fails because it timeouts [11:45] ah [11:45] which is expected, since it shouldn't be active [11:45] yeah [11:45] that's powerd.service [11:45] so powerd.service tries to start and you don't know why, right? [11:45] which Depends on lxc-android-start [11:45] which is not installed [11:45] and nothing Requires/Wants it? [11:45] yes [11:46] unsure [11:46] how do I tell? ;-) [11:46] grep -r Requires /lib/systemd/system/* [11:46] and same for Wants :p [11:46] user friendly :p [11:46] yeah, I don't know of a reverse depends command [11:47] (also, do you mind pastebining the service file?) [11:47] let me see what I can do [11:47] it's on the snappy personal image in a vm [11:47] let's see if I can get internet working to pastebin things [11:48] heh, I bet! : [11:48] * didrocks gets some water meanwhile now that I'm back from running [11:57] didrocks, http://paste.ubuntu.com/11756343/ [11:58] it's not really clear [11:58] WantedBy=multi-user.target [11:58] but first 10 lines are systemctl --failed [11:58] are you sure it's not activated? [11:58] then it's cat powerd [11:58] then status lxc-android-config [11:58] well, powerd gets activated [11:59] which is the issue [11:59] it shouldn't [11:59] there is no android side there [11:59] powerd should be activated .... but fixed for non android use cases ;) [11:59] systemctl is-enabled powerd [11:59] seb128: ^ [12:01] I think I know what you mean now… I bet powerd is enabled on your unit [12:01] so, if A Requires/After B [12:02] and is A enabled (through a target, or as a dependency) [12:02] A will try to be activated [12:02] if B isn't there, A will fail to active [12:02] (as you have here) [12:02] systemd doesn't say "only active A if all requirements are installed" [12:03] it will activate A, see that it needs B, try to start B, B fails (as not installed), and so A fails because of dependency missing [12:04] didrocks, is-enabled -> enabled [12:04] (sorry, had to restart the vm, took a bit) [12:04] no worry [12:04] but yeah, so it's what I meant here ^ [12:05] (back in 5) [12:05] seb128, 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 failures [12:05] bregma, k === pitti_ is now known as pitti === pitti is now known as Guest84030 [12:09] seb128: no, in that case A sohuld not start; it would if it was a Wants= instead of a Requires= === Guest84030 is now known as pitti_ [12:09] pitti_, hey [12:10] bregma, hum, k, good luck with that [12:10] meh, what's up with freenode? [12:10] I can't be "pitti" [12:10] pitti_: but it will fail as seb128 saw, right? (due to missing Requirements) [12:10] there can be only one pitti! [12:10] didrocks, well, it doesn't fail [12:10] it starts [12:10] then get killed by timeout because powerd doesn't work without android [12:10] ca va seb128 ! (brb) [12:10] ah, I misread then [12:11] so it's in failed state [12:11] that's indeed very weird [12:11] what if the job owns a dbus name and it's dbus activated? [12:12] pitti_: try /msg nickserv release pitti [12:12] it's->is [12:12] if you're authed first [12:15] Laney: still says "nick pitti is temporarily unavailable"; I already tried ghosting too [12:15] didrocks: yes, it will fail [12:16] pitti_, you are in IoM this week? [12:16] seb128: no, just entered the train from Dresden to Augsburg [12:17] oh ok [12:17] seb128: we were visiting family/friends again, and today I had a long appointment here [12:17] I see [12:17] seems like there is a snappy week in IoM I though you might be there ;-) [12:19] seb128: nah, I'm not in the snappy business :) [12:19] ;-) [12:19] k, so I don't understand why powerd try to start on that snappy personal issue [12:19] lxc-android-config is not installed and is a Requires [12:21] seb128: those are separate issues [12:22] seb128: starting A or not is unrelated to A's dependencies [12:22] the question is if some target or service wants/requires A [12:22] pitti_, powerd is WantedBy=multi-user.target [12:22] if powerd has [Install]WantedBy=multi-user.target or so, and gets enabled, it will try to starr [12:23] seb128: perhaps it's easier to explain what you want to do? [12:23] pitti_, I want to have a clean boot on the snappy personal iso [12:23] atm powerd is listed as failed because it starts, can't work, timeout and creates a fail [12:23] ok, so it wil always try to start (unless you disable it) [12:23] it can't work because it's a desktop amd64 install and there is no android side [12:24] so it shouldn't try to start if lxc-android-config is missing [12:24] not sure how to state that though [12:24] seb128: so, what you can do: [12:24] - disable it [12:24] locally? [12:25] - ship an override unit or drop-in which disables it [12:25] - add a Condition* to check if lxc/android is available [12:25] is there a standard Condition stating "if that job is started"? [12:25] like, ConditionPathIsMountPoint=/srv/lxc/android or whatever === alan_g is now known as alan_g|lunch [12:26] or [12:26] - adjust the postinst to only enable the service in ubuntu touch / with android available [12:26] no, and that wouldn't help you [12:27] in any case file a bug so it learns to handle ACPI stuff [12:27] why wouldn't it? [12:28] ogra_, right [12:28] seb128: because chances are high that it's not yet started at the time when powerd.service is considered [12:28] (it is what the UI talks to about all brightness stuff ... and if available aboout proximity sensor covering etc) [12:28] (in fact it most probably won't be) [12:28] (that's what I told: it will try to start without looking at the dependencies…) [12:29] seems like this didn't get to the wire though :p [12:29] seb128: if you want to express that, then say it directly: [12:29] didrocks, I guess it's just me not understand the systemd model well enough :p [12:29] upstart \o/ [12:29] WantedBy=lxc-android.service [12:29] instead of multi-user.target [12:29] nobody understants it ... :P [12:29] that is why pitti needs to write plea-for-help mails :) [12:29] this is simple: basically there is no magic [12:30] (for this) [12:30] seb128: perhaps that would be cleanest, if we only ever want to start it with android? [12:30] well, you say "please always start powerd" and then complain that it does :) [12:30] well, "wait for that job to start to start" is not magic [12:30] yeah, it's explicit, as you told it in Requires/After [12:31] explicitely [12:31] well, requires/after is not enough to state that [12:31] seb128: yes, that's After= [12:31] since it starts despite the other one not being started [12:31] pitti_, powed has Requires/After lxc [12:31] that's the part I don't understand [12:31] are you sure the daemon starts? [12:31] yes [12:31] status is clear [12:31] or it's just trying to activate the service [12:31] it starts and hit the timeout and get killed [12:31] you didn't get us the status output [12:32] need to restart the vm [12:32] but it stats the daemon [12:32] what it says now is: [12:32] but the daemon hangs because no android side [12:32] and gets killed by timeout [12:32] because it never daemonize [12:32] - always start powerd (WantedBy=multi-user.target) [12:32] and [12:33] seb128: I guess the service starts, but not the daemon [12:33] and the service waits for lxc-android-config to start [12:33] http://bazaar.launchpad.net/~phablet-team/powerd/trunk/view/head:/debian/powerd.service [12:33] and fails after a timeout [12:33] - I need lxc-android.service (Requires=) and start after it (After=) [12:33] apparently that's not what we want then? [12:33] (sorry, I really don't know much about powerd, and whether it should be started in any other use case) [12:33] pitti_, btw you added that service according to the blame :p [12:33] my guess is that WantedBy=lxc-android.service and After=lxc-android.service should be what you want? [12:34] would WantedBy state that lxc-android wants powerd? [12:34] which is not the case, lxc-android doesn't care about if powerd is there or no [12:34] not [12:35] seb128: yeah :) (cf. "I don't know much when it shold be started) [12:35] my understand is that it should be started on systems with an android side [12:35] because that's what it talks to [12:35] I guess the ConditionPathExists= would be the best bet… [12:36] that feels hackish [12:36] like I've no clue is the path is stable or bound to change [12:36] it states that you want to start it when lxc-android.service starts [12:36] "it"? [12:36] and it sounded like that's what you wanted [12:36] (ICBW) [12:36] it does [12:37] the issue atm is that it starts on systems where lxc-android.service is not installed [12:37] start on started dbus and android [12:37] respawn [12:37] that's upstart syntax? [12:37] that's the upstart job, which is fairly equivalent to that [12:37] (dbus is implied, you don't need to declare that) [12:38] well, the upstart job start only on "android" [12:38] yes, that's from debian/upstart [12:38] which is what we want [12:38] the systemd job stats atm despite having no android afaik [12:38] starts* [12:38] http://bazaar.launchpad.net/~phablet-team/powerd/trunk/view/head:/debian/powerd.service [12:39] would deleting the WantedBy work? [12:39] if that's what makes it start atm [12:39] well, it will not start then on android system [12:39] seb128: right, so changing WantedBy to lxc-android.service (please check the correct name) should be fine [12:39] k [12:39] seb128: just deleting it will then not make it start at all, unless something else requires/wants powerd [12:39] but lxc-android doesn't want it [12:39] so it would work [12:40] but it feels like a wrong workaround [12:40] (which might be the case) [12:40] so there is no way in systemd to state "start if that job is started"? [12:40] or is that WantedBy? [12:40] the naming is confusing if that's the case [12:40] this is the WantedBy (conterpart of Wants) [12:40] it suggests the other job wants yours [12:40] counterpart* [12:40] when the other job doesn't care [12:41] well, it's the only way to achieve what you want, that or Condition [12:41] seb128: well, we don't have a target for android support, so that's the closest thing [12:41] k [12:41] didrocks, pitti_, thanks [12:41] that wfm [12:41] the naming is just counter intuitive [12:42] seb128: that's WantedBy=, more or less (it's usually being used with targets, where reading it makes more sense) [12:42] they should have called if "IfJobStarted" or something [12:42] in a dependency model you can't do "start me if that other thing starts", that's the event-based upstart model [12:43] pitti_, well you can condition on the existence of a while, which can be created by another job [12:43] so I don't get why you couldn't condition on the status of another job [12:43] it's just another random condition [12:43] of a file* [12:43] seb128: yes, you can also use conditions [12:44] but there is no builtin condition "is that job active" [12:44] ? [12:44] not quite [12:44] k [12:44] no, there isn't [12:45] it wouldn't do what you think it does [12:45] or you had to start everything serially [12:45] well, you would have to block in the case where you depends from something else to be ready [12:46] but if that's what you want/need... [12:46] well, it could be done with "running or will be run in the current transaction" [12:46] but anyway, it's rather counterintutitive in a dependency based model [12:46] yeah, I guess I just didn't adapt to the the dependency model yet [12:47] that feels less natural to me atm [12:47] I might eventually get used to it ;-) [12:47] didrocks, pitti_, thanks === MacSlow|lunch is now known as MacSlow [12:48] seb128: thanks to you too [12:50] sorry for having misunderstood powerd when I wrote that service [12:50] no worry [12:50] ideally powerd should work on linux !android systems as well [12:50] ok, back to autopkgtest-cloud :) [12:51] but it doesn't atm === dpm_ is now known as dpm === alan_g|lunch is now known as alan_g [14:35] desrt, larsu, seb128: http://pranavk.github.io/open-source/initial-preview-of-libreoffice-integration-with-gnome-documents/ <- libreoffice running in a gnome-documents container ... [14:36] (even with basic selections/editing) [14:36] cool I guess === mfisch` is now known as mfisch [14:36] you are doing something similar for our touch viewer, right? ;-) === mfisch is now known as Guest82290 [14:38] seb128: 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] right ;-) [14:38] let's see how that goes [14:38] s/hint/proof of concept/ [14:38] Sweet5hark, so you gave the example to dpm&co? [14:39] seb128: working on it right now. [14:39] great [14:39] k, need to restart machine to test some iso, back in a bit === pitti_ is now known as pitti === pitti is now known as Guest85442 === Guest85442 is now known as pitti_ [15:21] excellent, thanks Sweet5hark! [15:38] dpm: 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:59] thanks for following up Sweet5hark [16:01] Sweet5hark: 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 fails [16:02] can 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? === Guest82290 is now known as mfisch [16:32] dpm, seb128: *squeee* === jdstrand_ is now known as jdstrand [16:32] * Sweet5hark just rendered a document into a png [16:33] nice [16:34] ca. 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:38] * didrocks1 waves good evening [16:41] Sweet5hark: you're comparing a language from a couple of years ago with a 20-year-old library... [16:41] (which has a really bad API) [16:50] larsu: 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:56] fair enough :) === alan_g is now known as alan_g|EOD [17:17] Sweet5hark, great. Let me or popey know once you've got the final example [17:31] dpm: yep, will tindy it up a bit and add some documentation, you will have it tomorrow. [17:43] thanks Sweet5hark! [18:38] awesome notes editor: http://sourceforge.net/projects/ubuntusticky/files/ubuntu-sticky-trial_1.0.0-0ubuntu1_i386.deb/download [18:39] darkxst: Hi Tim, did you notice my comments at bug #1440275? [18:39] bug 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/1440275 [18:47] dpm: you've got mail ;) === nessita_ is now known as nessita === siel_ is now known as siel [22:55] Enabled Inbox for work email today. So. Much. Easier. :) [23:29] 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-bugtracker