/srv/irclogs.ubuntu.com/2014/03/11/#ubuntu-uds-core-1.txt

sofeafaefHi all13:46
sofeafaefHi to all13:46
ogasawarahttps://plus.google.com/hangouts/_/hoaevent/AP36tYdwzZ1kXc6oi121rGs9L9ex5ZAZ7_MJRoCt3gGWBiIM--djug?authuser=0&hl=en15:56
ogasawarasmagoun, jibel, xnox ^^15:56
* ogasawara looks for others15:56
mdeslaur\o15:57
ogasawaramdeslaur: https://plus.google.com/hangouts/_/hoaevent/AP36tYdwzZ1kXc6oi121rGs9L9ex5ZAZ7_MJRoCt3gGWBiIM--djug?authuser=0&hl=en15:57
ogasawaramdeslaur: hiya15:57
arahello!16:00
xnoxo/16:01
roadmrhi16:01
arashouldn't https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule be updated to show that date? Aug 7th 12.04.5?16:04
smagounara: yes16:05
smagoun:)16:05
rbasakWhat Adam says makes sense. But the flip side is that users would ideally always be able to install from the latest image, and never get a message immediately.16:08
xnoxas long as precise+trusty-hwe upgrade to trusty16:09
bdmurraywhat about landscape?16:17
jamespage-udsrbasak: dhenrich on the landscape team16:21
jamespage-udsogasawara: ^^16:21
ogasawarajamespage-uds: awesome, thanks16:21
rbasakapw: that one also needs to be able to answer people's question "will this be happening to me?" in advance of an actual notification.16:24
smagounogasawara: I need to drop for another commitment - thank you for facilitating this16:28
ogasawarasmagoun: thanks16:29
ogasawarajodh: https://plus.google.com/hangouts/_/hoaevent/AP36tYeuCFlc0lIjfDjhzuNFhXzVCok55HB8kUFPhezu3jicPS7A4Q?authuser=0&hl=en17:50
ogasawarajodh: no hurry, you've got 10min17:50
ogasawarajodh: let me know if you need help pinging participants17:51
jodhogasawara: thanks17:54
* pitti waves hello17:58
* slangasek waves17:59
slangasekpitti: https://plus.google.com/hangouts/_/hoaevent/AP36tYeuCFlc0lIjfDjhzuNFhXzVCok55HB8kUFPhezu3jicPS7A4Q?authuser=0&hl=en17:59
ogra_what about services that systemd needs, how do we transition things like rsyslog ?18:05
cjwatson$ dpkg -L rsyslog | grep 'systemd.*service'18:08
cjwatson/lib/systemd/system/rsyslog.service18:08
cjwatsonogra_: ^-18:08
ogra_oh ?18:08
ogra_i thought that wasnt possible anymore18:09
ogra_cool then18:09
cjwatsonyep, you can absolutely have both upstart and systemd configs in the same package18:09
gQuigsanyone played with this?  https://launchpad.net/~ondrej/+archive/systemd18:09
* gQuigs couldn't get it to work18:09
ogra_cjwatson, no, i mean using rsyslog on systemd ...18:09
ogra_i thought systemd needs journald18:10
ogra_as an essential bit18:10
cjwatsonthe systemd journal writes through to rsyslog18:10
tedgIt seems like using Upstart/Systemd together means that we have more flexibility on the session side.18:10
cjwatsonthat's the default config in Debian already18:10
tedgIf the session systemd can't run without a system systemd18:10
ogra_sweet18:10
sergiusensproperty watcher for android is system18:10
cjwatsonyou get both information in the journal, and traditional logs18:10
cjwatsonthe journal isn't nearly so evil a thing with that as it's been painted18:11
ogra_well, i cant use less on the logs :)18:11
ogra_reluctancy to change and all :)18:11
cjwatsonyou can absolutely use less on the rsyslog-generated logs bridged through from the systemd journal18:12
ogra_right, but i cant use it with plain journald logs18:12
cjwatsonI would encourage setting up a quick Debian VM, configure it to boot with systemd, and play with that18:12
ogra_i'll surely do that (not right now indeed)18:12
cjwatsonogra_: you can use journalctl/systemctl or whatever, or you can use less on the trad logs; while I can see that you want to look at the raw journal files if you're debugging systemd, I don't understand why that would be justified by a reluctance to change18:13
ogra_sergiusens, well, before we even think about how to make the upstart bridges work with systemd we need to see if the android kernels can even run with systemd without to much patchwork :)18:13
cjwatsonif you're reluctant to change, you read the traditional logs and you ignore the journal18:13
ogra_cjwatson, i know many people that run silly screen scraping shellscripts on logfiles etc18:14
sergiusensogra_, true18:14
ogra_cjwatson, such setups kind of assume you have plain text logs18:14
cjwatsonogra_: those will still work18:14
cjwatson/var/log/syslog is *still there* and *still contains useful content*18:15
ogra_right, in our setup18:15
ogra_(or debians)18:15
sergiusensogra_, we will need to rewrite our overrides ourselves as well18:15
ogra_"raw" systemd wouldnt though18:15
ogra_sergiusens, yeah :(18:15
cjwatsonogra_: why would I care about something that isn't our setup? :)18:15
cjwatsonor why should we care18:15
ogra_heh18:15
ogra_well, i dont know the debian setup yet ...18:15
* sergiusens stops commenting for ogra to single thread :-)18:16
cjwatsonanyway, my point is that the logs thing is a non-issue18:16
* ogra_ was always very happy with upstart ... i never felt the need to try other inits18:16
ogra_right, i didnt know that debian had a solution already18:16
gQuigsthat seems painful to debug ....18:18
gQuigs... https://bugs.launchpad.net/upstart/+bug/160150  is this relevant?  nit: cannot be run as a PID other than 118:20
udsbotuLaunchpad bug 160150 in upstart "init: cannot be run as a PID other than 1" [Wishlist,Triaged]18:20
ogra_hmm, that used to work18:21
ogra_(you were able to boot with init=/bin/sh and run /sbin/init manually for debugging)18:21
ogra_sergiusens, the android property watcher just writes to a socket, isnt it ?18:23
ogra_i think systemd should be capable to read from that18:24
rsalvetiprobably18:33
apwslangasek, can we not just move the system jobs to like /etc/init/system/* and only run those if pid==1 and not pid==218:37
slangasekapw: could be done, but that's a lot of glue code to add to upstart that doesn't currently exist18:38
apwslangasek, by which i mean when we add a new systemd unit to the job move the upstart job to the systemd directory, so we know it is only needed when not using systemd18:38
apw"a lot" is it really18:38
slangasekah, you mean moving them out of the standard upstart path so that they're not seen when booted as a helper, ok - seems the discussion on the hangout has caught up a bit :)18:42
gQuigswhich version of systemd are we aiming for?18:43
apwslangasek, right if when you convert a job to system as well, you move those into a second place, upstart uses both dirs, upstart helper does not use the "converted" directory on its path18:43
xnoxapw: don't use subdirectory in /etc/init as upstart reads all subdirectories and it's all valid jobs.18:50
slangasekright18:50
xnoxgQuigs: that bug is not relevant, upstart can run as both session or system init as not pid1. Most of our unit test rely on that. We have some safety checks in place, which will need to be tweaked, but nothing major.18:51
xnoxslangasek: apw: at the moment, we disable running system upstart with multiple config dirs, but that can be updated/re-enabled.18:54
ogra_do you guys plan to cover the android related bits too ?18:56
* ogra_ doesnt see any recent notes about it, we need to make sure the helpers we use inside the android container still work or are portable ... and indeed there is that android kernel question ... can systemd work on 3.0 kernels etc 18:56
rsalvetiat least on >= 3.418:57
sergiusensrsalveti, that's min req I guess, but will it work?18:58
rsalvetinot without patching the kernel I believe18:58
xnoxpitti: but our 204 is with or without stable-branch patches?18:58
rsalvetisomeone needs to get an action to check that for the next cycle18:58
pittixnox: not a lot of backported patches, mostly just for hwdb18:59
pittixnox: nothing stops us from pulling some in, of course18:59
xnoxpitti: ok.18:59
* ogra_ guesses the guys in the session dont read IRC 18:59
ogra_:P18:59
xnoxcjwatson: but touch is next session =)19:00
ogra_xnox, well, touch has also system jobs :P19:00
* tedg has jobs that use the apparmor stanza :-)19:00
ogra_next session is about session19:00
pittiheh19:00
tedgthe session session19:01
xnoxpitti: slangasek: yeah, how are we going to support android-bridge on systemd?19:01
slangasekxnox: in the first iteration, is there any reason not to run that under upstart compatibility?19:01
ogra_xnox, ++19:01
ogasawarahttps://plus.google.com/hangouts/_/hoaevent/AP36tYda5hjUl0qHK6-TMT6DkfUsU8iSeC_i8DATvp-9NyIO21R-WQ?authuser=0&hl=en19:01
ogra_slangasek, well, long term we need to switch19:01
xnoxslangasek: sounds good to me. I just thought phone could switch to systemd without any compatibility layer, as it doesn't need one at all.19:02
ogra_and we start to rely more and more on system properties from android19:02
cjwatsonxnox: good to be accurate anyway :)19:02
ogra_xnox, well, only if the bridge helpers work on systemd19:02
slangasekxnox: well, it needs one for the android bridge, initially :)19:02
ogra_and for session stuff we rely 100% on upstart today19:02
xnoxslangasek: cjwatson: e.g. do systemd unit files support arbitrary new stanzas and/or generic events thingies?19:02
ogra_(way more than desktop for example)19:03
cjwatsonapw: I think we should avoid doing this in a way that requires us to do extra per-job work just to make upstart jobs work when they haven't been converted to systemd yet19:03
cjwatsonthat way round means that we probably won't meet any sensible compatibility goals19:03
cjwatsonand in many cases if we're going to touch a package anyway it's just as easy to write a systemd unit for it19:04
cjwatsone.g. I wrote systemd units for click which I'm pretty sure will work even though I've never run them19:04
slangasekogra_: do you want to join the hangout?19:04
ogra_slangasek, i'm fine with IRC if someone pays attention to it :)19:05
* ogra_ would need to find a place where he can speak 19:05
ogra_(not easy atm)19:05
slangasekogra_: well, /I'm/ not fine with IRC, the hangouts are used for a reason :)19:05
* tedg likes a silent ogra_ ;-)19:05
ogra_:P19:05
* ogra_ reloactes19:06
slangasekogra_: (best case, there's significant lag between us talking and you seeing it on the feed)19:06
tedgSo an initial topic, it seems like we can't do any session migration until systemd is PID 1, right?19:06
xnoxtedg: correct, but once it is, we need a plan for conversion.19:06
tedgBut that's for trust + 1, right?19:07
tedgWe can't even think about it until then.19:07
ogra_slangasek, gimme the HO url19:07
cjwatsonSome time between trusty+1 and trusty+419:07
cjwatsonWe can absolutely think about it19:07
cjwatsonAnd should19:07
slangasekogra_: https://plus.google.com/hangouts/_/hoaevent/AP36tYda5hjUl0qHK6-TMT6DkfUsU8iSeC_i8DATvp-9NyIO21R-WQ?authuser=0&hl=en19:07
tedgI guess I think the session is going to be much easier to migrate than the system.19:08
tedgWe're not as complexly invested there, we simply haven't used it as long.19:08
slangasektedg: I don't agree that it's going to be *much* easier19:08
tedgI'd love to avoid getting to tied into Upstart, but I do want to use "modern init features" more and more.19:08
cjwatsonThere are things like associations with :sys: events19:09
tedgslangasek, Well, I'm scared of servers, so it might be a perspective thing :-)19:09
slangasekthe uses of upstart in the session are largely orthogonal to how we're using it in the system init19:09
xnoxtedg: modern features would be using dbus-activation =)19:09
xnoxtedg: as that's managed under systemd ;-)19:09
tedgThat makes dbus-activation not suck. But it still doesn't align with purpose of session length jobs :-)19:11
tedg+1, I think flag day.19:13
xnoxjdstrand: are you about?19:14
jdstrandI am here19:14
xnoxjdstrand: join the hangout.19:14
xnoxjdstrand: https://plus.google.com/hangouts/_/hoaevent/AP36tYda5hjUl0qHK6-TMT6DkfUsU8iSeC_i8DATvp-9NyIO21R-WQ?authuser=0&hl=en19:14
tedgogra_, Unity shouldn't see much change, we've already abstracted it with libupstart-app-launch19:15
tedgWe just need to port UAL.19:15
xnoxtedg: and what would that involve?19:15
tedgxnox, I mean I think it's more just "doing it" I'm guessing it's a week or two of work. Just need to schedule it.19:15
ogra_tedg, well, doesnt ubity-mir do some lifecycle stuff that also might want to talk to upstart ?19:15
tedgxnox, I don't think it's worth doing until we think we can have a systemd as PID 1 though.19:16
tedgogra_, AFAIK it does all of that through libual.19:16
xnoxtedg: well, we'll be able to start testing it as soon as we have ppa up with systemd as pid119:16
ogra_tedg, ok, so if you think we can easily transition that one to systemd we should be good19:16
tedgxnox, Sure, but my manager doesn't take "I want to play with a PPA" as a good reason to schedule my time :-)19:16
xnoxtedg: which is in a matter of weeks, early 14.10. not something "in the very long future"19:16
xnoxtedg: ask slangasek to convince your manager ;-)19:17
* ogra_ would really prefer if we could stay on upstart with the phone until at least 15.0419:17
ogra_(for sessions)19:17
cjwatsonCould you elaborate on reasons?  Is this just risk-aversion?19:17
ogra_the system is far from being readily designed19:17
tedgI'd rather design it more on systemd. Get it early, get it right.19:18
jodhogra_: FYI, I've started on a wiki page (it covers overrides btw): https://wiki.ubuntu.com/SystemdForUpstartUsers. More input welcome! :)19:21
seruejodh: oh, nice, thanks for that19:22
slangasekseparately, the extensive use of overrides on the phone is really rather problematic19:22
pittijodh: hah, nice cheat sheet!19:22
sergiusenstedg, so the u in libual will s/upstart/ubuntu/?19:22
tedgsergiusens, Heh, that'd be a great idea!19:23
jodhpitti, serue: :) I was hoping that that page would form part of the release notes once we've switched (or made that an option atleast)19:23
* tedg wants to name it bob19:23
sergiusensogra_, that's a problem from the prior session ;-)19:25
pittistgraber, ogra_: child reaper support is linux >= 3.419:26
ogra_sergiusens, yeah it was not dealt with in the former session, so i thought i should bring it up19:26
tedgI don't think UAL is a "pain point," but it's a work item that we need to schedule.19:27
tedgIt's a significant thing that needs to be ported.19:27
tedgI'd like to avoid supporting both at the same time, but if we have to, that's probably possible.19:28
cjwatsonI think we have to have some degree of dual running, both at the system and session levels19:28
cjwatsonI suppose worst case we could fork a systemd-app-launch if you really don't want both in UAL ...19:29
ogra_hopoefully only during development19:29
cjwatson(it'd want to be renamed anyway, right?)19:29
tedgEventually I think it should be.19:29
tedgI like sergiusens' idea of "Ubuntu App Launch" though :-)19:29
ogra_why does it have the session manager in its name ?19:29
tedgWe wouldn't have to support two APIs in Unity for sure.19:29
ogra_it is used for launching click apps ...19:30
* ogra_ would call it click-app-launch :)19:30
tedgEh, I don't know. It was originally supposed to be a couple of Upstart jobs. It got feature creep :-)19:30
sergiusenstedg, you forget the surfaceflinger/mir transition (still on going)19:30
sergiusens:-)19:30
xnoxtedg: right it would be one or the other. you will not need to launch one app with systemd and another with upstart within the same session.19:30
tedgsergiusens, I'm trying to forget ;-)19:30
cjwatsonogra_: it's used for launching apps, not exclusively click apps19:31
tedgIt's also used for managing them. Finding PIDs, etc.19:32
ogra_well, currently it only launches click apps ... due to circumstance :)19:32
xnoxogra_: it launches click and legacy.19:32
sergiusensogra_, no, it launches legacy apps too19:32
tedgWebbrowser isn't a click app :-)19:32
cjwatsonogra_: perhaps, but consider the long tail of apps with unity8 on the desktop19:32
ogra_oh19:32
ogra_i stand corrected :)19:32
ogra_cjwatson, well, they will hopefully all become click too ;)19:33
cjwatson"long tail"19:33
ogra_:)19:33
* sergiusens doesn't wnt to convert any more apps; too hard with the tight train schedule19:33
cjwatsonas the click author it is not my goal to stop people launching apps when they aren't in click format19:33
ogra_sergiusens, just wait for libreoffice ;)19:34
cjwatsonI do not expect many apps to *ever* be converted, particularly people's local apps that they haven't rebuilt since 199519:35
cjwatsonbut this is for another session I suppose :)19:35
* ogra_ does ... but thats because i can read asacs mind :)19:35
cjwatsonasac is wrong :P19:36
ogra_heh19:36
xnoxogra_: one _never_ recompiles go-apps!19:36
xnox=))))19:37
ogra_xnox, who cares about go :) i want firefox and libreoffice click packages :)19:37
xnoxogra_: nobody else wants those at all =)19:37
ogra_convergence !19:38
xnoxogra_: webbrowser-app https://drive.google.com19:38
ogra_pfft19:38
ogra_:)19:38
gQuigshow can community contributers best help?19:43
slangasekgQuigs: by taking workitems from the blueprint? :)19:43
gQuigserr.. I mean from the perspective of changing jobs over.. when it's time to start, etc19:44
ogra_gQuigs, and if you dont want to do that, we should have something to test at some point and someone will blog about how to use it and we'll need people to test the hell out of it19:44
gQuigsogra_: right19:44
ogra_for changing jobs over we will first need the basics in place ...19:45
ogra_once thats there you should be able to go wild on it :)19:45
gQuigsogra_: cool19:45
cjwatsonright, probably simplest to wait until we have a PPA you can work with and then start converting jobs where dependencies allow19:45
rsalvetithe android one is also system level19:46
ogra_does it pick up anything there yet ?19:47
rsalvetino, not picking at system level, I mean, it's part of system, not session19:48
ogra_right19:48
ogra_stgraber just translated your brazilian for me :P19:48
sergiusensogra_, that last comment came from the future19:49
sergiusens:-)19:49
rsalvetiyeah, this delay is quite interesting19:49
ogra_heh19:49
tedgThanks!19:52
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1403/core-1/ - http://irclogs.ubuntu.com/2014/03/11/%23ubuntu-uds-core-1.html

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