/srv/irclogs.ubuntu.com/2009/07/09/#ubuntu-devel.txt

=== akgraner_ is now known as akgraner
=== robbiew is now known as robbiew-afk
asacanyone used the gtk-vnc plugin at some point?00:20
pochuasac: what plugin?00:21
asacpochu: firefox plugin00:21
pochuah ok00:21
pochunot me then :)00:21
asacmozilla-gtk-vnc00:22
=== ds5 is now known as ds[de]
=== Amaranth_ is now known as Amaranth
=== MobileMyles6o7 is now known as TwoToneSpirit
dholbachgood morning06:29
dholbachhi al-maisan, hi glatzor06:39
glatzormorning dholbach !06:39
al-maisanmoin dholbach :)06:40
liwhmm. karmic has started to attempt to automount hard disk partitions as a user06:41
liwnon-removable hard disks, that is06:41
nelleryyea that happens for me too06:44
liwnellery, do you know of an existing bug?06:44
liwwhich component does that, anyway? gvfs?06:45
nelleryliw: not sure, haven't gotten to looking yet06:45
liwhngh, and while trying to report that, X crashed06:46
liwit crashed on me yesterday, too06:47
lifelessliw: intel?06:47
liw(killing a computation that had been running for about 6 hours out of the 8 it needed)06:47
liwlifeless, ati06:47
lifelessliw: 'screen'06:47
liwlifeless, screen is not entirely useful for programs that require X06:47
lifelessliw: oh; don't use those :P06:48
liwhar har :)06:48
lifelessliw: or screen + xvnc06:48
billybigriggerhow long does it take for a package to go from built, published and then to the main archive.ubuntu.com multiverse repo?06:49
billybigriggeranyone know?06:49
liwnellery, https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/397288 -- fyi06:55
ubottuUbuntu bug 397288 in gvfs "karmic auto-mounts non-removable drives" [Undecided,New]06:55
nelleryliw: thanks06:57
pittiGood morning06:57
pittiTheMuso: bug 396377> "Use the ubuntu-bug force, Luke!" :-)07:28
ubottuLaunchpad bug 396377 in hal "Touchpad not functioning on MacBook Pro 4.1" [Undecided,Incomplete] https://launchpad.net/bugs/39637707:28
pittiTheMuso: (need lshal output at least)07:28
pittiis it just me, or did the "reading database..." dpkg step recently became much, much, much slower?07:29
pittiit took like 2 seconds in the past, and now it takes 2007:30
TheMusopitti: I thought that would have been included in the bug, but ok I'll attach it.07:32
pittiTheMuso: thanks07:32
nellerypitti: yea it's taking significantly longer for me too07:44
=== tkamppeter_ is now known as tkamppeter
ebroderpitti: Finally got a chance to test my fix for bug #39337607:50
ubottuLaunchpad bug 393376 in xen-3.3 "xen-3.3 3.3.0-1ubuntu10 FTBFS" [Undecided,Confirmed] https://launchpad.net/bugs/39337607:50
ebroderI could create a VM, but it didn't seem to be doing anything, but udev was walling me in at every turn, so I don't know what's working and what's broken07:50
cjwatsonbillybigrigger: once it's built, the next publisher run that starts at three minutes past each hour will process it, usually finishing towards the end of that hour07:51
cjwatsonbillybigrigger: (I've added a bit to https://wiki.ubuntu.com/UbuntuDevelopment/PackageArchive#Publishing about that)07:53
billybigriggercjwatson, thanks for the info08:25
pittitjaalton: I just followed up on bug 272606; you have a better understanding of this, though, could you please have a look at the last three comments?09:03
ubottuLaunchpad bug 272606 in xkeyboard-config "ABNT2 Numpad Keyboard keys misbehaving" [High,Fix released] https://launchpad.net/bugs/27260609:03
tjaaltonpitti: yes, upstream broke it09:03
pittitjaalton: the alias stuff doesn't work?09:03
tjaaltonpitti: here's how it was fixed: http://cgit.freedesktop.org/xkeyboard-config/commit/?id=fd7fa190c4f817bacac23c98e43c61b60064bffd09:04
tjaaltonthe special models were all removed (ABNT2, jp106..)09:05
tjaaltonthat's why it broke09:05
pittiok, thanks for confirming09:06
pittistvo: hey09:08
ionDoes base-files absolutely have to dump yet another dotfile to ~? Why not put the timestamp to an XDG Base-Something compatible path?09:22
cjwatsonXDG configuration--09:26
cjwatsonstupid idea09:26
liwcjwatson, what's that?09:27
pittiion: I also said that on a followup to ubuntu-devel@09:27
cjwatsonthe dumb ~/.config/ thing09:27
pitticjwatson: why is that dumb?09:27
cjwatsondotfiles are hidden for a reason; dumping them in a subdirectory achieves nothing and creates complexity09:27
pittidotfiles are a pain09:27
pittiI wish they had used ~/.etc/ fourty years ago09:27
liwcjwatson, and yet, having yet another dotfile is not good, either09:28
pittifor consistency, and not cluttering your home dir with a wild mix of cache, config, and data files09:28
liw(.hush_login ftw)09:28
cjwatsonmoving cache and data, I agree. but it's silly for configuration.09:28
pittiion: I proposed ~/.cache/motd/legal-shown , or something09:28
cjwatson(and, OK, this particular example is a cache)09:28
cjwatsonthe pain is things that inappropriately show dotfiles by default (e.g. file dialogs)09:29
* liw stops being annoyed about dotfiles and continues being annoyed at pygtk, gtk, gnome, and default window sizes09:29
dupondjeheh :) seems i'm not alone with the nasty gdm bug :(09:33
=== asac_ is now known as asac
pittiKeybuk: just to avoid double work, did you do any getty investigations so far? Just starting to look at the code now10:33
Keybukpitti: no, I don't think there's any possibility that way10:34
KeybukI found lots of other bugs too10:34
Keybukif you don't start with splash, you can end up with X on vt210:34
Keybukso it just ends up going random10:34
Keybukthe fix really needs to go into X or gdm10:35
pittiokay10:35
pittigood to know, then I don't waste time on getty, and instead coerce gdm to start on vt710:36
Keybukit does bring up interesting points about how we should deal with all this10:37
Keybukif X is starting on the "first unused tty"10:37
pittiKeybuk: I don't think I'd like to fix it in X itself10:37
Keybukwhile getty is starting on hardcoded ttys10:37
Keybukyou're always going to end up with X and getty trying to share in some corner case10:37
Keybukespecially with the racey async start10:37
pittiwell, I thought about adding an option to gdm-binary10:37
pittilike --tty 710:37
KeybukI think X's code is right10:37
Keybukin that it can be passed a hardcoded vt, or looks for one itself10:38
pittiso that we can equally hardcode the gdm vt just as we hardcode the getty ttys10:38
KeybukI was wondering whether getty shouldn't have the same code ;)10:38
pittiKeybuk: X rightX> I agree10:38
ograwhy cant we hardcode getty to tty2 ?10:38
Keybukogra: because if you start from single-user mode, you'll have a shell on tty110:38
ograand leave 1 untouched10:38
Keybukogra: so X will then pick tty2 as "the next unused", and thus conflict with getty again10:38
cjwatsonbuys us nothing over leaving it on tty710:38
cjwatson(putting it on tty2)10:38
cjwatsonoh, sorry, you said getty on tty2 not X on tty210:39
Keybukwe either need to hardcode X's vt10:39
cjwatsonignore me10:39
ograi meant pushing the gettys al to tty210:39
Keybukor we need to stop hardcoding getty's10:39
* ogra would vote for the latter10:39
Keybukit occurred to me that it'd be kinda cute for desktops to start "a number of gettys"10:39
Keybukand for it to just automatically find unused vts for them10:39
Keybukservers would end up 1-610:39
Keybukdesktops may end up 2-710:39
pittiKeybuk: but wouldn't that be pretty much the same code than teaching getty to not use an already taken vt?10:40
* ogra wonders whats so hard about fixing single user mode10:40
ogradoes it really *need* to be on tty1 ?10:41
Keybukpitti: except that there's no way to tell that a tty is "taken" or not, annoyingly10:41
Keybukogra: I'm trying to avoid a fix that involves us discovering yet more corner cases for the next hundred years10:42
Keybukpitti: we can ask for the "next free vt", but that's it10:42
pittiKeybuk: ok10:43
pittiseems it'd be best to add that "vt" argument to gdm for the time being, since that bug is nasty10:43
Keybukpitti: the more I think about it, the more I like having a simple "number of gettys" option10:43
Keybukyeah10:43
pittiKeybuk: so, "/sbin/getty -8 38400 tty1" -> "tty-auto"?10:44
pittiand call that 6 times?10:44
pittithat would be great indeed, and avoid these races10:44
Keybukpitti: exactly10:45
Keybukexec openvt getty -8 38400 -10:49
Keybukwould do it ;)10:49
Keybukmight be better to patch getty though10:50
slangasekso then a user who actually wants to use those gettys has to use trial and error to figure out which tty they're on?10:50
Keybukslangasek: your login sessions will be on 1-710:51
Keybukjust X might be on 110:51
Keybukin fact, X would be on 1 most likely10:51
slangasekyes, so CTRL-ALT-F1 may or may not get you to a getty10:51
Keybukslangasek: it won't10:51
Keybukit already doesn't on Fedora and SuSE10:51
slangasekno, it *may or may not*, the whole reason you're even discussing these changes is because it's racy...10:52
Keybukslangasek: not racy, that it depends on what else you do on the way up10:52
ograisnt X supposed to be up long before the gettys in the new model ?10:53
slangasekif it's asynchronous, what guarantees that X has succeeded in being brought up yet?10:53
ograand cant upstart handle them conditional based on runlevel and if X is up ?10:54
Keybukwhat I, obviously, want to avoid is having a boot performance penalty for every system because a very small minority of desktop users expect there to be a getty on vt110:54
Keybukogra: because we can't predict which vt(s) X will take, you can't just have Upstart disable the right getty10:54
ograthats not waht i meant10:54
ograyou just said above "exec openvt getty -8 38400 -" would make gettys start in first available tty10:55
Keybukavailable vt, but yes10:55
Keybukconflating vts and ttys is one of those "but they're the *same* ... well, ok, almost the same" issues10:56
ograif you now make that depending on "if X was attempted to start" and "if not in sigle user" they would be guaranteed to start after X inits and on the first free one10:56
Keybukogra: that would be the case, yes10:56
ograso X always owns tty110:56
Keybuknot necessarily ;)10:57
Keybukboot into single-user mode10:57
Keybukmuck around a bit10:57
ograright10:57
Keybukthen telinit 210:57
Keybukyour sulogin will be on tty110:57
Keybukyou may have (one of my favourite tricks) started other gettys while in single user mode10:57
ograbut thats a corner case where bootspeed doesnt matter10:57
ograat least for X10:57
Keybukthat's not a speed issue, that's just showing that there's a case where X might end up on vt310:57
Keybukand the further console gettys on vt4+10:57
Keybukboot with single, start another getty, telinit 2, now X is on vt3 (first available)10:58
ograright but single user mode means something went wrong already or you are a evil hacker anyway10:58
Keybukogra: I usually assert that caring about getty means that too ;)10:58
ograwell, "fix" single user mode to always start its getty on tty2 ... hardcoded10:59
ograso X will be on 110:59
ograand subsequent ones on 3-710:59
liwdo not annoy the evil hackers, or they will replace your tty1 with a very small x10:59
ogralol10:59
Keybukogra: that fix doesn't work, if you switch user, where does *that* X work11:00
Keybukthere's two options11:01
ograwhere does it work if you are in a normal boot ?11:01
Keybuk1) we hardcode all gettys, including X - that means that gdm is going to need to get all of its VT Allocation code back again and we'll have to maintain it11:01
ogratty8 by default i'D guess11:01
Keybukthat's what we've always done before, since getty has been hardcoded since the DAWN OF TIME11:01
Keybukand old gdm pretty much hardcoded X's VT allocation11:01
Keybukor11:01
ograright but today we only have one case where it *has to be* hardcoded11:02
Keybuk2) we do all vt allocation on the fly11:02
ograright 2 was what i proposed11:02
Keybukogra: no, we have some cases where it is hardcoded and some cases where it isn't, and that's causing us problems :)11:02
ograbut with the exception to handle it specislly in the special case of single user mode11:02
Keybukslangasek: I'm going to guess you prefer #1 since then you know what C-A-F1...F7 all do?11:02
Keybukogra: if we just do it all on the fly, single user mode doesn't matter11:03
ograit does11:03
Keybukwhy?11:03
ograyou just explained it to me11:03
ograbecause your tty will be 1 by default11:03
ograso X starts on 211:03
slangasekKeybuk: I think I'm in favor of 1) except for the "we'll have to maintain it" part ;)11:04
ograif you hardcode it in single user to 2 your X is predictable on tty1 all the time11:04
slangasekbut yes, predictability is pretty important to me11:04
ograand your subsequent gettys fill up until tty711:04
ograif you switch user your gdm is predictable on tty811:04
ogra(if we even want 7 gettys at all that is)11:05
ograyeah, felt pretty lonely for a moment11:14
taavikkofeature or a bug in ark. to extract multiarchive .r** rar needs to be installed, unrar is insufficient. but ark works with unrar if it is "ln -s" to /usr/bin/rar11:40
bluefoxicyhow many of the developers live on x86-64?11:56
liwupdates to a release (hardy) go into hardy-proposed, and after they are accepted by the release managers, they get moved to hardy-updates; security updates to to hardy-security; nothing in hardy itself ever changes, is that correct?11:57
slangasekliw: correct; the release pocket is pseudo-immutable once the release is done11:57
liwso if I want to get all the post-release updates to hardy, I can just get everything in hardy-security and hardy-updates11:58
slangasekyes11:58
liwthanks11:58
slangasekor simply hardy-updates, if you don't mind a little lag11:58
liwoh, stuff in hardy-security gets moved to hardy-updates?11:59
liwor copied?11:59
slangasekcopied11:59
liwok, thanks11:59
slangasekso a) users can get by with only using -security if they don't want anything else, and b) users who enable the recommended -updates can make better use of bandwidth to the mirrors instead of exercising security.u.c12:00
Keybuktests/test_initctl.c:3198: error: variable ‘reply’ might be clobbered by ‘longjmp’ or ‘vfork’12:10
Keybuknow there's a new warning on me12:10
KeybukI wonder what the hell it means12:12
liwKeybuk, which one are you using?12:12
Keybukliw: longjmp12:13
ograand you gave it a club on its way, you evil guy :)12:14
liwKeybuk, can I have a look at the code?12:15
Keybukliw: you can, but it won't help very insightful :)12:16
liwhttp://pastebin.ubuntu.com/213555/ is what the C99 standard has to say about variable values12:16
Keybukhttp://bazaar.launchpad.net/%7Escott/upstart/trunk/annotate/head%3A/util/tests/test_initctl.c#L332712:17
Keybukis one example12:17
KeybukI think I had a lot more code in the signal handler once12:18
Keybukin the sigsetjmp() if I mean12:18
Keybukand now I can replace the whole thing with just calling _exit(0) in the signal handler :p12:18
liwhmm. you modify reply in 3356; if my English is correct, that's bad (no using of variables whose values have been modified between the calls to sigjmp and longjmp)12:21
slangasekyour English?  What does the spin on a cue ball have to do with anything?12:23
liwmy interpretation of the Englished used in C99, which, admittedly, makes my head spin luke a cue ball in billiards12:23
slangasekahh12:23
liwer, s/shed/sh/12:25
* ogra wonders why he gets QA tracker mails12:40
Keybukof course12:41
* cjwatson guesses 8.04.312:41
cjwatson(tracker)012:41
Keybuk_if_ we use dynamic gettys, we finally have a reason for KDSIGACCEPT12:41
KeybukAlt-UpArray = "give me another getty"12:41
ogracjwatson, oh, right, forgot about hardy, thanks12:42
=== ScriptRipper_ is now known as ScriptRipper
Keybukarray? arrow!12:44
ograwould that work from a hung up terminal too ? (as long as the kernel isnt hung)12:44
Keybukogra: yes12:45
ograneat12:45
Keybukit's built into the kernel at the same layer as Alt-F112:45
Keybukit just sends init SIGWINCH rather than any other processing12:45
ogracool, lets add it :)12:46
ograand go with a single getty ... saves ram as well :)12:46
seb128pitti, slangasek: the gvfs smb issue seems to be due to samba somewhat12:55
seb128pitti, slangasek: I rebuilt the glib and gvfs intrepid-updates versions on hardy and it still doesn't work12:55
seb128so I guess it's the hardy samba behaving differently but I've no clue about samba12:55
slangasekoh, interesting12:57
=== ogra_ is now known as ogra
slangasekseb128: well, hardy->intrepid is quite a jump for samba, but we can certainly put together something for testing - the package should build fine in a hardy ppa, at least...12:58
slangasekseb128: are you sure it's samba, rather than nautilus, that is the added culprit?12:58
seb128slangasek, I'm testing with gvfs-ls smb:12:59
seb128slangasek, and it has the same issue12:59
slangasekok12:59
slangasekhmmm, that sounds like a good non-GUI test case; perhaps I can do some useful chroot testing here13:00
pittiperhaps it would be worth building intrepid's samba on hardy and check if that fixes the regressin?13:02
slangasek"Error: Operation not supported"13:02
slangasekwell, that's unhelpful13:02
slangasekpitti: indeed13:02
pittibut either way, I guess we need to find a workaround in hardy's gvfs13:02
pittisince it's quite impossible to move intrepid's samba to hardy13:02
slangasekif it turns out to be a samba bug, I have no problem hunting down the change13:03
seb128pitti, or find the samba change or fix required to make it work13:03
pittiseb128: right13:03
seb128would rebuilding the intrepid samba or hardy be useful in some way?13:03
slangasekto confirm that it's a change in the samba source that's to blame, yes13:06
slangasekseb128: any idea why I get this 'Operation not supported' from gvfs-ls smb://?13:06
pittiis that in a chroot?13:06
slangasekyes13:06
slangasekalso outside of a chroot, though13:06
pittihm, I get "this place isn't mounted"13:07
seb128slangasek, no, is gvfsd running? do you have a session dbus bus?13:08
seb128dbus-launch gvfs-ls smb: maybe?13:08
seb128pitti, gvfs-mount smb:13:08
pittislangasek: does "gvfs-mount -l" work?13:08
slangasekno gvfsd running, I'm in a chroot :)  let me try the dbus-launch13:08
slangasekpitti: yes13:08
pittiseb128: right, that seems to do stuff; "reception of share list from server failed" (quite naturally, I don't have a server running)13:09
pittislangasek: gvfs-mount will autostart gvfsd usually13:09
pittips ux|grep gvfs|awk '{print $2}'|xargs kill13:10
pittigvfs-mount -l13:10
pitti-> all monitors and gvfsd are back13:10
seb128slangasek, pitti: http://paste.ubuntu.com/213580/13:13
seb128I've that error in the gvfs log13:14
seb128you can run GVFS_DEBUG_SMB=<level> /usr/lib/gvfs/gvfsd -r13:14
seb128before starting gvfsd-smb-browser13:14
slangasekwith which combination of packages?13:14
seb128hardy + intrepid gvfs (and glib)13:14
seb128I'm trying intrepid smb next but building it takes a while13:14
slangasekI still don't appear to have things working right in the chroot, so I have no baseline to compare it to13:16
seb128can't you boot an hardy livecd somewhere?13:16
pitti$ dbus-launch gvfs-ls smb://13:16
pittiworks for me13:16
slangasekI don't have a spare machine, and I don't have virtualization13:16
seb128ok13:16
pittislangasek: do you have gvfs-{bin,backends} dbus-x11 installed?13:16
pitti(in the chroot)13:17
slangasekpitti: that command /runs/, but it's returning no results13:17
seb128that would be the bug?13:17
pittiah, ok; I didn't get the "operation not supporte" error any more13:17
slangasekseb128: I'm running the stock hardy-updates packages...13:17
seb128ah ok13:17
seb128hum13:17
pittismb_tp: jaunty-proposed kernel NEWed FYI13:18
smb_tppitti, Ah, ok. the lrm and lbm too?13:18
=== smb_tp is now known as smb
pittismb: will do once built13:18
smbpitti, Then I upload meta now, so you can accept as soon as they are ready13:18
pittismb: cool, thanks13:19
slangasekpitti: and repeated invocations of dbus-launch gvfs-ls smb:// give me more gvfsd-smb-browse running... do I want to just run dbus-launch bash, maybe?13:20
* smb relaxes after seeing he is not being called13:20
slangasekheh :)13:21
pitti[hardy] 0 martin@tick:~13:21
pitti$ dbus-launch bash13:21
pitti[hardy] 0 martin@tick:~13:21
pitti$ gvfs-ls smb:13:21
pittiWORKGROUP13:21
pitti^ after installing samba on my "outside" karmic system13:22
* slangasek nods13:22
* ogra hands pitti an umbrelly so his karmic system doesnt get wet in the rain 13:22
ogra*umbrella13:22
* pitti installs gvfs from PPA13:22
pittiogra: to protect it from the sun?13:23
ograah, you got sun over there ?13:24
* ogra is envious13:24
pittiyes13:24
pittiseb128, slangasek: so I think I reproduced that in a chroot13:25
* pitti adds to bug13:26
seb128pitti, slangasek: how can I browse a workground or available workgroups with smbclient?13:28
pittiseb128, slangasek: https://bugs.edge.launchpad.net/ubuntu/+source/gvfs/+bug/207072/comments/23313:31
pittiI think that's the regression you mean, right?13:31
ubottuError: Could not parse data returned by Ubuntu: The read operation timed out (https://launchpad.net/bugs/207072/+text)13:31
seb128pitti, yes13:32
hansolo669hello13:35
slangasekseb128: smbclient -L <host> -N, where <host> is any known server, will give you a list of workgroups13:39
seb128ok13:40
seb128slangasek, "### SMB-BROWSE: do_mount - [smb://; 0] dir = 0x80d43e0, cancelled = 0, errno =" is one difference between intrepid version on hardy and karmic13:41
seb128the do_mount fails on hardy13:41
* slangasek nods13:41
seb128and the call before the failure is a smbc_opendir(smb_context, "smb://") one13:41
slangasekok13:41
seb128pitti, slangasek: the intrepid samba installed on hardy doesn't solve the issue ...13:48
slangasekseb128: does it make a difference if you build the intrepid gvfs *against* the intrepid libsmbclient-dev?13:49
seb128slangasek, building, one minute13:50
seb128slangasek, works with gvfs intrepid built with the libsmbclient from intrepid13:56
seb128pitti, ^13:56
seb128ie the gvfs from intrepid starts working once rebuilt with new samba13:56
pittiseb128: is that true for hardy PPA built against libsmb from intrepid?13:57
seb128that starts being complicated13:57
seb128hardy + intrepid-updates gvfs built with hardy samba + intrepid samba = breaks13:58
seb128hardy + intrepid-updates gvfs built with intrepid samba + intrepid samba = works13:58
pittiit could be that the newer libsmb versions allow calls which didn't work yet in the hardy samba version?13:58
pitti(client-side, I mean)13:58
seb128could be, ENOCLUEABOUTSAMBA13:58
slangasekseb128: how about hardy + hardy-ppa gvfs built with intrepid samba? :)13:59
pittiright, what I meant13:59
slangasek(sorry, *still* don't have the test case working here :(13:59
slangasek)13:59
seb128slangasek, trying that, building14:01
seb128pitti, slangasek: hardy-ppa version built on intrepid samba works14:04
slangasekgreat!14:05
pittiso, so apparently the gvfs patch uses some feature from libsmb* which isn't available in hardy yet?14:05
slangasekthat means if I can just get a test case, I can take samba apart14:05
pittislangasek: which step fails for you?14:05
slangasekpitti: getting a workgroup list with the hardy-updates version still fails for me14:06
slangasekso I don't have a baseline to compare with14:06
pittistrange14:07
pittihttps://bugs.edge.launchpad.net/ubuntu/+source/gvfs/+bug/207072/comments/233 is missing a "$" in front of the gvfs-mount, but I guess you did that14:07
ubottuUbuntu bug 207072 in nautilus "nautilus does not display samba shares for machines inside an ADS network." [Low,Fix committed]14:07
slangasekhonestly, it's probably a network config problem at this point14:07
pittiI have /proc, /tmp/, /home, and /sys bind-mounted in my chroots14:08
pittiperhaps that's it14:08
slangasekno, I have that too (standard schroot)14:08
praveen1 wow14:08
praveen1sorry wron chan14:08
pittislangasek: local samba server or remote? (I just tested with apt-get install samba locally)14:09
slangasekpitti: remote14:09
slangasekbut I've got a bunch of other stuff on the same broadcast domain that's going to wreak havoc if it's not all configured right, and apparently it's not14:09
slangasek(workgroup bit rot)14:09
pittislangasek: so that also happens with doing nautilus or gvfs on your normal system, not just the chroto?14:11
slangasekno14:11
slangasekthe chroot isn't on my desktop14:11
pittiah14:11
sorenA chroto? I've always wanted a chroto.14:11
pittisoren: they are really cool14:12
sorenpitti: So I hear.14:12
pittisoren: you have to feed them well, thuogh14:12
pittiargh tpying is hrad14:12
* pitti fixes finger ordering14:12
ogradid chrotos geat cheaper recently ? last time i looked they were still unaffodable14:13
sorenogra: I borrowed a chroto from a friend once, but it accidentally my whole keybaord.14:14
pittisoren: and your verbs14:15
ogralol14:15
* ogra was about to type the same :)14:15
sorenWhat do you mean? It accidentally my *whole* keybaord. It was crazy!14:16
cjwatsonpitti: it's important that your middle finger goes between your index and ring fingers14:17
ograno ! really ?14:17
cjwatsonif you get confused your hands look really weird14:17
sorenogra: Yeah! You need to be careful. If you don't pay attention, it'll your mouse and maybe monitor too.14:18
pitticjwatson: too late, with a crazy keyboard like mine (http://people.ubuntu.com/~pitti/photos/pitti-real-desktop.jpg) they started looking weird long ago..14:18
sorenhttp://www.fohguild.org/forums/attachments/screenshots/87340d1220554030-funny-strange-random-pics-2db6wiw.png14:19
ograsoren, thats scary ... i'll reconsider one14:19
cjwatsonI could never cope with those keyboards14:19
pittioh, nice, on that photo I still had my good ol'd iBook G414:19
pitticjwatson: takes a while to get used to, but I'd never give it away any more14:20
ograthere are fully equipped keyboards too http://upload.wikimedia.org/wikipedia/commons/7/71/200801191443_Japanische_Tastatur.jpeg14:20
pitti... pretty much like vim14:20
ograthese 104/5 keys really dont cut it14:20
pittic'mon bloddy gdm, work now14:20
=== dholbach_ is now known as dholbach
praveen1which version gdm will be used .26 or .27 series?14:33
seb128praveen1, there is no .2714:33
praveen1seb128: oho14:34
praveen1k14:34
seb128pitti, slangasek: ok, gvfs is trying to do some clever things on old samba and that code might be broken14:36
slangasekseb128: ah14:37
seb128pitti, slangasek: there is a libsmb-compat.h14:39
* slangasek nods14:39
seb128typedef SMBCFILE * (*smbc_opendir_fn)(SMBCCTX *c,14:39
seb128                                      const char *fname);14:39
seb128it tries to do some mapping of functions for old samba versions14:40
seb128not sure if that's buggy somewhere, I guess nobody really used that14:41
seb128fedora already had the new samba by this time14:41
slangasekright; got my test case sorted finally14:45
hilethis is one very funny mod for that keyboard: http://samchillian.com/aboutsam.html14:45
hile(a midi controller)14:45
slangasek(it was a network problem, and an annoying one; NAT+WINS == FAIL)14:45
=== robbiew-afk is now known as robbiew
praveen1 is there any blueprint or list of things being done to reduce power consumption in karmic?15:02
mterrycjwatson, evand, I'm looking at the oem-config spec, and thinking about the 'translated timezones' item.  This strikes me as something upstream tzsetup wouldn't be excited about, since they have their own 'translated timezone' method that involves picking the country first.  Would we be willing to carry such a large translation delta?15:04
cjwatsonIMO only if it isn't actually a source delta - that is, the translations are all automatically sourced from somewhere else15:05
cjwatsonmight be worth giving a bit of consideration to memory consumption as well15:05
mterrycjwatson, hrmm..  last time I looked at this, I don't believe I found a source of translations for these already.  I'll search again to see if there's an existing body of translation work we could steal15:06
mterrycjwatson, yeah, hopefully we could only load the translations we need15:06
mterrycjwatson, what if we changed the drop down from 'Region'/'City' to 'Country'/'Timezone'.  Then we could use the upstream method of showing translated timezones in the second combo if available, else all timezones15:09
mterryThere'd be a bit of disconnect between the map and the bottom then.  in one you pick city, in the other timezone.  But I think picking timezone is more intuitive (and translated), so maybe it's a usability wash15:10
seb128pitti, slangasek: not sure if that's useful: http://people.ubuntu.com/~seb128/smb.c15:20
seb128that's a tentative testcase to do a similar to gvfs opendir15:21
seb128gcc smb.c -o smb -lsmbclient to build15:22
* mvo libudev == ❤15:22
seb128the call does success on samba intrepid but not on hardy15:22
seb128the testcase might be buggy though since I don't really understand all those smbc_* are working15:23
seb128mvo, oh? ;-)15:23
mvoseb128: I'm playing with it for more dynamic cdrom support in libapt and its pretty cool15:23
=== vorian_ is now known as vorian
keespitti: hi! is the apport-handles-assert feature still on your schedule for karmic? do you need anything from me for it?15:26
cjwatsonmterry: only works if you can select both country and timezone; timezone alone doesn't imply country15:30
cjwatsonmterry: I think I'd prefer to continue to say "region" rather than "country"; avoids disputes about exactly what counts as a country15:30
mterrycjwatson, I agree about name of 'region'.  But I'm saying, replace the 'Region' dropdown with a new 'Region' dropdown that actually shows Countries.  Then the City drop down shows Timezones (ideally a translated list of only the timezones in that country)15:36
mterrycjwatson, This would dovetail beautifully with the request to add country highlighting to the map15:37
mterrycjwatson, We can drop the city concept altogether, which has caused no end of bug reports15:37
mterrycjwatson, and we pick up translation to boot15:37
* mterry is excited about this idea15:38
cjwatsonmterry: yes, although I think we should probably display all timezones in the drop-down, just with the ones in the region you selected sorted to the top, and maybe a separator15:53
cjwatsonmterry: and then have that feed back into the region drop-down if it doesn't match ...15:53
cjwatsonit's a little more complex that way but I think it'll work better15:54
mterrycjwatson, I could buy that.15:54
cjwatsonmterry: the timezone does need to come out under the hood as the city identifier, though15:54
cjwatsonotherwise we won't get daylight savings right15:54
mterrycjwatson, right, which is actually why what you said above is difficult15:55
cjwatsonit is?15:55
mterrycjwatson, if they pick non-recommended timezone, we don't know region15:55
cjwatsonwell, no, that's why I said it should feed back into the region drop-down15:55
mterrycjwatson, and thus we can't map to a city15:55
mterrycjwatson, Right, but I'm saying we *can't* feed back into region15:55
cjwatsonwhy not?15:55
cjwatsonwe know the set of regions that overlap a given timezone15:55
mterrycjwatson, Because picking a different timezone doesn't imply region15:56
cjwatsonit doesn't imply *one* region, but it implies a small number15:56
mterrycjwatson, ah, and just pick one?15:56
cjwatsonpick one and let them choose if that's wrong15:56
cjwatsonagain, sorting the ones that match to the top, perhaps15:56
cjwatsonnot denying this'll be a bit tricky15:56
cjwatsonbut I'd rather have that than end up with inaccurate DST on people's systems, which is a lot harder to put right later15:56
mterrycjwatson, Right, definitely we want to end up with a city, just don't tell user that15:57
cjwatsonin some cases the city is going to be better-known than the timezone name, of course15:57
cjwatsonI wonder how many people in central Europe know that their timezone is called Central European Time15:57
mterrycjwatson, well, that's the beauty of translation.  It uses local names for the timezones, which may be cities15:57
cjwatson*blink* no!15:58
cjwatsonGMT =/> London15:58
mterrycjwatson, I haven't looked at all the translations15:58
cjwatsonyou can't do this with translation15:58
cjwatsonthe point is that some fairly significant group of people will not actually have a clue what timezone they're in and cities may actually be more familiar; which is why it's important to allow selecting those on the map15:58
cjwatsonif you can still select from the map, I'm fine with the drop-down just being actual timezone names15:59
cjwatsonbut we should never attempt to translate timezone to city in a gettexty kind of way15:59
mterrycjwatson, well, you can select region, but the number of people whose city happens to appear in the map is small, eh?  Don't we get bunches of bugs about that?15:59
cjwatsonit's a US thing15:59
cjwatsonIME15:59
cjwatsonpeople in the US get confused about this, everyone else has no clue what timezone they're in :)15:59
mterrycjwatson, I wasn't saying timezone->city necessarily.  But tzsetup lists country-specific timezones in a regional way16:00
cjwatsonI've got bug reports claiming that we were presenting the wrong timezone for (say) Bulgaria - actually the submitter was *wrong*16:00
mterrycjwatson, let me find some examples, though I assume you know them16:00
cjwatsonthey knew what city they should select but they were dead wrong about the timezone it was in16:00
cjwatsonI'm aware of how tzsetup does it, yes16:01
cjwatsontranslating those is obviously fine16:01
cjwatsonthough remember, those timezones are (with the exception of the US) cities16:01
mterrycjwatson, OK, I assume you have good experience with it.  So map doesn't change, just a drop down change16:01
cjwatsonwhen you talked about a timezone drop-down, I thought you meant a west/east of GMT kind of thing16:02
mterrycjwatson, I was talking about whatever tzsetup says16:02
cjwatsonthat's pretty much what we present today - cities. Again, with the notable exception of the US16:02
mterrycjwatson, OK.  But with added lovely advantages of both translation and a smaller list to choose from16:02
cjwatsonof course we got bug reports about needing to select something outside the shortlist for some reason16:03
cjwatsonwhich is why it now offers "other" as well, and why ubiquity should still offer everything, just with some degree of sorting16:03
mterrycjwatson, hence your separator suggestion.  So if I go and implement this as we discussed above, it's a Good Thing?16:03
cjwatsonI think so, yeah16:03
* mterry loves it16:04
cjwatsonwe'll need to get feedback from people in various locations though16:04
cjwatsonit's a horrifically complicated field :-/16:04
mterrycjwatson, yeah, I'm definitely too US-centric :)16:04
pittikees: oh, I sort of forgot; is there a bug report for it?16:04
* cjwatson is too European-centric, which is why the current overall design doesn't serve the US very well16:05
cjwatsondon't want it to swing too far the other way though ... :-)16:05
pittimvo: if you like libudev, you'll love libgudev :)16:05
cjwatsonmterry: it all definitely sounds more sensible than the giant lists we have at the moment, certainly16:05
slangasekseb128: that test case doesn't seem to behave the same as the gvfs backend, here16:06
slangasekseb128: e.g., no debugging output...16:06
seb128slangasek, right, I don't understand why, it does debug on samba3.216:08
seb128slangasek, anyway when building with the intrepid samba it print a success16:08
seb128and on hardy it prints an error16:08
seb128could be a start point16:08
slangasekwell, I think the test case has a bug in addition to the debugging output16:09
slangasekgdb'ing gvfsd-smb-browse, I don't see smbc_opendir() returning NULL16:09
slangasekempty list, yes, but not NULL16:09
seb128ok16:09
seb128"### SMB-BROWSE: do_mount - [smb://; 0] dir = 0x8097170, cancelled = 0, errno = [1]"16:10
seb128the gvfs log shows it fail on a not allowed error16:10
slangasekno; it's printing the errno on something that's not an error condition16:10
slangasekdir = 0x809717016:10
seb128ok16:10
slangaseknon-null return16:10
mvopitti: yeah, that is even cooler, but not suitable for libapt (gobject)16:17
slangasekseb128: that errno value means the context initialization failed; still working on getting to the bottom of it16:27
seb128ok16:27
seb128slangasek, thanks for your help on that my samba knowledge is very limited16:27
ograits bigger now :)16:28
slangasekseb128: well, it's mostly me traipsing through the libsmbclient code at this point :)16:28
slangasekapparently the problem is that the auth_fn callback is not optional16:29
slangasekseb128: http://people.ubuntu.com/~vorlon/smb.c16:33
slangasekbut I don't think the auth callback is emulated correctly16:34
tkamppeterAnyone knows how I can find documentation about how Ubuntu's and/or Debian's package archives are signed, as my GSoC student at OpenPrinting is working on the scripting for the downloadable driver archives at OpenPrinting now.16:34
slangaseksince this is giving 'Server connect ok', which gvfsd-smb-browse does not16:34
tkamppeterelmo, hi16:35
mvoKeybuk: do you happen to know if libudev/udev should clear the FSTAB_DIR property when device (cdrom in this case) gets unmounted?16:36
Keybukmvo: I don't think so16:38
slangasekseb128: I'm off for a while; will continue working on this later - don't feel obligated to fight with the samba stuff in the meantime16:38
mvoKeybuk: thanks, I will ask on #udev then and see if I do something wrong in my code or something16:38
seb128slangasek, ok, I will catch up with other things now and might have an another look later16:38
mvo(or if its maybe a bug in udev)16:39
tkamppeterpitti, hi16:45
pittihi tkamppeter16:59
cjwatsonKeybuk: mind if I upload that most recent util-linux patch? it's been accumulating dups16:59
cjwatson(the lsb_release thing)16:59
Keybuksure17:02
KeybukI wasn't ignoring it17:03
KeybukI'm just knacker-deep in other things17:03
=== vorian is now known as JSwormbot
=== JSwormbot is now known as vorian
pittiphew, seems I finally bent gdm to my will now17:07
Keybukpitti: can you show us on the bear where gdm touched you? ;o)17:08
* ogra hopes pitti's will matches ours as well :)17:08
pittiKeybuk: "on the bear"?17:09
pittiogra: well, it's "don't start on vt7 initially, d*****t"17:09
pittithat was surprisingly hard17:09
Keybukpitti: vt1 I assume you mean17:10
pittiI tried some approaches, but ended up with a terrible, terrible hack which I never want to look at any more17:10
pittiyeah, "do start on vt7"17:10
pittiKeybuk: this version also migrates autologin settings17:10
ionCan you show us on the bear where pedobear touched you?17:11
pittiseb128: so now the remaining regression I'm aware of is the "cannot save session blabla" warning17:11
Keybukooh, my package built17:12
* Keybuk gets excited17:12
ionkeybuk: Upstart trunk deb?17:13
Keybukbah, my reboot test was foiled by my own debugging17:13
keeshm, gdm resolves my homedir path17:23
kees(i.e. /home/kees is a symlink so launched shells aren't in /home/kees, theylre in the resolve path)17:24
kees*resolved17:24
keeshmmm17:25
KeybukSubject: [ubuntu/karmic] upstart 0.6.0-1 (Accepted)17:26
KeybukMUAHAHAHAHAHAHA17:26
Keybukpitti: you have a while longer to fix gdm, nobody will notice the breakage while their machines don't boot17:28
* robbiew now stops his update17:29
Keybukoh bah, it ftbfs17:29
pittiKeybuk: haha17:30
* Keybuk thought he timed that right17:30
Keybukclearly not17:30
tkamppeterpitti, what about putting the CUPS 1.4 RC into Karmic so that it gets more intensively tested?17:30
ionI felt a great disturbance in the Source, as if millions of computers suddenly cried out in terror and were suddenly silenced.17:30
pittitkamppeter: dunno, when will Mike release the final?17:31
pittitkamppeter: a PPA perhaps, for a start?17:31
tkamppeterUsually, Mike says when an RC is without problems for two weeks it will get the final.17:31
ionkeybuk: Been playing Monkey Island lately?17:32
Keybukion: no, I've been resolutely *not* playing the new Monkey Island game because I've been trying to finish this release ;-)17:32
pittitkamppeter: so, we should do an 1.4 bzr branch, and put it into a PPA for now17:34
pittitkamppeter: I guess that might need some time to port anyway (all these filters and our patches)17:34
seb128do we have anything relying on the gtk directfb backend?17:36
pittiKeybuk: FTBFS> versioned build deps FTW :)17:36
cjwatsonseb128: d-i's gtk frontend, same as the last seventeen times anyone from the desktop team asked ;-)17:36
seb128cjwatson, whoever use it will have to start maintaining it that's really an issue17:37
seb128they rewrote gdk for client side decoration17:37
cjwatsonI've seen Debian people working on it17:37
seb128but not the directfb backend17:37
seb128I doubt they will package 2.17 soon though17:37
cjwatsonI don't mind if it breaks for a while in Ubuntu. It's a bit of a myth that nobody is contributing patches for it upstream though17:38
seb128and I've neither the directfb competences not the free slot required for that and it blocks karmic goals during this time17:38
cjwatsonditch it in Ubuntu then17:38
seb128ok thanks17:38
cjwatsonfor the time being, though, please17:38
cjwatsonas opposed to permanently17:38
seb128yeah, bratsche said he can help with that next week17:38
seb128but I would like to get client side decoration to land soon if possible rather than waiting for directfb to work again17:39
cjwatson(ps last time somebody complained about nobody contributing to the directfb backend, I looked and there were several patches that had been contributed in upstream bugs but ignored)17:39
mathiazjames_w: hi - how can I tell if squid already has a bzr package branch in LP?17:39
cjwatsonmathiaz: https://code.launchpad.net/ubuntu/+source/squid17:39
cjwatsonlooks as though the importer hasn't got that far yet17:40
james_wmathiaz: I can do it now for you if you like?17:40
mathiazjames_w: that would be awesome :)17:40
cjwatsonjames_w: BTW I assume the fact that it isn't getting round to updating existing branches is just because you're prioritising new ones?17:41
seb128cjwatson, what I said previous time is rather than nobody upstream cares about the directfb backend17:41
james_wcjwatson: yeah, it was17:41
mathiazjames_w: some posted a debdiff for a debian merge, and I'd like to test the bzr branch/review17:41
seb128cjwatson, ie they will not work on changes, not bother testing it works and not reviews changes in bugzilla either17:41
cjwatsonseb128: right, but the obvious place for somebody to start addressing that is to contribute patches in bugzilla :)17:41
james_wcjwatson: I've now imroved the code so that it's easier to do both at once, so it's converging on having existing branches up to date as well17:42
cjwatsoncan't magically step up and say "hi, I'm maintaining this now"17:42
tkamppeterpitti, OK17:42
cjwatsonjames_w: no rush certainly, was just curious to see how it would behave after branches have been committed to externally17:42
seb128cjwatson, right17:42
james_wcjwatson: ah, that's still not really possible as LP hasn't opened up write access17:43
cjwatsonjames_w: oh, heh, of course *I* can ;-)17:43
james_wmathiaz: it's in the queue, should be picked up in a few minutes17:43
cjwatsonhadn't occurred to me that that was due to magic privileges17:43
james_wcjwatson: oh, but you would never try to break it on purpose would you? :-)17:43
mathiazjames_w: great  - thanks17:43
james_wbut I had noticed you had been17:43
cjwatsonjames_w: only one or two commits I think17:44
cjwatsonseb128: Sven Neumann committed a bunch of stuff upstream a while back; maybe he can be nudged17:44
cjwatson(according to http://git.gnome.org/cgit/gtk+/log/gdk/directfb)17:44
seb128cjwatson, I'm sure we can sort that, bratsche offered to help too now17:45
seb128cjwatson, the things is that we often hit the case where it blocks standard desktop work and where we need to rely on people to unbreak it to unblock desktop updates and changes17:46
seb128and I'm wondering if that's worth the annoyance17:47
cjwatsonyeah, as far as I'm concerned temporary disabling there is not a problem17:47
seb128ok, that's what I wanted to know, thanks17:47
mathiazjames_w: hm - I don't seem to be able to understand where I can find the link from the +source/package page to the bzr branch17:47
cjwatsonif it breaks, switch it off, it'd just be nice if you could switch it on once it works again17:47
james_wmathiaz: the code tab at the top will take you to a list of branches17:48
seb128yeah, I will get it working for karmic, I just wanted to check if we can turn it off to unblock things while it's being worked17:48
james_wthere are just no branches yet :-)17:48
mathiazjames_w: https://launchpad.net/ubuntu/+source/gnome-colors/17:48
cjwatsonseb128: I'd generally appreciate a note when the state changes, since I have to flip a configuration bit in d-i's build system17:48
mathiazjames_w: I don't see where the bzr branch is17:48
mathiazjames_w: while https://code.launchpad.net/~ubuntu-branches/ubuntu/karmic/gnome-colors/karmic exists17:49
james_wmathiaz: on the code tab at the top of the +source page17:49
mathiazjames_w: hm - it's greyed for me17:49
seb128cjwatson, ok, I will keep you updated, bratsche will try to get a patch to make it build today so I will wait tomorrow to see how that goes17:49
cjwatsongreat17:49
mathiazjames_w: there isn't any link for the code tab17:49
james_wmathiaz: ah, it's just on edge17:49
james_wmathiaz: it's brand new :-)17:50
mathiazjames_w: ahhhhh - gotcha17:50
=== dpm_ is now known as dpm
mathiazjames_w: if I want to use init-repo before branching a pkg, which init-repo option should be used?18:03
james_wmathiaz: you need a newer bzr than jaunty, are you on karmic?18:03
mathiazjames_w: the default gives a different rich-root support error while trying to branch18:03
james_wbut you want --2a18:04
mathiazjames_w: I'm running 1.16.118:04
james_wwhich is "rich-root", and the new fast format18:04
mathiazjames_w: bzr 1.16.1 on hardy (using bzr PPA)18:04
james_wapologies for the pain, but it's the future :-)18:04
mathiazjames_w: how often are unstable/sid packages imported?18:18
james_wtwice a day I think18:18
mathiazjames_w: hm - lp:debian/sid/nagios-plugins isn't up-to-date18:19
james_wwe just watch for LP importing them18:19
mathiazjames_w: and the last-upload was on 06 Jul18:19
james_whttps://edge.launchpad.net/debian/+source/nagios-plugins18:19
mathiazjames_w: hm - http://packages.debian.org/source/sid/nagios-plugins shows the same version as in LP18:20
mathiazjames_w: but it showed a newer version a couple of minutes ago :/18:21
azeem_w2118:21
azeem_oops18:21
james_wit's on ftp.debian.org18:23
james_wI've asked in #launchpad18:23
mneptokuh oh. the GPL is in trouble. Micosoft's new EULA is far easier to understand, and far more liberal.18:24
mneptokhttp://www.microsoft.com/windowsxp/eula/pro.mspx18:24
ionI could agree with that EULA.18:24
mathiazjames_w: hey - could you also bump drbd8 in the import queue?18:27
mathiazjames_w: basically I've got 3 debdiff for merges from unstable and would like to play with the ubuntu-branches to see how the workflow would work18:27
james_wI can't do drbd8 I'm afraid18:28
james_wit's hitting a bug in pristine-tar apparently18:28
mathiazjames_w: which means I need both ubuntu and debian unstable bzr branches up-to-date18:28
mathiazjames_w: ok - fine with me then.18:28
ivokswhat bug?18:28
james_wit can't recreate one of the .orig.tar.gz18:29
ivoksi'm sorry for not understanding that completly, but should something be changed in drbd?18:31
mathiazivoks: did you base your DKMSization of drbd on kirkland's kvm backport package?18:32
ivoksyes18:33
james_wivoks: nope18:33
james_wit's a bug in pristine-tar, though it looks like it's fixed in karmic18:33
james_wI need to arrange a backport to get around this18:33
ivoksok18:33
james_wmathiaz: squid is up19:27
* james_w heads out19:27
=== zul_ is now known as zul
=== ogra_ is now known as ogra
kirklandpitti: around?20:35
kirklandpitti: http://pastebin.ubuntu.com/213860/20:35
kirklandpitti: does that look better to you?20:36
=== thekorn_ is now known as thekorn
=== dpm__ is now known as dpm
=== michael__ is now known as mbiebl
=== robbiew is now known as robbiew-afk
=== _simono_ is now known as so
mathiazkees: hey - I've got an sbuild failure on karmic for the squid package (works correctly on jaunty): http://paste.ubuntu.com/213951/22:37
mathiazkees: ^^ does that ring a bell?22:37
keesmathiaz: checking...22:46
keesmathiaz: uhm, no idea.  looks like a dpkg error?22:47
mathiazkees: hm yeah - I got the same error while trying to build ipsec-tools.22:49
dupondjehttps://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/14907623:09
ubottuUbuntu bug 149076 in cdrkit "I can't write a cd" [Undecided,Confirmed]23:09
dupondjesomebody should really take a look @ this23:10
=== robbiew is now known as robbiew-afk

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