/srv/irclogs.ubuntu.com/2010/05/24/#ubuntu-devel.txt

Lexxzhi00:32
Lexxzhow do i change file names from console?00:32
Lexxzin Linux00:32
blue_annacan anyone clue me in on /usr/share/X11/locale?01:25
blue_annanormally if I wanted to define a dead key I would do it in the Compose page for the locale, but spanish for example doesn't have a locale defined here, instead using teh default. If I wanted to flesh out spanish with my own custom locale so I could manipulate the dead keys, what would I need to build in that directory?03:04
blistovAnyone know how to boot lucid alternate from usb?  alternate REALLY wants a cdrom.  Posted solutions for other variants doesn't work.04:24
ScottKblistov: I know people have had success using usb-creator-kde from Lucid with at least the server CD (which is the same installer as the alternate CD).04:30
blistovScottK, any idea if the alternate cd is going get fixed in the future?04:33
ScottKI don't think it's the alternate CD that's broken.04:33
blistovIt boots from USB, but refuses to read the install media from the boot media (unless the boot media happens to be a cdrom ).04:35
blistovEvery other distribution of Linux (including Ubuntu) is able to correctly read install media from ... any physical media.04:36
blistovThis is a huge problem for server installations.04:37
blistovI'm not sure our company even owns a server with a cdroom.04:37
johanbrblistov, try unetbootin maybe?04:40
blistovjohanbr, Thats what I'm using.04:43
blistovAgain, I can boot the image, but the installer doesn't even give you ann option to install from any media other than a cd.04:43
johanbrso you didn't try usb-creator?04:43
blistovno.04:45
blistovtrying now, but I can't imaging its going to make changes to the actual installer...04:45
johanbrthen I would recommend that, that's the official method for putting images on usb media04:46
ScottKblistov: I helped someone with this exact problem a few days about and usb-creator-kde worked for them.04:59
blistovScottK, and johanbr, That did it.05:09
blistovThanks a tonne guys.05:09
ScottKblistov: Please go complain to unetbootin about not working for this situation.05:09
johanbryou're welcome05:09
ScottKYes, you're welcome.05:09
blistov:)05:13
imbrandonyes usb creator works for server installs , its how i do all the server installs that arent PXE here05:41
=== Amaranth is now known as c
=== c is now known as Amaranth
Chipzzblistov: you are wrong, period06:15
ChipzzI have installed alternate/server over the network, using pxe06:15
Chipzzno offence, but if it doesn't work, that's because you are doing sth wrong, not because sth is broken06:15
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
SpamapSugh.. us.archive.ubuntu.com seems to be made up of hosts with an allergy to Los Angeles.. 512kbit? Really? :-(07:15
* SpamapS hopes University of Oregon is happy w/ his mirroring. ;)07:15
lifelessSpamapS: us.a.u.c is london07:23
lifelessSpamapS: but you should be able to get more than 512kbit out of them07:23
lifelessSpamapS: also #ubuntu-mirror for mirror stuff07:24
lifelesssorry, -mirrors07:24
SpamapSUgh I'm in something like 12 ubuntu- channels already.. how many must I join? ;-)07:26
* SpamapS takes his bleary eyed sleep-needing whining where it belongs.. to bed. ;)07:26
lifelessno, you don't have to join; was just letting you know07:26
SpamapSthats cool I may actually ask about it in there07:26
pittikees: well, that's the plan, but it's apparently not that easy to do, and so we disable the script in lucid for now to prevent more damage; Chase was going to change it into an example script which you can copy to /etc/07:44
SpamapSpitti: whoa.. I don't know if thats wrong window or major lag.. but.. what script are you referring to?07:45
zygahello08:05
=== ogra_ is now known as ogra
=== almaisan-away is now known as al-maisan
alkisgWhen does the debian synching occur for Maverick? E.g. when will udhcp be imported from sid? https://bugs.launchpad.net/ubuntu/+source/udhcp/+bug/56684510:40
ubottuUbuntu bug 566845 in udhcp (Ubuntu) "Please update udhcp from debian" [Undecided,New]10:40
cjwatsonalkisg: syncing is already happening10:42
cjwatsonalkisg: that bug is equivalent to "cjwatson needs to get round to merging busybox10:42
cjwatson"10:42
alkisgAh, got it :)10:42
alkisgHeh10:42
alkisgThank you, I'll just check periodically then.10:42
tseliotcjwatson: as regards LP: #580763 what version shall I use for the package in maverick?11:49
cjwatsontseliot: up to you, as long as it's distinct and greater11:51
gnomefreakis libc6-i686 needed or is it in the libc6 package?11:51
cjwatsontseliot: if you want to use -0ubuntu1 for maverick and -0ubuntu1~10.04 or something for lucid-proposed, that's fine too11:51
gnomefreak^^ 10.1011:51
cjwatsongnomefreak: no longer needed and in fact no longer existing11:51
gnomefreakcjwatson: thanks11:51
cjwatsonwe're moving to i686 across the board11:52
=== amitk is now known as amitk-afk
tseliotcjwatson: ah, ok I'll use ~10.04, thanks11:52
tseliotcjwatson: I think you'll have to reject my last upload before I can do that though11:53
cjwatsontseliot: not actually true, but I can do it anyway11:53
cjwatson(done)11:53
tseliotcjwatson: thanks11:53
=== pgraner-afk is now known as pgraner
blue_annain Lucid, Compose sequences can only consist of two characters, and may only output one character. This makes them exactly equivalent to dead keys. but many useful example ~/.XCompose files online make use of 3 combining characters (in vitro w/ 2) or output multiple keys (digraphs)12:30
blue_annahow can I get that functionality ?12:30
=== oubiwann is now known as oubiwann_
=== amitk-afk is now known as amitk
=== oubiwann_ is now known as oubiwann
Prettoany testdrive devel here?13:13
* hyperair wonders what to make of all sabdfl's mails having a bad signature13:13
sabdflque?13:14
hyperairwell, so says enigmail anyway =p13:14
* xnox loves sabdfl's french =)13:14
hyperairgpg: Signature made Monday 24,May,2010 08:02:57 PM SGT using DSA key ID D54F084713:14
hyperairgpg: BAD signature from "Mark Shuttleworth <mark@ubuntu.com>"13:14
sabdflhmm13:15
hyperair=p13:15
sabdflcould be a MIME / T-bird thing. which mail?13:15
hyperairthe one you just sent on ayatana around 13 minutes ago13:15
hyperairbut yeah, it could be13:15
hyperairi think enigmail has some issues with html mail13:16
blue_annaand - why does compose-c-c give me a č - everywhere in gnome apps but no where in qt apps? its not defined in my system's compose files: http://pastebin.org/27410613:27
=== JFo-swap is now known as JFo
blue_annaand - why does compose-c-c give me a č - everywhere in gnome apps but no where in qt apps? its not defined in my system's compose files: http://pastebin.org/27410614:22
=== sconklin-gone is now known as sconklin
Gkirkland: ping, do you happen to be around atm?15:08
kirklandg: yes15:08
Gkirkland: have you had a chance to look at LP#571093 (libvirtd eating memory over time) the last couple of days?15:09
Gkirkland: I think I might be able to supply a rough patch to prevent it (trying to build it now)15:10
kirklandg: we know that it exists, and there are a handful of upstream memory leak changes in upstream libvirt git15:10
kirklandg: i haven't had a changes to zero in on it yet15:10
kirklandg: if you have a patch, i'd love to see it, will help get it sponsored15:10
Gkirkland: AFAIK upstream havn't changed this function in 0.8, I'm trying to prevent it by making sure we free the memory if we are returning non 015:11
G(or any of the related functions for that matter)15:12
kirklandg: oh?15:12
Gkirkland: I think this is a new bug due to udev rules in Debian/Ubuntu, I couldn't reproduce it under Fedora, but the udev rules there are totally different15:13
kirklandg: oh, interesting, thanks for narrowing that down15:14
blue_annain Lucid, Compose sequences can only consist of two characters, and may only output one character. This makes them exactly equivalent to dead keys. but many useful example ~/.XCompose files online make use of 3 combining characters (in vitro w/ 2) or output multiple keys (digraphs)15:14
Gkirkland: I'm Nigel Jones in the bug btw15:15
blue_annahow do I get that functionality15:15
Ghmmmm great, certainly reduces the effect of the leak15:15
kirklandg: thanks15:15
kirklandg: but does not prevent it?15:15
Gkirkland: valgrind showed two major leaks15:15
GI'll take a look at the second now15:15
GI wonder if it's leaving a device entry around somewhere15:16
Git's only about 8k RES during a multipath -F/multipath -v4 though so it has reduced15:17
cjwatsonblue_anna: it would seem nobody here knows.  Perhaps you should try mailing the ubuntu-x list?15:18
kirklandg: gotcha15:18
=== blue_anna is now known as blue_annacj
=== blue_annacj is now known as blue_anna
blue_annacjwatson:  thanks, I guess I'll try that too15:19
=== dendro-afk is now known as dendrobates
Gkirkland: okay, I think I got rid of the second memory leak, I'll attach the patch to the launchpad with my explanation for the second fix too15:36
=== pretto_ is now known as Pretto
kirklandg: thanks15:45
Gkirkland: just posted my patch15:47
* kirkland checks15:48
Gkirkland: RES memory use appears to be stable now except for the odd increase/decrease but it no longer corresponds to when I run multipath15:49
kirklandg: patch looks perfectly reasonable to me15:50
kirklandg: could you take the to-do of sending this patch to the upstream list, while I work on getting the SRU together?15:51
Gkirkland: sure15:51
Gif I can remember my RHBZ password that is :P15:52
kirklandg: post the libvir list15:54
Goh okay, even better :)15:54
GI guess they'll want it in git format iirc?15:55
kirklandjdstrand: around?15:56
kirklandjdstrand: G just posted a simple patch that purportedly fixes https://bugs.edge.launchpad.net/ubuntu/+source/multipath-tools/+bug/57109315:56
ubottuUbuntu bug 571093 in multipath-tools (Ubuntu) "multipath + libvirtd eats away more memory over time" [Medium,Triaged]15:56
kirklandjdstrand: i'm just verifying that, and will upload a package to lucid-proposed15:57
kirklandjdstrand: just wanted to give you a chance for feedback first ;-)15:57
kirklandg: can you give me a few specific instructions on reproducing the leak?16:07
Gkirkland: okay, well the easiest way I found was that w/ multipath having no configuration multipath -F followed by multipath -v4 would generate the required udev add/change/remove calls16:09
Gkirkland: an examplehttp://paste.ubuntu.com/438911/16:13
pittiSpamapS: I was replying to kees, not to you16:15
Gkirkland: any method of triggering the add/remove udev calls should reproduce the issue btw16:18
kirklandg: cool, i'm on it16:19
kirklandg: hmm, I'm running this, without seeing a leak:16:25
kirklandfor i in $(seq 1 10000); do sudo multipath -v4 >/dev/null; sudo multipath -F >/dev/null; free; done16:25
Gkirkland: do you see anything in udevadm monitor?16:26
kirklandg: hmm, no16:27
Gkirkland: oh, I found running 'top -p (pidof libvirtd)' was the best way of keeping track of it16:27
kirklandg: yeah, nothing, yet16:30
kirklandg: no events in the monitor16:30
Gkirkland: what ouput do you get from 'multipath -F; multipath -v4'16:30
G*output16:30
SpamapSpitti: I understand you weren't talking directly to me. I was just curious what sort of script was doing damage.16:36
pittiSpamapS: the pm-utils-powersave-policy one for spining down SATA drives16:36
SpamapSpitti: interesting16:37
kirklandg: http://paste.ubuntu.com/438920/16:38
Gkirkland: hmmm, the only thing different is 'mapp already present'16:41
Gkirkland: if you do multipathd -k and at the prompt run 'show config' it's empty?16:42
kirklandg: correct16:42
Gthe only thing I can think of is at first, I had an issue where udev was in a weird state16:43
G(when I was first reproducing it)16:43
GI could reproduce it, then udev would act up and stop producing the add/remove calls16:44
Gah ha16:45
Gkirkland: yeah, thats the issue16:45
Gkirkland: got an entry in /dev/mapper by any chance?16:46
Gfor your HD that is16:46
kirklandg: http://pastebin.ubuntu.com/438923/16:46
Gkirkland: bingo, I think we may have struck on a race condition in multipath? :P16:47
kirklandg: hrm, interesting ...16:48
Gbecause I managed to get to the same point with 'while true; do sudo multipath -F; sudo multipath -v4; done;16:48
Gkirkland: tbh, when I got to that point I just rebooted16:48
Gand reproduced with: top -p (pid of libvirtd) in one terminal, and manually running 'multipath -F; multipath -v4' in another terminal and watching RES going up16:49
kirklandg: i'm running your while true, no leak16:49
kirkland 1047 root      20   0  188m 7192 2960 S    0  0.2   0:00.37 libvirtd16:49
kirklandg: i'm pegged there16:49
kirklandg: 7192 constant16:49
Gkirkland: if that map already present message is still there, I'd expect it to peg there16:50
kirklandg: so how do I try to re-trigger the race?  reboot and let udev redect my hard disk?16:52
Gkirkland: I'm just trying to work out what multipath is looking for regarding that issue16:52
Gkirkland: ah ha!17:01
Gkirkland: without a reboot: dmsetup ls, if it's there with (252, 0) do a 'dmsetup remove <string>'17:01
Gkirkland: that fixed my multipath17:02
Gso it's actually a dmsetup/multipath race17:02
=== gnomefreak76 is now known as gnomefreak
=== RoAk is now known as andreserl
kirklandg: hmm, okay, so this is a bit outside my expertise17:10
kirklandg: what's dmsetup remove going to do?17:10
Gkirkland: remove the map that multipath created but couldn't remove, if like me, the HDD is mounted traditionally (like /dev/sda1 etc) then it won't effect mounted partitions17:11
Gdmsetup = device mapper, and just creates fancy references, mainly used for multipath & LVM17:11
kirklandg: i'm mounted by UUID17:11
Gkirkland: yeah, UUIDs won't be effected17:11
kirklandg: and after I do this, I'll reproduce the leak?17:12
Gyep should do, but do it slowly with just: multipath -F; multipath -v417:12
Gand wait a sec before doing it again17:12
GI think the problme with the do while loops is it tries to flush before the map is created17:13
kirklandg: okay, now i have activity in udev admin17:14
kirklandg: and yeah, now i see a memory leak17:14
Ggood and the RES memory usage should be going up for libvirt17:14
kirklandg: correct17:14
Gkirkland: great :)17:15
kirklandg: okay, so I've reproduced this;  can you post an update to the bug with your race condition analysis?17:15
Gwith the patch the starting RES should be lower than without (because it's fixed for startup) and then also it shouldn't go up during normal usage17:15
Gkirkland: actually, the race condition is seperate, it's really a new bug17:15
Gwhich I'll create17:16
kirklandg: i see your post to the libvir list, thanks ;-)17:16
Gkirkland: was just waiting till I was certain that you'd be able to reproduce the issue :)17:17
kirklandg: heh, okay, i just need to document how to reproduce it for the SRU17:17
Gkirkland: no problem17:18
ScottKdoko_: Did you plan on uploading your last Ubuntu twisted fix to Debian so we can sync it?  I see some builds failing for lack of an update and a sync would be nicer than a merge....17:26
Gkirkland: btw, for the race condition: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/58502717:27
ubottuUbuntu bug 585027 in multipath-tools (Ubuntu) "Race condition with dmsetup causes 'map already present' messages" [Undecided,New]17:27
Gkirkland: anything else I need to do, or can I just leave it with you?17:27
kirklandg: just one sec, review my update17:28
Gkirkland: sure, let me know when it's up17:28
kirklandg: http://pastebin.ubuntu.com/438949/17:30
Gkirkland: for IMPACT: I'd remove the system loses a udev race on boot bit17:32
Gthe race condition that we experienced just impacted our ability to hit the bug17:32
Gthe impact is really any system w/ libvirtd running while udev add calls are occuring17:32
Gkirkland: to avoid the race condition in the while true loop, maybe add a sleep 1 or something like that to let udev/dmsetup/multipath to settle17:33
kirklandg: okay17:33
=== deryck is now known as deryck[lunch]
Gkirkland: but yeah, that sounds about right17:34
G(I'd put the sleep 1 bit after multipath -v417:35
kirklandg: thanks, uploaded to lucid-proposed17:37
Gkirkland: cool, thanks for looking at it, I think I might look at some of the libvirt bugs sometime too, that one just got me really interested though :)17:42
kirklandg: cheers, thank you;  *great* job tracking it down17:42
kirklandg: the libvirt bugs could certainly use a hug from someone with an interest in fixing some of them ;-)17:42
Gkirkland: yeah17:43
Gkirkland: must say, valgrind was the biggest help17:44
=== amitk is now known as amitk-afk
Gkirkland: well, have a good day! :)17:46
Gkirkland: oh I guess I should also forward this to the debian.org BTS so they can apply the patch there as well17:48
kirklandg: that would be good, yeah17:48
Gkirkland: if you want, I can do that in the morning17:48
kirklandg: nice, you got an ack on the upstream patch too, great17:48
Goh, haven't seen that yet17:48
Gkirkland: oh thats great news17:49
mpagano_Does ubuntu have a web front end to commits?17:51
blue_annaI've mostly got my compose issue worked out now17:53
blue_annathe main thing that's got me confused is gnome-terminal and firefox don't accept many-key compose sequences, and won't output  more than one character -- it only works for definitions that are like deadkeys17:54
blue_annaeverything else, xterm, opera, kde apps .. they all work with like for example compose+b+t+w = "btw"17:54
blue_annaor "by the way" I was being quick :)17:54
=== oubiwann is now known as oubiwann_
=== al-maisan is now known as almaisan-away
=== oubiwann_ is now known as oubiwann
blue_annahttps://help.ubuntu.com/community/ComposeKey - I was following this guide17:56
ionHit compose, release it and then hit the rest.17:58
blue_annaboth ways, it works or it doesnt. like compose+t, m works. so does compose, t, m17:58
blue_annabut compose, b, t, w does not -- unless I'm using anything other than gtk17:58
blue_annaI have explicitly set GTK_IM_MODULE like it says to in the guide18:00
blue_annaion: not sure what's up with it18:00
=== deryck[lunch] is now known as deryck
blue_annaion: you still here?18:23
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== amitk-afk is now known as amitk
=== dendrobates is now known as dendro-afk
=== bjarkef is now known as thefakebjarkef
=== thefakebjarkef is now known as bjarkef
blue_annathe gtk people tell me that xim is not the preferred im because it is buggy. I am getting one of those bugs with my particular set up. what is the suggested lucid alternative to xim for custom compose keys ? https://help.ubuntu.com/community/ComposeKey -- this says xim but like I said that's known not to work19:36
=== dendro-afk is now known as dendrobates
=== radoe_ is now known as radoe
blue_annado you know how to get Xcompose working with ibus? there are some unanswered posts on ubuntuforums about that but no solutions19:50
=== xfg is now known as zul
persiablue_anna: I believe ibus is the recommendation20:50
blue_annapersia: yeah I heard that now, thanks20:52
=== emma_ is now known as emma
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
rascal999sudo service statd start -- fails with Warning: Fake initctl called, doing nothing. Any ideas?22:59

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