[00:00] Chipzz: iirc they did which was what sparked this stupid renaming GB -> GiB and giving the hd marketing people their GB back [00:02] marketing stinks :P [00:04] slangasek: hey, I have a question about this comment of yours... https://bugs.edge.launchpad.net/ubuntu/+source/lsb/+bug/203169/comments/12 [00:04] Launchpad bug 203169 in sysklogd ""status" function for init scripts" [Wishlist,In progress] [00:15] ogra, infinity: How about http://heh.fi/tmp/initramfs-tools-compcache.diff [00:17] he return of the export line :) [00:17] ke012817 < infinity> ion_: Remove the source from your hook script, and add an export to mkinitramfs. [00:17] ke012858 < infinity> ion_: Well, export it if you need it during mkinitramfs. [00:17] I’m hearing two opposite instructions here. :-) [00:18] huh ? [00:18] well, i use conf.d with te ltsp scripts and it gets sourced correctly without adding any extra export commands [00:19] and i see initramfs.conf being sourced by mkinitramfs [00:19] To hooks? [00:19] mkinitramfs only seems to export specific variables for hooks. [00:20] If you set one of those variables in conf.d, it works in hooks. [00:20] and why did you switch to m4 now ? [00:20] * ogra would really prefer a set of plain shell scripts [00:21] To make the hook script clearer. Having templates for shell scripts in a shell script was a bit nasty, having to do stuff like '"$foo" ... '"'"'bar'"'"' ... "$baz"' etc. [00:21] and i must admit i liked the former aproach a lot more [00:22] even though it breaks with every setup we have in that tree the modprobe.d looked extremely clever ... i just didnt like how you created it and that it isnt a script like we have for everything else [00:26] ogra: How about http://heh.fi/tmp/initramfs-tools-compcache.diff [00:28] why not just use shell commands ? [00:28] instead of m4 [00:29] just use a here document [00:29] pitti: around? [00:30] I can do that. I just though it’s a bit annoying and error-prone having to escape the sed stuff to a shell variable. [00:30] t [00:31] i dont think you need "mkdir -p "$DESTDIR"/scripts/init-top" [00:31] thats a structure you can rely on being there since we're inside the package that carries this dir [00:32] make < ogra: http://heh.fi/tmp/initramfs-tools-compcache.diff [00:36] and infinity might be right that the export is needed ... which i'd consider a bug though, but i see the functions clling the hooks are sourced before the config [00:36] kirkland: what's the question? [00:37] slangasek: i think lamont helped solve it with me in #ubuntu-server [00:37] hmm, ok :) [00:37] slangasek: i think something like this will work: status_of_proc /usr/sbin/named bind9 && exit 0 || exit $? [00:38] kirkland: status_of_proc /usr/sbin/named bind9; exit $? should be equal [00:38] kirkland: er, usually you would just do "status_of_proc /usr/sbin/named bind9" when the script is running under set -e [00:38] Oh, sorry. Didn’t consider set -e. [00:38] hence the comment that it's redundant [00:38] ion_, i like it a lot :) [00:39] slangasek: right, but only 1 of the 9 packages i've touched has the init script running set -e [00:39] I’m squeamish about the k→K change, but oh well... [00:39] slangasek: relying on -e to catch you is also bad [00:39] slangasek: ideally, i'd like to keep the construct/call as identical as possible for consistency [00:39] I'm a proponent of being explicit [00:39] ion_, can you add some linebreaks to: +if [ "\$1" = prereqs ]; then exit 0; fi [00:39] lamont: why is it bad when writing init scripts and good when writing maintainer scripts? [00:39] ogra: Will do. How about the equivalent thing in the generated script? [00:40] heh [00:40] slangasek: there's a specific difference between "we got an error" and "we're supposed to return non-zero status now" [00:40] kirkland: ok, then I suppose that works, but I just think it shows up how all code that's not set -e is inherently ugly, and the lsb init script spec is therefore evil for forbidding its use :) [00:40] lamont: well, there's that, yes [00:40] not in the value returned, but in the scratch my head figuring out if it's an error or not case [00:40] i missed the one at the top, that *was* the generated script one :) [00:41] right, so in this case that construction makes a certain amount of sense [00:41] ion_, so yes, that too [00:41] ogra: Diff updated. [00:41] (either put all ifs in one liners or none of them :) ) [00:42] ion_, perfect ... now compare that with what we had in the beginning ... thats simple, clean and beautiful code :) [00:42] slangasek: here's the samba one... http://pastebin.ubuntu.com/26066/ [00:43] Yeah [00:43] kirkland: is this status_of_proc being pushed up to Debian, so I can commit that to the Debian Samba package too? :) [00:43] sooo ... lets see what we can do about the export .... if i can get infinity's attention :) [00:43] A modprobe.d file could be generated exactly alike, but i’m okay with generating a script instead. :-) [00:43] ogra: I’ll reboot now and check that it actually works. :-) [00:44] slangasek: being pushed, yes... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483285 [00:44] Debian bug 483285 in lsb-base "lsb-base: lsb status_of_proc() function" [Wishlist,Open] [00:44] ion_, thats actually a god idea :) [00:44] *good even [00:44] kirkland: ok, cool [00:44] slangasek: maintainer agreed to it in principle, cites "adding functionality would break the spirit [00:44] of the freeze, but I'll plan on getting status_of_proc() into unstable [00:44] soon after that migration happens (hopefully soon)" [00:45] slangasek: i'll ping him again and see how that's coming along... [00:45] slangasek: as a DD yourself, what freeze is he talking about, and when might that freeze end? [00:45] that would be the freeze for lenny [00:45] which is going to last, um, a fair few months [00:46] but I don't think this change should be a problem under the freeze [00:48] mathiaz: dunno if you follow pkg-openldap-devel, but the source package name in Debian has just (and finally) switched from openldap2.3 to openldap; I suggest we follow suit for intrepid [00:48]  hmmm, anyone know how to discover the firefox-default-profile, as in this path for example: ~/.mozilla/firefox/83lemdbc.default/extensions/{000a9d1c-beef-4f90-9363-039d445309b8} [00:48] ogra: Yeah, it works. [00:48] slangasek: good, i was kinda thinking the same thing... just a new function, no modified existing functionality [00:49] ion_, wonderful [00:49] slangasek: let me update the debian bug with an updated patch [00:49] I want to install the components of an extension manually via a .deb and a .rpm but not sure how to discover the firefox profile [00:49] can you try again with dropping the export [00:49] mathiaz: i.e., get it done while the merge is still otherwise trivial [00:49] slangasek: if you think adding a comment in support would help, I'd appreciate it [00:49] slangasek: yop - I followed that [00:50] mathiaz: cool [00:50] slangasek: you renamed it to openldap \o/ - it has been accepted today IIRC - so we can merge it soon [00:50] slangasek: also noticed that samba 3.2 has been uploaded to unstable [00:51] mathiaz: how are things going on the cn=config front? [00:51] mathiaz: eh, if 3.2 is anywhere other than experimental right now, then I screwed up badly :) [00:51] slangasek: hm - good question - I've started to look at the code and wraped by around it [00:51] ogra: Nope, doesn’t work. [00:51] % zcat /boot/initrd.img-2.6.26-3-generic | strings | grep compcache [00:51] # An empty value - compcache isn't used, or added to the initramfs at all. [00:52] slangasek: hm - I must have overlooked the samba upload then [00:52] slangasek: I noticed that things were commited to the experimental branch [00:52] we have one bug in 3.0 (the security-update-regression that jdstrand identified) that we want to get pushed into testing before dropping 3.2 in unstable, and I think upstream also has a bug in how they're putting together libsmbclient.a that I want to fix [00:52] ion_, ok, imho it should [00:53] slangasek: wrt to openldap, I've got some working code, but I'm kind of not sure how to structure the whole thing [00:53] slangasek: so I'd like to have your feedback on it [00:53] ogra: Perhaps just add export -a to mkinitramfs. [00:53] no [00:53] mathiaz: ok - should we schedule some time to sit down for that? [00:53] slangasek: which brings another question - what is the impact on the lenny freeze on that work ? [00:53] slangasek: definitely [00:53] can you try moving the two lines below "# For dependency ordered mkinitramfs hook scripts." under the config stuff [00:54] in mkinitrmafs [00:54] slangasek: is there a chance that the cnconfig stuff will accepted in lenny (which means in the intrepid timeframe IIUC) ? [00:54] that way the functions shooud have access to the vars [00:54] mathiaz: because openldap builds library packages, it will need to go through the Debian release team as a freeze exception, but I believe this is only nominally an exception at this point [00:54] mathiaz: if we could get something into unstable this month, that would certainly be ok wrt the lenny timeline, I think [00:55] ogra: How about the equivalent of for hook in hooks/*; do ( . "$hook" ); done? That is, source all hooks in a subshell. [00:55] slangasek: ok - I plan to submit my work to the debian maintainer list as soon as I've got something [00:55] ogra: Ok, i’ll take a look at that. [00:55] slangasek: to get some feedback [00:56] ion_, i think thats what run_scripts does [00:56] slangasek: one of the thing I'd like to get done is to be able to ship slapd.scripts-common in the package and provide scripts to perform common config operations [00:56] slangasek: such as loading new schemas or adding a new directory database [00:57] slangasek: that's the whole point of having the cn=config backend enabled [00:57] ogra: Moving those lines below the config stuff didn’t make it work. [00:57] ok [00:57] then we need to keep the export :/ [00:57] slangasek: but then things get complicated really quickly [00:58] slangasek: that's why I'd like to discuss that and get your input on that [00:58] mathiaz: well, slapd.scripts-common still has to be embedded in the preinst, because shipping it in the package doesn't make it available until after the package is unpacked [00:58] mathiaz: so if you have a use case for calling those functions from outside maintainer scripts, shipping it is fine, just as long as you don't expect to refactor too aggressively :) [00:59] (for my part, I want to see the shell library shrink down to nothing over the next few releases, which is one reason I want cn=config in lenny :) [00:59] slangasek: ok - I try not to refactor to much [01:00] slangasek: I've taken the approach of adding cn=config support to existing functions in slapd.scripts-common [01:00] ogra: Nope, call_scripts doesn’t use . [01:00] run_* [01:01] oh, right, call_ [01:01] sorry [01:02] It would be a bit hairy, though, since hooks check $1 for prereqs. [01:02] slangasek: I think I'll keep working on the scripts this week and we should schedule a call at the begining of next week to go over my work [01:02] that sounds good [01:02] Could be done with something like ( set -- prereqs; . $hook ) for prereqs and ( set --; . $hook ) for running the hook, though. [01:03] mathiaz: what about the cn=config thing? [01:03] mathiaz: I'm using that feature in debian for munin monitoring [01:03] right, i was expecting the scripts to inherit the vars from the calling script if we re-order ... the export is the best thing otherwise [01:04] so lets just keep it [01:05] Chipzz: I'm working on adding cn=config support to the package [01:06] Chipzz: so that a default install of slapd in intrepid will use cn=config instead of slapd.conf [01:06] Chipzz: and we'll also support upgrading from slapd.conf to cn=config [01:06] ah k [01:07] mathiaz: could you look into getting this into munin? http://wiki.ruberg.no/index.php/Munin_LDAP_plugins [01:07] Chipzz: you'd better file a bug about this [01:08] Chipzz: the chance this get lost will be higher here ;) [01:08] can do [01:08] file a bug in debian, ubuntu or both? [01:09] Chipzz: debian is the best place IMO [01:09] ion_, so how about making a debdiff from that so your name is in the changelog ... ? [01:09] ogra: Will do. [01:36] slangasek: patch for samba status attached to: https://bugs.edge.launchpad.net/ubuntu/+source/sysklogd/+bug/203169 [01:36] Launchpad bug 203169 in sysklogd ""status" function for init scripts" [Wishlist,In progress] [01:37] slangasek: https://bugs.edge.launchpad.net/ubuntu/+source/sysklogd/+bug/203169/comments/27 === nxvl_ is now known as nxvl [01:43] ok this channel looks more appropriate for this :) [01:43] does this patch look good? http://launchpadlibrarian.net/15898720/python-apt_0.7.4ubuntu7.2.debdiff [01:47] Bug #244093 [01:47] Launchpad bug 244093 in python-apt "Checking security repository in Updates adds deb line to Third-Party Software" [Undecided,In progress] https://launchpad.net/bugs/244093 [01:47] oh, sorry, forgot to mention that [01:48] savvas: debdiff is attached. Security Team will see it. [01:48] that was quick, thanks emgent! [01:49] i don't have to do anything for the moment right? [01:49] *anything else [01:50] savvas: just subsribe in this bug last uploader. [01:52] emgent: to subscribe the maintainer of the package? [01:53] savvas: you can subscribe ubuntu-main-sponsor [01:54] but Michael Vogt is APT Master :) [01:54] it said it will notify the maintainer [01:54] ah ubuntu-main-sponsor, I'll do that [01:55] - ubuntu-main-sponsors Ubuntu Sponsors for main [01:55] this one emgent ? [01:55] savvas: true. [01:55] but i suggest to subscribe Michael Vogt too.. [01:56] done and done! [01:56] now wait :) [01:56] I think his nick is mvo at launchpad, hopefully that's correct [01:57] him will review it [01:57] mvo, sure. [01:57] this package fixing is fun! :) [01:58] kirkland: you may wish to tie that in to Debian bug #488275 [01:58] Debian bug 488275 in samba "samba and winbind: initscript miss 'status' option" [Wishlist,Open] http://bugs.debian.org/488275 [02:03] slangasek: sure, you bet [02:26] i go to sleep, night people [02:27] ogra: Is the comment i added to the COMPCACHE_SIZE documentation ok? http://heh.fi/tmp/initramfs-tools_0.92bubuntu3.debdiff [02:28] ogra: I uploaded a version of compcache package that handles the initramfs-tools change correctly: it doesn’t include an initramfs hook anymore and it puts the setting to /usr/share/initramfs-tools/conf-hooks.d/compcache [02:28] ogra: ...to REVU [02:30] you should (sorry for tht) probably rename it again [02:30] like compcache-tools ... [02:30] i.e. take fuse as example here [02:31] Hm, tools/utils is a bit strange for a package that doesn’t contain anything in $PATH. But i guess there’s no better choice. [02:31] Should i go with tools or utils? :-) [02:31] compcache-config ? [02:32] no idea ... but just calling it compcache somewhat doesnt seem to fit [02:33] I think i’ll go with -config, even though it contains modprobe.d and udev/rules.d files in addition to the debconf stuff. [02:33] And an init script. [02:33] Unless there are better ideas. :-) [02:35] probably LaserJock has one :) [02:35] ogra: one what? [02:36] laserjock: A name for the package compcache-FOO, which contains debconf magic to configure the size as well as init, modprobe.d and udev/rules.d scripts. :-) [02:36] tools? utils? config? None of them seems to fit exactly. :-) [02:37] compcache-setup? [02:37] Not bad. [02:37] I’ll use -setup. [02:37] yeah, i knew it :) [02:38] ogra: so I haven't gone to uni for 10 years for nothing?!?! :-) [02:39] you can cut out little presents to sell on flea markets with lasers and the like as well, i know :) [02:40] LaserJock, so how is life ? [02:42] ogra: hmmm, busy :-) [02:42] yeah, same here [02:42] ogra: getting closer to being done though [02:43] heh, me too ... [02:43] should be done before next UDS [02:43] i'm just building whats supposed to become the final cmpc image for hardy [02:43] (yeah, my calendar revolves around Ubuntu development cycles) [02:43] hey and its even in the US [02:43] ogra: oh awesome, newer kernel? [02:43] so we'll meet :) [02:44] I hope [02:44] -19.something yes [02:44] I'll try it out once you're finished [02:44] i'm still struggling with the display driver though [02:44] :( [02:44] they insist on using their hacked up i810 [02:44] ah [02:45] but thats two versions behind ours (which is outdated as well) [02:45] I just have problem with wanting to download all kinds of goodies and filling the drive [02:45] yeah, not much i can do about that though [02:45] i could do the sme as metasys if i were evil ... [02:45] no, it's already quite amazing how much you've shrunk it [02:46] they link /usr/bin/rpm to /dev/null there [02:46] kees: I know that -rt kernels are in universe, but I kinda thought we get -security updates for free with them. seems -19 for -rt doesn't exist. will it? [02:46] ogra: umm, ewww [02:46] well, you wont fill up the system with apps :) [02:47] I suppose [02:47] no idea about -rt, sorry [02:47] jdstrand: uhhhh... I thought they were part of the upload? [02:47] ogra: Windows had a good way of doing that, just run out of memory so the installer dies [02:47] kees: apt-cache search linux-image|grep 19 [02:48] linux-image-rt still points to -18 [02:49] LaserJock, well, but kill the device a minute in advance by trying to bring up a ppup about low diskspace :) [02:49] *popup [02:50] Package: linux-image-rt [02:50] Depends: linux-image-2.6.24-19-rt, linux-ubuntu-modules-2.6.24-19-rt [02:50] * jdstrand scratches head [02:50] jdstrand: I mean, I see the older package info to, but -19 is there for me [02:50] what's with my local debmirror... [02:50] me too [02:52] jdstrand: I see three versions of linux-image-rt in my hardy repo: 2.6.24.16.18 2.6.24.18.20 2.6.24.19.21 [02:52] kees: hmm, I see it on all the machines except the one actually using -rt. sorry for the noise [02:53] np. I wonder what that machine is doing? [02:53] ogra: Ok, http://heh.fi/tmp/initramfs-tools_0.92bubuntu3.debdiff updated and compcache-setup uploaded to REVU. [02:54] meh, -updates for main and restricted, but not universe. I'm a dolt [02:54] ion_, err, updated ? [02:54] ion_, i uploaded it 10mins ago :) [02:54] ogra: “< ion_> ogra: Is the comment i added to the COMPCACHE_SIZE documentation ok?” – updated the comment. [02:55] oh, k [03:25] kees: fun-- looks like ruby1.9 did not build on i386 or lpia-- test_copy_stream_rbuf() hung :/ [03:25] (intrepid) [03:25] kees: all other archs built fine [03:25] kees: I'll try to see what's happening tomorrow [03:26] heh: Build killed with signal 15 after 150 minutes of inactivity [03:26] I think there was a discussion about that here some time ago. Didn’t really follow it, though. [03:29] ion_: if you are responding to me, I was the last person to talk about it in here :) === gaurdro is now known as MenschenFleisch [03:30] Heh, ok [04:16] if I send email to launchpad to update a bug, does it have to be signed? [04:16] and where does it go, and all that [04:16] * lamont goes off to find the right wiki page [04:19] lamont: If you are changing status/assignments etc, I think it has to be signed. For general comments only, no it doesn't need to be signed. [04:19] I wanna make it say FixCommitted [04:19] lamont: Then you need to sign the message. [04:19] and then drop that into a commit hook [04:20] and if I have to sign it, maybe I don't care enough yet [04:21] er, you rpobably need to sign all mails, no? [04:21] why not set it up to sign by default? [04:21] lamont: https://help.launchpad.net/BugTrackerEmailInterface [04:22] Hobbsee: hence the maybe I don't care enough... I have to sign tags, not every commit [04:23] kirkland: oh, I didn't realize you were using pidof, or else I hadn't thought through the implications at the time I knew this; if you read the bug log, you'll see that I'm vetoing that as an implementation for the Debian Samba package [04:24] slangasek: ah - what was the objection [04:24] ? [04:24] slangasek: i recently switched to using /bin/pidof [04:24] slangasek: i was previously using pidofproc() which has a more sophisticated mechanism for obtaining the pid from pidfiles [04:24] lamont: that it doesn't respect PID files [04:24] slangasek: however, pidofproc() uses "kill -0" to see if a daemon is active [04:25] it violates the spirit of Debian policy's guidelines on init scripts [04:25] (but not the letter, since the letter says nothing about a 'status' arg :) [04:25] slangasek: which only works if you're the process owner or root [04:25] kirkland: not respecting pid files is bad [04:28] Upstart will void the need for pid files. \o/ [04:28] not respecting pid files would be a bug against the status function for at least some packages, which would be therefore a bug against lsb-release [04:28] ion_: bullcrap [04:28] or how will you handle having two instances of a daemon? [04:29] How about having two Upstart job instances? :-) [04:29] maybe [04:29] :-/ [04:29] now tell me how the control command that uses signals tells how to communicate with the daemon? [04:29] IOW. where did you move the pid file with upstart? [04:30] Doesn’t the daemon provide a socket you can talk to, or a D-Bus API or something equivalent? [04:30] (there are admins who prefer to run bind without the control port, and just have rndc use kill to talk to it...) [04:30] for those admins, the API is "kill" [04:31] They’re free to use PID files. [04:31] Or query the PID from Upstart, or whatever. [04:32] kirkland: anyway, I'll take the fix we put together, and if you switch to ignoring pidfiles, I'll either remove status, or file a bug against lsb-release [04:32] and I don't see that there's a need for non-root to query a daemon status [04:33] lamont: um.... [04:33] well, it's a bug [04:33] or maybe I'll just not admit to 'status' being there in the usage. [04:33] lamont: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;filename=lsb.483285.diff;att=1;bug=483285 ... that doesn't yet respect pidfiles [04:33] yeah - I know [04:34] i can add that tomorrow [04:34] i'm absolutely burnt out on this one today :-S [04:34] it was a "please fix it before he accepts it, or it'll be broken and you'll be back begging him to take another change..." [04:34] kirkland: understood [04:35] I'm about to crawl into bed myself [04:35] lamont: okay... i'll ping you tomorrow then [04:40] hrm... time to go read up on how to get procmail to delete a header from certain mail messages that it receives [04:41] because reply-to: $LIST is just plain stupid and wrong [04:41] (and no, not an ubuntu list) [04:54] * TheMuso kicks dmraid upstream. 1) *PLEASE* include Makefile.am/configure.in/ac files in your tarball 2) Even though you statically link a library, *PLEASE* use a soname in the event the library is built as a dynamic library!! [04:55] Hrm I take it b ack, configure.in is included, but no Makefile.am files. :S [05:01] if I upload a ...-2~build1 version, will the autosyncer simply overwrite it with -2 once that shows up in debian? [05:04] lamont: for intrepid, or? [05:04] yeah [05:04] lamont: isn't that a moot point? the autosyncer has already been turned off for intrepid [05:04] trying to hop-skip around the fact that it's NEW in debian [05:05] true [05:05] 'twas more one of making sure that MoM wouldn't object. :) [05:12] hrm ok it does have a soname. [05:14] TheMuso: so, umm, why are you kicking upstream again? :-) [05:16] there. bind9_9.5.0.dfsg.P1-2~build1 uploaded to intrepid. g'night. [05:29] LaserJock: No Makefile.am files is enough::) The shared library is not named/symlinked properly when copied into place, and its easier to change Makefile.am than hack Makefile.in to do it. [06:24] Note to self: read the tens of previous notes to self about buying an UPS. === BenC1 is now known as BenC [07:01] good morning [07:03] Morning dholbach. [07:03] hi TheMuso [07:03] TheMuso: thanks for your reply [07:03] dholbach: You're welcome === ion__ is now known as ion_ [07:25] Good morning [07:25] Howdy [08:04] tjaalton, tseliot: new nvidia-glx working perfectly here with current intrepid (new X.org) [08:05] (-173) [08:05] pitti: great :-) [08:06] hey pitti [08:06] good morning seb128! [08:06] pitti: :-) [08:07] bryce: hi ;) [08:07] pitti: great, I'll install it too [08:07] ..shortly [08:07] tseliot: heya [08:09] hi seb128! [08:09] hey dholbach [08:09] dholbach: getting ready for your holidays? ;-) [08:09] yeah :) [08:09] lots of other stuff left to do still :) [08:09] how's Istanbul? [08:12] great, I'm sure you would like it [08:12] definitely :) [08:13] seb128: the night they stole my camper bus I was looking at the map and figuring out how best to get to Istanbul with the bus :-) [08:13] lol [08:13] so... yeah - I'd love to go there at some stage [08:14] a bit warm in the afternoon to my taste [08:14] but I very much look forward to India :) [08:14] but otherwise lot of typical places, sunny weather, GUADEC is great [08:14] and nice to see everybody there again [08:15] seb128: does mvo get any vegetarian food? :) [08:15] he seems to be happy so far [08:15] we had to go to several restaurants to find something good for him but we managed [08:18] seb128: talking about vegetarians always reminds me of this one Tintin comic where Captain Haddock uses "Vegetarian" as an insult :-) [08:18] dholbach: mvo sends you a hug [08:18] ;-) [08:18] hug him back for me :) [08:20] http://www3.sympatico.ca/brooksdr/haddock/main.htm :-) [08:29] dholbach, is there a word of more than three syllables that Haddock didn't use as an insult? :) [08:30] Billions of blistering barnacles! [08:37] hey [08:37] is there any known intel issue on intrepid? [08:37] the user gets an error about dri2 which couldn't be loaded [08:37] and then a stacktrace [08:38] X and then libfb.so [08:38] and then libexa.so [08:38] let's try XAA [08:38] seb128: dist-upgrade harder :) [08:38] dri2 is not enabled yet due to lack of memory manager in libdrm [08:38] seb128: I had the same yesterday (I think, anyway), X.org crashed [08:38] pitti: tricky to connect to wireless network using only command line tools [08:39] seb128: do you have 2:2.3.2-2ubuntu2? [08:41] pitti: not sure but he switched to XAA and that works, I guess he will upgrade next [08:42] the error is cosmetic [08:43] um, the DRI2 error.. [08:44] alright [08:44] thanks guys, have to go now, see you later [08:45] it's already fixed upstream so that it won't complain if the xserver is built without dri2 [08:45] ie. it won't try to load it === slangasek changed the topic of #ubuntu-devel to: soft freeze for intrepid alpha-2 | Ubuntu 8.04.1 released | Development of Ubuntu (not support, not application development on Ubuntu) | #ubuntu for support and general discussion for dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs [09:29] ArneGoetje, i saw that the new language pack export is there. did you already upload new langpacks to PPA that i can test or should i do my QA on the langpack tarball? [09:37] asac: you can use the PPA; they get new packages as soon as Rosetta exports them [09:38] asac: theoretically it should have built new ones last night [09:42] hello [09:42] pitti: for hardy the cronjob runs on thursday and sunday [09:43] 0 2 * * 3,0 [09:43] doesn't that mean 2am on Sunday and Wednesdays? [09:43] pitti: oh, sorry... :) === dholbach_ is now known as dholbach [09:58] slangasek: I have a new xine-lib upload ready (new upstream version, but no so-bump) that contains 2 security issues. I assume that security fixes do not qualify to break the freeze, is that right? [09:59] siretart: if they're severe security issues, I think it probably should break the freeze [10:00] they are LP: #235904 and LP: #218652 [10:00] bug #235904 and bug #218652 [10:00] it's 2am, you won't get a very good analysis from me of whether they're severe, sorry :) [10:00] Launchpad bug 235904 in xine-lib "[CVE-2008-1878] Inadequate bounds checking in the NES Sound Format (NSF) demuxer" [Undecided,Fix committed] https://launchpad.net/bugs/235904 [10:00] Launchpad bug 218652 in xine-lib "CVE-2008-1686: Multiple speex implementations insufficient boundary checks" [Undecided,In progress] https://launchpad.net/bugs/218652 [10:01] okay. then I'll stay better on the safe way and wait until the alpha-2 release [10:07] pitti: somehow the langpacks from last night didnt update the mozilla.tar.gz [10:07] at least looking at install.rdf suggests that its not from the new tarball [10:07] what's the version? [10:07] pitti: oh sorry [10:07] * pitti looks at the logs [10:07] let me check something else [10:08] asac: hm, the log looks good [10:09] woo! live CD built, even if it's 80MB oversized. now I can stand a chance of debugging ubiquity [10:10] 80! [10:10] cjwatson: ah, due to recommends, I suppose? [10:11] pitti: do you still have the the sources lying on rookery or somewhere? [10:11] especially the unpacked translation dir? [10:11] asac: yes, they are always there, /srv/language-packs.ubuntu.com/hardy-proposed/ [10:11] those are the language-pack-* source packages unpacked [10:11] asac: which translation dir? [10:12] pitti: yes, but where is the unpacked translation tarball you used? [10:12] asac: I don't keep that, I remove it after processing [10:12] just download it again on rookery if you need it, it's fast [10:13] pitti: i have the one here locally [10:13] pitti: its just that the install.rdf in the mozilla.tar.gz is still the old one ... which i cannot find anywhere in the new tarball :( [10:13] e.g. the tarball i locally downloaded has 1.9.0.* [10:14] but the langpacks in PPA have 1.9 [10:14] let me check the sources you pointed me too ... not that i grabbed the wrong ones from ppa [10:21] * asac runs xpi processor manually on rookery [10:24] pitti: yes [10:24] (almost certainly) [10:33] cjwatson, so, i set the compcache spec to imlemented ... the initramfs chages landed yesterday night, what value would you suggest to use for the start ? (i think we should start to use it on the liveCD asap to determine the best value for it there) [10:33] *implemeted even [10:33] pitti: i have the feeling that you didnt use the latest update tarball [10:33] pitti: the result are good here [10:33] https://translations.edge.launchpad.net/ubuntu/hardy/+language-packs [10:33] which one did you pull? [10:34] Delta language pack: 2008-07-08 23:01:42 CEST [10:34] I always wget https://translations.launchpad.net/ubuntu/hardy/+latest-delta-language-pack [10:34] pitti: look at the page [10:34] maybe its broken? [10:34] under current language packs [10:34] there is Delta pack: none yet [10:35] 1:8.04+20080705 [10:35] hmm ... no the one i get through that url is good [10:35] hm, that's indeed not the most current one [10:35] strange [10:35] seems that +latest-delta-language-pack gave me the second-latest :-( [10:35] the latest url redirects to: [10:35] https://launchpadlibrarian.net/15901351/ubuntu-hardy-translations-update.tar.gz [10:36] the direct link gives: [10:36] http://launchpadlibrarian.net/15901351/ubuntu-hardy-translations-update.tar.gz [10:36] that seems correct [10:36] thats the same .... maybe a delay? [10:36] apparently not so at 2 am [10:36] yeah ok. [10:36] Is someone from the intrepid alpha 2 release team up? [10:36] pitti: let me blacklist a few more before you rerun ;) ... let you know in a few minutes [10:36] lool: please just toss concrete questions to slangasek and me [10:37] xkeyboard-config's upstream prepared a patch for LP #246834 and wants me to try to get it in alpha 2 [10:37] Launchpad bug 246834 in xkeyboard-config "No support for for Mac-like keyboard layouts with extra characters" [Undecided,Fix committed] https://launchpad.net/bugs/246834 [10:37] pitti: Wasn't sure whom to ping at this time of the day [10:37] asac: ok, I was just about to rerun; standing by then [10:37] pitti: Upstream says the attached debdiff is safe as it only adds a new keyboard implementation behind a mode which was already defined anyway [10:37] And pushes to try to get the fix in alpha 2 [10:38] I don't think it should affect anyone, but since we're in soft freeze, I'm checking whether it's reasonnable to upload [10:38] lool: looks ok to me [10:38] Ok, will push [10:48] why oh why dont we have an upstream bzr branch anywhere for initramfs-tools (or am i just blind) [10:49] pitti: ok. i think the blacklisting is good now. its amazing how many new translations have been started :) [10:49] pitti: i am doing one test run here now and let you know [10:54] ArneGoetje: the builds should have been settled now, so call for testing can go out [10:55] ogra: http://code.google.com/p/compcache/wiki/CompilingAndUsing says "default size of 25%" so how about that? [10:55] ogra: I agree it's a good idea to start using it as soon as possible [10:56] cjwatson, well, 256M + 25% = 320M ... does that sound like it suffices ? [10:57] * ogra doesnt know the current ubiquity reqs [10:57] That’s not what the 25% means. [10:57] its adding 64M swap, no ? [10:57] at least it does that here using the default [10:59] Say, it happens to compress whatever pages are swapped to the compcache with a ratio of 2:1. In that case, a full compcache of 64 MiB has allocated 32 MiB of RAM. Thus, you’ve gained 32 MiB of extra capacity. [10:59] ogra: bear in mind that ubiquity currently starts up with no swap; it surely won't make it worse :) [10:59] yeah, indeed its a matter of data and compression rate === ara_ is now known as ara [11:00] Hmm I can't branch casper [11:00] * cjwatson tries to find the bugs that have been filed on the subject [11:00] On hardy I get: KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 [11:00] On a swapless system, you might even consider something like 100% or 150%. [11:00] I guess I can check it out instead [11:00] ion_, but with the default i geta 64M swap device on a 256M system here ... [11:00] lool: I think I've seen that before, but not been able to solve it. Could you ask the bzr guys for help as to what we should do? [11:00] Sure [11:04] ogra: bug 193552 suggests cache size of 128000 [11:04] Launchpad bug 193552 in ubiquity "Support 256MB machines in Ubiquity." [Undecided,Confirmed] https://launchpad.net/bugs/193552 [11:04] ok [11:04] lets start with that ... [11:04] I'm reassigning that bug over to livecd-rootfs for now, but maybe it's casper? [11:05] I guess it should be casper, re-reassigned [11:05] nah, livecd-rootfs should create te conf.d file [11:05] conf-hooks.d file, i think [11:05] nope [11:05] ogra: you sure? I don't like having too much stuff in livecd-rootfs [11:05] Judging from comments in mkinitramfs [11:05] /usr/share/initramfs-tools/conf.d/ [11:06] why not have casper output that? [11:06] because you need to regenerate the initramfs for it to take effect [11:06] conf.d: for boot scripts, they land on initramfs. Deprecated for hook config. [11:06] conf-hooks.d: for, well, hooks :-) [11:06] pitti: ok ... please rerun [11:07] ogra: which casper does [11:07] asac: started [11:07] ion_, we made it a initramfs.conf option ... the system dir for the overrides is /usr/share/initramfs-tools/conf.d/ (the admin override dir would be /etc/initramfs-tools/conf.d/) [11:08] ogra: mkinitramfs sources all of /e/i/conf.d, /u/s/i/conf.d and /u/s/i/hooks-conf.d. Please see the comments in mkinitramfs. [11:08] It seems very clear to me that you’re supposed to use hooks-conf.d for something that a hook uses, not a script. [11:08] ion_, well, i will stick to the implementaition :) [11:09] which currently uses initramfs.conf [11:09] lets not make it extra complicated :) [11:09] Huh? [11:10] You’re supposed to override initramfs.conf options affecting hooks in hooks-conf.d and ones affecting scripts in conf.d. As simple as that. :-) [11:10] the feature is documented in intramfs.conf [11:10] the override dirs for that file apply [11:10] The manpage seems to be out of sync with the implementation. [11:11] we made it a global var so lets use the global config [11:11] (hooks-conf.d would come into play if you wouldnt have the export i think) [11:12] Both are sourced by mkinitramfs the same way currently, but hooks-conf.d files aren’t copied to initramfs because they only affect hooks. [11:13] If you use conf.d, you just end up with an unnecessary file in the initramfs. [11:13] Otherwise the behavior is exactly the same. [11:13] i dont end up with an unnecessary file [11:14] if that file is there i *use* compcache ... [11:14] if its missing i dont [11:14] If the file overrides COMPCACHE_SIZE, it’s unnecessary in initramfs. [11:14] very easy [11:15] COMPCACHE_SIZE in initramfs.conf is only for manual user edits and for doumentation ... no tool or imagebuilder we use will modify it directly [11:15] None of the files installed to the initramfs by the hook use COMPCACHE_SIZE. [11:16] a tool creating an image is supposed to drop a one liner file into one of the conf.d dirs that just contains COMPCACHE_SIZE with a value [11:16] No, hooks-conf.d :-) [11:16] ion_, feel free to use hooks-conf.d in compcache-setup [11:16] I am. [11:16] fine with me :) [11:16] pitti: already went out [11:17] nice, thanks [11:17] I’m just pointing out that if you don’t, you just end up using a deprecated feature and having an extra, unneeded file in the initramfs. [11:17] ion_, i dont [11:18] the file is needed if i want to use compcache ... it wont exist if i dont want to use compcache [11:18] so there is no unneeded file [11:18] You put conf.d/foo which contains ‘COMPCACHE_SIZE=...’ into initramfs. NOTHING within the initramfs uses that variable. [11:19] the compcache hook does as soon as the initramfs is regenerated [11:19] The hook uses it outside initramfs while creating an initramfs. [11:19] which is done by either the image build tool or in liveCD case by casper at package install time [11:20] The hook is not installed to the initramfs, or called from within the initramfs. [11:20] it is if the var is set [11:20] as soon as you regen the image with it [11:20] which is exactly what we do [11:20] casper will drop the conf.d file in place and run update-initramfs [11:21] after that compcache is used [11:22] cjwatson, i actually prefer livecd-rootfs simply due to the fact that UME or UNR might use it but not use casper, so we have a guaranteed central place o set it up [11:22] s/o/to/ [11:23] for all kind of imagebuilds we do [11:24] update-initramfs calls mkinitramfs, which sources initramfs.conf, conf.d and hooks-conf.d, all of these from the *filesystem*, not *initramfs* and then runs the hooks. The compcache hook parses COMPCACHE_SIZE and installs a script to initramfs that loads the compcache module with a precomputed kilobyte amount. That script doesn’t use COMPCACHE_SIZE, this installing the conf file to initramfs is useless. Whenever update-initramfs is called, the compcache ... [11:24] ... hook gets COMPCACHE_SIZE from the normal filesystem, not from within the initramfs. I don’t know how to put this any clearer: there’s absolutely no need to install the conf.d file to the initramfs, and putting the COMPCACHE_SIZE to conf.d instead of hooks-conf.d is deprecated, as the comments within mkinitramfs clearly say. [11:25] A future version of mkinitramfs might very well stop sourcing conf.d [11:25] ion_, all scripts we use i have ever seen use conf.d for consistency i want to eep it there it doesnt make *any* difference where the file is as long as the var is there during update-initramfs [11:26] ion_, we are upstream of initramfs-tols [11:26] *tools [11:26] ogra: it's still the wrong place, I'm afraid; livecd-rootfs should do as few things as possible itself - it's just supposed to copy all the bits in place and do the minimum necessary tweaks [11:26] ogra: we *were* upstream of initramfs-tools, but that is not realistically the case any longer [11:26] cjwatson, hmm, k [11:27] cjwatson, so who is ... Keybuk is stating that every time i talk to him and advised me often to give that as answer to debian people [11:27] functionally, Debian is the upstream [11:27] ok [11:27] * ogra makes a mental note about that :) [11:27] this is clear from the current changelog [11:28] I have no problem with us making our historical contributions to initramfs-tools prominent, but we don't gain anything by claiming we're doing something we aren't [11:28] “Add /usr/share/initramfs-tools/conf-hooks.d for hook options on mkinitramfs run. Do not land in initramfs.” maks@debian.org in initramfs-tools 0.91 [11:30] mkinitramfs: # FIXME: deprecated those settings on mkinitramfs run [11:30] # these conf dirs are for boot scripts and land on initramfs [11:30] ion_, as long as both works i really dont care but i want to keep consistency with othe scripts (ltsp drops the config into conf.d as i belive other netboot setups do as well) [11:30] They’re obviously intending to *fix* sourcing conf.d within mkinitramfs. :-) [11:31] When they do, everything that drops settings for *hooks* to conf.d breaks. [11:31] they dont atm, right ? [11:31] At the moment, conf.d are still sourced in mkinitramfs. [11:31] right [11:31] To future-proof the files, better move them to conf-hooks.d [11:31] if they drop that and we merge that we will have more to fix [11:35] cjwatson, sorry i tend to look at the wrong changelog ... the curse of being stuck on hardy :/ i see what you mean looking at intrepid ... [11:39] cjwatson: #246880 and http://launchpadlibrarian.net/15905205/bzr.txt for the log of the IRC conversation trying to recover this branch; didn't succeed sadly [11:39] cjwatson: If you need access to the bzr tree, you might be able to work on it using alioth's bzr [11:39] I prefer not touching it though [11:39] I only had a trivial typo to fix which doesn't solve any real life bug [11:43] lool: no, I've already got it and it works fine for me [11:43] though I think that might be a checkout [11:44] lool: sorry, I see I implied that it was preventing me from working on it - it isn't [11:44] lool: a checkout works just fine [11:44] lool: any reason why you would ever not want to use a checkout for it? I hardly ever use real branches of trunk-type things on bazaar.launchpad.net [11:45] cjwatson: I almost always branch things from LP [11:45] why? [11:45] that just means you have to remember to push :) [11:45] It allows me to act consistently from all my bzr repos [11:45] cjwatson: interesting; I almost never use checkouts [11:46] I simply never think "is this a checkout or a branch?" I always act on them like it's a branch [11:46] checkouts are brilliant, I use them all the time [11:46] I know I have to push and pull [11:46] when I create a branch, I try to push it somewhere and bind it as soon as possible [11:46] * TheMuso prefers branching, in the event he has to uncommit/revert a revision./ [11:46] thereby turning it into a checkout [11:46] thekorn: you can uncommit from checkouts too [11:46] Yeah, I also tend to do "commit commit commit test push" [11:46] I like the speed of local branches, and the possibility to uncommit without punishment, as well as saying "this becomes real work now, let's redeclare this as a branch" [11:46] Not "test commit test commit" [11:47] Mithrandir: Right, wasn't aware of that. [11:47] I've been annoyed too many times by "other developer forgot to push" [11:47] so I intentionally structure my workflow to avoid even accidentally inflicting that on others, as far as possible [11:47] Perhaps that's something to solve at the "building a package which has a .bzr" level? [11:48] For instance we could check whether the current tree is a .bzr, whether it's bound or not, and if not whether it's up-to-date [11:50] lool: do you know an example package that creates several binary packages, some of them containing shared libs and each of them has a seperate shlibs file? (and preferably uses debhelper) [11:50] siretart: Don't use .shlibs file, simply call dh_makeshlibs with -V on each package [11:51] cjwatson, how do you uncommit in such a setup ? [11:51] (don't use -V alone of course) [11:52] you mean like: `for p in ${packages; do dh_makeshlibs -p${p} ....; done`? [11:52] * ogra os a typo prone person and likes to be able to roll back changelog entries to fix a typo ... [11:52] :) [11:52] s/os/is/ [11:52] siretart: Something like this, yes [11:52] ogra: (a) test and diff carefully before commit so I generally don't have to (b) if it's quick, hope that nobody happened to have pulled/updated in the few seconds between commit and "oh shit" (c) you can always just commit a correction [11:52] but (a) is the most important. Apply care! [11:52] siretart: If it's for ffmpeg, you need separate calls as the binary package names are not standard and differ per binary package name you act on [11:52] i do for the code ... but often dont for the commit entry [11:53] if you know you're typo-prone, that's the first step [11:53] IOW it's not a shlib dep on the current package [11:53] also I use debcommit so I generally write commit text in debian/changelog, not in bzr ci -m [11:53] lool: okay. I'm just reading dh_makeshlibs, and I wanted to check if my conclusions are right. thanks [11:53] I just often seem to recognize too late that I shuold have started a feature branch instead of doing large work in trunk [11:53] pitti, same here [11:54] but as you say then its to late anyway ... do better next time :) [11:54] yeah, debcommit FTW [11:54] (and yes, of course it is ffmpeg ;) [11:54] Makes me think that another reason I use branches is to allow me to bzr branch the tip which I might not have commit access to or might not want to commit to, then push to my own lp:~lool namespace and tell someone to pull from it [11:55] siretart: The last dh_makeshlibs example is the one you want [11:55] dh_makeshlibs -V ’libfoobar1 (>= 1.0)’ [11:57] Wow I just tried to work from a bzr lightweight checkout and even bzr diff required network UI [11:57] *IO [11:58] debcommit -n will hence also wait for IO [11:58] oh, I don't use *lightweight* checkouts [11:59] that seems like excessive self-inflicted-pain in most cases [11:59] I can't checkout casper in any other way sadly [11:59] You might be luckily reusing an older checkout you had around [12:05] yes, I've had this for years [12:08] right, intrepid desktop fails to boot. /me cracks knuckles and dives in [12:20] cjwatson: shot in the dark> current kernel doesn't ship unionfs, might that be it? [12:22] nothing to do with unionfs afaics [12:23] * pitti crawls back into his hole then [12:25] pitti: about nvidia; how should the latest "current" nvidia-glx-xxx be upgraded to nvidia-glx-{xxx+N}? [12:25] by apt I mean [12:26] tjaalton: I thought we didn't want to ship arbitrary names any mroe? [12:26] pitti: they have versions now (-71, -96, -173, -177) [12:26] i. e. once you install a version, you stay wit it? [12:27] but shouldn't the latest one be just 'nvidia-glx' then? [12:27] tjaalton: right, but wasn't the precise idea of those to avoid automatically upgrading to newer versions? [12:27] pitti: ah, ok. maybe :) [12:27] pitti, cjwatson err, didnt we switch to aufs anyway ? [12:28] ogra: yes. [12:28] (hence why unionfs is not important) [12:28] pitti: it would make sense for the "legacy" versions, but for those who want the latest.. [12:28] good ... i was worried i had misunderstood :) [12:28] in any case debugging without seeing the errors is a bit of a mug's game :) [12:28] tjaalton: well, if something like this still makes sense, I see those options: (1) build a -latest metapackage, (2) if N+1 is compatible, just keep the package name (slightly confusing, I know), or (3) call the latest version "-latest" instead of -VERSION [12:29] tjaalton: but since upstream keeps breaking compatibility, users shouldn't *want* to always get the latest, no? [12:29] tjaalton: however, I do see that we need some mechanism to deprecate a particualr version; we can't maintain all of them forever [12:30] tjaalton: I think that's where the update-manager hook kicks in (or the debconf note for those using apt-get) [12:31] tjaalton: this suspiciously reminds me about the PackageSeries: discussion I had for kernel modules... (https://wiki.ubuntu.com/DesktopTeam/Specs/KernelAbiPackageHandling) [12:33] pitti: the only problem I see with not having VERSION in the latest package is that the libs and modules could get out of sync. but, that's solved by dkms right? [12:33] since it builds the modules for all the kernels the users happens to have [12:36] it's just that on upgrade the user has to be notified that a reboot is in order [12:36] and these are mainly issues during development [12:40] http://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/annotate/519?file_id=x_Matt_Zimmerman__Sun_Mar_13_00%3A51%3A19_2005_1366.40 [12:40] pitti: can we make it Kernel-Version instead? that's already in use for udebs [12:40] * ogra scratches head [12:42] (thats what i get clicking casper.init in the web UI on the casper LP branch) === ember_ is now known as ember [12:45] hmm, the same for the whole caspermon subdir ... [12:45] i wonder if thats a branch issue or LP bug [12:47] the branch is dodgy, see lool's problems above [12:48] ah, k ... was on my way to #launchpad already :) [12:49] * ogra ponders how to add compcahe to casper ... we surely dont want it on all casper sessions by default [12:49] (which would indeed be the easy task) [12:50] ogra: I'd have thought it should depend on the amount of system memory somehow [12:50] if you have 1GB, you probably don't want it [12:52] ogra: what about something like: amount of memory RAM+SWAP must be = 512MB for the Live environement. Then use compcache to achieve that (if possible) [12:54] stgraber, compcache in intramfs as we implemented it is en/disabled at initramfs generation ... if you disable it we dont want any traces of it in the initramfs to save space ... so i need to enable it by default and dynamically set or unset the var in an extra script ... [12:54] i'm wondering about the extra script atm :) [12:55] i know what to do in there :) [12:57] the prob is that we need compcache as early as possible (init-top) so the casper detection has to happen before init-top ... casper itself only starts at premount to process scripts ... [12:59] Btw, since udev currently starts at premount, that’s when compcache actually gets running. udev could be moved to an earlier state, or anything in premount that requires compcache to be running could just prereq udev. [12:59] there is nothing to stop casper installing an init-top script [12:59] i think as soon as udev is run by upstart that will change [13:00] and it seems to make complete sense to me to have casper do this in init-top, since it's fiddling with initramfs configuration [13:00] cjwatson, apart from my resistance to add so much code :) [13:00] i dont want to add bloat ;) [13:01] this isn't bloat [13:01] and it should be very little code [13:01] ion_, ouch, we need a sequence number for the init-top script [13:01] its currently just called compcache .... [13:02] * ogra goes fixing and makes that 20compcache [13:03] ogra: Huh? zcat /boot/initrd.img-2.6.26-3-generic | cpio -t | grep init-top doesn’t print any number prefixes. [13:03] cjwatson, well, my initial idea was a one liner :) compared to that everything is bloat ... but i didnt take dynamic detection into account for casper here [13:03] I thought the prereqs functionality was used instead of a static ordering. [13:03] ion_, look at casper :) [13:04] ogra: more relevantly, look at /usr/share/initramfs-tools/scripts/init-top/ [13:04] we'll add init-top as dir to it and have a 10compcache_detect or so .,.. [13:04] -> no sequence numbers [13:04] at some point initramfs-tools might change upstream to require that, but it's not there yet [13:05] ah, k [13:05] better to be consistent within the directory than consistent with other directories [13:05] well, casper uses it all over the place [13:05] and it doesn't do sequence numbers because it actually does dependencies, and doens't need them [13:05] (them == sequence numbers) [13:06] ogra: in its own directories; but it shouldn't do so in init-top, right now [13:06] right ... still, we have them everywhere in casper ... seems sane to me to follow the general plot ... and if only for better readability [13:06] I don't know how to make this any more clear [13:06] follow the existing practice for init-top [13:06] not for scripts/casper-* [13:06] ok [13:07] you don't want to mix two different means of resolving ordering within the one directory [13:07] that way lies utter madness [13:08] Seems to me that if the sh running the initramfs code *happens* to return the entires in a numerical order on init-top/* and the dependency ordering doesn’t *happen* to shuffle their order either, you’re lucky that day. :-) [13:09] * ogra sighs ... thats making it a lot more complicated :/ the compcache scrit wnt know anything about casper ... [13:09] so we need to dynamically create the PREREQ line [13:09] during initramfs build :( [13:10] Are you going to move udev to init-top, btw? [13:10] udev will move to upstart soon as i understood scott [13:11] Alright, it will be awesome if we already have upstart-in-initramfs for intrepid. [13:11] ’ll [13:11] thats the plan ... [13:13] i also think in casper its not overly important to have it as early as on 48M systems ... since our main obective is to make room for the desktop session so whenever udev runs in initramfs wil be fine for a start [13:14] it will get more important on 32M ltsp clients or other devices on teh edge with low ram etc ... where you actually require it for booting [13:18] pitti: would it be ok to fix the intel problems with compiz for alpha2? [13:19] pitti: a patch for mesa & intel [13:22] is there a reliable way to add/remove a slave link to an alternative with changing the default for the alternative itself? [13:28] pitti: sorry, only mesa should be changed. there's also bug 246835 which means that one patch against intel should/could be dropped [13:28] Launchpad bug 246835 in xserver-xorg-video-intel "Check pitch patch should be removed, done differently in upstream source already" [Undecided,New] https://launchpad.net/bugs/246835 [13:29] soft freeze, so it's at your discretion [13:30] cjwatson: ok, I think it's worth it. thanks [13:42] hello, all! may be its offtop. exists driver for webcam logitech eye312 ? thanx [13:44] sja: please ask in #ubuntu [13:45] azeem, its no real :) 1312 members... okey [13:52] please, say who i can install driver PATA for Geode AMD. my sysmet is not bootable. [13:53] sja: This channel is for development, not for support, please ask in #ubuntu, thanks. [13:53] we don't ship drivers in separate packages (at least mostly, and certainly not in this kind of case) - if it's not shipped as part of the kernel, it's a kernel bug [13:53] sigh [14:43] BenC: ping, are you ben collins? [14:44] https://blueprints.launchpad.net/ubuntu/intrepid <-- shows compcache as 'implemented' and compcache-usage as 'Drafting', yet both seem to describe the usage of compcache ... ? [14:57] bluefoxicy: heh, yes [14:57] bluefoxicy: Well, compcache is in the kernel now, but I'm not sure if it's being used on the CD yet === thekorn_ is now known as thekorn [15:07] BenC, i'm just fixing the intiramfs scripts [15:07] bluefoxicy, ^^^ [15:07] a patch to use compcache according to the spec landed yesterday [15:27] tjaalton: hm, how intrusive is it? if you tested it on an intel and perhaps an nvidia card and it works, I'm fine with it [15:33] pitti: actually it proved to be harder than I thought so it'll have to wait a proper fix which means post-alpha2 [15:34] tjaalton: you still dropped the patch, so that was independent from the mesa fix? [15:34] pitti: yes, that was independent [15:43] infinity: rejecting your procps upload from hardy-proposed, there is no bug reference in the changelog [16:18] benc: What’s the status of getting rid of versioned kernel packages, btw? [16:18] I thought that was just the source packages, which are done [16:19] I mean the last-known-boot thing. [16:19] Uh, last-good-boot [16:21] * dholbach couldn't boot any of the new kernels in KVM yet :-( [16:21] so I couldn't check out the new shiny feature yet [16:23] dholbach: just use real HW :) (or VirtualBox with i386 isos) [16:24] other than that I'm fairly happy with KVM :) [16:28] ion_: after some testing of last-good-boot, hopefully within a few weeks [16:29] benc: Neat [16:31] benc: Is there going to be a mechanism that keeps the modules of the currently running kernel available until the next reboot even though the kernel image is upgraded? [16:31] slangasek: regarding the issue that you raised about the lsb-base status_of_proc() function not accounting for pidfiles, I have a new patch that addresses this. i'd appreciate your review, when you get a chance. see: https://bugs.edge.launchpad.net/ubuntu/+source/lsb/+bug/246735 [16:32] Launchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released] [16:32] dholbach: I'm accepting the kvm SRU for hardy right now (which claims to enable booting of .26) [16:34] benc: Something like... have the kernel image package install the modules to /lib/modules/blah.new; have the postinst replace /lib/modules/blah with if the ABI matches and do nothing otherwise; have a very early init script move /lib/modules/blah.new over /lib/modules/blah if blah.new exists. [16:34] pitti: ah! :) [16:35] dholbach: testing appreciated, please give feedback to bug 243677 [16:35] Launchpad bug 243677 in kvm "intrepid kernel 2.6.26-2-generic (amd64) won't boot as kvm guest" [High,In progress] https://launchpad.net/bugs/243677 [16:35] * dholbach hugs pitti and soren [16:35] sure will [16:35] has it built already? has it built already? has it built already? [16:37] dholbach: no! not yet! still no! [16:37] ion_: that's something I haven't considered yet...on non-abi updates, that doesn't matter much, but for ABI bumps, it gets tricky [16:37] benc: Or perhaps copy /lib/modules/blah to /lib/modules/current (with hardlinks) on startup and do something to make the system use /lib/modules/current from that point on. [16:42] benc: Perhaps patch modprobe to try /lib/modules/current first and then fallback to /lib/modules/whatever-the-package-installs, and have an early init script rm -fr /lib/modules/current.temp, cp -al /lib/modules/whatever-the-package-installs /lib/modules/current.temp and bind-mount current.temp as current (to make sure a ‘current’ of another kernel doesn’t exist at /lib/modules/current at any time). [16:43] benc: I’m just throwing random ideas around as they come, there probably are much better solutions. :-) [16:43] ion_: way to complicated, especially for lrm/third-party modules/dkms [16:43] Yeah... [16:47] benc: Perhaps have the package install the modules to /lib/modules/2.6.xx-ABIVER while making sure 2.6.xx-the_previous_ABIVER is not automatically deleted on upgrade, and have a maintenance script (an init script or a cron job) delete the older trees from /lib/modules that aren’t running. [16:48] ion_, so i have ade the code changes to the init-top script that it accepts a global COMPCACHE_PREREQ variable (that we can export from casper) for filing the prereq value and added a SKIP_COMPCACHE variable as well that makes the script die if nonzero ... since you seem to be good in finding out stuff and i'm out of ideas, any idea how to get the SKIP_COMPCACHE value handed over from one init-top script to the other ? [16:48] s/ade/made/ [16:48] ion_: That's slightly complex too...and racey [16:49] just exporting seems to be ignored [16:49] ogra: Write it to a file and source it from the other scripts perhaps? [16:49] uh, ugly [16:49] but could work indeed :) [16:51] I’ll hibernate. Have been awake for >22 hours. (That’s 66 millifortnights for our friends using the imperial units.) [16:52] * ogra had a 3h nap in the last 48h :) [16:52] Heh [17:29] slangasek: maybe I missed it, but what is the mechanism to update the pam conffiles (in PAMConfigFrameworkSpec)? [17:31] eg, pam-foo gets installed, drops its input file into /usr/share, then what? [17:34] kirkland: aiee, you sent me to edge and everything is mirrored! :) [17:34] slangasek: ? [17:35] yeah, they flipped the UI around recently [17:35] slangasek: oh, hmm, sorry [17:35] kirkland: your url for the lsb bug; it's to edge, which I don't normally use, and I can't find anything in the UI :-) [17:35] i think i'm going to drop from launchpad-beta [17:35] it's a PITA to edit every LP url I paste every day [17:36] I wonder if it's possible to write a firefox extension that munges the URLs on the way out [17:36] or, rather, the LP guys should have edge detect that you're not a member of launchpad-beta-testers and redirect to the normal site [17:36] bah [17:36] slangasek: oh-- I did miss it: "...multiselect debconf interface, invoked by means of a script..." [17:36] jdstrand: ok :-) [17:37] * slangasek backspaces over his explanation, since it's apparently a repeat :) [17:37] * kirkland says adios to edge.launchpad.net [17:37] slangasek: I might add that auth-client-config does a pretty good job of handling user changes. I don't know if that is something you'd like to use, or maybe look at the logic and see if there is something there for you to get inspired from [17:38] jdstrand: that sounds like it might be useful, thanks. Though given the language constraints, I guess it'd have to be transcribed for use [17:38] * jdstrand notes that the script of which slangasek speaks of is likely going to be pretty similar to auth-client-config [17:39] slangasek: right [17:39] slangasek: and why is python installed by default in Debian? you should *totally* work on that ;) [17:39] s/is/isn't/ [17:39] jdstrand: because perl is Enough? :) [17:39] I thought dash is enough [17:40] ... ew? [17:40] I used to be a perl addict, but I;ve seen the light [17:58] kirkland: well, if you're happy with returning 100 when the process exists and you can't kill it, then I'm happy too, though it seems to me that using ps would be a more robust solution for addressing your own concerns [17:58] Amaranth, merci [17:59] slangasek: can you give me your suggested ps|grep line? [17:59] ogra: you removed my tabs :( [17:59] i did ? [17:59] you changed it all to 4 spaces :P [18:00] kirkland: "ps `cat $pidfile` >/dev/null; echo $?" should do it, shouldn't it? [18:00] slangasek: and would you suggest that in addition to the kill check? [18:00] Amaranth, yeah, thats how proper py code looks like :) [18:00] slangasek: in place of the grep for "Operation not permitted" ? [18:00] kirkland: that covers all the cases that kill -0 does, as well as the case where the process exists but isn't killable [18:01] kirkland: I would suggest that as a complete replacement for the kill -0 check; is there some reason kill -0 is useful? [18:01] i.e., something that it checks for that you can't check with ps? [18:01] slangasek: i'm not a fan of the kill -0, but i'm apprehensive about changing something so fundamental and pervasively used as pidofproc() [18:01] (the one caveat is that ps is in the procps package) [18:02] tabs vs. 4 spaces> http://www.python.org/dev/peps/pep-0008/ [18:02] right, then using kill -0 with ps as a fallback is probably safer [18:02] * cjwatson wonders if that should be referenced from policy [18:02] slangasek: right [18:02] heh [18:03] cjwatson: 4 spaces is still evil :P [18:03] it's evil, but its' the RIGHT kind of evil [18:03] slangasek: i'll redraft the patch with the ps fall back [18:03] slangasek: it'll be a few minutes, as I'm otherwise occupied at the very moment [18:03] consistency > * [18:03] slangasek: i'll pass it by your review again [18:03] it should be the initial question at MOTU application reviews :) [18:03] (yes yes hobgoblin of little minds etc.) [18:04] hobgoblins are cute [18:04] kirkland: it doesn't suck /generally/, just the "let's use redhat as a model for init scripts" part :) [18:05] liw: yes, the little 'o' character is nice and rounded, and they're easy to kill [18:06] why does debdiff always attach a /tmp/something/ path in the changelog diff? [18:12] probably because that's where it unpacks them to diff, and it doesn't pass the right options to trim that off [18:13] savvas: that iirc only happens for new upstream versions (or native packages), where there is no common base path [18:13] bug? :) [18:13] ah [18:13] ok [18:23] pitti: around? [18:23] mdz: for another 5 minutes or so, yes [18:24] pitti: I am trying to debug bug 246585, and the simplest way to do so seemed to be to use apport to gather a crash report (since the console and X were unusable for gdb) [18:24] Launchpad bug 246585 in xserver-xorg-video-vesa "GTK applications crashing reproducibly when using vesa" [Undecided,Incomplete] https://launchpad.net/bugs/246585 [18:24] pitti: but apport-retrace chokes on the .crash file because it is lacking a Package: field [18:24] I don't see why it should be missing; it has a correct ExecutablePath which is clearly part of the gdm package [18:25] mdz: right, Package:, Dependencies:, etc. are only added in the UI [18:25] mdz: since they are expensive to generate (same like all the Gdb fields) [18:25] pitti: I hand-hacked it back in. do you expect the auto-retracer will accept it? [18:25] pitti: I'd like to attach it to the existing bug report [18:26] mdz: so either run apport-gtk -f /var/crash/... on it, or call apport-retrace manually with -R, --rebuild-package-info [18:26] pitti: I'd rather just give it to the server to retrace, and not download all the debug symbols, if that will work [18:26] mdz: ah, no apport retracers for intrepid yet, I'm afraid, and unfolding the blob to an existing bug isn't possible yet either (long-standing LP wishlist bug) [18:27] pitti: oh, ok. I'll retrace locally then. thanks [18:27] ATM, p-lp-bugs is yet again broken with current LP, and I need to set up intrepid chroots [18:27] it's a constant chase :/ [18:29] pitti: LP 2.0 is supposed to give us APIs to back p-lp-bugs... [18:29] yeah, I'm craving for that :) [18:38] when there are two packages listed in debian/control, do I have to add XSBC-Original-Maintainer twice? [18:38] tere are surely not two source packages listed [18:38] that field applies to the source package [18:39] Package: htcheck [18:39] Package: htcheck-php [18:40] bryce: around? [18:41] mdz, yep [18:41] hello [18:41] bryce: I've attached what you requested to 246585, though it only seems to get weirder [18:42] ok looking [18:42] bryce: I noticed along the way that X server crashes don't seem to trigger apport; is that intentional? i thought it used to [18:42] (this particular problem isn't an X server crash, but in the course of events it's crashed on me a few times in the past day) [18:43] mdz: hrm, it *should* be triggering them. Might be my own lack of apport-fu is making them not work [18:43] come to think of it; I haven't had anything trigger apport for quite a while [18:43] sladen: are you on a stable release? [18:43] hi sladen :) [18:43] I recently in Intrepid changed how the xserver apport stuff is hooked up based on pitti's advice, but it may still not be right yet [18:44] laga: ah, _this_ machine is [18:44] sladen: see /etc/default/apport [18:44] i need to enable it on my laptop because kded crashes frequently [18:44] bryce: in which package does the magic live? [18:45] ah, -core [18:45] mdz, I stuck it in the xorg package, but am wondering if it needs to live in xorg-server [18:47] bryce: I think it needs to be in the same package as the binary in order to be triggered [18:48] mdz, that's what I suspected... I'll try moving it over to xorg-server then [18:49] I also need to investigate if we can get richer stacktraces when xserver crashes; currently what it puts into Xorg.0.log generally proves insufficient for troubleshooting [18:50] bryce: I don't think the package hook is the problem; apport never gets invoked at all [18:51] I assume it's because the X server is handling the signal itself [18:51] though, it does rethrow it I guess, so it should work [18:52] bryce: I've attached gnome-panel and gnome-terminal crash reports to the bug as well. you should notice a pattern... [18:52] they're all falling over in the course of inquiring about screen geometry [18:52] ok [18:54] apport should do a much better job of decoding the stack trace than the X server does [18:54] if you let it do its thing [18:54] mm, definitely an error in xrandr-ish stuff [18:56] mako: dude [18:56] if I were to guess at this point, I'd guess it to be that gdk's xrandr bindings are bugged [18:58] bryce: re: X server crashes, /var/log/apport.log has this to say: [18:58] ValueError: Invalid process ID: [Errno 2] No such file or directory: '/proc/21945' [18:58] it seems the process has already exited before apport gets its paws on it [18:59] mdz: does gdk_screen_get_n_monitors() return 0? [18:59] mdz, also attach your .xsession-errors. Since it's looking like this might be somewhere in the gnome stack, that might have useful info [19:02] haha [19:02] jcristau: is there an easy way to get to that from PyGTK? [19:02] if you find it in there at least [19:02] bryce: there's nothing on stdout or stderr except what I already put in the bug [19:03] .xsession-errors wouldn't be so bad if you didn't have 10 things writing to it at once [19:03] everything kind of...merges [19:03] "ok, here is the first line of compiz-manager output, where is the second? oh, i see it, 50 lines down..." [19:04] jcristau: not sure if I'm using the API correctly, but: [19:04] >>> gtk.gdk.Screen().get_n_monitors() [19:04] __main__:1: Warning: invalid cast from `GdkScreen' to `GdkScreenX11' [19:04] 1946711135 [19:04] that looks...bad [19:05] it returns the same sort of random garbage when I try that on a working X server, though, so I don't think I'm asking the right question [19:05] mdz: try gtk.gdk.screen_get_default().get_n_monitors() [19:06] Amaranth: returns 0 [19:06] returns 1 on my healthy X server [19:06] jcristau: from the panel_multiscreen_width() routine, it looks like it only reaches the line it crashes on if gdk_screen_get_number(screen) returns 0 or higher [19:06] jcristau: ^ [19:07] sounds like XineramaIsActive() or XineramaQueryScreens() bugginess [19:07] that's as far as I can help from a mac [19:09] mdz: what's the output of xdpyinfo -ext XINERAMA? [19:10] from the vesa Xorg.0.log: (II) Initializing built-in extension XINERAMA [19:10] jcristau: http://paste.ubuntu.com/26264/ [19:11] jcristau: is -vesa still set up to use xinerama? [19:11] it prints output, but then the X server crashes [19:11] number of screens: 1 [19:12] bryce: vesa doesn't do xinerama, no. so XineramaIsActive() is supposed to return false. Xinerama is inactive. [19:12] .. in the xdpyinfo output suggests that it does [19:13] xrandr --verbose: http://paste.ubuntu.com/26265/ [19:13] the crash looks like a wacom bug [19:13] the crash during server shutdown is presumably a separate issue [19:13] I'll report it to LP [19:14] * mdz starts using -noreset [19:15] jcristau: why do you think it's related to wacom? [19:15] jcristau: the wacom error messages that appear in Xorg.0.log have generally proven non-fatal with gnome [19:15] so if XineramaIsActive() returns false then i have no idea why gdk's get_n_monitors() doesn't return 1 [19:15] bryce: because it's crashing in 2: /usr/lib/xorg/modules/input//wacom_drv.so [0xb7b3c0fc] [19:16] GTK seems to set n_monitors based on either XineramaQueryScreens or XRRGetScreenResources [19:16] ah [19:16] both of which seem to be behaving [19:17] bryce: have you tried this yourself? [19:17] mdz, no I haven't [19:18] bryce: does vesa work on your hardware? have a go [19:18] ok I'll give it a shot [19:19] it doesn't work on mine, and I don't have anything wacom related in the conf [19:20] tjaalton: two separate issues, vesa and wacom [19:20] mdz: oh, ok [19:20] not too concerned about wacom right now, since the server is going down anyway at that point [19:20] heh [19:22] bryce: I'm using sudo -b X :1 -ac -noreset -config xorg.conf.test [19:22] for convenience, though it definitely happens when it's the only X server running as well [19:23] can someone take a look at the patches listed here: http://tinyurl.com/58dgl3 [19:24] or the huge link :) https://bugs.launchpad.net/~medigeek?field.searchtext=fixed+maintainer+debian+control+field&orderby=-datecreated [19:24] savvas: the changelog says hardy, but should probably say intrepid [19:24] darn, true [19:25] savvas: and subscribe ubuntu-universe-sponsors for packages in universe and ubuntu-main-sponsors for packages in main [19:27] will do, have to run though, I'll change them to intrepid and subscribe the sponsors later :\ [19:28] rats, networking is busted on my dev box at the moment. -vesa is working on it but it's running xserver 1.4 [19:32] (so I'll set up another box) [19:36] bryce: what's wrong with the box you're on? [19:36] slangasek: is there a reason the kubuntu-kde4 i386 alternate image is 403? [19:37] slangasek: nevermind, brain not working today [19:42] mdz, ah, it's the one I use for mail services and such and is still on hardy. === ember_ is now known as ember [19:44] bryce: so what are you using for testing your intrepid uploads? ;-) [19:46] slangasek: hey, sorry, got drawn away for longer than I expected. Updated patch on https://bugs.edge.launchpad.net/ubuntu/+source/lsb/+bug/246735 using ps [19:46] Launchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released] [19:47] slangasek: mdz made the same suggestion ;-) [19:50] mdz, long story, but basically last weekend I started some machine shuffling, and the machine I set up for testing currently has a network support issue (getting workaround from tim). [19:51] kirkland: my suggestion was not altogether independent of his :) [19:51] slangasek: :-D [19:58] kirkland: I guess I would expect that if you find the process with 'ps', you would still return 0, not 100 [19:58] otherwise, why look with ps at all? [19:59] slangasek: hmm, well i didn't want to disturb pidofproc()'s non-zero return code in the kill -0 fails case [19:59] hum [19:59] I don't think pidofproc is documented as returning non-zero in the case you don't own the process, is it? [19:59] slangasek: i'm still treating this status gathering business as a special case, allowable as a non-owner/non-root user [20:00] if it's not a documented feature, sucks to be whoever assumed this was an ok way to check for ownership of the process :P [20:00] slangasek: good point.... if no pid file is found, and /bin/pidof runs, it doesn't check ownership either [20:00] right [20:01] * kirkland programs conservatively and he gets smacked for it... programs more liberally and gets smacked for it :-) [20:01] :-P [20:02] heh :) [20:04] kirkland: it's called "You can't win", aka the second law of thermodynamics. [20:05] Mithrandir: first law; the second law is "you can't break even" :) [20:05] slangasek: true. [20:08] hi [20:09] is there a vunerbaility in ubuntu 8.04 ? [20:10] all my systems in office started behaving strangely around 8 pm ist [20:10] slangasek: okay, patch updated at https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/246735 [20:10] Launchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released] [20:10] gp: if you mean the initial release of Ubuntu 8.04, there are multiple vulnerabilities that have been fixed since the release via security updates; http://www.ubuntu.com/usn/ has a complete list [20:10] gp: can you be more verbose on "strangely"? [20:12] you should definitely be tracking the "important security updates", as they're called in the admin interface, for any Ubuntu release [20:13] they were in network and was able to ping each other but any services like ssh , ftp , databse server disconnected or timed out [20:13] machines were able to ping each other at very low lan latency [20:14] i thought there was problem with switch intially so replaced the switch [20:14] but again same problem [20:15] now stuff like ssh takes too much time [20:15] or time outs on all machines [20:16] well, you're the only one that I've heard reporting such a problem, I'm afraid. If you haven't installed all of the security updates, it could very well be because of one of those. If you have installed the security updates, it's likely to be a local problem (perhaps a DNS configuration problem?) since no one else is reporting it [20:17] slangasek: if you're satisfied with the latest version of that patch, could I trouble you for a sponsor/upload? [20:17] gp: there was a significant DNS update happening for all vendors yesterday and today. it could be related, but as slangasek says, this is the first we've heard of anything like this. [20:17] kirkland: sure, I can do that [20:17] these are unpatched systems [20:17] slangasek: cool, after that happens, i'll send it over to Debian. they accepted the last one (sans pidfile support) yesterday [20:20] gp: right, but other infrastructure may be getting updated was my point. [20:21] mdz: dude [20:24] maybe my office is under some attack ? [20:24] attack of the Huns! :) [20:25] but i also tried to disconnect from router and but any service like ssh , db was taking to much time to connect [20:26] i did nmap scan [20:27] only ssh and db server port show one in namp [20:31] how to find if systems are hacked ? [20:33] my entire office is down [20:33] office which runs solely on ubuntu [20:33] and which i installed :-( [20:34] tomm if its now fixed I will be blamed [20:34] gp: is there anything showing in logs? You don't seem to have much informations about what is actually happening. [20:34] syslog? [20:35] syslog, kernel log, whatever log... [20:35] ssh delays tend to be DNS related. [20:37] i am using ip in lan [20:37] not by host name [20:37] even on local computer [20:38] if i ssh localhost its quite fast [20:39] but if i ssh my local computer by ip it takes lot of time [20:39] it's because if you ssh to your IP, it first has to go all the way to your ISP and back [20:40] no, I can't keep a straight face ;) [20:40] gp: Please gather more informations than simple network delays. [20:41] in reality, it's almost certainly that you don't have reverse DNS for your IP [20:41] or that it doesn't match the forward [20:41] or that your DNS resolver is slow [20:41] slangasek: http://pastebin.ubuntu.com/26288/ [20:41] slangasek: that's the bug report + patch I'm sending to Debian [20:41] Lrrr: which info i should look for [20:42] slangasek: includes the patch as you've seen it, plus two minor diff's between Debian/Ubuntu lsb-base that I've dealt with before on merges [20:42] slangasek: should clean up our merge, which I'll do for intrepid again, as soon as he accepts this [20:42] Keybuk has a good point there. [20:43] gp: as Keybuk says, a slow DNS resolution does perfectly explain slow ssh connections when connecting by IP, because the /server/ has to identify the client even if the client uses an IP when connecting to the server [20:46] providing network traces often shows this very clearly, if things take exactly 30s to time out for instance. [20:47] Mithrandir: u mean traceroute ? [20:48] no, I mean tcpdump/tshark logs [20:55] http://pastebin.ubuntu.com/26291/ [20:57] i am sorry to disturb u guys with my problems [20:57] am i no security / network guru only developer [20:58] did we do away with gtksu/gtksudo? [20:58] there seem to be a name resolution error there [20:58] gp: well, it doesn't look like any of your DNS servers are actually answering? [20:59] http://pastebin.ubuntu.com/26292/ [20:59] sorry typo [21:00] when i dig yahoo.com it responds pretty quickly [21:01] gp: can you install moreutils and then pastebin the output of dig +trace err.no | ts ? [21:05] 2>&1 >/dev/null [21:05] kirkland: ^^ doesn't the above redirect the fds in the wrong order? [21:05] usually, yes. [21:06] http://pastebin.ubuntu.com/26294/ [21:06] slangasek: i wrote/read that as "stderr to stdout, then stdout to /dev/null" [21:06] kirkland: so you meant for the stderr output to not be suppressed? [21:06] slangasek: i mean to suppress EVERYTHING [21:07] kirkland: then it's the wrong order. [21:07] slangasek: and only operate on the $? [21:07] kirkland: then that needs to be >/dev/null 2>&1 [21:07] kirkland: because 2>&1 means "clone the current fd1 as fd2" [21:07] and if you do that before stdout is repointed at /dev/null, it's basically a no-op :) [21:07] wow, i've been screwing that up for years, then [21:08] I can fix that here if you're happy with that, no need for a patch reupload [21:08] please [21:08] slangasek: i'll update the patch I sent to Debian [21:08] ok [21:08] slangasek: thanks. [21:09] Mithrandir: http://pastebin.ubuntu.com/26294/ ->>> output of dig +trace err.no | ts [21:09] gp: yeah, that looks nice and fast. [21:10] kirkland: hrrrm, status_of_proc() also still doesn't actually give you a way to *pass* a pidfile argument to pidofproc :) [21:11] pidofproc $daemon -- I need it to be able to call pidofproc -p $pidfile $daemon :) [21:11] slangasek: pidofproc() sort of autodetects that [21:11] hmm [21:11] slangasek: but i guess it would be good to explicitly state that [21:12] Mithrandir: why my ssh is slow in lan [21:12] well, for completeness it should be possible to override the autodetection [21:12] eralier it was instaneius [21:12] slangasek: actually, you're right, it's a problem with cron... the daemon is /usr/sbin/cron, but the pid is /var/run/crond.pid [21:12] kirkland: right, not guaranteed to match :) [21:13] slangasek: k, i'll spin a new version [21:13] all services super slow in lan [21:13] kirkland: indeed, for samba the pid files are down a level, so my omgkittens use case isn't addressed by the current implementation :-) [21:15] kirkland: sorry for not catching this in earlier reviews, I guess I had tunnel vision [21:15] slangasek: no problem, i had thought about it, but figured i'd rely on pidofproc()'s autodetection (which in retrospect was poor) [21:15] * kirkland has a habit of underestimating problems :-) [21:15] too optimistic, i suppose [21:17] that's a fairly common disease affecting programmers. [21:18] remember to multiply by π [21:18] slangasek: what did you think of mdz's suggestion of just removing the kill -0 statement and using ps exclusively? [21:18] slangasek: also, is this construct correct? it's used elsewhere in that file: elif ps "${pid:-}" 2> >/dev/null; then [21:19] pitti: Sorry about the missing bug number, reuploaded with fixed changelog. [21:20] infinity: aw, admit it.... adding the bug number screwed up your fully justified changelog :-) [21:20] kirkland: *cough* [21:20] kirkland: No, I've just always been slack about Ubuntu bug numbers in changelogs, since I left the distro team before we finally got auto-closing of bugs in soyuz/malone. [21:22] kirkland: well, I commented to the bug that if we use ps exclusively, that sorta implies a dep on procps for the lsb-base package; that might be ok, I can't think of a specific reason right now that it wouldn't, but I think the idea should be shopped around more before committing to it [21:22] gp: Can we speak in private? [21:22] slangasek: k, sounds good [21:22] slangasek: and about ps "${pid:-}" 2> >/dev/null ? [21:23] kirkland: 2> >/dev/null is not correct. 2> /dev/null is ok (i.e., you're allowed to have a space between the operator and the arg), but incomplete [21:23] Couldn't gp problem be related to mdns? [21:23] kirkland: >/dev/null 2>&1 is the traditional method [21:23] slangasek: okay. in that case, there are issues elsewhere in that script [21:24] kirkland: in init-functions? they're eluding my gaze [21:24] slangasek: blah...meh. sorry, i've gone crosseyed [21:25] mental note, Canonical USA needs to get a health plan that includes optical ;) [21:25] slangasek: +1! [21:26] also, bigger monitors so you can use bigger fonts [21:26] gp: please, look at https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/94940 [21:26] Launchpad bug 94940 in avahi "mdns listed in nsswitch.conf causes excessive time for dns lookups" [Undecided,Confirmed] [21:28] slangasek: try this one... http://pastebin.ubuntu.com/26298/ [21:28] slangasek: i made pidfile an optional, 3rd parameter to status_of_proc() [21:29] slangasek: if it's found, i add a "-p $3" to the pidofproc() call [21:30] kirkland: the -p syntax would be more consistent with the interface of the other functions provided, so I think it would be better to have status_of_proc() support -p $pidfile the same way pidofproc does [21:30] kirkland: but I'd be happy to sponsor this revision, all the same [21:30] slangasek: i can make that change easily enough [21:30] slangasek: personally, i think "-p $pidfile" is kinda ugly [21:31] slangasek: i don't like mixing -param and positional parameters [21:31] 10:03 < cjwatson> consistency > * [21:31] :-) [21:31] slangasek: say the magic word and I'll go change it to use -p .... [21:32] * liw would vote for everyone using GNU getopt (_long) option parsing... [21:32] kirkland: yes, please [21:32] slangasek: k... [21:32] kirkland: I'm off to lunch now anyway, which I need to squeeze in before the platform meeting [21:32] slangasek: i'll bug you shortly then.... [21:32] slangasek: i'd like to put a nail in this coffin today, if possible [21:33] right :) [22:19] slangasek: https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/246735/comments/11 [22:19] Launchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released] [22:19] slangasek: patch updated there, with pidfile support [22:19] slangasek: ping me when you come back around, review, and potentially commit [22:20] slangasek: I want to push the patch back to debian, but I'll refrain from spamming Debian's bts until we settle on something for ubuntu's lsb-base === asac_ is now known as asac === Keybuk is now known as Guest62599 === Keybuk_ is now known as Keybuk [22:37] mathiaz: "why use the dovecot implementation instead of cyrus" - because everyone hates the cyrus SASl implementation :) [22:38] I don't know to what extent this is inherent in sasl, and to what extent it's the result of cyrus's strange configuration semantics [22:40] slangasek: right - OTOH dovecot sasl implementation is only supported by postfix and exim [22:40] mathiaz: right, and postfix doesn't even depend on it, it only depends on libsasl2-2 [22:40] slangasek: so from a practical pov, if we want to support SASL correctly cyrus implementation is the only option for the time being [22:41] I agree [22:41] slangasek: another option would be to add support for dovecot to other services :) [22:42] I've never looked at the dovecot implementation myself, so I don't know whether that's really as great an idea as people make it out to be [22:52] For postfix it's definitely easier to configure correctly. [22:53] I don't mind having postfix Suggest: either dovecot or cyrus... Recommends? dunno. Depends: no way [22:53] Since dovecot is our preferred delivery agent, it makes sense to focus on it for SASL too. [22:53] lamont: I'd say Suggests both. [22:53] do they conflict? [22:54] because suggesting two conflicting packages strikes me as kinda strange [22:55] ScottK: Suggest... both? [22:55] ScottK: Why would you want both dovecot and cyrus? [22:55] Suggest them alternatively. [22:55] Now, *that* makes sense. [22:55] dovecot|cyrus [22:55] lamont: postfix already depends: the cyrus sasl implementation, it's a shlibdep [22:56] we're discussing the SASL libs, not the POP servers :) [22:56] ah, ok [22:56] Oh. [22:56] kirkland: latest patch looks good, should be uploaded shortly [22:57] slangasek: outstanding! [22:57] 1 7 277680 57036 3968 942264 2 0 28688 24519 2487 14540 18 14 38 30 [22:57] scary vmstat output [22:58] slangasek: here's the caller patch for samba: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/247087 [22:58] Launchpad bug 247087 in samba "samba init script status action" [Low,In progress] [22:58] slangasek: see how that guy looks to you [23:04] kirkland: hmm, there are some comments in the thread on the Debian bug that are probably relevant; i.e., it's not safe to assume that the status of "samba" as a whole is always dependent on the status of both nmbd and smbd, there are cases where one or the other is legitimately configured not to run [23:05] slangasek: your recommendation? [23:06] kirkland: present in that bug log; sorry, platform meeting just started now, split attention [23:06] slangasek: okay, i'll dig deeper [23:07] that's Debian bug #488275, if you don't have it to hand [23:07] Debian bug 488275 in samba "samba and winbind: initscript miss 'status' option" [Wishlist,Open] http://bugs.debian.org/488275 [23:09] slangasek: thx [23:37] slangasek: see https://bugs.launchpad.net/debian/+source/samba/+bug/247087/comments/3 [23:37] Launchpad bug 247087 in samba "samba init script status action" [Low,In progress] [23:37] slangasek: updated to test for $NMBD_DISABLED and $RUN_MODE [23:38] slangasek: is this sufficient, or are you thinking something more complex will be required? [23:38] * kirkland recognizes that slangasek is active in #ubuntu-meeting at the moment ;-) [23:43] kirkland: hmm, what should the status be if 'disable netbios' is set *and* smbd is run out of inetd? :-) [23:43] (i.e., I think we need the default status to be 'undefined') [23:44] slangasek: which is what in sysv return codes? [23:44] sysv, or lsb? [23:44] slangasek: ah, good point. lsb. [23:45] * kirkland goes to the spec.... [23:45] pitti: fancy looking to see if ew can get policykit-kde to do anything next week? [23:45] slangasek: according to http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html, 4="program or service status is unknown" [23:46] kirkland: sounds good to me :) [23:47] so yeah, lots of fun - the return code needs to be 4 if neither daemon is configured to run, 0 if at least one is configured to run and all those that are configured to run are running, otherwise whatever error status_of_proc returned [23:48] slangasek: i was drawing it on paper, actually :-P [23:48] :-) [23:50] erk, encrypted lvm seems to fail on current Intrepid alternate :( [23:50] bryce: well, everything past the 'milestone' column is lost screen real estate to me... it really would be nice to have those columns hidden, so that more rows can fit on a screen without wrapping [23:51] stgraber: oh? [23:52] stgraber, sure its not just slow ? [23:52] kirkland: I think the easiest is to just check the two vars at the end, and if we don't hit either case, set status=4 [23:52] slangasek: right [23:53] big red screen, so not it's not just slow .) [23:53] doing manual partitioning with encryption + lvm [23:53] my usual advanced manual testcase :) boot + encrypted partition containing LVM with / and /home [23:53] slangasek: ok, I can probably add a 'shrink columns' option. [23:54] standard: erase-disk + encrypted LVM worked though [23:54] stgraber: can I get logs? [23:55] cjwatson: sure [23:56] kees: you sure about closing Debian bug #403718? the 'if (int_value > 19) int_value = 19;' bit I saw still isn't accompanied by a similar bound-from-below [23:56] Debian bug 403718 in pam "pam: pam_limits fails to bound RLIMIT_NICE from below" [Normal,Closed] http://bugs.debian.org/403718 [23:56] am I missing something [23:56] ? [23:57] kees: oh, hmm, maybe I'm confused because debian/patches-applied/ in fact isn't [23:59] yeah, I'm just confused. never mind me [23:59] cjwatson: heh, okay, no problemo. Yeah, from the testing I did during the 0.99 updates a while back, that was all taken care of.