/srv/irclogs.ubuntu.com/2015/05/20/#ubuntu-devel.txt

=== salem_ is now known as _salem
pittiGood morning04:29
pittiahasenack: hello; I'm around now04:30
infinityrsalveti: That sure is a lot of undeclared build-deps.04:58
hallyn_xnox: so one oddity i've found with threaded libnih: when any thread calls nih_error_init(), it onexit()s a fn that asserts context_stack != NULL - but context_stack is __thread06:04
hallyn_while onexit is process-wide06:04
hallyn_so if you fork, you get a NULl context_stack but still have the onexit'd fn;  so then you have to _exit() instead of exit()06:04
hallyn_else, ugly assert error msgs06:05
hallyn_I suppose it might also be an issue when the original process exits if the last exiting thread had context_stck == NULL...06:06
dholbachgood morning06:31
highvoltagemicahg: your upstream guys came through, thunderbird looks good again in trusty this morning06:36
seb128hey dholbach!06:37
dholbachsalut seb12806:41
zygamvo: hey07:49
zygamvo: did you have a chance to look at tarmac lately?07:50
mvozyga: hey, I haven't, was on vacation and have not looked into this at all yet07:57
=== oSoMoN_ is now known as oSoMoN
zygamvo: ok, thanks07:58
* Laney backports high fives micahg 08:20
Laneydug out the ol' GPG key again ;-)08:20
rbasakpitti: I just spotted bug 1447654 which reminds me of bug 1450053. A user reports that mysql doesn't start on boot unless he installs policykit-1. I wonder if this is a systemd related bug?08:22
ubottubug 1447654 in policykit-1 (Ubuntu) "installing policykit-1 hangs under systemd" [Medium,Confirmed] https://launchpad.net/bugs/144765408:23
ubottubug 1450053 in mysql-5.6 (Ubuntu) "upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1" [High,New] https://launchpad.net/bugs/145005308:23
pittirbasak: does mysql-5.6 actually have a .service, not just an init.d script?08:32
rbasakpitti: yes it does have a .service08:32
pittiwe used to have some (cosmetical) bugs where systemctl enable foo.service failed with such an "no such file" error message if there was no actual .service08:33
rbasakYeah I've seen that bug.08:33
rbasakI don't know if this is a separate issue or the fix or that would have fixed this.08:33
pittirbasak: so, I need to look into this more closely, I don't have an off-hand idea08:33
rbasakSeems odd that installing policykit-1 fixed the issue.08:33
rbasakpitti: OK, thanks. Shall I tag it for you?08:33
pittirbasak: might be a red herring -- a followup says that installing polkit didn't help08:34
rbasakpitti: that was a different person.08:34
rbasak"This issue affects me too, except that all the circumstances are different and it failed in a different way" -- well, that's a different bug then.08:35
pittiyes, I know, but it still sounds like a red herring to me08:35
pittianyway, I'll try to reprodue08:35
rbasakThanks08:35
rbasakI agree it's unclear. I'm getting bug reports about genuine issues in packaging in mysql 5.6 (new stuff), systemd-related issues, and users with screwed up databases getting failures. And they're all muddled up :(08:35
ricotzdiwic, hi :), any plans to fix those failures? https://launchpad.net/ubuntu/+source/pulseaudio/1:6.0-0ubuntu708:54
diwicricotz, let me forward that to hwang408:54
diwicricotz, I hope he'll fix today or tomorrow. Feel free to revert if it's urgent08:56
diwicsorry08:57
ricotzdiwic, no, just curious since it sits there for a week already ;)08:57
diwicricotz, yeah, I missed that email in my inbox08:57
flexiondotorgdholbach, Thanks for sponsoring :-)08:59
dholbachno worries09:03
alkisgxnox, would you mind if I chatted 5 minutes with you about another upstart bug related to LP #1343905?  I.e. I think that /etc/X11/Xsession.d/00upstart should go after 50x11-common_determine-startup in order to be able to locate the session from $STARTUP too, not only from $109:05
ubottuLaunchpad bug 1343905 in upstart (Ubuntu Trusty) "Empty desktop in Xubuntu 14.04 on reboot after upgrading upstart package" [High,Fix released] https://launchpad.net/bugs/134390509:05
alkisgThat part affects us on LTSP fat client desktops, they stopped being able to launch Unity in 14.04 because of that 00upstart script, and I'm trying to see if it'll be best to fix this in upstart or in ltsp09:06
alkisgSo basically what I'm proposing is, 00upstart to be renamed to 50x12-upstart, and        BASESESSION=${1% *} to become BASESESSION=${STARTUP% *}09:10
xnoxalkisg: that should not be necessory.09:15
xnoxalkisg: note that 00upstart really just saves variables for 99upstart to do stuff.09:16
alkisgxnox: it's possible for xsession to be called without parameters09:16
alkisgThat then falls back to "defaults"09:16
alkisgThe defaults are processed in 50x11-common_determine-startup09:16
alkisgFrom that script, $STARTUP is determined09:16
alkisg*then* 00upstart should decide the SESSIONTYPE based on that09:17
xnoxI'd ask to poke stgraber - he did the user session upstart stuff and he knows LTSP.09:17
alkisgUnfortunately he seems too busy to deal with ltsp the last 2 years09:17
xnoxdoh, he is a busy man =)09:17
alkisgWe've  been trying to convince him to let us maintain ltsp in ubuntu instead, because it's been broken for too long09:17
xnoxalkisg: why are you calling it without any arguments thogh on ltsp? are you not using a login manager at all?09:18
alkisgWe're using LDM, the ltsp login manager09:18
xnoxright... and why doesn't that parse/set session to launch?09:18
alkisgIt's a valid scenario, see that script or the xsession manpage09:18
xnoximho default should be XTerm =)09:19
alkisgNo, it's x-session-manager09:19
alkisgThere's an alternative for that09:19
alkisgman Xsession mentions those09:19
alkisgThere's support in Xorg and in debian for that since decades, only 14.04 broke it09:19
alkisgI can easily work around that in upstream ltsp, but it's wrong09:20
alkisgIt should be fixed in upstart instead09:20
alkisgEven 00upstart reads x-session-manager09:20
alkisgIt just does so at the wrong point, 00 instead of 5109:20
alkisgxnox: I've already tried the 2 changes that I"m proposing and they work fine: 0upstart to be renamed to 50x12-upstart, and        BASESESSION=${1% *} to become BASESESSION=${STARTUP% *}09:23
xnoxalkisg: the idea behind 00upstart is that we only kick in for blessed sessions09:24
xnoxalkisg: what is the value of $DESKTOP_SESSION and is it listed in /etc/upstart-xsessions for you?09:24
alkisgxnox: right, all those in /etc/upstart-xsessions09:24
xnoxit is possible that it's out of date on 14.0409:24
alkisgDESKTOP_SESSION is ubuntu09:24
xnox(upstart-xsessions)09:24
xnoxok.09:24
alkisgxnox, I've already troubleshooted the issue09:24
alkisgI do have the solution above ^...09:24
alkisgMy question essentially is, if you guys want to fix that in upstart, or should we workaround the upstart bug in the ltsp code instead...09:25
xnoxthis is stuff is not upstart upstream, but in ubuntu packaging.09:26
alkisgAh, that's why you mentioned to file distro-specific bug reports in that other bug I mentioned09:27
alkisgOk, that's even easier then, isn't it?09:27
xnoxthe problem is that we cannot use STARTUP, no09:27
alkisgWhy?09:27
xnoxyour solution is not right.09:27
alkisgWhy?09:27
xnoxlook at 99upstart09:27
xnoxwe override STARTUP to become /sbin/upstart --user09:28
alkisgYes?09:28
alkisgI know09:28
xnoxand everything should be launched from there.09:28
alkisgRight09:28
xnoxas in by upstart09:28
alkisgOK let me describe the problem better09:28
alkisgYou're using $109:28
xnoxnot by user scripts, defaults or the x-session-manager09:28
alkisgWhich is "gnome-session --session=ubuntu"09:28
alkisgAt 50x11, STARTUP also is "gnome-session --session=ubuntu"09:28
alkisgSo if 00upstart went to 50x12, it could use STARTUP instead of $1, both would have the same value09:29
xnox50x11 is a no-on09:29
alkisgNo change at all there09:29
alkisgBUT09:29
xnoxit doesn't nothing when STARTUP is populated09:29
xnoxit does nothing that is.09:29
alkisgIt only determines what the user wants to launch09:29
xnox50x11 only processes when STARTUP is empty, and one cannot have an upstart session if it was empty...09:30
xnoxno, login manager should offer and consume user choices.09:30
alkisgxnox, I already tried it and it works09:30
xnox50x11 doesn't process what user wants, it tries to do educated guess when not having any information what's so ever.09:30
alkisg50x11 processes the user and the system alternatives09:31
xnoxwe cannot allow-user-xsession with upstart --user session, as we have no idea that it will work09:31
alkisgWait wait09:31
xnoxcause upstart --user will not process STARTUPFILE09:31
alkisgIn 00upstart you read x-session-manager, right?09:31
xnoxonly conditionally09:31
xnoxbut we do not read STARTUPFILE09:32
alkisgOK, on what condition? if [ "$BASESESSION" = x-session-manager ]09:32
alkisgAre you willing to do the same if "$1" is empty?09:32
xnoxyes.09:32
alkisgIf it's "default" ?09:33
xnoxno09:33
alkisgman Xsession09:33
xnoxdefault should launch default.09:33
alkisg       default09:33
alkisg              produces the same behavior as if no session type argument had been given at all.09:33
xnoxbut default is not in /etc/upstart-xsessions....09:33
alkisg50x11-common_determine-startup09:33
xnoxoh that's desktop_session, ignore that.09:33
alkisgsorry ./20x11-common_process-args09:33
* xnox is confused how one would end up with DESKTOP_SESSION defined, yet without passing an argument.09:34
alkisgOne should be able to just launch Xsession and have it work, with the default gnome-session --session=ubuntu09:35
alkisgThat was only broken now, in 14.0409:35
alkisgAnd it will hopefully stop being broken in 16.04 with systemd09:35
alkisgSo we're basically only talking about 14.04 now...09:35
xnoxyeah, i need to pull 14.04 with latest updates to check.09:36
xnoxin essence we try to make sure we never launch and override STARTUP by accident09:36
xnoxthus we operate in whitelist mode only.09:36
alkisgIf you prefer a patch inside 00upstart that essentially duplicates the work done by 50x11, ok, no problem09:36
alkisgxnox, upstart never uses STARTUP anyway09:36
xnoxif DESTKOP_SESSION is correct and known to be upstart enabled09:37
xnoxwe expect an agument for the session-manager as well09:37
alkisgI'm just saying that if 50x11 does the work and sees that the user actually wants one of the upstart-supported sessions, then use the work of 50x1109:37
xnoxotherwise upstart session will be borked when launched in 99upstart09:37
alkisgDon't just check $109:37
xnoxwe cannot modify 50x11 at all.09:37
alkisgI'm not asking to09:37
xnox(to be upstart aware)09:37
alkisgI'm only asking the 2 changes I said, 00upstart to be renamed to 50x12-upstart, and        BASESESSION=${1% *} to become BASESESSION=${STARTUP% *} inside it09:38
xnoxno, we cannot do that.09:38
xnoxwe will loose any variables set between 00-5009:38
alkisgThere are none09:38
xnoxwhich must be exported to upstart session.09:38
alkisg50 determines the session09:38
alkisgYou cannot set vars before the session is determined09:38
alkisgAnd, you don't09:39
xnoxalkisg: sure there are! this is admin modifyable config scripts, and i'm sure admins have exported variables between 00-50 which they expect to be present for all sessions.09:39
alkisgNo script sets vars based on 00upstart, until after 50x09:39
xnox50x11 is not support in upstart user sessions09:39
alkisgThe admin is wrong then09:39
xnoxhonestly show me your login manager, it looks broken.09:39
alkisgBecause 50x is where the session is determined09:39
xnoxbecause it suppose to parse09:39
xnoxvalid sessions from09:39
xnoxone sec.09:39
xnox50x is not where the session is determined, let me check this09:39
alkisgThat's where the x-session-manager alternative is processed, where the user options are processed etc09:40
alkisgThat's the central point (hence the 50 number) where the session is determined09:41
xnoxso sessions in Ubuntu as a whole, that is all variants09:41
xnoxare define din /usr/share/xsessions/09:41
xnoxas *.desktop files09:41
alkisgYup09:41
xnoxall login managers must process that09:41
xnoxand launch as specified there.09:41
alkisgSuppose you're not using a login manager09:41
xnoxand offer them to the user to choose from09:41
alkisgYou just want to run Xsession09:41
xnoxthat's not supported09:41
xnoxyou must use a login manager in ubuntu09:42
alkisgIt can be supported by that little change09:42
xnoxor exec in a compatible way09:42
xnoxno09:42
alkisgAnd it was supported until 14.0409:42
xnoxthere are admins that drop 10foo in to Xsession.d09:42
alkisg(it was runniing, I mean)09:42
xnoxand we want to support it.09:42
xnoxi beleive 13.10 was were we stopped supporting that09:42
alkisgYou want to support broken configurations but not just running Xsession?09:42
xnoxwhen ehte upstart user ssions were started to be support.09:42
xnoxyou can run Xsession09:42
xnoxbut not managed by user upstart09:43
xnoxto have user upstart managed xsession it must be launched properly as per /usr/share/xsessions and ideally by a login manager09:43
xnoxif you don't want upstart, and plain xsession it will work.09:43
xnoxbut e.g. unity DE is no longer support in such combination, as a few desktop things started to depend on user upstart session to be available.09:44
alkisgNot all login managers do what you want09:44
xnoxdo you see what i mean?09:44
alkisgE.g. LDM doesn't do it09:44
alkisgSo we have to fix it because you want to support a possible broken configuration of some sysadmin?>09:44
xnoxif LDM doesn't parse /usr/share/xsessions and doesn't offer a user to launch xubuntu.desktop -> LDM is broken. Please open a bug against LDM package in Ubuntu.09:44
alkisgIt does parse them09:44
alkisgAnd it launches them as mentioned in the Exec line09:45
xnoxalkisg: and does it do "Exec=" as specified in them?09:45
xnoxwhich should work then.09:45
xnoxfor unity.09:45
alkisgThe problem is the "default"09:45
alkisgWhat is the default session?09:45
xnoxi don't see a .desktop file with a default.09:45
alkisgXsession says "it's called default"09:45
xnoxin e.g. lightdm it has a setting what id default.09:45
alkisgSo for ages LDM and other DMs are using that09:46
xnoxif there is only one -> LDM should use that as default?09:46
xnoxhonestly i hear the first time about default.desktop09:46
alkisgIf I find other DMs that use "default" or "empty", will it help in convincing you?09:46
alkisgE.g. SDM, XDM, nodm, whatever?09:46
xnoxin Ubuntu we don't have default, as that's ambigious - on a Xubuntu build one only has /usr/share/xsessions/xubuntu.desktop09:47
alkisgI never mentioned default.desktop09:47
xnoxwe currently support a lot of xsessions.09:47
alkisgI'm talking about the default session, as documented by Xsession09:47
xnoxplease point me to ldm code which parses and execs /usr/share/xsession09:47
alkisgOK, moment09:47
xnoxalkisg: note that unity is not the default xsession in Ubuntu =)09:47
xnoxwe dont' provide one.09:48
alkisgubuntu is09:48
xnoxcan i run ldm locally, without having the rest of LTSP stuff?09:48
xnox(as in as a replacement for local lightdm?)09:49
cjwatsonzyga,mvo: If you mean tarmac for git, I'm reasonably sure it still needs a couple of small LP changes09:49
xnoxalkisg: send me ldm info and or links to xnox @ubuntu.com and i'll look into it.09:49
xnoxgot to go.09:49
alkisgxnox: it's not ldm specific09:49
zygacjwatson: yes, what kind of changes are you thinking about?09:50
alkisgI can send you other DMs if you want...09:50
alkisgxnox, should I file a bug report so that we talk there?09:50
xnoxalkisg: i need to see what ldm does, and check  if it is sensible.09:50
alkisgThanks a lot btw09:50
zygaev: hey09:50
xnoxalkisg: from what i can tell - supported login managers in ubuntu parse /usr/share/xsession/ubuntu.desktop correctly and launch it correctly. something is broken in LDM case.09:51
zygaev: would you have a moment to talk about CI09:51
xnoxeither in parsing or launching or what not.09:51
xnoxand fiddling with xsession.d seems like the wrong place to band-aid it.09:51
alkisgxnox, you can't use ldm locally, here's the relevant script: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/view/head:/rc.d/X50-dmrc-processing09:51
alkisgxnox: the problem started when *upstart* fiddled with Xsession.d09:52
alkisgThat's what I'm trying to fix09:52
cjwatsonzyga: It doesn't have quite enough API to be able to operate on merge proposals for a given repository; needs some thought about what to do with linked bugs, although I suppose that could be treated as optional for the time being09:52
alkisgIt put 00upstart in the wrong place09:52
alkisgI.e. before the xsession is determined09:52
zygacjwatson: yeah, I would treat that as optional for now, can you be more specific as to what is missing?09:52
zygacjwatson: I wanted to creat a proof-of-concept merger for git on launchpad09:52
alkisgxnox: anyway, if you're willing to do that:09:52
alkisg(12:32:35 μμ) alkisg: Are you willing to do the same if "$1" is empty?09:52
alkisg(12:32:41 μμ) xnox: yes.09:52
alkisgLTSP is fine then09:52
alkisgProblem solved09:52
zygacjwatson: so I need to query for merge proposals for a repository (I can do branch filtering locally)09:53
cjwatsonzyga: git_repository.landing_candidates basically09:53
xnoxalkisg: think of upstart user session as supper-set and replacement for xsession. it doesn't support all xsessions ever possible.09:53
zygaah09:53
zygacjwatson: so that's not exposed yet, I see09:53
xnoxand thus it doesn't parse xsessions and bails out on unknown stuff.09:53
alkisgxnox: we're not looking for other xsessions09:53
cjwatsonzyga: right, largely because the name is awful and we were trying to think of a better one09:53
zygacjwatson: is that being worked on now?09:53
zyga:D09:53
cjwatsonzyga: but maybe we should just give up and export the bzr-ish name09:53
cjwatsonzyga: we want tarmac for Launchpad itself, so it's definitely on our radar :)09:53
zygacjwatson: I think exporting any name now is good, I suspect both people that use it won't mind09:54
alkisgxnox: it only needs to support "default" and <empty>, as specified in the Xsession manpage09:54
zygacjwatson: have you thought about the way tarmac uses zbr?09:54
cjwatsonthat's not quite how we deal with LP API compatibility09:54
zygacjwatson: as a checkout, with lock held?09:54
cjwatsonzyga: I don't much care, it clearly can't do that with git09:54
zygacjwatson: do you have an idea on how to translate that to a full clone that doesn't have the lock09:54
zygacjwatson: ok09:54
alkisgxnox: if you're willing to add support for <empty> in 00upstart, it's fine for ltsp. As a programmer I think it's wrong, but as LTSP upstream I don't mind09:54
zygacjwatson: one more question, how do you talk to git from launchpad, any library to recommend?09:55
cjwatsonzyga: presumably it can just try and fail if it tries to push a non-fast-forward thing09:55
cjwatsonzyga: we use pygit209:55
zygacjwatson: thanks09:55
cjwatsonzyga: it's not entirely packaged in Ubuntu, but the bits we use are in the LP PPA09:55
cjwatsonzyga: however, due to not being packaged, it might be better for tarmac just to call out to git09:55
cjwatsonzyga: the pygit2 API isn't very stable09:55
zygacjwatson: yeah, that is somewhat easier09:56
cjwatsonzyga: it's not like calling out to git involves slow Python process startup, unlike bzr09:56
xnoxalkisg: looking at what you posted default is LDM concept and it is suppose to "get_dmrc_key" Session... and if that is empty you bail....09:56
xnoxalkisg: which is a wrong thing to do.09:56
xnoxalkisg: first you need to check which sessions you have available e.g. ls /usr/share/xsessions/*.desktop and populate that as list of availble options09:56
xnox(even over ssh)09:56
zygacjwatson: can you ping me (or tell me where to look) for when the missing api lands to production/09:56
xnoxand if user didn't choose any, choose one of the available ones.09:57
xnox(e.g. no Session defined in .dmrc)09:57
pittiapw, infinity: do you plan to merge initramfs-tools this cycle? I'm particularly interested in the bits that mount /usr from the initramfs, as that's a rather major delta that we have right now09:57
alkisgxnox: if the user has something in his .dmrc, he's notified that it's a wrong selection before it falls back to the defaults09:57
alkisgThat's done by Xsession since ages09:57
alkisg*something wrong09:57
xnoxalkisg: and your defaults should be one of the options from /usr/share/xsessions for ubuntu09:57
alkisgxnox: if the user has specified a session?09:57
alkisgWhy?09:57
alkisgAnyway, that's unrelated09:57
cjwatsonzyga: also, tarmac's use of bzr with locks and such is really just a written-out version of what the bzr client does; I don't think it's using a bound branch, so the lock is purely local to tarmac09:58
xnoxalkisg: if the user didn't specified any.09:58
alkisgThe user gets notified that he has selected a non-existing session09:58
alkisgAh then we just use ''09:58
zygacjwatson: it actually is09:58
xnoxalkisg: because on ubuntu all valid options for login manager are provided in /usr/share/xsessions only.09:58
alkisgI.e. we let xsession do its job09:58
cjwatsonzyga: oh, well, shrug, same comment as above then09:58
zygacjwatson: but anyway, that just won't carry over to git world09:58
zygacjwatson: yeah09:58
xnoxalkisg: and the you shouldnt' use '', you should bail =)09:58
xnoxalkisg: you have nothing to login into.09:58
alkisgxnox: yes, and Xsession is smart enough to select the one that is at /etc/alternatives/x-session-manager09:58
cjwatsonzyga: api> can do, just remembered that I also wanted to think about the way the source/target/prereq refs are exported on the branch_merge_proposal webservice object09:59
alkisgxnox: suppose you have 3 sessions in xsessions/09:59
alkisgWhich one does your DM login to?09:59
alkisgThe one defined in alternatives09:59
alkisgThat's what Xsession does as well09:59
alkisgWhy is that an issue?09:59
xnoxalkisg: it gives me a drop down to choose from in alpahbetical order by pretty name.09:59
cjwatsonzyga: it's just about usable in principle by tarmac today but is a bit cumbersome, needs some thought09:59
alkisgxnox: and which entry is preselected? Alphabetically?09:59
alkisgNo09:59
alkisgCheck the lightdm code10:00
xnoxalkisg: in lightdm greeter first one is pre-selected.10:00
alkisgReally?!10:00
xnoxit's greeter specific, not lightdm core.10:00
zygacjwatson: my tarmac and lp api is too rusty to have an opinion on that yet, I need to poke it a little ot offer insight10:00
alkisgWhat about lightdm-set-defaults previously,10:00
xnoxother greeter can do UI logic differently10:00
alkisgand the lightdm.conf.d/users.conf now?10:00
zygacjwatson: are you familiar with the github API?10:00
zygacjwatson: can we learn something from that?10:00
cjwatsonzyga: we've looked at it and borrowed inspiration where appropriate10:00
xnoxit has config files to do specific things, e.g. on xubuntu builds we provide lgithdm setting to choose xubuntu as default.10:00
cjwatsonzyga: you're not telling me anything new by pointing me at it, at least ;-)10:01
xnoxbecause lightdm greeter behaves differently on ubuntu/xubuntu/lubuntu etc builds10:01
cjwatsonzyga: but it's necessary to fit the API into Launchpad's model as well, so it can't just be translated directly10:01
alkisgxnox:lightdm provides this: [SeatDefaults] user-session=gnome-fallback10:01
zygacjwatson: I didn't expect anything less :)10:01
xnoxalkisg: to get upstart unity session you need to specify DESKTOP_SESSIOn10:01
zygacjwatson: ok, I'll look at the current API and get back to you10:01
Unit193Considering, there's at least unity-greeter and lightdm-gtk-greeter for defaults?10:02
zygacjwatson: thanks!10:02
xnoxalkisg: in the case user doesn't choose it, LDM doesn't do it.10:02
alkisgxnox: that's another issue, yes, otherwise it hangs10:02
alkisgIt doesn't bail, it just hangs10:02
xnoxalkisg: thus it is broken and doesn't laucnh ubuntu.desktop xsession correctly.10:02
alkisgBut OK we can do that10:02
=== dupondje_ is now known as dupondje
cjwatsonzyga: sure.  I'd been planning to look at tarmac myself on the grounds that I was expecting to have to evolve the webservice a bit in parallel with working on it, but don't mind a slightly shorter to-do list ;-)10:03
alkisgxnox: anyway, to sum up... are you williing to add support for empty parameter in 00upstart as you said?10:03
zygacjwatson: one thing I'd like to do with tarmac is to rip it in half later so that one can build a good web UI on top10:03
zygacjwatson: so that tarmac just runs somewhere in the back10:03
zygacjwatson: and people have live visibility into it10:03
cjwatsonI'll leave that up to you :)10:03
xnoxalkisg: DESKTOP_SESSION must be set though. and with empty parameter i don't see how that would be supported.10:03
alkisgxnox: I'll push code to LDM to set DESKTOP_SESSION10:04
zygacjwatson: as for tarmac and launchpad itself, what do you require to run tests?10:04
cjwatsonfrom our point of view, well, right now what we have is pqm.launchpad.net which returns a mostly empty page unless it's actually in the process of merging something, practically anything would be an improvement10:04
zygacjwatson: what does tarmac do for you?10:04
zyga(apart from merging)10:04
cjwatsonzyga: nothing10:04
alkisgxnox: or, I can send you a patch that sets it in 00upstart if you prefer10:04
zygacjwatson: it doesn't run tests?10:04
cjwatsonzyga: right now we're just looking for a merge robot10:04
alkisgThat ^ would be saner10:04
cjwatsonzyga: we don't use tarmac today10:04
zygacjwatson: ah, ok, thanks10:04
xnoxalkisg: no.10:04
cjwatsonzyga: our tests are run separately by buildbot, post-merge10:05
alkisgxnox: it would be best if we wouldn't have to rewrite all DMs to support the newest upstart scheme that will go away in 2 years... :-/10:05
xnoxalkisg: earlier you said DESKTOP_SESSION is set....10:05
cjwatsonzyga: (but pre-deployment)10:05
alkisgxnox: that's what I'm working on now10:05
xnoxalkisg: DESKTOP_SESSION is a generic thing from freedesktop.org10:05
alkisgxnox: so in my tries since this morning, I have a patch that sets it10:05
alkisgOK, then I'll fix that in LDM10:05
xnoxalkisg: .... so there is nothing for me to test. i'm out.10:05
cjwatsonzyga: so we just need something where authenticated developers can send a merge instruction10:05
alkisgxnox: the empty one?10:06
alkisgDidn't you say you're willing to do that?10:06
cjwatsonzyga: (right now, it's signed e-mail to pqm, we'd be open to sensible alternatives, preferably CLI)10:06
cjwatsonzyga: but aiui tarmac just takes top-approved MPs?10:06
alkisgxnox: thanks a lot for your time, I'll file the bug against upstart and work around it from the LTSP code10:07
zygacjwatson: it has some knobs to tweak, yeah but it looks at approved MRs in general10:07
xnoxalkisg: the bug is in LDM, it should (a) parse desktop sessions (b) use freedesktop DESKTOP_SESSION10:07
xnoxat the moment it does neither10:07
alkisgxnox: I patched (b)10:08
alkisgAnd it does (a)10:08
zygacjwatson: you can define how voting works in a limited way10:08
cjwatsonzyga: right, so that would probably be basically fine for us, as long as we can turn off any test running and such10:08
alkisgxnox: we do present a list to the user, it's in another script called ldminfod10:08
xnoxalkisg: it doesn't do (a).10:08
xnoxalkisg: it only ever parses "foo.desktop" if user asked for "foo" but how would a user know that?10:08
alkisgxnox: at that point in the script I sent you, the user has selected the combobox entry of ldm that ldminfod sent10:08
alkisgLet me give you the link to ldminfod...10:09
alkisgxnox: anyway please don't focus on ldm10:09
alkisgI'm wasting your time that way10:09
alkisgPlease only mention that one thing:10:09
zygacjwatson: yeah, tests are opt-in, nothing happens by default10:09
alkisgxnox: in 00upstart,     if [ "$BASESESSION" = x-session-manager ]; then10:10
alkisg==> are you willing to add a || -z $BASESESSION there?10:10
cjwatsonzyga: we might need to tweak its policy a bit, but meh, it has plugins.  I think the policy we probably want is "top-approved by a member of ~launchpad", which isn't something tarmac supports natively10:11
cjwatsonzyga: or maybe "top-approved plus at least one Approve vote by a member of ~launchpad"10:12
cjwatson(latter probably more sensible)10:12
xnoxalkisg: no10:12
cjwatsonmind you, LP's own security on setting MPs to top-approved might be sufficient10:13
alkisgxnox: ok, thanks a lot for your time, I'll work around that bug in ltsp.10:13
xnoxalkisg: parse all .desktop sessions, over user a choice, there is no choice "default" since there is no default.desktop file, execute it property with DESKTOP_SESSION set and Exec= line from the .desktop file, that's only way how each of the DEs support being started via xsession.d scripts in Ubuntu Project as a whole.10:14
xnoxand elsewhere in other freedesktop compliant DEs and other login managers (e.g. gdm, mate, etc.)10:14
xnoxssdm and so on.10:14
alkisgxnox: you have misunderstood a *LOT* of what I said and what we do. It might be due to english not being my native language10:14
alkisgWe do parse all .desktop sessions10:15
alkisgI've said it a lot of times, I don't know why you're still saying that we don't10:15
alkisgI never said that there's a "default" choice10:15
xnox.... yet still have default) case in the script you pointed me to, which should never be executed.10:15
alkisgI don't know why you're saying that10:15
alkisgI don't want to set the Exec line though10:15
alkisgIt's against the standards10:15
xnoxthere is no /usr/share/xsessions/*.desktop file in ubuntu with empty Exec line10:16
alkisgI will put a script to work around the upstart bug, but not set the Exec line10:16
alkisgcheck man Xsession10:16
xnoxyet you somehome "parse" them and provide empty "exec" line.10:16
alkisgLDM wants to support the default Xsession in the sense of xorg10:16
xnoxalkisg: you suppose to get exec line from .desktop file.10:16
alkisgNot in the sense of xnox10:17
alkisgNo10:17
alkisgI'm not supposed to do that unless the user specified that10:17
xnoxalkisg: in the sense of xorg, there is no such sessions in ubuntu. We moved on to freedesktop specs from xorg.10:17
alkisgEither from a menu, or from a config file10:17
xnoxalkisg: keep up with recent times.10:17
alkisgFor one -z line?10:17
alkisgThat's why we're arguing for 1 hour...10:17
alkisgYou can support running plain xsession with one -z10:18
alkisgAnd you don't want that10:18
alkisgOK, I don't mind10:18
alkisgBut I do want to support it in ltsp10:18
* alkisg is sad because he appreciates xnox a lot... hopefully he knows that :-/10:22
=== alkisg is now known as work_alkisg
pitticjwatson, apw, Laney, utlemming, etc.: debootstrapping wily is fixed now, FTR10:50
cjwatsonThanks10:50
Laneygood stuff10:50
pitticjwatson: I added a gross hack to /usr/share/debootstrap/functions to use local .debs10:50
pittiI wonder why after all these years the debootstrap maintainers never needed that ;)10:51
cjwatsonProbably everyone just did the same local hack when they did and never worked out how to productionify it10:51
highvoltageis it new that the ubuntu image builders do an upgrade instead of building the image from scratch? (was just surprised looking at today's build failure but I've also admittedly not kept track for the last release)10:52
cjwatsonThey don't10:52
cjwatsonI mean, there's probably an upgrade in there due to live-build, but it's incidental10:53
highvoltageyeah in today's failed build it was...10:53
highvoltage63 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.10:53
cjwatsonhighvoltage: That's just upgrading the buildd base image10:54
highvoltagebut good to know that it's just incidental10:54
cjwatsonhighvoltage: It doesn't relate to the output live image10:54
cjwatsonhighvoltage: You can see further down that there's still a debootstrap10:55
rbasakslangasek: with your unixodbc maintainer hat on, please could you take a look at bug 1319701? In particular, I'm not sure your changelog message in bug comment #7 is true based on what upstream are saying in #5.10:56
ubottubug 1319701 in php5 (Ubuntu) "ODBC apps different SQLLEN sizes linked against same DM" [Undecided,Confirmed] https://launchpad.net/bugs/131970110:56
=== oSoMoN__ is now known as oSoMoN
strikovI'm trying to install udev-dbgsym on trusty and this operation fails because udev 204-5ubuntu20.11 is available in -updates but only udev-dbgsym 204-5ubuntu20 (without .11 at the end) is available in ddebs. Is it expected? More details: http://pastebin.ubuntu.com/11243234/11:31
strikovrbasak: Hi! Do you any thought on ^^^11:32
strikov* Do you have any thoughts on ^^^11:32
cjwatsonstrikov: The ddeb publishing mechanism was inherently unreliable for all builds that happened up to the end of last month.11:39
cjwatsonstrikov: As of the end of last month, they're stored in Launchpad and we won't lose them; but if a ddeb built before that isn't on ddebs.ubuntu.com, it's lost.11:39
strikovcjwatson: I see, thanks. So that's somewhat expected.11:40
cjwatsonIt's not surprising, at least.11:41
rbasakThanks cjwatson. strikov: I didn't know anything about this really. Do you need any help from me? If you're doing what I think you're doing, can you rebuild systemd locally, update a cloud image locally with that build and then use the ddeb you produced locally if that reproduces the issue?11:43
strikovrbasak: I think I'm fine. I wanted to know which ID_PATH has been generated for virtio devices before udev guys disabled this functionality. I finally found this value on precise. I wanted to do some gdbing on trusty but not it's not really needed. Thanks anyway!11:46
strikovrbasak: ID_PATH looks like pci-0000:00:04.0-virtio-pci-virtio2 and helps you to identify the specific device in udev rule11:47
rbasakI see. Makes sense.11:48
strikovrbasak: Unfortunately this ID_PATH is not generated for virtio devices anymore. Point behind this decision is that order of virtio devices can be randomly shuffled on vm reboot hence we can't rely on ID_PATH value11:50
mgedminwhich package is responsible for creating /root/.profile?12:09
mgedminbecause https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/1167281 clearly shouldn't be assigned to xen12:09
ubottuUbuntu bug 1167281 in xen-3.1 (Ubuntu) ""stdin: is not a tty" due to "mesg n" instead of "tty -s && mesg n" in .profile" [Undecided,Confirmed]12:09
ogra_pitti, did we forget to switch the anacron cron.d job to systemd ? https://lists.ubuntu.com/archives/ubuntu-users/2015-May/280909.html12:11
=== _salem is now known as salem_
=== dbarth_ is now known as dbarth
tjaalton   Loaded: loaded (/lib/systemd/system/anacron.service; enabled; vendor preset: enabled)12:30
tjaaltonworks fine for me12:30
seb128mardy, thanks for looking at that fb integration issue!12:33
pittiogra_: the .service is there (as tjaalton said), there might be this "start -q anacron" somewhere still, though12:33
pittinot in /etc/cron.d/anacron, that uses invoke-rc.d12:34
ogra_i wonder how the user got to that state then12:34
ogra_seems he has the old /etc/cron.d/anacron ...12:34
pittiah, the joys of old conffiles12:37
mardyseb128: yw!12:49
mardyseb128: I also commented here: https://bugzilla.gnome.org/show_bug.cgi?id=74899113:01
ubottuGnome bug 748991 in web-sharing "Error to publish on Facebook" [Major,New]13:01
geserpitti: do you have an idea why https://launchpadlibrarian.net/205906374/buildlog_ubuntu-wily-amd64.cpl-plugin-amber_4.3.3%2Bdfsg-2_BUILDING.txt.gz failed during building the ddebs? does the package something wrong? (some more cpl-plugin-* fail with the same error)13:03
seb128mardy, thanks13:04
pittigeser: not off-hand; building locally13:12
pittigeser: would you mind filing a bug against pkg-create-dbgsym for now? sounds like another special case with this funny override_dh_gencontrol-indep13:18
geserpitti: done; bug #145703813:23
ubottubug 1457038 in pkg-create-dbgsym (Ubuntu) "Builing the -dbgsym packages for cpl-plugin-* fails" [Undecided,New] https://launchpad.net/bugs/145703813:23
pittigeser: thanks13:23
micahgLaney: yep, trying to move some things along13:29
=== work_alkisg is now known as alkisg
slangasekrbasak: Debian and Ubuntu were always using a 64-bit SQLLEN on 64-bit archs despite this not being the upstream ABI, because the upstream ABI was broken and there was no reason to keep compatibility with it14:03
rbasakslangasek: I see, thanks.14:08
rbasakslangasek: I don't really follow this bug at all though :(14:08
rbasakAnyway, I guess it's not that important in the grand scheme of things.14:09
=== oSoMoN__ is now known as oSoMoN
pittirbasak: ok, the mystery in bug 1450053 just became a lot smaller :)15:13
ubottubug 1450053 in mysql-5.6 (Ubuntu) "upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1" [High,Incomplete] https://launchpad.net/bugs/145005315:13
slangasekrbasak: what is "PDO ODBC"?15:16
slangasekoh that php odbc nonsense15:17
slangasekyeah so I don't know how that package was built to get 32-bit SQLLEN, but it's not unixodbc's fault ;)15:18
rbasakYeah. PHP ships two separate modules. odbc.so, and pdo_odbc.so.15:18
rbasakI presume two different APIs or something from the perspective of a PHP user. Not really sure.15:18
rbasakpitti: I'm still a little confused as to how that happened. mysql-5.6 in Trusty and Utopic is SysV only I think.15:20
pittirbasak: perhaps he has -5.5 installed? that's the most plausible explanation so far15:25
rbasakI guess. It should have got upgraded though.15:26
=== matsubara_ is now known as matsubara
micahghi pitti, you seem to be TIL on libgphoto2, was this a merge you were planning on doing?  There's at least one thing in dependency wait for it15:31
pittimicahg: ah, can do; queueing for tomorrow15:32
micahggreat, thanks15:32
=== salem_ is now known as _salem
pittirbasak: ah, mariadb :)15:38
=== _salem is now known as salem_
=== oSoMoN_ is now known as oSoMoN
rbasakpitti: ah. Thank you for working that bug.16:31
=== alkisg is now known as work_alkisg
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== utlemming is now known as utlemming_away
=== utlemming_away is now known as utlemming

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