/srv/irclogs.ubuntu.com/2009/03/05/#ubuntu-devel.txt

giacoazeem, you missed the right order00:03
azeemdang00:03
giacobut probably you could guess one answer :-P00:03
giacoreally, I'm reading the gdb manual to find out why the backtrace always says that the library doesn't have any debug symbol.00:05
avbgiaco: just in case u can use LD_PRELOAD=/usr/lib/debug/usr/lib/libGL.so.1.5.070200 gdb myappname00:08
slangasekno, you can't00:08
avbwhy?00:08
avbwas working all the time just fine00:09
avb:)00:09
giacono, it just contains debug symbols00:09
avbah00:09
avbi see00:09
giacothat's what I've just learned: it segfaults immediately if I preload it00:09
giacoisn't there a way to confirm that gdb loads the symbols automatically? The backtrace says that /usr/lib/libGL.so.1 is used, but no symbols inside00:12
slangasekgiaco: that's really not on-topic for this channel; but are you sure that /usr/lib/GL.so.1 on your system is the one from libgl1-mesa-swx11?00:13
giacoslangasek, that's what this page says http://packages.ubuntu.com/intrepid/i386/libgl1-mesa-swx11/filelist00:16
giacoI've just installed it, I could reinstall it if it's necessary00:16
slangasekthat's the wrong place to look; the question is not "does libgl1-mesa-swx11 contain such a file", the question is "is that the package which provides that file on your system"00:16
slangasekthat question is answered by dpkg -S /usr/lib/libGL.so.1 - and now this is definitely off-topic00:17
giacoit's off topic, ok, btw libgl1-mesa-swx11: /usr/lib/libGL.so.1 and the debug is not working00:17
mathiazkees: so it seems that pie breaks at least one test case in openldap 2.4.1500:49
mathiazslangasek: ^^00:49
mathiazslangasek: debian doesn00:49
mathiazslangasek: debian doesn't enable pie in openldap right?00:50
slangasekthere's nothing in the Debian packaging to enable PIE, no00:50
mathiazslangasek: great - thanks.00:50
mathiazkees: how can I debug this?00:50
keesmathiaz: ew, is it only with the new version?00:52
keesmathiaz: I've actually never debugged a PIE problem, but I'd basically treat it like any other corruption problem -- what's die, where, what variables are involved, and how does it compare to the non-PIE version00:52
mathiazkees: yes - 2.4.14 built sucessfully in jaunty00:53
mathiazkees: 2.4.15 does not00:54
mathiazkees: it always fails in the same test case.00:54
mathiazkees: ok - I'll try to replicate the setup - a least I've got a test case to work from00:54
TheMuso/c/c00:57
vbgunzI pretty much got suspend to ram working pretty flawlessly. anyone have any ideas why suspending to disk can still be an epic failure? I'll try anything, any ideas?01:28
=== asac_ is now known as asac
=== LaserJock_ is now known as LaserJock
=== asac_ is now known as asac
vbgunzI finally got suspend to disk working too. but upon second resume, although everything appeared fine, my networking is dead. the first time it was fine. the second time, dead and sudo /etc/init.d/networking restart|stop|start didn't do a thing about it :/03:37
vbgunzcan someone help me troubleshoot that?03:37
ScottKvbgunz: Help is in #ubuntu for dapper/gutsy/hardy/intrepid and #ubuntu+1 for Jaunty03:40
vbgunzScottK: ok. thought this was a big issue here. I have about 90% suspend issues solved. 100% if not for the failed network on second resume. cool.03:42
=== Knives is now known as Guest38101
pittiGood morning07:50
sbeattiepitti: moin07:52
sbeattiepitti: re apport-collect, in https://bugs.launchpad.net/ubuntu/+source/cups/+bug/336512 the reporter used apport-collect to collect additional information, but it looks like only the stuff reported by attach_hardware(report) got attached and not attach_printing(report), which is sadly the crucial bit. Any idea why?07:53
ubottuLaunchpad bug 336512 in cups "HP Deskjet F4180 not detected as printer on Jaunty" [Undecided,Incomplete]07:53
pittisbeattie: but it does07:56
pittisbeattie: there's Papersize and a (failed) lpstat07:56
sbeattiepitti: hrm, but where's the cups error log?07:57
pittisbeattie: problem for error_log is that a normal user doesn't have permission to access it07:57
sbeattieOh. mu.07:58
pittiPpdFiles is missing, too, though07:58
pittisbeattie: looks like the hook crashed halfway through07:58
pittisbeattie: let me try that here locally07:58
sbeattiepitti: was wondering if the failed lpstat was causing something like that.07:59
pittino, shouldn't07:59
pittibut wait..08:00
pitti    nicknames = command_output(['fgrep', '-H', '*NickName'] + glob.glob('/etc/cups/ppd/*.ppd'))08:00
pittisbeattie: ^ if the glob is empty, then this will hang forever08:00
pitti>>> apport.hookutils.attach_printing(r)08:00
pitti-> indeed that never returns08:00
* pitti fixes08:01
pittisbeattie: ah, and it also tries to attach "error-log", not "error_log"08:01
sbeattiecool, thanks for digging into it.08:04
pittisbeattie: btw, attaching error_log will do fine for crashes (which are processed as root), but not for bug reports08:04
pittiarguably those log files should be root:adm, not root:lp08:05
sbeattieis there anything sensitive that gets reported in error_log?08:07
pittiwell, file names, dates, etc.08:08
directhextseliot, after all that, seems 180.11 DOES support the 216-core gtx260..... however, intrepid's kernel doesn't support the audio or networking on my board ;)08:37
directhexso seems i'll be updating my desktop to jaunty earlier than planned :|08:37
tseliotdirecthex: problem solved then, well kind of ;)08:37
directhextseliot, good thing i had a spare tg3 card08:38
=== azeem_ is now known as azeem
=== seb128_ is now known as seb128
slytherinStevenK: Hi. Do you maintain seed for mobile-meta?09:29
StevenKslytherin: I do.09:30
slytherinStevenK: just wanted to bring bug 337881 to your attention. :-)09:31
ubottuLaunchpad bug 337881 in mobile-meta "Please remove libpt-1.10.10-plugins-* from ubuntu-netbook-remix dependencies" [Undecided,New] https://launchpad.net/bugs/33788109:31
StevenKslytherin: Commented on, thanks!09:35
loolWhere are the removal reasons again?09:36
loolStevenK: Could you please check why mesa-swx11-source was removed in intrepid?09:36
loolStevenK: it's needed to build vnc4 it seems09:37
loolBuild-Depends: ... mesa-swx11-source (>> 6.4.1)09:37
StevenKlool: The removal reasons have all been pulled into LP09:38
loolAh right09:39
StevenKlool: But dropping a binary is up to the source package that provided it09:39
loolStevenK: Right, I see it was dropped in mesa now; thanks09:43
Cimihow can I download the linux-image souce?09:55
Cimithe LPIA jaunty port has a mistake09:55
Cimistrangely it lacks of the ext4 module09:55
Cimiit has to be recompiled/patched09:55
cjwatsonI'm fairly sure there's a bug report about that09:56
cjwatsonapt-get --only-source source linux09:56
CimiI did them09:56
cjwatsonI've targeted it for jaunty so that it doesn't get forgotten (bug 331848)09:57
ubottuLaunchpad bug 331848 in linux "Cannot mount ext4 on linux-image-lpia" [Medium,Triaged] https://launchpad.net/bugs/33184809:57
Cimiperfect09:57
Cimianyway apt-get --only-source source linux doesn't work with jaunty09:57
Cimiit doesn't fetch the sources09:57
Cimijust something like a meta package09:57
Cimionly few bytes09:57
directhexcorrect09:58
directhexlinux-meta09:59
Cimiwhere's the source of those packages?09:59
cjwatsonare you sure you used the --only-source option?09:59
CimiI've tried a lot of combinations, it just downloads the linux.meta09:59
cjwatsonhmm, indeed that doesn't work, odd10:00
directhexoh. tee hee. the source package "linux" contains images; the source package "linux-meta" contains the "linux" package10:00
cjwatsonyeah, but --only-source is meant to avoid that problem10:00
cjwatsonhttp://archive.ubuntu.com/ubuntu/pool/main/l/linux/ anyway10:00
directhexapt-get source linux-image-2.6.28-8-generic ;)10:00
directhexsigh, there has GOT to be a better way to enumerate model= parameters for snd-hda-intel than looking at the source10:01
Cimigeneric will work for LPIA?10:01
cjwatsonCimi: same source package, don't worry about it10:01
cjwatsonhmm, apt-get source seems a bit broken here10:01
CimiI mean when I will run the dpkg-buildpackage it will generate the lpia deb with custom kernel config?10:01
cjwatsonif you're building on an lpia system, yes10:02
Cimibut I want the lpia config with the lpia patches10:02
Cimijust with ext4 support10:02
cjwatsonmvo: why does 'apt-get source linux-source-2.6.28' print out some strange misformatted messages and then get me the linux-meta source?10:02
cjwatsonCimi: yes10:02
CimiI don't want a generic, i385 compiled for lpia10:02
Cimiok10:02
Cimi*i38610:02
cjwatson'apt-get source linux-image-2.6.28-8-generic' doesn't work at the moment anyway10:03
cjwatsonCimi: just download the source from http://archive.ubuntu.com/ubuntu/pool/main/l/linux/ directly10:03
Cimicjwatson, I'm using apt-get source linux-image-2.6.28-8-generic10:03
Cimiit works here10:03
cjwatsonCimi: you want the linux_2.6.28.orig.tar.gz, linux_2.6.28-8.27.diff.gz, and linux_2.6.28-8.27.dsc files10:03
cjwatsonok10:04
Cimicjwatson, I would like to attach a patch on the bugreport, which is the correct way to get debian diffs? I mean, i just need to use diff on the uncompressed folder or something different?10:06
cjwatsonCimi: is a patch actually going to speed things up? it would take a kernel developer about ten seconds to fix10:07
cjwatson(so I nudged them)10:07
Cimiit's one second patch10:07
cjwatsonso don't bother :)10:07
Cimiok ;)10:07
cjwatsonCimi: for submitting patches to the kernel in general though, https://wiki.ubuntu.com/KernelGitGuide10:08
Cimibut since this bugreport is opened from days and no one did anything...10:08
cjwatsonCimi: so you could do that10:08
mvocjwatson: looks like a bug, give me a sec, I have a closer look (it seems to prefer the binary "linux" that is build from linux-meta over the srcpkg "linux"10:10
cjwatsonmvo: well, that's just the behaviour that --only-source changes; but linux-source-2.6.28 should be unambiguous10:10
cjwatson(I'm not asking for the --only-source default to change, that seems like a bikeshed)10:10
cjwatsonCimi: smb_tp said he'd fix it10:11
Cimicjwatson, so I just need to wait for an updated package?10:12
cjwatsonthat's usual when a developer says he'll fix something, yes :)10:12
Cimicjwatson, please ask him when it will be released: I have a big partition I would like to use, and I need to know if it worth a compile on my netbook10:13
cjwatsonCimi: you can ask him yourself, he's here10:15
Cimioh :)10:15
Cimismb_tp, ^^10:15
smb_tpI am on it to enable the ext4 module10:16
Cimiyeah10:16
Cimido you know when the package will hit the repository?10:16
smb_tpnot exactly, I'll have to check with someone else, but I could provide you with intermediate kernels.10:17
Cimithat would be wonderful, compilation on an atom is somewhat painful :)10:18
directhex        _R("RTL8168d/8111d",    RTL_GIGA_MAC_VER_25, 0xff7e1880)  // PCI-E10:18
directhexdamn. jaunty supports this, but not intrepid10:18
smb_tpI know :) Will update the bug when I got something up10:18
Cimismb_tp, something like a link on a deb? :-)10:19
smb_tpyep10:19
Cimiamazing, thank you10:19
directhexintrepid has RTL_GIGA_MAC up to VER_20, new motherboard has VER_2510:20
mvocjwatson: it seems like the prolem is that it goes over the Source file sequentially and stops on the first (bin|src) name it finds. so if the bin linux name is found first it gives this confusing result10:20
Cimimvo, cjwatson https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/33010310:22
ubottuLaunchpad bug 330103 in linux-meta "[jaunty] apt-get source linux-image`-uname -r` does not download sources" [Undecided,New]10:22
mvothanks Cimi10:28
slytherinpitti: with regards to bug 305790, any idea why lucene2 was never moved to main?10:38
ubottuLaunchpad bug 305790 in suitesparse "MIR - move to main for openoffice.org 3 build-depends" [Undecided,Fix released] https://launchpad.net/bugs/30579010:38
davmor2guys what package should I file this too Bug 33815910:47
ubottuLaunchpad bug 338159 in ubuntu "Jaunty: libavcodec52 and libavutils49 conflict with the unstripped versions" [Undecided,New] https://launchpad.net/bugs/33815910:47
directhexdavmor2, you know that's intentional, right?10:49
davmor2almost certainly but you can't overwrite the one with the other10:50
slytherindavmor2: what do you mean by overwrite?10:57
directhexnot clear to me. the conflicts is intentional, it forces apt to replace onewith the other (but never both together) as needed10:58
slytherinright. Even I am not clear what the issue is.10:59
davmor2slytherin: I understand this.  How ever only synaptic is able to replace the packages.  Add/remove and apt-get can't and don't give a sensible explanation as to why it failed11:02
=== thegodfather is now known as fabbione
davmor2slytherin, directhex: It is this that I'm having issues with rather than the conflict in packages11:03
slytherindavmor2: Both synaptic and add/remove use apt-get as backend. So I don't see why it should fail in apt-get and add/remove while it works in synaptic.11:04
directhexdavmor2, you've neglected to paste the actual messages from apt/synaptic/whatever, which makes it harder to diagnose11:04
slytherindavmor2: may be there is something wrong on your system.11:04
davmor2slytherin: it's a vanilla install and it has been confirmed by others11:05
davmor2directhex: it just says it can't be installed in add/remove syaptic says nothing it just removes the non-unstripped versions11:07
Keybuksuperm1: around?11:12
directhexhm @ current gdm theme in jaunty. not unique & brown enough!11:16
slytherindirecthex: and I remember some problem with the right click menu not visible enough.11:17
asacKeybuk: http://launchpadlibrarian.net/20975050/ifupdown_0.6.8ubuntu13_0.6.8ubuntu14.diff.gz11:55
asacKeybuk: did you look at the debdiff before uploading?11:56
Keybukasac: webm always goes mad11:56
Keybukoh11:57
Keybukthat debdiff isn't even webm mostly11:57
asacKeybuk: well. you trashed the complete _darcs directory ;)11:57
Keybukit's just that _darcs isn't included in the .tar.gz now11:57
asacKeybuk: can you do something like that: https://edge.launchpad.net/ubuntu/+source/ifupdown/0.6.8ubuntu1211:57
Keybukand this is a bad thing because?11:57
=== pgraner-afk is now known as pgraner
asacKeybuk: unreadable debdiff ...11:57
asacKeybuk: i dont care. its just that the feature to not up interfaces if they are managed=true by NM seemed not to work11:58
asacand i tried to find the reason ;)11:58
KeybukI guess dpkg doesn't include the _darcs directories anymore?11:58
KeybukI would have just done dpkg-buildpackage -S11:58
asacKeybuk: yes. you need to trick it11:59
asacthats why i had this issue in ubuntu1111:59
Keybukyeah, can't be arsed with that11:59
Keybukif a package needs to be tricked to dpkg-buildpackage, it's a bug in the package11:59
asacKeybuk: its -I""11:59
asacor something11:59
Keybukputting revision control in the package is a bug anyway11:59
asacKeybuk: well. tell that debian ;)11:59
asacKeybuk: i agree, but do having this diff in ubuntu makes future merges hard11:59
Keybukwe can fix that next time we merge12:00
cjwatsonKeybuk: are you building on intrepid by any chance?12:02
Keybukasac: hmm, the _darcs directory has come back again?12:02
asacKeybuk: even after filtering out _darcs from the diff its still really huge ;)12:02
Keybukcjwatson: yes12:02
cjwatsonKeybuk: see bug 31776112:02
ubottuLaunchpad bug 317761 in dpkg "dpkg-source sets -i -I by default" [Undecided,Fix released] https://launchpad.net/bugs/31776112:02
cjwatsonI'm just uploading an SRU for that now12:03
Keybukahh12:03
Keybukinteresting12:03
asacKeybuk: not sure. i will check now if the ifupdown feature is really broken ... if not i will not care12:03
KeybukI thought that was deliberate :p12:03
asacif it is, i will let you knwo ;)12:03
cjwatsonnah, causes real problems12:03
Keybukheh12:03
KeybukI should just upgrade dpkg to jaunty I guess12:04
cjwatsonparticularly for people who are intentionally trying to put binary gunk in source packages for one reason or another12:04
cjwatsonyou can test my SRU once it's approved :)12:04
Keybukok, deal12:04
asacKeybuk: could it be that we dont run ifup -a at boot time anymore now?12:07
asacbut ifup IFACE for each individual one?12:07
Keybukwe do run ifup -a at boot12:10
asacKeybuk: hmm ok. i will check why the managed=true NM case was broken on my last boot then12:10
asace.g. it was upped12:10
asacthanks12:11
Keybukjust once12:38
Keybukfor one release12:38
Keybukor even just one day12:38
KeybukI'd like the brightness setting and keys to work properly on my Dell12:38
ion_:-)12:38
directhexi've never owned a dell where they DON'T work!12:39
directhexit seems computers just hate you, Keybuk12:39
Hobbseewfm?12:40
Hobbseebut still - i'd *love* my next track button to work again!12:40
* Hobbsee has never been able to track that one down12:40
Keybukdirecthex: if I don't touch my laptop, the backlight basically turns off12:41
Keybukthen if I do anything ... nothing happens12:41
Keybukit doesn't go brighter again12:41
Keybukif I use the brightness keys, there are over a hundred presses required to get it back to full brightness12:41
Keybukand you can't just hold the key down either :p12:41
asacKeybuk: so the reason seems to be that the udev rules now trigger ifup UDEVDEVICE12:42
Keybukasac: they have since ~dapper12:42
asacreally?12:42
Keybukpretty sure it was dapper, yeah12:42
asacKeybuk: then the order seems to have changed ... or the udev rules are now triggered on startup while they were not in intrepid?12:42
Keybuknope, always been triggered on startup ;)12:42
asacKeybuk: well. i 100% sure that ifup IFACE was not run on startup ... only ifup -a in intrepid ;)12:43
asacKeybuk: any idea why? maybe the rules were broken?12:43
asacanyway. now that i know whats up i will fix that somehow.12:45
Keybukif they didn't run, that was a bug in intrepid12:45
cjwatsonpitti: damn, you're ahead of me on http://qa.ubuntu.com/reports/bug-fixing/jaunty-fixes-report.html12:45
Keybukit might have been caused by that whole /var/run/network/initialized madness12:45
* cjwatson considers strategies for catching up12:45
cjwatson... ethical ones12:46
asacKeybuk: you mean ifstate?12:46
Keybukasac: no, siretart did a whole bunch of changes in intrepid to try and fix a wpa_supplicant bug12:46
Keybukbut broke just about everything else in the process12:46
Keybukhe may have broken udev ifup too12:46
Keybukwe reverted them all in jaunty12:46
asacoh... that might be possible12:46
pitticjwatson: *psssst* <whisper>secret tip: fix more?</whisper12:46
pitticjwatson: I have 5 more in the pipe right now :)12:47
asacanyway, i will fix that somehow, but come back to you in case i am still on top of changelog for next merge round ;)12:47
cjwatsonpitti: bah :)12:47
cjwatsonI'm working on it :)12:47
asacpitti: so i talked to wellark. he said he would prefer if we wait till next week with mbpi12:47
pittigo, cjwatson, go!12:47
asacpitti: he wants to bake a real release over the weekend12:47
asacpitti: did you already push the upload out?12:47
pittiasac: hm, MBPI?12:47
pittioh, that12:47
* pitti knows that as Meyer-Briggs Personality Index12:48
asac;)12:48
pitti(or something like that)12:48
ogracjwatson, hmm, didnt flash-kernel get moved to main during the arm enablement ?12:48
pittiasac: can't talk longer, must fix more bugz!!12:48
* mneptok is an ENFP12:48
asacpitti: sure. just wanted to let you know that we should wait with the upload/SRU12:48
* pitti is ISTJ12:49
pittiasac: (just kidding); thanks for the heads-up12:49
* Hobbsee twitches at pitti12:49
cjwatsonogra: I had thought so but apparently not12:49
ogracjwatson, ah, that might explain bug 336770 then *g*12:49
ubottuLaunchpad bug 336770 in debian-installer "Problems Installing Jaunty On NSLU2" [Undecided,Confirmed] https://launchpad.net/bugs/33677012:49
cjwatsonogra: no bugs ever reported on flash-kernel so there can't have been an MIR either12:49
mneptokasac: your nick always makes me think of notes Spanish-speaking developers write themselves to remind them to lock the house on the way out. ;)12:49
cjwatsonyes, I'll reassign12:49
ograright, i'll write one later today12:49
pittiHobbsee: http://en.wikipedia.org/wiki/Myers-Briggs_Type_Indicator12:50
asacmneptok: heh. how does that come?12:50
Hobbseepitti: i'm aware.  it was discussed in lecture today, along with a whole lot of other management type things.   it's interesting, but...wow...12:50
mneptokcasa12:50
asacmneptok: ;)12:50
mneptok   make food12:50
mneptok    watch movie12:51
mneptokasac12:51
asacmneptok: actually when my nick is not avail, i use asacasa :)12:51
* directhex is chaotic neutral12:51
mneptokdirecthex: Chaotic Good FTW12:52
directhexmneptok, i'm a mono packager, i don't think i'm allowed good alignments12:52
mneptokdirecthex: http://www.wilddamntexan.com/kids/demotivators/chaotic_good.jpg12:52
* Keybuk always gets a different result every time he takes one of those tests12:53
Keybukmneptok: isn't that just "good" in 4th ed?12:59
mneptokKeybuk: i still have my First Edition rules. you kids ...13:00
stgraberseb128: hey, any idea what change in Jaunty's gnome broke the way LTSP makes USB keys and other local medias to work ?13:02
seb128no13:02
stgraberseb128: basically mounting something in /media no longer appears on the desktop13:02
seb128I've not clue about ltsp13:02
ograseb128, gvfs used to pick up all mounts that show up in /media, does it still do that ?13:03
stgraberseb128: LTSP mounts local devices in /media/<USERNAME>/<device name> so something like /media/stgraber/usbdisk-sdc13:03
seb128ogra: dunno, we got no bug about it not doing that and there is no reason to think that it changed13:03
ograwell, ltsp is the only thing acutally relying on it13:04
seb128you guys write a testcase which work on an ubuntu desktop and I will have a look13:04
seb128I don't plan to a ltsp install for that13:04
ograindeed13:04
seb128hum? on media mounts?13:04
ograand thats not needed13:04
seb128usb keys are mounted there13:04
seb128I've fstab partitions mounted there13:04
ograon gvfs picking it up from the directory change13:04
seb128wfm13:04
ograwithout hal being involved13:04
seb128ntfs and usb key are listed13:05
ograor dbus ...13:05
ograok13:05
savvasis nvidia graphics driver 180 in intrepid considered "silent"? it's not present in hardware drivers and many users are wondering why13:16
directhexsavvas, it's a backport. you need to explicitly install the modaliases13:16
directhexnvidia-180-modaliases package13:17
directhexpossibly also run jockey-gtk -u13:17
savvasah... thanks for the tip directhex :)13:18
james_wfor those that were hitting the 2.6 problems with it, a fixed bzr-builddeb has just been synced, sorry for the delay13:51
Keybukcjwatson: got that SRU yet?13:52
cjwatsonKeybuk: it's uploaded and waiting for ubuntu-sru to review, I believe13:54
cjwatsonKeybuk: you could pull the patch from the bug and build it13:54
Keybukwhat's the bug#?13:55
cjwatson12:02 <cjwatson> Keybuk: see bug 31776113:55
ubottuLaunchpad bug 317761 in dpkg "dpkg-source sets -i -I by default" [Undecided,Fix released] https://launchpad.net/bugs/31776113:55
geserdoko: have you some time to look at python-4suite? Building for python2.5 works but with python2.6 setup.py only eats memory and I've no idea how to debug this. A build log is at http://launchpadlibrarian.net/23448421/buildlog_ubuntu-jaunty-amd64.python-4suite_1.0.2-7ubuntu1_FAILEDTOBUILD.txt.gz14:02
dokogeser: there's a bug report about it, not compatible with 2.6. we should repackage this as python2.5-4suite14:03
ScottKdoko: It is problematic though since it has rdepends.14:04
dokoScottK: yes, however what do you want to do?14:05
ScottKI want you to fix it?14:05
ScottKDunno.  I'm afraid the transition to 2.6 isn't quite as smooth as I'd hoped.14:05
ScottKjelmer: Are you interested in doing the packaging changes for samaba4 for Python2.6?  I'd rather not be touched-it-last for samba4.14:06
james_wit's not a trivial one14:07
=== BrunoX1ambert is now known as BrunoXLambert
jelmerScottK, shouldn't it just be a binNMU (or whatever the equivalent of that is in Ubuntu)?14:09
ScottKjelmer: We don't have binNMU, it's all sourceful uploads.  It does look like rules needs a spot of work due to site-packages/dist-packages in 2.6.14:10
directhexjelmer, ubuntu doesn't have a maintainer per package per se, so there's no "non-maintainer" to upload. however, generally the last guy in changelog gets consulted about the package as a guy who "cares" about it, and i think ScottK would rather someone convenient with an @samba.org address did it instead of him ;)14:12
kirklandKeybuk: hi, are you around?14:17
Keybukalways14:17
kirklandKeybuk: sweet, could you have a look at Bug 7141814:17
ubottuLaunchpad bug 71418 in sysvinit "/etc/init.d/(halt|reboot) disables WoL" [Low,Confirmed] https://launchpad.net/bugs/7141814:17
maxbHi, when proposing a debdiff to a package not currently using a patch system and not currently having any patches outside debian/ dir, is it correct to just patch the package in the traditional directly-in-.diff.gz way?14:18
Keybukis there new information on it?14:18
kirklandKeybuk: yes, i mean my latest comments :-)14:18
cjwatsonmaxb: yes14:19
cjwatsonmaxb: don't add patch systems to packages that don't have them, generally14:20
=== Amaranth_ is now known as Amaranth
pitticjwatson: we had the "cdrom in fstab" discussion a number of times already; however, do you think it would be reasonable to at least use /dev/cdrom instead of hardcoded /dev/scd0??14:39
pitticjwatson: aside from the fact that the number might change, scd0 is already deprecated again AFAIUI (it's srN now)14:39
Keybukright14:40
kirklandKeybuk: ?14:41
cjwatsonpitti: the installer doesn't hardcode /dev/scd0, actually14:41
kirklandKeybuk: oh, that probably wasn't for me :-)14:42
Keybukkirkland: tab open, please wait ;)14:42
cjwatsonpitti: it uses the device that /cdrom gets mounted on14:42
cjwatsonpitti: which I think comes out of 'list-devices cd'14:42
pitticjwatson: right, I expect it detects it, but for the purpose of writing it into fstab I still consider it hardcoding14:42
cjwatsonI could try to check whether there's a symlink pointing there14:42
Keybukscd0 is a symlink itself14:42
pitticjwatson: maybe easier: if /dev/cdrom exists, put that in, otherwise use the current device name?14:42
cjwatsonscd0 isn't relevant14:43
directhexthere's a /dev/cdrom and /dev/dvd, i wonder if there are blu-ray names. remind me to check14:43
cjwatsonpitti: no, we should check that it matches the device actually in use, in case of multiple drives14:43
Keybukcjwatson: be thankful it's even there before ;)14:43
pitticjwatson: okay14:43
Keybukthe scsi cd maintainer was pushing pretty hard to just drop it and only have /dev/sr014:43
* pitti wishes we could just drop it entirely for desktop installs14:43
Keybukdirecthex: there are not14:43
seb128I've "/dev/scd0       /media/cdrom   udf,iso9660 user,noauto,exec 0       0" in my fstab which breaks eject of unmounted CDs14:44
directhexKeybuk, aw. but how else can i feel special about owning a blu-ray drive? :o14:44
pittifor seb128's problem: eject apparently doesn't resolve symlinks in mount points14:44
=== ilowe_ is now known as ilowe
seb128$ eject /media/cdrom014:45
seb128eject: tried to use `/media/cdrom0' as device name but it is no block device14:45
seb128eject: unable to find or open device for: `/media/cdrom0'14:45
directhexso the bug is with eject, shirley?14:46
Keybukwell, that's clearly just a bug in eject as well ;)14:46
pittiabsolutely14:46
Keybukif it can't found the mount point name, and it's looking at a symlink, it should at least call readlink()14:46
pittiit just reminded me that we still put it into fstab in the first place, and with hardcoded device names14:46
Keybukyeah, the fstab entry is ugly14:47
KeybukI also find it odd that it's /dev/scd0 and /media/cdrom014:47
Keybukshouldn't it /media/scd0 ?14:47
Keybuk(or just /dev/cdrom and /media/cdrom)14:47
seb128hum14:49
seb128bug #26407114:49
ubottuLaunchpad bug 264071 in eject "eject -X reports "error while finding CD-ROM name"." [Undecided,Fix released] https://launchpad.net/bugs/26407114:49
seb128pitti: you fixed that symlink bug in intrepid apparently14:49
pittiseb128: that's what I seemed to remember, but apparently not then14:49
Keybuksomeone sync'd eject14:50
Keybuk  * Merge to Debian unstable. Remaining Ubuntu changes:14:50
Keybuk    - Fix eject -T for Macs (ioctl() can return EIO if tray is open). Thanks14:50
Keybuk      to Andy Matteson for the patch. (LP #91873, Debian #504478)14:50
Keybuk    - Resolve symbolic links when reading CD-ROM names, to fix "eject -X"14:50
Keybuk      and possibly other modes. Thanks to Adam Buchbinder for the patch.14:50
Keybuk      (LP #264071, Debian ##504480, submitted upstream via email)14:50
pittiit might also have been to resolve symlinks for device names14:50
Keybukpitti did a merge14:50
ubottuLaunchpad bug 91873 in eject "eject -T doesn't close the tray" [High,Fix released] https://launchpad.net/bugs/9187314:50
ubottuDebian bug 504478 in eject "eject: eject -T does not work on Mac" [Unknown,Closed] http://bugs.debian.org/50447814:50
ubottuLaunchpad bug 264071 in eject "eject -X reports "error while finding CD-ROM name"." [Undecided,Fix released] https://launchpad.net/bugs/26407114:50
Keybukthen barely two days later, someone sync'd it14:50
Keybuksays that pitti requested the sync ;)14:50
pitti  * Added patches from Ubuntu submitted by Martin Pitt:14:51
pitti    + Fix cdrom speed detection if /proc/sys/dev/cdrom/info references a14:51
pitti      symlink. LP: #264071, Closes: #50448014:51
pittidifferent symlink :)14:51
seb128seems a different issue, the log on the debian bug had "eject: error while finding CD-ROM name"14:55
seb128now it does14:55
seb128"eject: listing CD-ROM speed14:55
seb1282414:55
seb128"14:55
seb128not sure what this 24 is about though14:55
Keybukeep14:58
Keybukshould have so done a test reboot before that upload14:58
pittiKeybuk: you want to say "don't dist-upgrade in the next couple of hours"?15:01
Keybukno ;) it's all good15:01
KeybukI just should have tested that one :p15:01
Keybukkirkland: right, let's look at this bug of yours15:05
kirklandKeybuk: ;-)15:06
Keybukkirkland: ethtool enables wake-on-lan right?15:06
Keybukbut you still need to not have the -i iirc15:06
Keybukotherwise reboot downs the interface, disabling it15:07
kirklandKeybuk: one of many things that it does, but yes, it can set the WoL mode15:07
Keybukextra lines in /e/n/i are passed to the /etc/network/if-*.d scripts15:07
kirklandKeybuk: I don't disagree with that;  but that alone is not sufficient to solve the problem on my kit15:08
Keybukso all you actually need to do is read $WAKEONLAN in /etc/network/if-down.d15:08
Keybuk.../wakeonlan15:08
Keybukor is it up.d?15:08
Keybukwhichever ifup phase you need ;)15:08
kirklandKeybuk: cool, that actually sounds pretty straight forward15:08
Keybuk(it might be $IF_WAKEONLAN actually)15:08
Keybukthough configuring such things with /e/n/i sounds evil to me15:09
Keybukhow will that interact with NetworkManager15:09
Keybukwhat about desktops?15:09
Keybuketc.15:09
kirklandKeybuk: hmm, i thought you might say that15:09
kirklandKeybuk: is NetworkManager able to set the WoL mode?15:10
Keybukkirkland: -> asac15:10
kirklandasac and I discussed this briefly last week15:11
kirklandasac: around? i did a bit of testing that you asked for, regarding bug #7141815:11
ubottuLaunchpad bug 71418 in sysvinit "/etc/init.d/(halt|reboot) disables WoL" [Low,Confirmed] https://launchpad.net/bugs/7141815:11
kirklandcjwatson: question for you, about a bug that i marked as a 'pet-bug' ...  bug #6317215:14
ubottuLaunchpad bug 63172 in vim "Better vimrc default" [Wishlist,Triaged] https://launchpad.net/bugs/6317215:14
kirklandcjwatson: i'd like to upload something like this: http://pastebin.ubuntu.com/126749/15:15
kirklandcjwatson: but i thought i'd check with you first15:15
cjwatsonkirkland: yes, I think that's fine15:15
cjwatsonkirkland: autoindent is known to piss some people off15:15
kirklandcjwatson: agreed.15:15
asacKeybuk: for me connection managers dont sound like the right place to set WoL ... which seems to be rather a device thing15:16
asaci though it could be done in something lower, like udev looking at some config somewhere15:17
asacthought15:17
cjwatsonkirkland: commented on the bug15:17
kirklandcjwatson: cheers, thanks much15:17
KeybukI HATE YADA15:18
Keybukasac: then you need a root helper just to change the config15:18
asacyeah. still putting it into a connection manager still sounds wrong. anyway, if its done it should be done in a if-*.d/ script, right.15:19
Keybukbut does NM call those scripts properly?15:19
Chipzzcjwatson: I have the following snippet in my .vimrc:15:20
Chipzz" In normal mode, have <Insert> go to insert mode...15:20
Chipzznoremap <Insert> i15:20
Chipzz" ...and in insert mode, have <Insert> toggle paste mode (who uses replace anyway?)15:20
Chipzzset pastetoggle=<Insert>15:20
asacKeybuk: depends on what is properly for this case15:20
cjwatsonChipzz: sure, so do I (or similar)15:20
Chipzzdunnow if that makes sense though as a default15:20
Keybukasac: does it parse /e/n/i and pass the variables for the unknown options from it?15:20
ChipzzKeybuk: what do you mean by "extra lines"?15:21
asacKeybuk: probably not. which option should be passed in?15:22
Keybukasac: all of them15:23
KeybukChipzz: if you put15:23
Keybukiface eth0 inet dhcp15:23
Keybuk  hello-foo bar15:23
Keybukthen the if-*.d scripts will get $IF_HELLO_FOO=bar passed to them in their environment15:23
Chipzzthat looks rather ambiguous?15:24
kirklandcjwatson: i'm also going to decline that vimrc syntax-on change for Hardy15:24
kirklandcjwatson: doesn't seem to rise to the level for SRU, IMHO15:24
asacKeybuk: i wonder if you ask that because using /etc/network/interfaces is suggested in the bug or because you think thats the right place to configure WoL?15:24
Keybukjust the former15:25
Keybukie. I don't think ifup is the right place to do it at all15:25
kirklandyeah, that was purely my crackpot idea15:25
asacKeybuk: yeah. i dont think its the right place. this was ment to be a workaround for server setup15:25
Chipzzkirkland: as you're on the topic of vimrc options; what about set background=dark by default to get decent colors in screen?15:25
asacKeybuk: similar i dont think NM is the right place15:25
cjwatsonkirkland: oh heck yes15:25
cjwatsonkirkland: nominations crack is fairly common15:26
kirklandKeybuk: asac: it's the first place i would go to as a system administrator to permanently (across interface restarts) change some aspect of my interface's configuration15:26
Keybukisn't it something you only want to do when powering down?15:26
Keybuk"power down and wake on lan"15:26
kirklandcjwatson: ;-)  cheers.15:26
Keybuksounds a bit like "power down and wake for updates"15:26
ChipzzKeybuk: do options that get recognized by ifupdown also get passed that way, or just the unrecognized options?15:26
Keybukand "power down and wake on keyboard press"15:27
kirklandChipzz: hmm, dunno about that one15:27
asacsounds a bit like powermanager should do the root config15:32
superm1Keybuk, hi.  what's up?15:42
cjwatsonoh joy oh rapture I need a feisty chroot to investigate this bug16:17
directhexyay feisty!16:18
directhexisn't feisty dead?16:19
cjwatsonsure, but it's easier to start by reproducing the bug on the same release16:19
cjwatsonunless you have this strange religious belief that bugs magically become obsolete when we EOL releases ;-)16:19
directhexi do!16:20
cjwatsonodd person16:20
Keybuksuperm1: there's an upload of dkms in the archive that you'll want to merge into your GIT tree16:25
superm1Keybuk, noted. thanks.16:26
superm1Keybuk, looking at http://launchpadlibrarian.net/23511372/dkms_2.0.21.1-0ubuntu1_2.0.21.1-0ubuntu2.diff.gz , was there actually anything changed for the second changelog entry?16:27
Keybukhow do you mean?16:27
Keybukoh, weird16:28
Keybukwhere did that go?16:28
Keybukdkms isn't generated it is?16:28
Keybuk*shrug*16:28
Keybuksuperm1: uploaded again ;)16:29
superm1Keybuk, okay thanks16:29
Keybukit's in my test .deb16:29
Keybukbut not in the source16:29
Keybukmust have forgotten to run -S again after <g>16:29
ion_Perhaps dput should be replaced as the preferred tool by something that runs both debuild -S and dput for its result. :-)16:31
ogra_when did our default for TERM change ?16:31
Keybukogra_: our default for TERM is "linux"16:31
Keybukthis changed sometime in the 90s16:31
ogra_ogra@osiris:~$ env|grep TERM16:32
ogra_TERM=xterm16:32
ogra_COLORTERM=gnome-terminal16:32
ogra_ogra@osiris:~$16:32
ogra_so why is minbe not since i upgraded to jaunty ?16:32
Keybukoh, no idea on _that_ one ;)16:32
Keybukyou didn't say which default <g>16:32
ogra_i juwst found out thats the reason why my minicom freaks out since the upgrade16:32
KeybukTERM=xterm has been the default for every ubuntu release though, no?16:32
ogra_took me since the sprint to find that16:33
ion_My gnome-terminal in jaunty seems to have TERM=xterm as well.16:33
Keybuk(for X)16:33
ion_Oh, so does my gnome-terminal in intrepid. So no change there.16:33
ogra_Keybuk, well, then minicom doesnt know about xterm anymore since jaunty or something16:33
Keybukminicom should know about everything that terminfo knows about16:33
ogra_right16:34
=== ogra_ is now known as ogra
Keybukyou have a /lib/terminfo/x/xterm ?16:34
ograyup16:34
Keybukogra: though, WHILE YOU'RE HERE ... ;)16:36
ograYES ?!?16:36
Keybukogra: /etc/modprobe.d/fuse16:36
Keybukis that one of yours? :p16:36
ogranot completely, but i added it16:37
KeybukI have a few questions16:37
ograshoot16:37
Keybukwhat uses /sys/fs/fuse/connections ?16:37
ografusectl iirc16:37
Keybukso, I can see why you did it that way16:38
Keybukbut it's rather broken16:38
Keybukfor example16:38
Keybuktry this:16:38
Keybuksudo modprobe -f fuse16:38
ografeel free to wipe/redo/improve :)16:38
Keybukerr16:38
Keybuksudo modprobe -r fuse16:38
ograthat doesnt exec the modprobe.d stuff ?16:39
Keybukno, try it ;)16:39
ogrado you promis it wont trash my system ?16:39
KeybukI promise16:39
ograi havew important stuff going on16:39
ograok16:39
Keybukbut if it does, you wrote that file <g>16:39
Keybukyou'll get an error that fuse is in use, right?16:39
ograyup16:40
Keybuknow ls /sys/fs/fuse/connections16:40
ogranothing16:40
Keybukright16:40
Keybukin fact16:40
Keybukit's not even mounted anymore16:40
ograright16:40
Keybukyour remove rule unmounts it before attempting to remove the module16:40
Keybukbut if the module fails to remove, the unmount has still happened16:40
ograright16:41
ograso the script needs a check16:41
Keybukyou also don't use $CMDLINE_OPTS there16:41
Keybukso any command-line options passed to modprobe for the module will be dropped16:41
ograhmm16:42
KeybukI can't think of any better way to do what you're trying to do though :-/16:42
Keybukyou can't do it from a udev rule because you can't remove the fuse module while the path is mounted16:42
ograright16:44
Keybukremove fuse { if grep -q " /sys/fs/fuse/connections " /proc/mounts; then /bin/umount /sys/fs/fuse/connections; fi } && \16:44
ograi tried with a udev rule first iirc16:44
Keybuk        /sbin/modprobe -r --ignore-remove fuse $CMDLINE_OPTS || \16:44
Keybuk        { if grep -q fusectl /proc/filesystems; then /bin/mount -t fusectl fusectl /sys/fs/fuse/connections; fi ; : ; }16:44
Keybukis what I came up with16:44
Keybukof course16:44
ograugh16:45
Keybuknone of this works if fuse is built into the kernel16:45
ograis it yet ?16:45
Keybuknot yet16:45
Keybukbut it's worth thinking about16:45
ograif its in the kernel we can have fusectl permanently mounted16:45
ograthats a non issue then16:45
Keybukit's force-loaded in /etc/modules16:45
ion_Shouldn’t that be modprobe -r || { mount; ... exit 1; } or something to convey the failure?16:46
ograright16:46
ograion_, thats what it does ?16:46
Keybukion_: that'd fail the remove and remove the module again I think :p16:46
ograoh, the exit16:46
Keybukoh, hmm, no idea what it'd do on a failed remove actually16:46
Keybuksorry, was thinking in terms of the actual C code there16:46
allquixoticWell, there goes the rest of my day: http://watchout4snakes.com/creativitytools/RandomParagraph/RandomParagraph.aspx16:47
ion_I prefixed the remove rule with “exit 1;”. % sudo modprobe -r fuse16:47
ion_FATAL: Error running remove command for fuse16:47
allquixoticion_: Can't remove your fuse module? tried rmmod?16:48
ion_allquixotic: You missed the context, that error message was intentional.16:48
allquixoticah!16:48
allquixoticyes, I did miss the context16:48
ograKeybuk, well, i'd be for including it in the kernel by default16:53
ograand make fusectl a kernfs16:53
ograwe add all users to fuse by default anyway and gvfs makes use of fuse all the time16:54
ograno need to keep it modular anymore16:55
=== thunderstruck is now known as gnomefreak
* ogra vomits over his crashy X and hugs Keybuk for making reboots reasonably fast at least17:26
Keybukthey'll get about 10s faster rsn17:28
ion_How?17:30
ion_sreadahead?17:30
Keybukion_: new module-init-tools17:36
Keybukfinally17:36
ion_Oh, ok17:36
=== maco_ is now known as maco
=== fader is now known as fader|lunch
ion_keybuk: I seem to fail at finding information about what has changed re: speed/performance.17:41
JanCion_: IIRC there was something that made modprobe much slower than needed17:42
Keybukion_: https://wiki.ubuntu.com/FoundationsTeam/BootPerformance17:42
ion_keybuk: Thanks!17:42
Keybuknot fully up to date17:42
savvasis there a pykde module I could use that reads /usr/share/locale and /usr/share/locale-langpacks directories?17:47
pittibash: x-terminal-emulator: command not found17:54
pittile huh?17:54
pittioh, argh; go, broken alternatives handling17:55
* Keybuk wonders who the hell Lödur is18:20
=== fader|lunch is now known as fader
pedahzurIs there anyone doing Qt 4.5 builds for Ubuntu Hardy?  (And planning on doing PyQt4.5 builds for Hardy?)  I want to do some Qt 4.5 work, but I'm not readyto move off of an LTS version.  Should I file a bug and ask for a back-port for those packages?18:36
SyLanybody use eucalyptus?18:42
highvoltageaparently colgate uses it in herbal toothpaste18:43
highvoltage(and aparently ubuntu will too in 9.10)18:43
LaserJockhighvoltage: lol18:46
ScottKpedahzur: Qt has far too many reverse dependencies to backport.  I can tell you right now I wouldn't approve it.18:47
SyLI'm just asking about ubuntu's version of eucalyptus is all...18:48
pedahzurScottK: Bummer. Thanks, though.18:50
maxbCan anyone enlighten me on how to build udev packages from the ubuntu packaging bzr? I've got the branch, I've got the orig.tar.gz in ../, but when I dpkg-buildpackage, it spews huge amounts of warnings about unrepresentable changes.18:51
pedahzurjoin #kubuntu-devel18:52
pedahzuroops18:52
* ScottK hands pedahzur a '/'18:53
* ogra hands ScottK a '\' so the / doesnt fall over18:53
ScottK\o/18:54
ograheh18:55
ScottKTonio_: Altnernatively the problem is no one uploaded kde4bindings.18:55
cjwatsonmaxb: I think you need to use bzr builddeb18:55
ScottKSorry wrong channel18:55
cjwatsonmaxb: (which basically just chains through to dpkg-buildpackage but with the right options ...)18:56
maxbcjwatson: that was my second guess, but apparently not - same errors18:56
Tonio_ScottK: hum... https://edge.launchpad.net/ubuntu/jaunty/+source/kdebindings/4:4.2.1-0ubuntu218:56
alex-weejpulseaudio has frequently just killed itself since ubuntu introduced it, and it still happens in jaunty18:57
alex-weejdo we need a process to babysit it?18:57
alex-weejit's really bad that sound apps sometimes just don't work when you try to launch them18:58
cjwatsonmaxb: ok, I think it might be something like -i'(?:^|/)(?:\.bzr|\.git|test/)' then18:58
cjwatsonmaxb: IIRC Keybuk had some problems getting bzr builddeb to DTRT18:58
maxbyikes. Ok, I'll try. I can't imagine that people type that regex every build, though18:59
slangasekalex-weej: Works For Me; maybe you should file a bug report about your issue18:59
slangasekas for using a supervisor process... that would almost certainly make things worse.18:59
slytherincan someone please give back evolution-exchange?19:02
alex-weej/usr/bin/dbus-launch --exit-with-session /usr/bin/pulse-session /usr/bin/seahorse-agent --execute /usr/bin/gnome-session19:04
alex-weejis this how we launch our desktop session?19:04
slangasekalex-weej: yes?19:14
slytherincan someone please give back evolution-exchange?19:21
jdstrandkees: do you know what package sets up the sources.list file? specifically, the parts that say '## N.B. software from this repository is ENTIRELY UNSUPPORTED ..."19:34
keesjdstrand: hrm, I don't -- I would assume it's a d-i template, maybe19:46
slangasekapt-setup udeb, I think19:48
slangaseksorry, 'apt-setup-udeb' actually :)19:48
jdstrandslangasek: cool, thanks19:56
=== Nicke_ is now known as Nicke
=== gmaculo_ is now known as gmaculo
=== gmaculo_ is now known as gmaculo
dtchenalex-weej: please ensure your symptoms for 338377 are not in fact caused by 330814, and try my PPA packages.21:00
alex-weejdtchen: does pa log anything anywhere that i can check?21:02
dtchenalex-weej: yes, by default, /var/log/syslog21:02
dtchenalex-weej: you will likely find it more useful to use `killall pulseaudio;pulseaudio -vvv'21:03
alex-weejdtchen: ok, i will try and figure it out21:04
=== Tonio_ is now known as Tonio__
=== Tonio__ is now known as Tonio_
SuperQSo this is probably too late for jaunty22:15
SuperQbut is there a reason server installs don't include acpid?22:15
slangasekwhat do you want acpid for?22:15
slangasek(we're in the process of trying to get rid of it on the desktop)22:16
SuperQhardware event notification22:16
SuperQlike powerbutton22:16
SuperQI'm playing with libvirt/kvm, and I noticed my hardy guests didn't shutdown when asked22:17
SuperQbut Lenny would22:17
SuperQturns out it was that acpid was missing from hardy22:17
cjwatsonSuperQ: https://wiki.ubuntu.com/Hotkeys/Architecture22:17
cjwatsonalso https://wiki.ubuntu.com/Hotkeys/Troubleshooting22:17
slangasekI believe the power button handler is meant to be implemented by hal rather than acpid in jaunty22:18
slangasek(which is not a hotkey actually, but a some-sort-of-standard ACPI 'button' event)22:18
SuperQThat sounds like a great solution22:19
SuperQyea, psudo-standard event22:19
SuperQlike standby-button22:19
slangasekI don't think hal is currently in the server seed either, though22:19
slangasekand even if it were, hal only handles propagating the event across dbus, it doesn't include anything to act on the event22:20
keescjwatson: dpkg is so much prettier with 392317 solved.  quiet postinst scripts shouldn't make themselves known via the dpkg output.  :P  This seems like a good fix to keep.22:20
kees(that's debian bug 392317)22:20
ubottuDebian bug 392317 in dpkg "dpkg: Empty lines in install/configure output (Setting up ...)" [Minor,Closed] http://bugs.debian.org/39231722:20
slangasekso adding acpid+acpi-support to the servers might be the only possible short-term solution22:20
cjwatsonkees: I actually prefer it the way we have it now22:20
SuperQslangasek: hrm22:20
cjwatsonkees: I'd revert to the Debian fix if that was essentially our only remaining dpkg diff, though22:21
cjwatsonkees: that's actually not wildly implausible with the dpkg 1.15 series22:21
slangasekSuperQ: I would suggest filing a bug on the ubuntu-meta package for this and subscribing the ubuntu server team22:21
Tonio_hi22:21
SuperQslangasek: Sure22:22
Tonio_slangasek: may I ping about something ? skrooge finally got accepted from NEW? and ended up... nowhere :)22:22
cjwatsonerr ... I mean the Debian state, since I don't regard it as a fix :)22:22
Tonio_slangasek: I have the email confirming it was accepted, btw...22:22
slangasekTonio_: it's in universe, dunno why you think it's "nowhere"22:22
keescjwatson: cool.  I'm curious about the technical benefit you see with it, since it's always erked me aesthetically22:23
slangasekTonio_: I see it in apt-cache policy as well, so it's mirrored successully22:23
SuperQslangasek: So this would be a bug against ubuntu-minimal or ubuntu-standard?22:23
slangasekSuperQ: "ubuntu-meta", bugs are filed by source package :)22:23
slangasek(so don't worry about the implementation details too much)22:23
Tonio_slangasek: it just appeared, indeed... sorry for the stupid ping... when I looked a couple of hours ago I couldn't find it (it was accepted yesterday morning...)22:24
SuperQslangasek: Ok22:24
cjwatsonkees: I just always found it useful to know which packages actually had postinst scripts and which didn't, when debugging problems22:24
cjwatsonkees: if a package doesn't have a postinst, it saves time going and looking22:24
cjwatsonI don't actually recall the details, but I know that there have been cases where this saved me time :)22:24
keescjwatson: just a short-cut to looking in /var/lib/dpkg/info ?  yeah, I guess that can be useful.22:25
TheMuso/c/c22:25
SuperQslangasek: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/3683822:28
ubottuLaunchpad bug 36838 in acpi-support "ubuntu-minimal/Server does not depend on acpi-support" [Medium,Fix released]22:28
SuperQslangasek: Matt Zimmerman says: No22:28
slangasekah. :)22:28
SuperQNot a great answer22:28
SuperQI can see the case for not caring about suspend22:28
SuperQbut powerbutton is a very good use case for servers22:28
ivoksthat's acpid22:29
cjwatsonkees: a shortcut to looking in somebody else's /var/lib/dpkg/info/ when digging through dpkg output in bug reports :)22:29
slangasekSuperQ: however, the rationale given was about 'power management', which I think overlooks the power button use case22:29
slangasekSuperQ: so I think it's worth revisiting this22:29
SuperQI agree22:30
keescjwatson: I remain unconvinced :)  but then I want to have nothing to do with doing dpkg merges, so you can do whatever you like.  :)22:31
* slangasek plays whack-a-mole with the python2.5 server reverse-deps22:32
davismjwhere would i go to ask a question about alpha 5 network manager?22:33
RainCTdavismj: try #ubuntu+122:36
davismjcool thanks22:37
SuperQslangasek: https://bugs.launchpad.net/bugs/33849322:38
ubottuLaunchpad bug 338493 in ubuntu-meta "server/minimal installs don't support power button events" [Undecided,New]22:38
slangasekSuperQ: hmm, I expected we would reopen the old bug, but I guess a bug reference also works. :)22:39
SuperQwell, the use case is different22:41
ScottKSuperQ: I'd suggest talking to kirkland about it on #ubuntu-server as he's been investigating power related issues for server recently.22:41
SuperQScottK: Thanks22:42
kirklandSuperQ: ScottK: hi22:44
SuperQ:)22:44
ScottKOK.  or here22:44
kirklandSuperQ: what's up?22:45
kirkland(i'm only partially here ...  helping the wife with some chores)22:45
SuperQkirkland: I've been playing around with libvirt+kvm22:45
SuperQkirkland: One "bug" I found was that ubuntu-server installs don't pick up the acpi power button event by default22:46
SuperQkirkland: so when I tell libvirt "shutdown FOO" it doesn't go into init 022:47
mathiazSuperQ: right - install acpid in the guest and the shutdown command will work correclty.22:47
SuperQkirkland: Lenny default minimal install includes acpid, which supports the event22:47
SuperQmathiaz: Yes, I found this out22:47
SuperQmathiaz: I'm arguing for the case that acpid (or powerbutton events) should be include with ubuntu-standard22:48
SuperQ(Debian does this, I figure why not Ubuntu as well)22:48
slangasekmm, acpid isn't "standard" on Debian; I'm not sure what would be pulling it in by default22:52
cjwatsondebian-installer/packages/hw-detect/hw-detect.sh:526:   apt-install acpid || true22:54
slangasekah22:54
cjwatsonconditional on existence of /proc/acpi22:54
cjwatsonactually, that code is there in Ubuntu as well!22:54
cjwatsondon't suppose somebody who knows about this could go and fix it up? lp:~ubuntu-core-dev/hw-detect/ubuntu22:55
mathiazSuperQ: how do you install your guests? Do you enable acpi support in libvirt?22:55
mathiazSuperQ: if you start an install with a guest that has acpi support, acpid will automatically be installed.22:56
slangasekwas it there in intrepid?22:56
mathiazI think so.22:56
SuperQmathiaz: virt-install python script23:00
mathiazkees: so I've able to reproduce the openldap issue - one test fails when pie is enabled while it passes when slapd is not compiled with the hardening flags23:01
mathiazkees: how should I proceed now?23:01
mathiazSuperQ: so you're not using the installer?23:01
SuperQmathiaz: I spawn a VM with the ubuntu server ISO as a boot device23:02
SuperQmathiaz: Then I go through a normal alternate menu install23:02
slangasekmathiaz: anything suspicious in the compile-time warnings?23:02
SuperQmathiaz: acpi is True23:03
SuperQmathiaz: so it should be on when the VM starts up23:03
keesmathiaz: open an upstream bug report?23:03
keesanyone know the pythonic form of    blah ? "true" : "false"   ?23:04
mathiazslangasek: http://people.ubuntu.com/~mathiaz/trans.123:04
SuperQcjwatson: I don't think the ubuntu version of that is working23:04
SuperQcjwatson: Atleast in hardy23:04
mathiazslangasek: ^^ this grep translu from the build log23:04
mathiazkees: I guess that's the next step. However I'd like to include the compilation flags23:04
* kees nods23:04
mathiazkees: reading through the build logs doesn't help me23:05
SuperQUgh, late for a meeting23:05
slangasekmathiaz: what about grepping 'warning', and filtering out those stupid 'too many arguments for format' warnings that I haven't been able to get rid of (grr)?23:05
keesmathiaz: -fPIE -pie23:06
mathiazslangasek: http://paste.ubuntu.com/126966/23:06
slangasekkees: blah and "true" or "false"23:06
keesslangasek: oh.  heh.23:07
mathiazkees: should these be in the build logs?23:07
slangasekmathiaz: I meant over the whole log, without first filtering for translucent :)23:08
mathiazkees: because I don't see any PIE/pie in the build logs23:08
slangasekmathiaz: but is this just the build log on LP?23:08
keesmathiaz: no, they're forced under the hood23:08
mathiazslangasek: it's a local sbuild log23:08
mathiazkees: ok thanks.23:08
slangasekmathiaz: ok23:08
keesmathiaz: if you want to see the final output, set export DEB_BUILD_HARDENING_DEBUG=1 in the rules dfile23:08
keesmathiaz: that'll spew the actual gcc command line that hardening-wrapper is generating.23:09
cjwatsonSuperQ: probably because acpid isn't on the server CD23:10
cjwatsonSuperQ: I bet it'd work for netboot installs23:10
mathiazslangasek: http://people.ubuntu.com/~mathiaz/openldap_2.4.15-1ubuntu1_20090304-1744 <- 1MB build log of a local sbuild23:11
slangasekkees: wait, so PIE is being forced on now for all packages?  Does that mean I can drop that bit of delta on the samba package?23:13
keesslangasek: no, PIE is enabled via native upstream mechanisms in samba.  for openldap (and most other PIE builds) PIE is enabled via the use of the hardening-wrapper package.23:14
SuperQcjwatson: Ahhh, that would make sense23:14
slangasekkees: so the hardening-wrapper package doesn't do anything to builds by default...?23:15
SuperQcjwatson: hrm, no, my VM installs do have network access23:15
slangasek(the 'native upstream' method in Samba isn't particularly interesting, it just adds stuff to the compiler flags AFAIK)23:15
keesslangasek: correct, it must be enabled with an environment variable in the rules file23:15
slangasekah23:15
cjwatsonSuperQ: it's a property of the installation method, not of whether the VM had network access during installation23:15
SuperQcjwatson: ok23:15
cjwatsonSuperQ: the installer deliberately only uses packages on the CD at certain points, for CD installs23:16
keesslangasek: right, but doing PIE builds tends to be non-trivial, so it's nice to have native upstream support.23:16
SuperQso it's just a matter of getting the extra deb(s) on the CD23:16
cjwatsonwell, only if that's appropriate23:16
keesslangasek: i.e. you can't just arbitrarily add -fPIE -pie to CFLAGS and everything works out.  :)23:16
cjwatsonthe seed change would take care of that automatically23:16
SuperQ<- thinks so23:16
cjwatsonright, but there seems to be some debate on the subject23:16
slangasekkees: are we also carrying gdb patches related to PIE?  I would enable PIE in Debian then, except the last time I tried to debug a Samba bug that showed up in Ubuntu but not in Debian, my backtraces with the Debian gdb went all to crap23:16
cjwatson... which I don't really want to have to get involved in :)23:16
SuperQhehe23:16
SuperQwell, I'm perfectly willing to get involved23:17
slangasekmathiaz: heh, there are some very nice hardened warnings in there that we should take a look at some time :/23:18
mathiazslangasek: yes. I'm building a package with DEB_BUILD_HARDENING_DEBUG=1 and plan to file a bug with upstream about pie.23:19
mathiazslangasek: upstream may be interested at fixing the other issues brough up by the hardening wrappers.23:20
* slangasek nods23:20
slangasekreally nothing that looks like it's related to your bug, though23:21
keesslangasek: Debian's gdb is not carrying the PIE patches.  Ubuntu's is.23:21
slangasekkees: right.  upstream and/or Debian prognosis for those patches?23:22
keesslangasek: Debian's gdb maintainer does not want the PIE patches because they are semi-crack.23:22
slangasek... it's gdb23:22
slangasekhow can you tell the difference23:22
keesslangasek: upstream gdb wants the functionality, but doesn't have time to fix up the patch that Ubuntu, RH, and SuSE carry around for PIE.23:22
slangasekanyway, I'll defer to Dan's judgement there :)23:22
keesyeah23:22
jdongkees: is there a non-crackful way to generate an on-the-fly apparmor profile for executing a single process under, like sandbox-exec() on OS X?23:25
jdonghaha even re-reading the idea sounds like crack :)23:25
keesjdong: I don't know OSX, but the best I've done for on-the-fly AA profiling is just to use aa-genprof -- run it in "complain" mode until it's done, and then end the genprof run, and it flips to "enforce"23:27
=== Tonio__ is now known as Tonio_
testin Ubuntu 9.04 for testing we removed eth0, now we are unable to add it back23:30
testand get an error "Adding connection failed: PolicyKit authorization could not be created"23:30
testany help ?23:30
testbdmurray, ping23:30
testis this a known issue ?23:30
jdongkees: well I'm working on a crazy easily verifiable middleman for breaking out of the Apparmor confines of Firefox (i.e. to open a download in OpenOffice, for example) and would like to provide an option for "Open with constrained system access" which would launch the helper app with a limited set of privs plus access to the downloaded files23:31
sbeattiejdong: I've not used sandbox-exec() either, but I'm guessing it's using the systrace tools interactively. That's been a wishlist goal for apparmor for a long time.23:31
jdongkees: and I guess I just wanted a way to inject an apparmor profile for one binary without having to apply it system-wide or put it in apparmor.d23:31
jdongsandbox-exec basically would be like "apparmor-run some_profile /usr/bin/foo ...."23:32
jdongwhere it would temporarily attach some_profile to foo23:32
keesjdong: well, you need to be root to add a profile, and the profile is tied to the application across all runs, so I'm not sure what you want exists.23:32
jdongkees: ah, I guess "it doesn't exist" would be an acceptable answer then.23:32
jdongit would be nice if available :)23:32
keesjdong: yeah, sorry about that.23:33
sbeattietest: I suspect it may be related to bug 31210523:33
ubottuLaunchpad bug 312105 in network-manager "[jaunty] Cannot change eth0 properties (greyed out)" [Undecided,Incomplete] https://launchpad.net/bugs/31210523:33
jdongI mean I could always hack something up with (ugh) temp file juggling.23:33
jdongjust trying to work on a solution for the #1 nag with my Firefox AA profile, opening downloaded files.23:33
jdonghaving apps launch with Ux arbitrary is obviously not gonna work, having them launch with Px requires a lot of work on my part, ix puts on too tough restrictions for say starting up openoffice.org ;-)23:34
jdongso my current compromise solution is to have a simple GTK middleman that can be Ux'ed with minimal risk.23:35
testsbeattie, not sure23:37
sbeattiejdong: in intrepid's apparmor, you can have an "inner" profile that only applies to a program when invoked from from the surrounding profile.23:39
jdongsbeattie: I guess what I need is to be able to dynamically supplement/substitute that based on a template of an app the user wants to execute23:40
jdongbut meh it already sounds like more trouble than it would be worth :)23:40
jdongI'll just stay with unconfined-executes once it gets to the middleman level23:40
=== freeflyi1g is now known as freeflying
jdongit's the user's (read: my) responsiblity at that point to not be an idiot ;-)23:40
mathiazkees: hm - using export DEB_BUILD_HARDENING_DEBUG=1 makes the build fail in a completely different places23:42
mathiaz*place*23:42
keesmathiaz: yeah, it's not perfect, some build systems are very sensitive to stderr output23:42
keesmathiaz: basically, everything building .o's has -fPIE added, and everything building executables has -pie added23:43
mathiazkees: ok - thanks. I'll file a bug with upstream and attach the failed build log (but not the hardened_debug =1 one)23:44
sbeattiejdong: well, it's an interesting problem to solve, IMO. Though I'm not quite sure what solution you're envisioning... feel free to take it to email, if you'd like.23:45

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