/srv/irclogs.ubuntu.com/2010/12/23/#ubuntu-devel.txt

psusicjwatson, back in june I tinkered with ureadahead to have it use the pipe method instead of the log file method for ftrace... this eliminated the need to preallocate a buffer to hold the full trace, and instead has ureadahead parse the trace log in real time.  would you be interested in it if I rebased it and proposed merging?00:28
psusicjwatson, err, nevermind, I meant keybuck00:30
psusiKeybuk, back in june I tinkered with ureadahead to have it use the pipe method instead of the log file method for ftrace... this eliminated the need to preallocate a buffer to hold the full trace, and instead has ureadahead parse the trace log in real time.  would you be interested in it if I rebased it and proposed merging?00:31
psusiohh, you've merged that fragraph.py.. I couldn't remember who gave me that00:47
=== mtaylor|afk is now known as mtaylor
ari-tczew@pilot out02:36
=== udevbot changed the topic of #ubuntu-devel to: Archive: Open | Development of Ubuntu (not support, not app development) | #ubuntu for support and general discussion for dapper -> maverick | #ubuntu-app-devel for application development on Ubuntu | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs | Current Friendly Patch Pilots:
dholbachgood morning!06:56
=== vila is now known as vila-afk
zygahi10:00
zygadjango has released security releases for all production branches, are we going to get that in lucid + ?10:00
zygatwo security bugs were fixed10:00
apwdholbach, morning10:25
dholbachhey apw10:25
apwanyone else seeing gdm greeter repeatedly crashing before it prompts ?10:25
apwdholbach, nothing works for me today its most depressing10:25
dholbachhum... is anything in /var/log/Xorg.0.log or /var/log/gdm/* about that?10:26
dholbachapw, it certainly works for me (in a vm)10:27
dholbachmaybe the #ubuntu-desktop mafia can help?10:27
apwdholbach, yeah continius errors about window==NULL10:28
dholbachhum, no idea what that is about10:28
apwdholbach, will ask the #u-d mafia, but i bet they are all gone10:30
dholbach^ RAOF, bryceh?10:31
dholbach(only ones I could find :-))10:31
apwheh both in other timezones tho ... sigh10:32
apwdholbach, that will teach me to dogfood, we cannot be trusted to not push poo before a break10:33
ricotzthis is a problem with the gtk+ packages10:33
apwricotz, yeah you seeing it too?10:34
ricotzyes10:35
dholbachok, I see it too :)10:35
ricotzi am not sure yet, what the real cause is, but the gtk+3.0 dev is broken10:35
ricotzalso the gobject-introspection packaging it messed up :(10:36
* apw wonders who to slap10:37
dholbachI don't see anything obvious in http://launchpadlibrarian.net/61126003/gtk%2B3.0_2.91.7-0ubuntu1_2.91.7-1ubuntu1.diff.gz10:37
ricotzdholbach, it is 2.91.7 the tarball doesnt ship all needed *.pc files10:37
dholbachaha10:39
apwdholbach, doesn't seem robert is on IRC, at least if his IRC entry is accurate anyhow10:39
dholbachno seems like he's not around10:40
* apw thinks we need a word about shipping upgrades and then going on holiday before they are even built10:41
apwricotz, does it help if i downgrade to .6 ... as confirmation that is the broken component?   seems i have them in my cache10:42
ricotzapw, i think this could help, but the gtk+2.0 update might have a problem too10:43
apwricotz, gurgle, ok i'll try that downgrade and report back10:43
ricotzi uploaded a git snapshot of gtk+3 to my ppa, it might fix some problems for me10:44
apwricotz, ok downgrading the 3.0 stuff did not help10:44
ricotzapw, so if the problem persists i can try to downgrade gtk+2.0 too10:45
apwricotz, ok downgrading the 2.0 as well seems to get me a gdm prompt at least10:46
apwdholbach, a nice mess and no mistake10:46
ricotzapw, you might want to go back to gtk+2.0 2.23.210:47
ricotzah, nevermind10:47
apwricotz, i think thats the version i had before, yes10:47
apwricotz, thanks for your help finding the errant packages so quick10:48
ricotzapw, oh another thing10:48
ricotzapw, are there known problem with 2.6.37-11 and nvidia blob10:49
dholbachricotz, https://lists.ubuntu.com/archives/ubuntu-devel/2010-December/032244.html?10:49
apwricotz, not that i've heard about, but the binary blobs normally explode when we change the kernel10:49
dholbachapw, I agree it's not nice to be stuck with a problem like that, but I'm sure Robert really didn't mean to sabotage you10:50
dholbach(or whoever else uploaded the change that made things break)10:50
apwdholbach, i know he didn't do it deliberatly :)  but shipping a primary library change as a break starts is asking for trouble10:50
apwthats why we did our last kernel update 4 days before we went offline :)10:51
ricotzdholbach, alright, that might be it10:51
dholbachricotz, I filed a bug about mine10:51
apwricotz, cirtainly you cannot have =keep turned on with those binary blobs, they do not cope with the card being initialised10:52
apwricotz, which is pretty crap given they are from the vendors of the devices and they have the manuals for the chipsets and everything10:52
apwricotz, is there a bug on this gtk stuff yet?10:53
ricotzapw, yeah, i want to try the nvc0 nouveau branches at some time, but right now i need to use the blob :(10:53
ricotzapw, i havent filed one, so maybe not10:53
apwdholbach, you ?10:53
dholbachI didn't file a bug on the gtk stuff10:54
* apw will file one10:54
apwricotz, did you say it was missing the .pc files ?10:54
ricotzyes, the gtk+3 one but that is an upstream issue which is fixed10:55
apwricotz, ok i will leave the description plain without that and just include the work around10:58
apwhttps://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/69373710:58
ubottuUbuntu bug 693737 in gtk+2.0 (Ubuntu) "gtk+2.0 update 2.23.3-1ubuntu2 update triggers repeated gdm greeter crashes" [Undecided,New]10:58
apwdholbach, this machine is turning into a right frankenstein, udev and gtk held back now to get a clean boot ... sigh, at least the kernel works10:59
dholbachapw, there's times that have been worse I think :-)11:00
apwdholbach, that i can believe, no chance of working CDs over the break sadly11:02
apwthat will upset cert11:02
ari-tczewzyga: ask on #ubuntu-hardened11:45
zygathanks11:49
=== yofel_ is now known as yofel
=== Quintasan_ is now known as Quintasan
vishcjwatson: hi, regarding Bug #548981 , I'd marked the dpkg task as fixed, since tedg mentioned in the session that it was fixed in dpkg. I dont know the commit# though. Maybe we can ask tedg when he returns from his vacation..12:45
ubottuLaunchpad bug 548981 in indicator-session (Ubuntu) "Indicator should only turn red after the last package has been installed" [Low,Triaged] https://launchpad.net/bugs/54898112:45
=== freeflyi1g is now known as freeflying
cjwatsonvish: *shrug* as far as I know he was mistaken, since this is plain-and-simple not a problem in dpkg itself, but I don't know that it matters all that much.  I was just trying to stop people searching for a non-existent fix.13:23
cjwatsonvish: (I upload dpkg to Ubuntu, tedg doesn't ;-) )13:24
vishcjwatson: yea, i know.. :)13:24
SpamapSDoes anyone have experience with nfs root mounted systems? I'm specifically curious about how sm-notify works without any local storage to tell us who to notify.14:16
SpamapShrm, seems like one would need a dedicated /var for each client or reboot notification isn't going to happen.14:32
matti:>15:18
ari-tczewcjwatson: is sync tor on todo archive admins?15:28
cjwatsonari-tczew: yes15:30
=== dholbach_ is now known as dholbach
=== akshatj is now known as akshatj|study
jhuntSpamapS: re bug 690401 - apologies: your RLEVEL logic is of course correct: seemingly my16:35
ubottuLaunchpad bug 690401 in nfs-utils (Ubuntu Lucid) "statd startup races with / becoming writable (dup-of: 581941)" [High,Confirmed] https://launchpad.net/bugs/69040116:35
jhuntbrain doesn't parse shell syntax as well as the shell!16:35
ubottuLaunchpad bug 581941 in nfs-utils (Ubuntu Lucid) "statd does not start automatically when needed nor can be forced to start on boot" [Medium,Triaged] https://launchpad.net/bugs/58194116:35
jhuntSpamapS: I'm still confused by the whole runlevel thing though. Keybuk has pointed out that "there be demons" with the "start on... runlevel" logic proposed.16:37
SpamapSjhunt: it does indeed feel as if I've set off on a voyage destined for the edge of the map, not down the coastline ;)16:39
SpamapSjhunt: the problem is, if we just drop the 'start on started portmap' then when portmap is restarted, we won't start back up.. and if we drop both.. then we won't pick up the new portmap16:40
SpamapSjhunt: so I truly want to express "start on started portmap and run level is one of [2345]"16:41
SpamapSit may be better to simply do a check for /var being writable.16:42
sladenokay, who did an upload today and turned GDM into a 1 Hz flashing rectangle of white ?16:43
SpamapSsladen: santa's little helper?16:44
sladenSpamapS: the timing is excellent16:46
* SpamapS was just about to do-release-upgrade -d .. will hold off ;)16:46
sladenbryceh: ^^ would the failsafe change to xorg yesterday have made login impossible?16:46
ScottKsladen: Probably either a security feature or trying to make training simpler for corporate clients.16:47
sladenScottK: there's certainly no risk of a GUI login, accidental, malicious, or intended16:49
ScottKsladen: Right.  Thus it's secure and training costs are minimal.16:50
sladenScottK: the wonderful thing is I can't file a but from lynx about not being able to file bugs from lynx either :)16:51
sladensabdfl keeps asking me for a get-out-of-jail pen-drive image ... could do with it now16:52
KeybukSpamapS: err16:53
KeybukSpamapS: even with the portmap, when portmap is restarted, that job won't start back up again16:53
Keybukso you're already putting diesel in the tank16:53
Keybukand worrying about your mileage varying16:54
SpamapSKeybuk: can you explain further?16:54
Keybuksure16:56
Keybukso you've done:16:56
Keybuk  start on one-thing and another-thing16:57
Keybukright?16:57
Keybukthat doesn't work the way anyone thinks it does16:57
Keybukand while it works as designed, the design is wrong16:57
Keybuk"and" means both events must happen for the job to be started16:57
SpamapSI did do that, however slangasek pointed out that it will cause a deadlock so I think I have to remove the and16:57
Keybukbut, it also means, once the job is stopped, BOTH events MUST happen AGAIN16:57
Keybukso if you do16:58
Keybuk  start on started portmap and net-device-up lo16:58
Keybukthen restarting portmap will stop statd16:58
Keybukbut won't start it back up again16:58
Keybukbecause it's waiting for the network device to come up16:58
SpamapSthe logic I've proposed is   start on started portmap OR mounting TYPE=nfs OR runlevel [2345]16:58
Keybukit was "AND" last time I looked ;-)16:59
SpamapSthe one that steve took issue with was   start on started portmap OR (local-filesystems and mounting TYPE=nfs)16:59
Keybukyeah, basically avoid and unless you really know what you're doing16:59
Keybukif you have a problem, and doesn't solve it16:59
Keybukit gives you new and worse problems16:59
Keybukso17:00
Keybukwinding back a bit17:00
KeybukI'm trying to understand what you're trying to change17:00
SpamapSright, some of the discussion has been going on in a merge proposal..17:00
=== jelmer_ is now known as jelmer
Keybukwell, that, and all the discussion is filed under TL;DR at this point17:00
KeybukI assume you're working on a fix for that fact that statd doesn't get started on boot if you don't mount an NFS share?17:01
SpamapSright, well I've got you now so.. to answer your bigger question.. I just want to make sure that we *don't* try to start statd before /var is writable...17:01
Keybukwhy before /var ?17:01
SpamapSsm-notify has to write to /var/lib/nfs17:02
Keybukok, so why not:17:02
Keybuk  start on local-filesystems17:02
SpamapSthinking17:02
SpamapSis that event emitted on nfsroot only setups?17:03
Keybukno idea17:03
KeybukI've never tested nfsroot17:03
Keybukit's emitted by mountall17:03
Keybukand I think mountall has always had issues with nfsroot setups ;)17:04
SpamapSAlso it would require that all local filesystems are mounted before nfs.. but.. that actually is what I'm looking at doing anyway.. just documenting that fact.17:04
slangasekKeybuk: it's not "start on local-filesystems" because it will race portmap, which only depends on virtual-filesystems17:05
Keybukwill it race portmap?17:05
Keybuksomeone's stuck start portmap in the statd pre-start17:05
SpamapSright17:05
slangasekhm17:05
Keybukthere may not be an ideal solution for this today17:05
Keybukbut I'd like to at least know what the ideal solution should be so I can test that works in upstart217:05
slangasekright, I suppose that should work then17:05
SpamapSwill start block if a job is already goal==start but not running?17:06
Keybukwhile advising on a hack to solve the bug that is open today17:06
KeybukSpamapS: no, but then there's a status portmap right after the start portmap ;-)17:06
SpamapSKeybuk: which will fail the pre-start .. which means we then don't start statd right? or does it mean it will be tried again?17:06
Keybukthere's a small race there that may mean it won't be tried again17:07
Keybukif portmap gets started between the point the status call gets told it's not running and stops the job17:07
SpamapSwell this is handled by the OR started portmap17:07
Keybukright, but there's a race there17:07
SpamapSif we just add a check to either sm-notify, or the pre-start, that makes sure /var is writable before we try to run sm-notify17:08
KeybukI think the problem is with the NFS shebang is that too many start conditions are trying to be encoded17:08
Keybukyou want to start on boot17:08
Keybukbut simultaneously before and after some event17:08
SpamapSIts ok to try it when portmap is started and on local-filesystems, as long as we only go forward after /var/lib/nfs is writable.17:08
Keybukand if the event doesn't happen17:08
KeybukSpamapS: I don't think you can encode that today17:09
SpamapSRight it does seem like there is a singular sync point that we want to hit17:10
SpamapSafter portmap, after local filesystems, before mounting any nfs mounts17:10
Keybukmaybe the right thing to do is to try and draw the conditions17:10
Keybukif we can see the possible timelines, it may be more obvious17:10
SpamapSRight.. as I'm drawing.. is local-filesystems ever emitted before virtual-filesystems?17:12
Keybukno, I think that's an invariant in mountall17:12
Keybukit always does virtual, local, remote17:12
Keybukok, checked17:12
Keybukit enforces virtual before local17:12
Keybukand enforces virtual before remote17:12
Keybukbut you may get17:12
Keybukvirtual, local, remote17:13
KeybukOR virtual, remote, local17:13
SpamapSit is..17:13
SpamapSone of the conditions for firing local-filesystems is virtual_triggere17:13
SpamapSd17:13
Keybukyes17:13
SpamapSso start on local-filesystems hits the mark exactly17:13
Keybukyou might want:17:14
Keybuk  start on local-filesystems or started portmap17:14
SpamapSIts still possible that this will be too late for statd, but that is something that people configuring systems must be conscious of.17:14
Keybukto pop up the restart on upgrade case17:14
Keybukmop up, sorry17:14
slangasekbut then the 'or started portmap' races the rw mount of /var/lib in the on-boot case?17:15
SpamapSRight, unless we say either "but not during bootup" or "but only if /var is writable"17:15
SpamapSwhich I think is ok for a pre-start .. no?17:15
slangasekand if local-filesystems isn't handled synchronously, the whole thing can still race an attempt to mount an nfs shar17:16
slangaseke17:16
slangasekat boot17:16
SpamapSslangasek: indeed, local-filesystems is not waited on.. however17:16
SpamapSstart on mounting TYPE=nfs *is*17:16
Keybukright, local-filesystems is a signal17:17
Keybukmounting is a hook17:17
Keybukthis is why I'm trying to get thinking in terms of a timeline17:17
slangasekSpamapS: which doesn't help us if you can't mention 'mounting' in the job because we can't use AND :)17:17
Keybuk v | <-----> (portmap)17:17
Keybuk          | l17:18
Keybukvs17:18
Keybuk v | <-----> (portmap)17:18
Keybuk               | l17:18
SpamapSslangasek: we don't need AND17:18
Keybukin those two cases, where should this go?17:18
slangasekSpamapS: what we need is: statd started after portmap, after /var/lib is mounted rw, and before any attempts to mount an nfs filesystem17:19
Keybukdo you need statd to mount an nfs filesystem?17:19
slangasekyes17:19
KeybukI thought statd was for when someone was mounting yours17:19
Keybukbecause you definitely also need statd for when someone is mounting *your* NFS filesystems17:20
slangasekit's also needed on the client side17:20
Keybukwhich means it's much more complicated than what you just said17:20
Keybukbecause then it's17:20
Keybukstatd started after portmap, after /var/lib is mounted rw, before any attempts to mount an nfs filesystem and if there are no nfs filesystems17:20
slangasekKeybuk: "when someone is mounting your NFS filesystems" comes later; nfs-kernel-server isn't even converted to upstart yet17:20
Keybukslangasek: statd doesn't get started in that case ;-17:20
slangasekKeybuk: right, sorry, I was implying that part17:21
Keybukyou realise of course that upstart will only stop the *first* attempt to mount an nfs filesystem >17:21
slangasekyep :/17:21
Keybuk(which I guess is ok, because mountall waits anyway)17:21
Keybukso that looks something like:17:21
Keybuk  start on started portmap \17:21
Keybuk      and local-filesystems \17:22
Keybuk    and mounting TYPE=nfs17:22
SpamapSslangasek: maybe portmap should start on a mounted, rather than virtual-filesystems ..17:22
slangaseknope17:22
slangasekthere's no way to use 'mounted' to describe what you want in the general case17:23
slangasekbecause fstabs are varied17:23
SpamapSand if you do an and.. kittens suffer capital punishment..17:24
Keybuknot always, it just pays to think17:24
SpamapSwell wait17:24
SpamapSit will fail to start if portmap isn't started yet right?17:25
Keybukin the above case, for example, it will all go very badly wrong17:25
SpamapSso the OR still works.. the second attempt will succeed17:25
KeybukSpamapS: no17:25
KeybukSpamapS: unfortunately you have a race17:25
Keybukagain, think in terms of timelines17:25
SpamapSI'm drawing it right now.. ;)17:25
Keybuk | <--> : (status, portmap is not started)17:26
Keybuk     |  : (portmap is started )17:26
Keybuk        | (job is stopped)17:26
Keybukit's possible for started portmap to happen while the result of start portmap/status portmap being still in transit back to the job17:27
Keybukin which case the job is in JOB_START when it gets told "portmap started"17:27
slangasekhow about: start on started portmap $post_boot or (started portmap $at_boot and local-filesystems) or mounting TYPE=nfs?  Or was the magic to distinguish between boot-time and post-boot start of portmap rejected when I wasn't looking?17:27
Keybukslangasek: hmm, that's quite a nice idea - though how would you put the magic in?17:27
slangasekKeybuk: it was SpamapS's idea to get the portmap job to export some appropriate variables; neither of us had quite worked out yet what the mechanism for that was17:28
Keybukyou can export variables from events that started you17:29
Keybukso if you did something like:17:29
Keybuk  start on virtual-filesystems and net-device-up IFACE=lo17:29
Keybuk  exec initctl emit start-portmap ON_BOOT=yes17:29
Keybukthen in portmap.conf17:29
Keybuk  start on start-portmap17:29
Keybuk  export ON_BOOT17:29
Keybukyou can do elsewhere17:29
Keybuk  start on started portmap ON_BOOT=...17:29
Keybuk(you need the middle-man job to start portmap, rather than portmap having its own condition)17:30
SpamapSah so you can only export from events..  not from the environment17:30
Keybuktbh, I suspect this NFS stuff would get a lot easier to understand if we just had all the NFS-y things having17:30
Keybuk  start on NEED_NFS=y17:30
Keybukand something else actually emitting those events ;)17:30
Keybukerr17:30
Keybuk  start on need-nfs ;-)17:30
KeybukSpamapS: upstart doesn't know the environment of its children17:30
KeybukSpamapS: only the environment it gave to its children17:30
Keybuk(UNIX 101, dear)17:30
* SpamapS was obviously a bit hung over that day. :/17:31
Keybuk. o O { of course, upstart could look at /proc/$PID/environ at the point of the started event and re-import that }17:32
slangasekso that gives us 'start on started portmap ON_BOOT= or (started portmap ON_BOOT=yes and local-filesystems)' ?17:32
KeybukI think so17:33
SpamapSMakes sense to me.17:33
SpamapSso then just add a portmap-boot.conf that sets that17:34
slangasek... plus the 'or mounting TYPE=nfs' which fell off the end of my cut'n'paste17:34
SpamapSslangasek: wait, or? I thought it was and.17:35
SpamapSstrike that17:35
slangasekk17:35
SpamapSwhat about the timeline where portmap is not started yet, but we hit mounting TYPE=nfs17:35
slangasekSpamapS: we keep the 'start portmap' in the pre-start script for that17:36
SpamapSWhich won't block if its start/pre-start, or will it?17:36
slangasekI've seen evidence to suggest that it might not block in that case, but if so that might be an upstart bug17:36
SpamapSchecking17:39
=== vila-afk is now known as vila
SpamapSno17:40
SpamapShttp://paste.ubuntu.com/546986/17:40
SpamapSyou will just get an error "job is already running"17:40
SpamapSeven though its not, its in pre-start17:40
Keybukslangasek: it does not block, and it is considered an upstart bug17:41
slangasekKeybuk: fixable in the near-term?17:42
Keybuk(it's one I have a solution for I'm very proud of :p)17:42
slangasekuhoh ;)17:42
Keybukslangasek: it's not on the natty list17:42
slangasekSpamapS: so anyway, there would still be a race condition there as a result of the upstart bug; but it would be a smaller race window than what we have now, and it needs to be fixed in upstart17:42
SpamapSquite a bit yes I agree17:43
slangasekso we might try this route and see how close that gets us to something usable?17:43
SpamapSquite a bit smaller I mean17:43
SpamapSYes, it seems a very tiny window. We should probably do a best-effort check for things that may cause portmap to start slowly.17:44
Keybukyou could also just do a loop in the pre-start checking the result of status17:45
slangasekI didn't write it that way initially because of a conversation we had where you were very vehement about not doing that ;)17:45
Keybukoh, I may have been vehemently misunderstanding your intentions17:45
slangasekso, while ! status portmap | grep -q start/running; do sleep 1; done17:46
brycehsladen, oh I would highly doubt it17:47
SpamapSslangasek: should also have the start in there.. what if it failed, we'd spin forever without even trying to rectify the situation.17:47
SpamapSKeybuk: thanks for taking time to help out. :)17:49
SpamapSslangasek: ^ you too. :)17:49
* SpamapS will bbiab17:49
=== dendrobates is now known as dendro-afk
sladenbryceh: seems to be somewhere in the asychronous DBusy soup18:11
brycehsladen, ah18:14
=== dendro-afk is now known as dendrobates
slangasekSpamapS: yes, wasn't suggesting removing the 'start' line, just fixing the line after it18:22
=== tkamppeter_ is now known as tkamppeter
=== sladen changed the topic of #ubuntu-devel to: Archive: Open | Natty GDM Login broken: Bug #693737 | Development of Ubuntu (not support, not app development) | #ubuntu for support and general discussion for dapper -> maverick | #ubuntu-app-devel for application development on Ubuntu | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs | Current Friendly Patch Pilots:
keesany archive admins around? I'm trying to figure out why "tor" hasn't appeared in natty yet.18:56
ari-tczewkees: +118:56
ari-tczewI asked today about this case18:56
keesyeah, I though it was stuck in NEW, but I don't see it.18:57
micahgkees: my guess is the AAs were finishing up EOY tasks18:58
keeshm, actually, in looking at natty-changes, it seems there hasn't been a Debian sync in a while.19:01
micahgright, hence my theory :)19:02
* kees scratches his head19:02
keesmaybe the auto syncs don't show up.19:02
micahgkees: no, they show up as Ubuntu Installer19:02
keesI was thinking those were requested syncs, not auto syncs19:02
micahgkees: requested syncs show up with the name of the requestor19:03
keeshm, no, it looks like auto sync doesn't show up. e.g. libdisasm does not appear in maverick-changes even though it was updated in maverick during an autosync19:05
dobeyis there a document on the wiki that explains how to go about getting new binary packages added to the default install/cd? i'm having trouble finding one if so, and trying to find some clear explanation of that process19:06
micahgkees: it seems you're correct, I apologize for the wrong information :)19:09
keesmicahg: heh, no worries. I guess it was turned off due to the flood it would create.19:09
keesunfortunately, I'm back to wondering when the last autosync was. :P19:09
kees(and where tor ran off to)19:10
micahgkees: well, the bug's not closed, so it probably just hasn't been processed yet19:10
* kees nods19:10
micahgand almost everyone's on vacation at this point19:10
* micahg thinks there will be one last huge auto-sync on Jan 3 when everyone comes back19:11
sladendobey: I think http://wiki.ubuntu.com/SeedManagement  but for extra comedy that page is crashing at the server end19:11
dobeyso it seems :-/19:12
micahgkees: the delay gets us a couple extra bug fixes :)19:15
keesmicahg: hehe :)19:16
geserkees: got "tor" synced? I see the sync request still open (bug 413657)19:20
ubottuLaunchpad bug 413657 in tor (Ubuntu) "Please sync tor 0.2.1.26-4 (universe) from Debian testing (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/41365719:20
keesgeser: that's old, IIUC. it had been on the autosync blacklist, but it got removed, so I've been trying to figure out why it didn't get autosynced19:22
Laneymaybe nobody has done a new-source (or whatever it's called) run since19:31
gesermight be, auto-sync only syncs "existing" packages19:36
geserimport new packages is another script which gets run less frequently than the auto-sync script19:37
micahggeser: there's also a sync request filed for it19:37
Laneythat was only recently acked19:38
micahgLaney: last week19:39
Laneywas the queue processed since?19:40
* micahg test builds the new version of tor19:40
micahgLaney: does not appear so19:40
Keybukzyga: if you were subscribed to the D-Bus list right now, you'd understand the rationale for doing those D-Bus activation patches :-)19:44
Keybukit has forced the desired discussion19:44
Keybukwell, shouting from Lennart anyway19:44
zygaKeybuk, hmm, dbus on freedesktop?19:50
zygaKeybuk, I'll check the archive, thanks for the hint19:50
ebroderzyga: http://lists.freedesktop.org/archives/dbus/2010-December/013868.html is the link you want - it's buried in the thread view19:50
zygaebroder, thanks19:54
SpamapSslangasek: actually I was suggesting moving the start into the loop, it may fail. But while disconnected, I thought of another thing we could try. What about making portmap start on ... whatever it has now .. or starting statd   ?20:14
sladenzyga: http://lists.freedesktop.org/archives/dbus/2010-December/thread.html  was an interesting read20:14
SpamapSslangasek: that would make sure statd never actually starts until portmap is started20:14
zygasladen, I actually read most of the archive from that month20:15
slangasekSpamapS: ah; I wouldn't move the start into the loop, because aside from the "already starting" race, the only reasons it should fail would seem to be fatal and shouldn't cause the statd job to be left looping20:22
slangasekSpamapS: and portmap 'start on ... or starting statd' only ensures portmap is started first *if* portmap isn't already being started, which by all rights it should be20:23
=== dendrobates is now known as dendro-afk
Keybuksladen: I wish that someone would fix the fd.o pipermail20:30
Keybukit's annoying the way it doesn't correctly line up threads20:30
SpamapSslangasek: leaving the statd looping means never mounting nfs filesystems.20:41
SpamapSslangasek: and means never emitting 'filesystems'20:41
SpamapSslangasek: so at the very least, we should only wait for a little while.. hence my thought that we should make a best effort attempt to identify the longest we think it should ever take for portmap to be up and serving.20:42
SpamapSslangasek: another thought for the longer term.. socket activation for portmap would seem to alleviate this problem entirely wouldn't it?20:45
=== ximion1 is now known as ximion
sladenbryceh: narrowed down to today's libgtk2.0-bin (>2.32.2-0ubuntu4)  robert.ancell might be around in an hour (Sydney time)20:55
sladenrobert_ancell: bug #69373720:58
ubottuLaunchpad bug 693737 in gtk+2.0 (Ubuntu) "gtk+2.0 update 2.23.3-1ubuntu2 update triggers repeated gdm greeter crashes" [Critical,Confirmed] https://launchpad.net/bugs/69373720:58
slangasekSpamapS: I still don't think we should be second-guessing other conditions that cause portmap to fail to start until we actually encounter one20:59
brycehsladen, aha excellent21:00
SpamapSslangasek: 100% agree, lets not put start in the loop. But does it make sense that it should give up after a while?21:00
SpamapSslangasek: essentially.. I'd rather move on to a failure because nfs can't be mounted than wait indefinitely for portmap and give users no clue as to what is going on.21:01
slangasekSpamapS: oh, I don't know.  Any filesystems waiting on statd won't mount without it anyway, so I'm not sure it gains us anything21:01
slangasekright21:01
slangasekbut how do you calculate how long is too long?21:02
SpamapSslangasek: waiting forever means never triggering filesystem21:02
SpamapSslangasek: I am reviewing portmap's code now.. its been carefully written not to depend on much.. so probably "not very long"21:02
slangasekstill, it's a function of the system speed and of how much else might be running in parallel21:05
slangasekI don't have a good way to calculate a worst-case timeout for this21:05
SpamapSWell if all it does is exec, and listen.. then even the busiest booting system shouldn't take longer than 5s to pull that off.21:06
slangasekif you say so :)21:07
slangasekI don't feel strongly enough about it, really; we're obviously well into "that's not event-driven" territory21:07
SpamapSI don't want to guess about it either.21:07
SpamapSslangasek: indeed :(21:08
robert_ancellsladen, I'm not getting the gdm bug, but the last commit in git looks like it might be a good candidate for fixing the applets.  Building with that now21:12
sladenrobert_ancell: I can reproduce it here and can test things for the next ~3-4 hours21:13
robert_ancellsladen, thanks21:14
SpamapSslangasek: even more fun, portmap forks then listens .. so there's nothing we can do to completely avoid the race. :-P21:20
slangasekSpamapS: hngh21:20
slangasekSpamapS: we can fix portmap?21:20
SpamapSslangasek: s/nothing/nothing simple/21:22
slangasekright :)21:22
SpamapSso I'd say just spin for 3 seconds. There is code in portmap that would cause blocking, but none of it is built into the ubuntu or debian portmaps.21:23
SpamapSIt doesn't lookup hostname, or username, or anything. With our without the fork/listen race.. that window is really, really tiny.21:23
SpamapSs/our/or/21:24
smhi all. I used https://wiki.ubuntu.com/Testing/EnableProposed to work around https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/672352 , but the same procedure fails on a user's machine for some reason (config looks good but aptitude doesn't show the package version from -proposed). When is this likely to move from proposed to maverick ?21:24
ubottuUbuntu bug 672352 in eglibc (Ubuntu Maverick) "Assertion `_rtld_global_ro._dl_pagesize != 0' failed" [Undecided,Fix released]21:24
Keybukslangasek, SpamapS: so it'd be good to know when you're done what I need to change to make this much easier ;-)21:37
slangasekKeybuk: fixing 'start' to block when the job is already starting would help, of course; there does seem to be a general problem of processes that fork() before listen() not being properly trackable; oh, and fix 'and' :)21:39
slangasekSpamapS: btw, bug #525154 was the existing bug on nfs-utils for tracking this; can you merge those other bugs over?21:41
ubottuLaunchpad bug 525154 in nfs-utils (Ubuntu) "mountall for /var races with rpc.statd" [Undecided,Triaged] https://launchpad.net/bugs/52515421:41
Keybukslangasek: right, ideally you'd want Upstart to not say it was started until it was listening21:45
Keybukthough if it's got a fixed socket, would it not be easier to support socket activation for that case?21:46
slangasekprobably21:46
Keybuk(I guess you'd still want both, because you might want to start portmap anyway)21:46
robert_ancellsladen, ok, that patch definitely fixed the applet issue.  I've uploaded it to natty, and you can try it from lp:~ubuntu-desktop/gtk/ubuntu if you want to check before the servers have built it21:51
SpamapSKeybuk: I do think with portmap, socket activation seems the right way to go. If I start a socket-activated job manually, does upstart's socket activation still handle the listening?21:57
KeybukSpamapS: that's a limitation, right now if you're using socket activation, you cannot start or stop manually21:57
Keybuk(err, well, you can stop I guess ;-)21:58
SpamapSKeybuk: so if the job file exists, the port is opened?22:00
SpamapSslangasek: on bug 525154, ACK22:02
ubottuLaunchpad bug 525154 in nfs-utils (Ubuntu) "mountall for /var races with rpc.statd" [Undecided,Triaged] https://launchpad.net/bugs/52515422:02
KeybukSpamapS: no, it's entirely separate22:02
Keybuk(in 0.6)22:02
Keybukit's even a separate process that does the listening22:02
Keybukso if you started portmap, upstart wouldn't have the socket, and portmap would fail to bind22:03
SpamapSKeybuk: given portmap's really fast start times and lightweight nature.. I think that just making it socket activated would be enough.22:08
Keybukwell, not just22:14
Keybukthere's all that local filesystems /var/lib case, etc.22:14
SpamapSAlso I can't seem to find the upstart bug that explains the issue with 'start' not waiting for the goal to be reached when its already in progress.22:24
sladenrobert_ancell: libgtk2.0-0_2.23.3-1ubuntu3_i386.deb appears to fix 69373722:49
slangasekKeybuk: related is bug #610863: it would be nice if upstart could notice that the parent process hasn't exited yet, and only mark the job as started once it has23:07
ubottuLaunchpad bug 610863 in nfs-utils (Ubuntu) "statd job starts before service is listening" [Undecided,New] https://launchpad.net/bugs/61086323:07
Keybukslangasek: *nods*23:11
slangasekis there a bug number for that?23:11
slangasekor shall I open one?23:12
* Keybuk makes an LP spooling noise, not unlike LCARS23:12
Keybukslangasek: bug #53077923:13
ubottuLaunchpad bug 530779 in upstart "init: does not wait for parent to exit when following forks" [Medium,Triaged] https://launchpad.net/bugs/53077923:13
slangasekok :)23:13
ari-tczewclipboard to natty doesn't work :/23:21
ari-tczews/to/on23:22
Keybuktbh, I've been having clipboard problems on maverick too23:24
ari-tczewKeybuk: I have this problem since last updates23:24
yofelyeah, but in natty copy and paste doesn't work at all from gtk apps, not even xclipboard23:24
ari-tczewit's makes work useless! (even for Ubuntu development)23:24
yofelwell, make it copy, I can paste into gtk apps after copying from kde apps23:25
ari-tczewwhere can I report a bug?23:25
ari-tczewIMO it's high23:25
Keybukari-tczew: there's a "Report a Bug" menu option in every Help menu of Ubuntu23:28
ari-tczewprobably I have to wait to fix in 2nd week of 2011...23:28
Keybukit's natty23:29
yofelI'll file it against gtk23:29
Keybukwhen you install a development distro, you should expect your computer to burst into flames23:29
ari-tczewKeybuk: love these talking23:29
ari-tczewKeybuk: I'm also making in a piece Ubuntu and this bug is stopping development23:30
ari-tczewyofel: are you going to report? because dunno whether shall I do it23:30
=== sm is now known as sm-afk
Keybukari-tczew: I tend to run releases on my day-to-day development machines23:31
Keybukand have the development release on a laptop23:31
Keybukthat way the big issues don't cause me too much pain23:32
ari-tczewKeybuk: cool, welcome in the club23:32
ari-tczewKeybuk: are you affected  by this bug as me?23:32
Keybukari-tczew: as I said, I'm running a release (maverick) on this machine23:32
Keybukso, no23:33
ari-tczewKeybuk: so you aren't. well, please stop talking me about risk of running devel distro because I'm aware of this23:34
Keybukari-tczew: clearly you're not, because you're complaining about a bug in a development distro preventing you from using your computer, and are worried that it won't be fixed during the holidays23:34
Keybukthe timescale for *any* Release Critical bug fix for natty, no matter how critical, is "Before The Release"23:35
Keybukany shorter timescale is luck23:35
yofelari-tczew: bug 693737)23:36
ubottuLaunchpad bug 693737 in gtk+2.0 (Ubuntu) "gtk+2.0 update 2.23.3-1ubuntu2 update triggers repeated gdm greeter crashes" [Critical,Fix committed] https://launchpad.net/bugs/69373723:36
ari-tczewKeybuk: I wrote: bug doesn't block only day-to-day using my computer, also blocking Ubuntu development which I could prepare some packages this free time, so I'm not egoist23:36
yofel*sigh*23:36
yofelbug 69397623:37
ubottuLaunchpad bug 693976 in gtk+2.0 (Ubuntu) "[natty] Copying to clipboard broken" [Undecided,New] https://launchpad.net/bugs/69397623:37
ari-tczewKeybuk: summarizing: if bug is not fixed, Ubuntu can ki$$ my ass because I won't do anything23:37
Keybukari-tczew: there are plenty of ways to move text around without C&P23:37
Keybukari-tczew: bend over ;-)23:37
ari-tczewKeybuk: yes? which ways?23:39
Keybukari-tczew: save to text file, read in from text file, etc.23:39
Keybukhighlight, :w somefile23:40
Keybukthen :r otherfile23:40
ari-tczewyofel: I'm not sure whether this is the same bug. I  couldn't copy/paste everything without difference between gtk/qt23:40
ari-tczewKeybuk: sorry, it's useless for me23:41
Keybukari-tczew: then you are a very, very special person23:41
yofelwell, I'm using KDE and have klipper running and synchronised to xclipboard, under those circumstances, only gtk applications are broken23:42
Sarvatt2x (firefox-bin:30363): Gdk-CRITICAL **: IA__gdk_property_change: assertion `!window || GDK_WINDOW_IS_X11 (window)' failed errors in .xsession-errors every time a copy is performed here23:59
=== doko_ is now known as doko

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