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

calcChipzz: iirc they did which was what sparked this stupid renaming GB -> GiB and giving the hd marketing people their GB back00:00
Chipzzmarketing stinks :P00:02
kirklandslangasek: hey, I have a question about this comment of yours... https://bugs.edge.launchpad.net/ubuntu/+source/lsb/+bug/203169/comments/1200:04
ubottuLaunchpad bug 203169 in sysklogd ""status" function for init scripts" [Wishlist,In progress]00:04
ion_ogra, infinity: How about http://heh.fi/tmp/initramfs-tools-compcache.diff00:15
ograhe return of the export line :)00:17
ion_ke012817 < infinity> ion_: Remove the source from your hook script, and add an export to mkinitramfs.00:17
ion_ke012858 < infinity> ion_: Well, export it if you need it during mkinitramfs.00:17
ion_I’m hearing two opposite instructions here. :-)00:17
ograhuh ?00:18
ograwell, i use conf.d with te ltsp scripts and it gets sourced correctly without adding any extra export commands00:18
ograand i see initramfs.conf being sourced by mkinitramfs00:19
ion_To hooks?00:19
ion_mkinitramfs only seems to export specific variables for hooks.00:19
ion_If you set one of those variables in conf.d, it works in hooks.00:20
ograand why did you switch to m4 now ?00:20
* ogra would really prefer a set of plain shell scripts00:20
ion_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
ograand i must admit i liked the former aproach a lot more00:21
ograeven 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 else00:22
ion_ogra: How about http://heh.fi/tmp/initramfs-tools-compcache.diff00:26
ograwhy not just use shell commands ?00:28
ograinstead of m400:28
ograjust use a here document00:29
nxvlpitti: around?00:29
ion_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
ion_t00:30
ograi dont think you need "mkdir -p "$DESTDIR"/scripts/init-top"00:31
ograthats a structure you can rely on being there since we're inside the package that carries this dir00:31
ogramake <<E being <<EOF .... we usually use EOF everywhere makes it easier to keep the overview :)00:32
ion_ogra: http://heh.fi/tmp/initramfs-tools-compcache.diff00:35
ograand 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 config00:36
slangasekkirkland: what's the question?00:36
kirklandslangasek: i think lamont helped solve it with me in #ubuntu-server00:37
slangasekhmm, ok :)00:37
kirklandslangasek: i think something like this will work: status_of_proc /usr/sbin/named bind9 && exit 0 || exit $?00:37
ion_kirkland: status_of_proc /usr/sbin/named bind9; exit $? should be equal00:38
slangasekkirkland: er, usually you would just do "status_of_proc /usr/sbin/named bind9" when the script is running under set -e00:38
ion_Oh, sorry. Didn’t consider set -e.00:38
slangasekhence the comment that it's redundant00:38
ograion_, i like it a lot :)00:38
kirklandslangasek: right, but only 1 of the 9 packages i've touched has the init script running set -e00:39
ion_I’m squeamish about the k→K change, but oh well...00:39
lamontslangasek: relying on -e to catch you is also bad00:39
kirklandslangasek: ideally, i'd like to keep the construct/call as identical as possible for consistency00:39
lamontI'm a proponent of being explicit00:39
ograion_, <nitpick>can you add some linebreaks to: +if [ "\$1" = prereqs ]; then exit 0; fi</nitpick>00:39
slangaseklamont: why is it bad when writing init scripts and good when writing maintainer scripts?00:39
ion_ogra: Will do. How about the equivalent thing in the generated script?00:39
ograheh00:40
lamontslangasek: there's a specific difference between "we got an error" and "we're supposed to return non-zero status now"00:40
slangasekkirkland: 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
slangaseklamont: well, there's that, yes00:40
lamontnot in the value returned, but in the scratch my head figuring out if it's an error or not case00:40
ograi missed the one at the top, that *was* the generated script one :)00:40
slangasekright, so in this case that construction makes a certain amount of sense00:41
ograion_, so yes, that too00:41
ion_ogra: Diff updated.00:41
ogra(either put all ifs in one liners or none of them :) )00:41
ograion_, perfect ... now compare that with what we had in the beginning ... thats simple, clean and beautiful code :)00:42
kirklandslangasek: here's the samba one... http://pastebin.ubuntu.com/26066/00:42
ion_Yeah00:43
slangasekkirkland: is this status_of_proc being pushed up to Debian, so I can commit that to the Debian Samba package too? :)00:43
ograsooo ... lets see what we can do about the export .... if i can get infinity's attention :)00:43
ion_A modprobe.d file could be generated exactly alike, but i’m okay with generating a script instead. :-)00:43
ion_ogra: I’ll reboot now and check that it actually works. :-)00:43
kirklandslangasek: being pushed, yes... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48328500:44
ubottuDebian bug 483285 in lsb-base "lsb-base: lsb status_of_proc() function" [Wishlist,Open]00:44
ograion_, thats actually a god idea :)00:44
ogra*good even00:44
slangasekkirkland: ok, cool00:44
kirklandslangasek: maintainer agreed to it in principle, cites "adding functionality would break the spirit00:44
kirklandof the freeze, but I'll plan on getting status_of_proc() into unstable00:44
kirklandsoon after that migration happens (hopefully soon)"00:44
kirklandslangasek: i'll ping him again and see how that's coming along...00:45
kirklandslangasek: as a DD yourself, what freeze is he talking about, and when might that freeze end?00:45
slangasekthat would be the freeze for lenny00:45
slangasekwhich is going to last, um, a fair few months00:45
slangasekbut I don't think this change should be a problem under the freeze00:46
slangasekmathiaz: 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 intrepid00:48
Nubae 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
ion_ogra: Yeah, it works.00:48
kirklandslangasek: good, i was kinda thinking the same thing...  just a new function, no modified existing functionality00:48
ograion_, wonderful00:49
kirklandslangasek: let me update the debian bug with an updated patch00:49
NubaeI want to install the components of an extension manually via a .deb and a .rpm but not sure how to discover the firefox profile00:49
ogracan you try again with dropping the export00:49
slangasekmathiaz: i.e., get it done while the merge is still otherwise trivial00:49
kirklandslangasek: if you think adding a comment in support would help, I'd appreciate it00:49
mathiazslangasek: yop - I followed that00:49
slangasekmathiaz: cool00:50
mathiazslangasek: you renamed it to openldap \o/ - it has been accepted today IIRC - so we can merge it soon00:50
mathiazslangasek: also noticed that samba 3.2 has been uploaded to unstable00:50
slangasekmathiaz: how are things going on the cn=config front?00:51
slangasekmathiaz: eh, if 3.2 is anywhere other than experimental right now, then I screwed up badly :)00:51
mathiazslangasek: hm - good question - I've started to look at the code and wraped by around it00:51
ion_ogra: Nope, doesn’t work.00:51
ion_% zcat /boot/initrd.img-2.6.26-3-generic | strings | grep compcache00:51
ion_# An empty value - compcache isn't used, or added to the initramfs at all.00:51
mathiazslangasek: hm - I must have overlooked the samba upload then00:52
mathiazslangasek: I noticed that things were commited to the experimental branch00:52
slangasekwe 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 fix00:52
ograion_, ok, imho it should00:52
mathiazslangasek: wrt to openldap, I've got some working code, but I'm kind of not sure how to structure the whole thing00:53
mathiazslangasek: so I'd like to have your feedback on it00:53
ion_ogra: Perhaps just add export -a to mkinitramfs.00:53
ograno00:53
slangasekmathiaz: ok - should we schedule some time to sit down for that?00:53
mathiazslangasek: which brings another question - what is the impact on the lenny freeze on that work ?00:53
mathiazslangasek: definitely00:53
ogracan you try moving the two lines below "# For dependency ordered mkinitramfs hook scripts." under the config stuff00:53
ograin mkinitrmafs00:54
mathiazslangasek: is there a chance that the cnconfig stuff will accepted in lenny (which means in the intrepid timeframe IIUC) ?00:54
ograthat way the functions shooud have access to the vars00:54
slangasekmathiaz: 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 point00:54
slangasekmathiaz: if we could get something into unstable this month, that would certainly be ok wrt the lenny timeline, I think00:54
ion_ogra: How about the equivalent of for hook in hooks/*; do ( . "$hook" ); done? That is, source all hooks in a subshell.00:55
mathiazslangasek: ok - I plan to submit my work to the debian maintainer list as soon as I've got something00:55
ion_ogra: Ok, i’ll take a look at that.00:55
mathiazslangasek: to get some feedback00:55
ograion_, i think thats what run_scripts does00:56
mathiazslangasek: 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 operations00:56
mathiazslangasek: such as loading new schemas or adding a new directory database00:56
mathiazslangasek: that's the whole point of having the cn=config backend enabled00:57
ion_ogra: Moving those lines below the config stuff didn’t make it work.00:57
ograok00:57
ograthen we need to keep the export :/00:57
mathiazslangasek: but then things get complicated really quickly00:57
mathiazslangasek: that's why I'd like to discuss that and get your input on that00:58
slangasekmathiaz: 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 unpacked00:58
slangasekmathiaz: 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:58
slangasek(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
mathiazslangasek: ok - I try not to refactor to much00:59
mathiazslangasek: I've taken the approach of adding cn=config support to existing functions in slapd.scripts-common01:00
ion_ogra: Nope, call_scripts doesn’t use .01:00
ograrun_*01:00
ograoh, right, call_01:01
ograsorry01:01
ion_It would be a bit hairy, though, since hooks check $1 for prereqs.01:02
mathiazslangasek: 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 work01:02
slangasekthat sounds good01:02
ion_Could be done with something like ( set -- prereqs; . $hook ) for prereqs and ( set --; . $hook ) for running the hook, though.01:02
Chipzzmathiaz: what about the cn=config thing?01:03
Chipzzmathiaz: I'm using that feature in debian for munin monitoring01:03
ograright, i was expecting the scripts to inherit the vars from the calling script if we re-order ... the export is the best thing otherwise01:03
ograso lets just keep it01:04
mathiazChipzz: I'm working on adding cn=config support to the package01:05
mathiazChipzz: so that a default install of slapd in intrepid will use cn=config instead of slapd.conf01:06
mathiazChipzz: and we'll also support upgrading from slapd.conf to cn=config01:06
Chipzzah k01:06
Chipzzmathiaz: could you look into getting this into munin? http://wiki.ruberg.no/index.php/Munin_LDAP_plugins01:07
mathiazChipzz: you'd better file a bug about this01:07
mathiazChipzz: the chance this get lost will be higher here ;)01:08
Chipzzcan do01:08
Chipzzfile a bug in debian, ubuntu or both?01:08
mathiazChipzz: debian is the best place IMO01:09
ograion_, so how about making a debdiff from that so your name is in the changelog ... ?01:09
ion_ogra: Will do.01:09
kirklandslangasek: patch for samba status attached to: https://bugs.edge.launchpad.net/ubuntu/+source/sysklogd/+bug/20316901:36
ubottuLaunchpad bug 203169 in sysklogd ""status" function for init scripts" [Wishlist,In progress]01:36
kirklandslangasek: https://bugs.edge.launchpad.net/ubuntu/+source/sysklogd/+bug/203169/comments/2701:37
=== nxvl_ is now known as nxvl
savvasok this channel looks more appropriate for this :)01:43
savvasdoes this patch look good? http://launchpadlibrarian.net/15898720/python-apt_0.7.4ubuntu7.2.debdiff01:43
emgentBug #24409301:47
ubottuLaunchpad bug 244093 in python-apt "Checking security repository in Updates adds deb line to Third-Party Software" [Undecided,In progress] https://launchpad.net/bugs/24409301:47
savvasoh, sorry, forgot to mention that01:47
emgentsavvas: debdiff is attached. Security Team will see it.01:48
savvasthat was quick, thanks emgent!01:48
savvasi don't have to do anything for the moment right?01:49
savvas*anything else01:49
emgentsavvas: just subsribe in this bug last uploader.01:50
savvasemgent: to subscribe the maintainer of the package?01:52
emgentsavvas: you can subscribe ubuntu-main-sponsor01:53
emgentbut Michael Vogt is APT Master :)01:54
savvasit said it will notify the maintainer01:54
savvasah ubuntu-main-sponsor, I'll do that01:54
savvas- ubuntu-main-sponsors Ubuntu Sponsors for main01:55
savvasthis one emgent ?01:55
emgentsavvas: true.01:55
emgentbut i suggest to subscribe Michael Vogt too..01:55
savvasdone and done!01:56
emgentnow wait :)01:56
savvasI think his nick is mvo at launchpad, hopefully that's correct01:56
emgenthim will review it01:57
emgentmvo, sure.01:57
savvasthis package fixing is fun! :)01:57
slangasekkirkland: you may wish to tie that in to Debian bug #48827501:58
ubottuDebian bug 488275 in samba "samba and winbind: initscript miss 'status' option" [Wishlist,Open] http://bugs.debian.org/48827501:58
kirklandslangasek: sure, you bet02:03
emgenti go to sleep, night people02:26
ion_ogra: Is the comment i added to the COMPCACHE_SIZE documentation ok? http://heh.fi/tmp/initramfs-tools_0.92bubuntu3.debdiff02:27
ion_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/compcache02:28
ion_ogra: ...to REVU02:28
ograyou should (sorry for tht) probably rename it again02:30
ogralike compcache-tools ...02:30
ograi.e. take fuse as example here02:30
ion_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
ion_Should i go with tools or utils? :-)02:31
ogracompcache-config ?02:31
ograno idea ... but just calling it compcache somewhat doesnt seem to fit02:32
ion_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
ion_And an init script.02:33
ion_Unless there are better ideas. :-)02:33
ograprobably LaserJock has one :)02:35
LaserJockogra: one what?02:35
ion_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
ion_tools? utils? config? None of them seems to fit exactly. :-)02:36
LaserJockcompcache-setup?02:37
ion_Not bad.02:37
ion_I’ll use -setup.02:37
ograyeah, i knew it :)02:37
LaserJockogra: so I haven't gone to uni for 10 years for nothing?!?! :-)02:38
ograyou can cut out little presents to sell on flea markets with lasers and the like as well, i know :)02:39
ograLaserJock, so how is life ?02:40
LaserJockogra: hmmm, busy :-)02:42
ograyeah, same here02:42
LaserJockogra: getting closer to being done though02:42
ograheh, me too ...02:43
LaserJockshould be done before next UDS02:43
ograi'm just building whats supposed to become the final cmpc image for hardy02:43
LaserJock(yeah, my calendar revolves around Ubuntu development cycles)02:43
ograhey and its even in the US02:43
LaserJockogra: oh awesome, newer kernel?02:43
ograso we'll meet :)02:43
LaserJockI hope02:44
ogra-19.something yes02:44
LaserJockI'll try it out once you're finished02:44
ograi'm still struggling with the display driver though02:44
LaserJock:(02:44
ograthey insist on using their hacked up i81002:44
LaserJockah02:44
ograbut thats two versions behind ours (which is outdated as well)02:45
LaserJockI just have problem with wanting to download all kinds of goodies and filling the drive02:45
ograyeah, not much i can do about that though02:45
ograi could do the sme as metasys if i were evil ...02:45
LaserJockno, it's already quite amazing how much you've shrunk it02:45
ograthey link /usr/bin/rpm to /dev/null there02:46
jdstrandkees: 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
LaserJockogra: umm, ewww02:46
ograwell, you wont fill up the system with apps :)02:46
LaserJockI suppose02:47
ograno idea about -rt, sorry02:47
keesjdstrand: uhhhh... I thought they were part of the upload?02:47
LaserJockogra: Windows had a good way of doing that, just run out of memory so the installer dies02:47
jdstrandkees: apt-cache search linux-image|grep 1902:47
jdstrandlinux-image-rt still points to -1802:48
ograLaserJock, well, but kill the device a minute in advance by trying to bring up a ppup about low diskspace :)02:49
ogra*popup02:49
keesPackage: linux-image-rt02:50
keesDepends: linux-image-2.6.24-19-rt, linux-ubuntu-modules-2.6.24-19-rt02:50
* jdstrand scratches head02:50
keesjdstrand: I mean, I see the older package info to, but -19 is there for me02:50
jdstrandwhat's with my local debmirror...02:50
keesme too02:50
keesjdstrand: 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.2102:52
jdstrandkees: hmm, I see it on all the machines except the one actually using -rt. sorry for the noise02:52
keesnp.  I wonder what that machine is doing?02:53
ion_ogra: Ok, http://heh.fi/tmp/initramfs-tools_0.92bubuntu3.debdiff updated and compcache-setup uploaded to REVU.02:53
jdstrandmeh, -updates for main and restricted, but not universe. I'm a dolt02:54
ograion_, err, updated ?02:54
ograion_, i uploaded it 10mins ago :)02:54
ion_ogra: “< ion_> ogra: Is the comment i added to the COMPCACHE_SIZE documentation ok?” – updated the comment.02:54
ograoh, k02:55
jdstrandkees: fun-- looks like ruby1.9 did not build on i386 or lpia-- test_copy_stream_rbuf() hung :/03:25
jdstrand(intrepid)03:25
jdstrandkees: all other archs built fine03:25
jdstrandkees: I'll try to see what's happening tomorrow03:25
jdstrandheh: Build killed with signal 15 after 150 minutes of inactivity03:26
ion_I think there was a discussion about that here some time ago. Didn’t really follow it, though.03:26
jdstrandion_: if you are responding to me, I was the last person to talk about it in here :)03:29
=== gaurdro is now known as MenschenFleisch
ion_Heh, ok03:30
lamontif I send email to launchpad to update a bug, does it have to be signed?04:16
lamontand where does it go, and all that04:16
* lamont goes off to find the right wiki page04:16
TheMusolamont: 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
lamontI wanna make it say FixCommitted04:19
TheMusolamont: Then you need to sign the message.04:19
lamontand then drop that into a commit hook04:19
lamontand if I have to sign it, maybe I don't care enough yet04:20
Hobbseeer, you rpobably need to sign all mails, no?04:21
Hobbseewhy not set it up to sign by default?04:21
Hobbseelamont: https://help.launchpad.net/BugTrackerEmailInterface04:21
lamontHobbsee: hence the maybe I don't care enough... I have to sign tags, not every commit04:22
slangasekkirkland: 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 package04:23
lamontslangasek: ah - what was the objection04:24
lamont?04:24
kirklandslangasek: i recently switched to using /bin/pidof04:24
kirklandslangasek: i was previously using pidofproc() which has a more sophisticated mechanism for obtaining the pid from pidfiles04:24
slangaseklamont: that it doesn't respect PID files04:24
kirklandslangasek: however, pidofproc() uses "kill -0" to see if a daemon is active04:24
slangasekit violates the spirit of Debian policy's guidelines on init scripts04:25
slangasek(but not the letter, since the letter says nothing about a 'status' arg :)04:25
kirklandslangasek: which only works if you're the process owner or root04:25
lamontkirkland: not respecting pid files is bad04:25
ion_Upstart will void the need for pid files. \o/04:28
lamontnot respecting pid files would be a bug against the status function for at least some packages, which would be therefore a bug against lsb-release04:28
lamontion_: bullcrap04:28
lamontor how will you handle having two instances of a daemon?04:28
ion_How about having two Upstart job instances? :-)04:29
lamontmaybe04:29
kirkland:-/04:29
lamontnow tell me how the control command that uses signals tells how to communicate with the daemon?04:29
lamontIOW. where did you move the pid file with upstart?04:29
ion_Doesn’t the daemon provide a socket you can talk to, or a D-Bus API or something equivalent?04:30
lamont(there are admins who prefer to run bind without the control port, and just have rndc use kill to talk to it...)04:30
lamontfor those admins, the API is "kill"04:30
ion_They’re free to use PID files.04:31
ion_Or query the PID from Upstart, or whatever.04:31
lamontkirkland: 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-release04:32
lamontand I don't see that there's a need for non-root to query a daemon status04:32
kirklandlamont: um....04:33
lamontwell, it's a bug04:33
lamontor maybe I'll just not admit to 'status' being there in the usage.04:33
kirklandlamont: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;filename=lsb.483285.diff;att=1;bug=483285 ... that doesn't yet respect pidfiles04:33
lamontyeah - I know04:33
kirklandi can add that tomorrow04:34
kirklandi'm absolutely burnt out on this one today :-S04:34
lamontit 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
lamontkirkland: understood04:34
lamontI'm about to crawl into bed myself04:35
kirklandlamont: okay...  i'll ping you tomorrow then04:35
lamonthrm... time to go read up on how to get procmail to delete a header from certain mail messages that it receives04:40
lamontbecause reply-to: $LIST is just plain stupid and wrong04:41
lamont(and no, not an ubuntu list)04:41
* 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:54
TheMusoHrm I take it b ack, configure.in is included, but no Makefile.am files. :S04:55
lamontif I upload a ...-2~build1 version, will the autosyncer simply overwrite it with -2 once that shows up in debian?05:01
Hobbseelamont: for intrepid, or?05:04
lamontyeah05:04
Hobbseelamont: isn't that a moot point?  the autosyncer has already been turned off for intrepid05:04
lamonttrying to hop-skip around the fact that it's NEW in debian05:04
lamonttrue05:05
lamont'twas more one of making sure that MoM wouldn't object. :)05:05
TheMusohrm ok it does have a soname.05:12
LaserJockTheMuso: so, umm, why are you kicking upstream again? :-)05:14
lamontthere.  bind9_9.5.0.dfsg.P1-2~build1 uploaded to intrepid.  g'night.05:16
TheMusoLaserJock: 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.05:29
ion_Note to self: read the tens of previous notes to self about buying an UPS.06:24
=== BenC1 is now known as BenC
dholbachgood morning07:01
TheMusoMorning dholbach.07:03
dholbachhi TheMuso07:03
dholbachTheMuso: thanks for your reply07:03
TheMusodholbach: You're welcome07:03
=== ion__ is now known as ion_
pittiGood morning07:25
ion_Howdy07:25
pittitjaalton, tseliot: new nvidia-glx working perfectly here with current intrepid (new X.org)08:04
pitti(-173)08:05
tseliotpitti: great :-)08:05
seb128hey pitti08:06
pittigood morning seb128!08:06
brycepitti: :-)08:06
tseliotbryce: hi ;)08:07
tjaaltonpitti: great, I'll install it too08:07
tjaalton..shortly08:07
brycetseliot: heya08:07
dholbachhi seb128!08:09
seb128hey dholbach08:09
seb128dholbach: getting ready for your holidays? ;-)08:09
dholbachyeah :)08:09
dholbachlots of other stuff left to do still :)08:09
dholbachhow's Istanbul?08:09
seb128great, I'm sure you would like it08:12
dholbachdefinitely :)08:12
dholbachseb128: 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
seb128lol08:13
dholbachso... yeah - I'd love to go there at some stage08:13
seb128a bit warm in the afternoon to my taste08:14
dholbachbut I very much look forward to India :)08:14
seb128but otherwise lot of typical places, sunny weather, GUADEC is great08:14
seb128and nice to see everybody there again08:14
dholbachseb128: does mvo get any vegetarian food? :)08:15
seb128he seems to be happy so far08:15
seb128we had to go to several restaurants to find something good for him but we managed08:15
dholbachseb128: talking about vegetarians always reminds me of this one Tintin comic where Captain Haddock uses "Vegetarian" as an insult :-)08:18
seb128dholbach: mvo sends you a hug08:18
seb128;-)08:18
dholbachhug him back for me :)08:18
dholbachhttp://www3.sympatico.ca/brooksdr/haddock/main.htm :-)08:20
liwdholbach, is there a word of more than three syllables that Haddock didn't use as an insult? :)08:29
ion_Billions of blistering barnacles!08:30
seb128hey08:37
seb128is there any known intel issue on intrepid?08:37
seb128the user gets an error about dri2 which couldn't be loaded08:37
seb128and then a stacktrace08:37
seb128X and then libfb.so08:38
seb128and then libexa.so08:38
seb128let's try XAA08:38
pittiseb128: dist-upgrade harder :)08:38
brycedri2 is not enabled yet due to lack of memory manager in libdrm08:38
pittiseb128: I had the same yesterday (I think, anyway), X.org crashed08:38
seb128pitti: tricky to connect to wireless network using only command line tools08:38
pittiseb128: do you have 2:2.3.2-2ubuntu2?08:39
seb128pitti: not sure but he switched to XAA and that works, I guess he will upgrade next08:41
tjaaltonthe error is cosmetic08:42
tjaaltonum, the DRI2 error..08:43
seb128alright08:44
seb128thanks guys, have to go now, see you later08:44
tjaaltonit's already fixed upstream so that it won't complain if the xserver is built without dri208:45
tjaaltonie. it won't try to load it08:45
=== 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
asac_the_3rdArneGoetje, 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:29
pittiasac: you can use the PPA; they get new packages as soon as Rosetta exports them09:37
pittiasac: theoretically it should have built new ones last night09:38
undefhello09:42
ArneGoetjepitti: for hardy the cronjob runs on thursday and sunday09:42
pitti0 2 * * 3,009:43
pittidoesn't that mean 2am on Sunday and Wednesdays?09:43
ArneGoetjepitti: oh, sorry... :)09:43
=== dholbach_ is now known as dholbach
siretartslangasek: 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:58
slangaseksiretart: if they're severe security issues, I think it probably should break the freeze09:59
siretartthey are LP: #235904 and LP: #21865210:00
siretartbug #235904 and bug #21865210:00
slangasekit's 2am, you won't get a very good analysis from me of whether they're severe, sorry :)10:00
ubottuLaunchpad 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/23590410:00
ubottuLaunchpad bug 218652 in xine-lib "CVE-2008-1686: Multiple speex implementations insufficient boundary checks" [Undecided,In progress] https://launchpad.net/bugs/21865210:00
siretartokay. then I'll stay better on the safe way and wait until the alpha-2 release10:01
asacpitti: somehow the langpacks from last night didnt update the mozilla.tar.gz10:07
asacat least looking at install.rdf suggests that its not from the new tarball10:07
pittiwhat's the version?10:07
asacpitti: oh sorry10:07
* pitti looks at the logs10:07
asaclet me check something else10:07
pittiasac: hm, the log looks good10:08
cjwatsonwoo! live CD built, even if it's 80MB oversized. now I can stand a chance of debugging ubiquity10:09
pitti80!10:10
pitticjwatson: ah, due to recommends, I suppose?10:10
asacpitti: do you still have the the sources lying on rookery or somewhere?10:11
asacespecially the unpacked translation dir?10:11
pittiasac: yes, they are always there, /srv/language-packs.ubuntu.com/hardy-proposed/10:11
pittithose are the language-pack-* source packages unpacked10:11
pittiasac: which translation dir?10:11
asacpitti: yes, but where is the unpacked translation tarball you used?10:12
pittiasac: I don't keep that, I remove it after processing10:12
pittijust download it again on rookery if you need it, it's fast10:12
asacpitti: i have the one here locally10:13
asacpitti: 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
asace.g. the tarball i locally downloaded has <maxVersion>1.9.0.*</maxVersion>10:13
asacbut the langpacks in PPA have 1.910:14
asaclet me check the sources you pointed me too ... not that i grabbed the wrong ones from ppa10:14
* asac runs xpi processor manually on rookery10:21
cjwatsonpitti: yes10:24
cjwatson(almost certainly)10:24
ogracjwatson, 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
ogra*implemeted even10:33
asacpitti: i have the feeling that you didnt use the latest update tarball10:33
asacpitti: the result are good here10:33
asachttps://translations.edge.launchpad.net/ubuntu/hardy/+language-packs10:33
asacwhich one did you pull?10:33
asacDelta language pack:  2008-07-08 23:01:42 CEST10:34
pittiI always wget https://translations.launchpad.net/ubuntu/hardy/+latest-delta-language-pack10:34
asacpitti: look at the page10:34
asacmaybe its broken?10:34
asacunder current language packs10:34
asacthere is Delta pack: none yet10:34
pitti1:8.04+2008070510:35
asachmm ... no the one i get through that url is good10:35
pittihm, that's indeed not the most current one10:35
asacstrange10:35
pittiseems that +latest-delta-language-pack gave me the second-latest :-(10:35
asacthe latest url redirects to:10:35
asachttps://launchpadlibrarian.net/15901351/ubuntu-hardy-translations-update.tar.gz10:35
asacthe direct link gives:10:36
asachttp://launchpadlibrarian.net/15901351/ubuntu-hardy-translations-update.tar.gz10:36
pittithat seems correct10:36
asacthats the same .... maybe a delay?10:36
pittiapparently not so at 2 am10:36
asacyeah ok.10:36
loolIs someone from the intrepid alpha 2 release team up?10:36
asacpitti: let me blacklist a few more before you rerun ;) ... let you know in a few minutes10:36
pittilool: please just toss concrete questions to slangasek and me10:36
loolxkeyboard-config's upstream prepared a patch for LP #246834 and wants me to try to get it in alpha 210:37
ubottuLaunchpad bug 246834 in xkeyboard-config "No support for for Mac-like keyboard layouts with extra characters" [Undecided,Fix committed] https://launchpad.net/bugs/24683410:37
loolpitti: Wasn't sure whom to ping at this time of the day10:37
pittiasac: ok, I was just about to rerun; standing by then10:37
loolpitti: Upstream says the attached debdiff is safe as it only adds a new keyboard implementation behind a mode which was already defined anyway10:37
loolAnd pushes to try to get the fix in alpha 210:37
loolI don't think it should affect anyone, but since we're in soft freeze, I'm checking whether it's reasonnable to upload10:38
pittilool: looks ok to me10:38
loolOk, will push10:38
ograwhy oh why dont we have an upstream bzr branch anywhere for initramfs-tools (or am i just blind)10:48
asacpitti: ok. i think the blacklisting is good now. its amazing how many new translations have been started :)10:49
asacpitti: i am doing one test run here now and let you know10:49
pittiArneGoetje: the builds should have been settled now, so call for testing can go out10:54
cjwatsonogra: http://code.google.com/p/compcache/wiki/CompilingAndUsing says "default size of 25%" so how about that?10:55
cjwatsonogra: I agree it's a good idea to start using it as soon as possible10:55
ogracjwatson, well, 256M + 25% = 320M ... does that sound like it suffices ?10:56
* ogra doesnt know the current ubiquity reqs10:57
ion_That’s not what the 25% means.10:57
ograits adding 64M swap, no ?10:57
ograat least it does that here using the default10:57
ion_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
cjwatsonogra: bear in mind that ubiquity currently starts up with no swap; it surely won't make it worse :)10:59
ograyeah, indeed its a matter of data and compression rate10:59
=== ara_ is now known as ara
loolHmm I can't branch casper11:00
* cjwatson tries to find the bugs that have been filed on the subject11:00
loolOn 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-2111:00
ion_On a swapless system, you might even consider something like 100% or 150%.11:00
loolI guess I can check it out instead11:00
ograion_, but with the default i geta 64M swap device on a 256M system here ...11:00
cjwatsonlool: 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
loolSure11:00
cjwatsonogra: bug 193552 suggests cache size of 12800011:04
ubottuLaunchpad bug 193552 in ubiquity "Support 256MB machines in Ubiquity." [Undecided,Confirmed] https://launchpad.net/bugs/19355211:04
ograok11:04
ogralets start with that  ...11:04
cjwatsonI'm reassigning that bug over to livecd-rootfs for now, but maybe it's casper?11:04
cjwatsonI guess it should be casper, re-reassigned11:05
ogranah, livecd-rootfs should create te conf.d file11:05
ion_conf-hooks.d file, i think11:05
ogranope11:05
cjwatsonogra: you sure? I don't like having too much stuff in livecd-rootfs11:05
ion_Judging from comments in mkinitramfs11:05
ogra/usr/share/initramfs-tools/conf.d/11:05
cjwatsonwhy not have casper output that?11:06
ograbecause you need to regenerate the initramfs for it to take effect11:06
ion_conf.d: for boot scripts, they land on initramfs. Deprecated for hook config.11:06
ion_conf-hooks.d: for, well, hooks :-)11:06
asacpitti: ok ... please rerun11:06
cjwatsonogra: which casper does11:07
pittiasac: started11:07
ograion_, 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:07
ion_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
ion_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
ograion_, well, i will stick to the implementaition :)11:08
ograwhich currently uses initramfs.conf11:09
ogralets not make it extra complicated :)11:09
ion_Huh?11:09
ion_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
ograthe feature is documented in intramfs.conf11:10
ograthe override dirs for that file apply11:10
ion_The manpage seems to be out of sync with the implementation.11:10
ograwe made it a global var so lets use the global config11:11
ogra(hooks-conf.d would come into play if you wouldnt have the export i think)11:11
ion_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:12
ion_If you use conf.d, you just end up with an unnecessary file in the initramfs.11:13
ion_Otherwise the behavior is exactly the same.11:13
ograi dont end up with an unnecessary file11:13
ograif that file is there i *use* compcache ...11:14
ograif its missing i dont11:14
ion_If the file overrides COMPCACHE_SIZE, it’s unnecessary in initramfs.11:14
ogravery easy11:14
ograCOMPCACHE_SIZE in initramfs.conf is only for manual user edits and for doumentation ... no tool or imagebuilder we use will modify it directly11:15
ion_None of the files installed to the initramfs by the hook use COMPCACHE_SIZE.11:15
ograa 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 value11:16
ion_No, hooks-conf.d :-)11:16
ograion_, feel free to use hooks-conf.d in compcache-setup11:16
ion_I am.11:16
ografine with me :)11:16
ArneGoetjepitti: already went out11:16
pittinice, thanks11:17
ion_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
ograion_, i dont11:17
ograthe file is needed if i want to use compcache ... it wont exist if i dont want to use compcache11:18
ograso there is no unneeded file11:18
ion_You put conf.d/foo which contains ‘COMPCACHE_SIZE=...’ into initramfs. NOTHING within the initramfs uses that variable.11:18
ograthe compcache hook does as soon as the initramfs is regenerated11:19
ion_The hook uses it outside initramfs while creating an initramfs.11:19
ograwhich is done by either the image build tool or in liveCD case by casper at package install time11:19
ion_The hook is not installed to the initramfs, or called from within the initramfs.11:20
ograit is if the var is set11:20
ograas soon as you regen the image with it11:20
ograwhich is exactly what we do11:20
ogracasper will drop the conf.d file in place and run update-initramfs11:20
ograafter that compcache is used11:21
ogracjwatson, 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 up11:22
ogras/o/to/11:22
ografor all kind of imagebuilds we do11:23
ion_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
ion_... 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:24
ion_A future version of mkinitramfs might very well stop sourcing conf.d11:25
ograion_, 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-initramfs11:25
ograion_, we are upstream of initramfs-tols11:26
ogra*tools11:26
cjwatsonogra: 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 tweaks11:26
cjwatsonogra: we *were* upstream of initramfs-tools, but that is not realistically the case any longer11:26
ogracjwatson, hmm, k11:26
ogracjwatson, so who is ... Keybuk is stating that every time i talk to him and advised me often to give that as answer to debian people11:27
cjwatsonfunctionally, Debian is the upstream11:27
ograok11:27
* ogra makes a mental note about that :)11:27
cjwatsonthis is clear from the current changelog11:27
cjwatsonI 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't11:28
ion_“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.9111:28
ion_mkinitramfs: # FIXME: deprecated those settings on mkinitramfs run11:30
ion_#        these conf dirs are for boot scripts and land on initramfs11:30
ograion_, 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
ion_They’re obviously intending to *fix* sourcing conf.d within mkinitramfs. :-)11:30
ion_When they do, everything that drops settings for *hooks* to conf.d breaks.11:31
ograthey dont atm, right ?11:31
ion_At the moment, conf.d are still sourced in mkinitramfs.11:31
ograright11:31
ion_To future-proof the files, better move them to conf-hooks.d11:31
ograif they drop that and we merge that we will have more to fix11:31
ogracjwatson, 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:35
loolcjwatson: #246880 and http://launchpadlibrarian.net/15905205/bzr.txt for the log of the IRC conversation trying to recover this branch; didn't succeed sadly11:39
loolcjwatson: If you need access to the bzr tree, you might be able to work on it using alioth's bzr11:39
loolI prefer not touching it though11:39
loolI only had a trivial typo to fix which doesn't solve any real life bug11:39
cjwatsonlool: no, I've already got it and it works fine for me11:43
cjwatsonthough I think that might be a checkout11:43
cjwatsonlool: sorry, I see I implied that it was preventing me from working on it - it isn't11:44
cjwatsonlool: a checkout works just fine11:44
cjwatsonlool: 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.net11:44
loolcjwatson: I almost always branch things from LP11:45
cjwatsonwhy?11:45
cjwatsonthat just means you have to remember to push :)11:45
loolIt allows me to act consistently from all my bzr repos11:45
pitticjwatson: interesting; I almost never use checkouts11:45
loolI simply never think "is this a checkout or a branch?" I always act on them like it's a branch11:46
cjwatsoncheckouts are brilliant, I use them all the time11:46
loolI know I have to push and pull11:46
cjwatsonwhen I create a branch, I try to push it somewhere and bind it as soon as possible11:46
* TheMuso prefers branching, in the event he has to uncommit/revert a revision./11:46
cjwatsonthereby turning it into a checkout11:46
Mithrandirthekorn: you can uncommit from checkouts too11:46
loolYeah, I also tend to do "commit commit commit test push"11:46
pittiI 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
loolNot "test commit test commit"11:46
TheMusoMithrandir: Right, wasn't aware of that.11:47
cjwatsonI've been annoyed too many times by "other developer forgot to push"11:47
cjwatsonso I intentionally structure my workflow to avoid even accidentally inflicting that on others, as far as possible11:47
loolPerhaps that's something to solve at the "building a package which has a .bzr" level?11:47
loolFor 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-date11:48
siretartlool: 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
loolsiretart: Don't use .shlibs file, simply call dh_makeshlibs with -V on each package11:50
ogracjwatson, how do you uncommit in such a setup ?11:51
lool(don't use -V alone of course)11:51
siretartyou 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
ogra:)11:52
ogras/os/is/11:52
loolsiretart: Something like this, yes11:52
cjwatsonogra: (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 correction11:52
cjwatsonbut (a) is the most important. Apply care!11:52
loolsiretart: 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 on11:52
ograi do for the code ... but often dont for the commit entry11:52
cjwatsonif you know you're typo-prone, that's the first step11:53
loolIOW it's not a shlib dep on the current package11:53
cjwatsonalso I use debcommit so I generally write commit text in debian/changelog, not in bzr ci -m11:53
siretartlool: okay. I'm just reading dh_makeshlibs, and I wanted to check if my conclusions are right. thanks11:53
pittiI just often seem to recognize too late that I shuold have started a feature branch instead of doing large work in trunk11:53
ograpitti, same here11:53
ograbut as you say then its to late anyway ... do better next time :)11:54
pittiyeah, debcommit FTW11:54
siretart(and yes, of course it is ffmpeg ;)11:54
loolMakes 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 it11:54
loolsiretart: The last dh_makeshlibs example is the one you want11:55
lool       dh_makeshlibs -V ’libfoobar1 (>= 1.0)’11:55
loolWow I just tried to work from a bzr lightweight checkout and even bzr diff required network UI11:57
lool*IO11:57
looldebcommit -n will hence also wait for IO11:58
cjwatsonoh, I don't use *lightweight* checkouts11:58
cjwatsonthat seems like excessive self-inflicted-pain in most cases11:59
loolI can't checkout casper in any other way sadly11:59
loolYou might be luckily reusing an older checkout you had around11:59
cjwatsonyes, I've had this for years12:05
cjwatsonright, intrepid desktop fails to boot. /me cracks knuckles and dives in12:08
pitticjwatson: shot in the dark> current kernel doesn't ship unionfs, might that be it?12:20
cjwatsonnothing to do with unionfs afaics12:22
* pitti crawls back into his hole then12:23
tjaaltonpitti: about nvidia; how should the latest "current" nvidia-glx-xxx be upgraded to nvidia-glx-{xxx+N}?12:25
tjaaltonby apt I mean12:25
pittitjaalton: I thought we didn't want to ship arbitrary names any mroe?12:26
tjaaltonpitti: they have versions now (-71, -96, -173, -177)12:26
pittii. e. once you install a version, you stay wit it?12:26
tjaaltonbut shouldn't the latest one be just 'nvidia-glx' then?12:27
pittitjaalton: right, but wasn't the precise idea of those to avoid automatically upgrading to newer versions?12:27
tjaaltonpitti: ah, ok. maybe :)12:27
ograpitti, cjwatson err, didnt we switch to aufs anyway ?12:27
cjwatsonogra: yes.12:28
cjwatson(hence why unionfs is not important)12:28
tjaaltonpitti: it would make sense for the "legacy" versions, but for those who want the latest..12:28
ogragood ... i was worried i had misunderstood :)12:28
cjwatsonin any case debugging without seeing the errors is a bit of a mug's game :)12:28
pittitjaalton: 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 -VERSION12:28
pittitjaalton: but since upstream keeps breaking compatibility, users shouldn't *want* to always get the latest, no?12:29
pittitjaalton: however, I do see that we need some mechanism to deprecate a particualr version; we can't maintain all of them forever12:29
pittitjaalton: I think that's where the update-manager hook kicks in (or the debconf note for those using apt-get)12:30
pittitjaalton: this suspiciously reminds me about the PackageSeries: discussion I had for kernel modules... (https://wiki.ubuntu.com/DesktopTeam/Specs/KernelAbiPackageHandling)12:31
tjaaltonpitti: 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
tjaaltonsince it builds the modules for all the kernels the users happens to have12:33
tjaaltonit's just that on upgrade the user has to be notified that a reboot is in order12:36
tjaaltonand these are mainly issues during development12:36
ograhttp://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/annotate/519?file_id=x_Matt_Zimmerman_<matt.zimmerman%40canonical.com>_Sun_Mar_13_00%3A51%3A19_2005_1366.4012:40
cjwatsonpitti: can we make it Kernel-Version instead? that's already in use for udebs12:40
* ogra scratches head12:40
ogra(thats what i get clicking casper.init in the web UI on the casper LP branch)12:42
=== ember_ is now known as ember
ograhmm, the same for the whole caspermon subdir ...12:45
ograi wonder if thats a branch issue or LP bug12:45
cjwatsonthe branch is dodgy, see lool's problems above12:47
ograah, k ... was on my way to #launchpad already :)12:48
* ogra ponders how to add compcahe to casper ... we surely dont want it on all casper sessions by default 12:49
ogra(which would indeed be the easy task)12:49
cjwatsonogra: I'd have thought it should depend on the amount of system memory somehow12:50
cjwatsonif you have 1GB, you probably don't want it12:50
stgraberogra: 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:52
ograstgraber, 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
ograi'm wondering about the extra script atm :)12:54
ograi know what to do in there  :)12:55
ograthe 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:57
ion_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
cjwatsonthere is nothing to stop casper installing an init-top script12:59
ograi think as soon as udev is run by upstart that will change12:59
cjwatsonand it seems to make complete sense to me to have casper do this in init-top, since it's fiddling with initramfs configuration13:00
ogracjwatson, apart from my resistance to add so much code :)13:00
ograi dont want to add bloat ;)13:00
cjwatsonthis isn't bloat13:01
cjwatsonand it should be very little code13:01
ograion_, ouch, we need a sequence number for the init-top script13:01
ograits currently just called compcache ....13:01
* ogra goes fixing and makes that 20compcache13:02
ion_ogra: Huh? zcat /boot/initrd.img-2.6.26-3-generic | cpio -t | grep init-top doesn’t print any number prefixes.13:03
ogracjwatson, well, my initial idea was a one liner :) compared to that everything is bloat ... but i didnt take dynamic detection into account for casper here13:03
ion_I thought the prereqs functionality was used instead of a static ordering.13:03
ograion_, look at casper :)13:03
cjwatsonogra: more relevantly, look at /usr/share/initramfs-tools/scripts/init-top/13:04
ograwe'll add init-top as dir to it and have a 10compcache_detect or so .,..13:04
cjwatson-> no sequence numbers13:04
cjwatsonat some point initramfs-tools might change upstream to require that, but it's not there yet13:04
ograah, k13:05
cjwatsonbetter to be consistent within the directory than consistent with other directories13:05
ograwell, casper uses it all over the place13:05
lamontand it doesn't do sequence numbers because it actually does dependencies, and doens't need them13:05
lamont(them == sequence numbers)13:05
cjwatsonogra: in its own directories; but it shouldn't do so in init-top, right now13:06
ograright ... still, we have them everywhere in casper ... seems sane to me to follow the general plot ... and if only for better readability13:06
cjwatsonI don't know how to make this any more clear13:06
cjwatsonfollow the existing practice for init-top13:06
cjwatsonnot for scripts/casper-*13:06
ograok13:06
cjwatsonyou don't want to mix two different means of resolving ordering within the one directory13:07
cjwatsonthat way lies utter madness13:07
ion_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:08
* ogra sighs ... thats making it a lot more complicated :/ the compcache scrit wnt know anything about casper ... 13:09
ograso we need to dynamically create the PREREQ line13:09
ograduring initramfs build :(13:09
ion_Are you going to move udev to init-top, btw?13:10
ograudev will move to upstart soon as i understood scott13:10
ion_Alright, it will be awesome if we already have upstart-in-initramfs for intrepid.13:11
ion_’ll13:11
ograthats the plan ...13:11
ograi 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 start13:13
ograit will get more important on 32M ltsp clients or other devices on teh edge with low ram etc ... where you actually require it for booting13:14
tjaaltonpitti: would it be ok to fix the intel problems with compiz for alpha2?13:18
tjaaltonpitti: a patch for mesa & intel13:19
dokois there a reliable way to add/remove a slave link to an alternative with changing the default for the alternative itself?13:22
tjaaltonpitti: sorry, only mesa should be changed. there's also bug 246835 which means that one patch against intel should/could be dropped13:28
ubottuLaunchpad 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/24683513:28
cjwatsonsoft freeze, so it's at your discretion13:29
tjaaltoncjwatson: ok, I think it's worth it. thanks13:30
sjahello, all! may be its offtop. exists driver for webcam logitech eye312 ? thanx13:42
azeemsja: please ask in #ubuntu13:44
sjaazeem, its no real :) 1312 members... okey13:45
sjaplease, say who i can install driver PATA for Geode AMD. my sysmet is not bootable.13:52
Picisja: This channel is for development, not for support, please ask in #ubuntu, thanks.13:53
cjwatsonwe 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 bug13:53
cjwatsonsigh13:53
bluefoxicyBenC:  ping, are you ben collins?14:43
bluefoxicyhttps://blueprints.launchpad.net/ubuntu/intrepid  <-- shows compcache as 'implemented' and compcache-usage as 'Drafting', yet both seem to describe the usage of compcache ... ?14:44
BenCbluefoxicy: heh, yes14:57
BenCbluefoxicy: Well, compcache is in the kernel now, but I'm not sure if it's being used on the CD yet14:57
=== thekorn_ is now known as thekorn
ograBenC, i'm just fixing the intiramfs scripts15:07
ograbluefoxicy, ^^^15:07
ograa patch to use compcache according to the spec landed yesterday15:07
pittitjaalton: hm, how intrusive is it? if you tested it on an intel and perhaps an nvidia card and it works, I'm fine with it15:27
tjaaltonpitti: actually it proved to be harder than I thought so it'll have to wait a proper fix which means post-alpha215:33
pittitjaalton: you still dropped the patch, so that was independent from the mesa fix?15:34
tjaaltonpitti: yes, that was independent15:34
pittiinfinity: rejecting your procps upload from hardy-proposed, there is no bug reference in the changelog15:43
ion_benc: What’s the status of getting rid of versioned kernel packages, btw?16:18
cjwatsonI thought that was just the source packages, which are done16:18
ion_I mean the last-known-boot thing.16:19
ion_Uh, last-good-boot16:19
* dholbach couldn't boot any of the new kernels in KVM yet :-(16:21
dholbachso I couldn't check out the new shiny feature yet16:21
stgraberdholbach: just use real HW :) (or VirtualBox with i386 isos)16:23
dholbachother than that I'm fairly happy with KVM :)16:24
BenCion_: after some testing of last-good-boot, hopefully within a few weeks16:28
ion_benc: Neat16:29
ion_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
kirklandslangasek: 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/24673516:31
ubottuLaunchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released]16:32
pittidholbach: I'm accepting the kvm SRU for hardy right now (which claims to enable booting of .26)16:32
ion_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
dholbachpitti: ah! :)16:34
pittidholbach: testing appreciated, please give feedback to bug 24367716:35
ubottuLaunchpad 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/24367716:35
* dholbach hugs pitti and soren16:35
dholbachsure will16:35
dholbachhas it built already? has it built already? has it built already?16:35
pittidholbach: no! not yet! still no!16:37
BenCion_: that's something I haven't considered yet...on non-abi updates, that doesn't matter much, but for ABI bumps, it gets tricky16:37
ion_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:37
ion_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:42
ion_benc: I’m just throwing random ideas around as they come, there probably are much better solutions. :-)16:43
BenCion_: way to complicated, especially for lrm/third-party modules/dkms16:43
ion_Yeah...16:43
ion_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:47
ograion_, 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
ogras/ade/made/16:48
BenCion_: That's slightly complex too...and racey16:48
ograjust exporting seems to be ignored16:49
ion_ogra: Write it to a file and source it from the other scripts perhaps?16:49
ograuh, ugly16:49
ograbut could work indeed :)16:49
ion_I’ll hibernate. Have been awake for >22 hours. (That’s 66 millifortnights for our friends using the imperial units.)16:51
* ogra had a 3h nap in the last 48h :)16:52
ion_Heh16:52
jdstrandslangasek: maybe I missed it, but what is the mechanism to update the pam conffiles (in PAMConfigFrameworkSpec)?17:29
jdstrandeg, pam-foo gets installed, drops its input file into /usr/share, then what?17:31
slangasekkirkland: aiee, you sent me to edge and everything is mirrored! :)17:34
kirklandslangasek: ?17:34
cjwatsonyeah, they flipped the UI around recently17:35
kirklandslangasek: oh, hmm, sorry17:35
slangasekkirkland: 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
kirklandi think i'm going to drop from launchpad-beta17:35
kirklandit's a PITA to edit every LP url I paste every day17:35
cjwatsonI wonder if it's possible to write a firefox extension that munges the URLs on the way out17:36
kirklandor, rather, the LP guys should have edge detect that you're not a member of launchpad-beta-testers and redirect to the normal site17:36
kirklandbah17:36
jdstrandslangasek: oh-- I did miss it: "...multiselect debconf interface, invoked by means of a script..."17:36
slangasekjdstrand: ok :-)17:36
* slangasek backspaces over his explanation, since it's apparently a repeat :)17:37
* kirkland says adios to edge.launchpad.net17:37
jdstrandslangasek: 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 from17:37
slangasekjdstrand: that sounds like it might be useful, thanks.  Though given the language constraints, I guess it'd have to be transcribed for use17:38
* jdstrand notes that the script of which slangasek speaks of is likely going to be pretty similar to auth-client-config17:38
jdstrandslangasek: right17:39
jdstrandslangasek: and why is python installed by default in Debian? you should *totally* work on that ;)17:39
jdstrands/is/isn't/17:39
slangasekjdstrand: because perl is Enough? :)17:39
Tm_TI thought dash is enough17:39
slangasek... ew?17:40
jdstrandI used to be a perl addict, but I;ve seen the light17:40
slangasekkirkland: 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 concerns17:58
ograAmaranth, merci17:58
kirklandslangasek: can you give me your suggested ps|grep line?17:59
Amaranthogra: you removed my tabs :(17:59
ograi did ?17:59
Amaranthyou changed it all to 4 spaces :P17:59
slangasekkirkland: "ps `cat $pidfile` >/dev/null; echo $?" should do it, shouldn't it?18:00
kirklandslangasek: and would you suggest that in addition to the kill check?18:00
ograAmaranth, yeah, thats how proper py code looks like :)18:00
kirklandslangasek: in place of the grep for "Operation not permitted" ?18:00
slangasekkirkland: that covers all the cases that kill -0 does, as well as the case where the process exists but isn't killable18:00
slangasekkirkland: I would suggest that as a complete replacement for the kill -0 check; is there some reason kill -0 is useful?18:01
slangaseki.e., something that it checks for that you can't check with ps?18:01
kirklandslangasek: 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
slangasek(the one caveat is that ps is in the procps package)18:01
cjwatsontabs vs. 4 spaces> http://www.python.org/dev/peps/pep-0008/18:02
slangasekright, then using kill -0 with ps as a fallback is probably safer18:02
* cjwatson wonders if that should be referenced from policy18:02
kirklandslangasek: right <enter mumbly complaints about how much lsb sucks here>18:02
slangasekheh18:02
Amaranthcjwatson: 4 spaces is still evil :P18:03
liwit's evil, but its' the RIGHT kind of evil18:03
kirklandslangasek: i'll redraft the patch with the ps fall back18:03
kirklandslangasek: it'll be a few minutes, as I'm otherwise occupied at the very moment18:03
cjwatsonconsistency > *18:03
kirklandslangasek: i'll pass it by your review again18:03
ograit should be the initial question at MOTU application reviews :)18:03
cjwatson(yes yes hobgoblin of little minds etc.)18:03
liwhobgoblins are cute18:04
slangasekkirkland: it doesn't suck /generally/, just the "let's use redhat as a model for init scripts" part :)18:04
cjwatsonliw: yes, the little 'o' character is nice and rounded, and they're easy to kill18:05
savvaswhy does debdiff always attach a /tmp/something/ path in the changelog diff?18:06
cjwatsonprobably because that's where it unpacks them to diff, and it doesn't pass the right options to trim that off18:12
sistpoty|worksavvas: that iirc only happens for new upstream versions (or native packages), where there is no common base path18:13
savvasbug? :)18:13
savvasah18:13
savvasok18:13
mdzpitti: around?18:23
pittimdz: for another 5 minutes or so, yes18:23
mdzpitti: 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
ubottuLaunchpad bug 246585 in xserver-xorg-video-vesa "GTK applications crashing reproducibly when using vesa" [Undecided,Incomplete] https://launchpad.net/bugs/24658518:24
mdzpitti: but apport-retrace chokes on the .crash file because it is lacking a Package: field18:24
mdzI don't see why it should be missing; it has a correct ExecutablePath which is clearly part of the gdm package18:24
pittimdz: right, Package:, Dependencies:, etc. are only added in the UI18:25
pittimdz: since they are expensive to generate (same like all the Gdb fields)18:25
mdzpitti: I hand-hacked it back in.  do you expect the auto-retracer will accept it?18:25
mdzpitti: I'd like to attach it to the existing bug report18:25
pittimdz: so either run apport-gtk -f /var/crash/... on it, or call apport-retrace manually with -R, --rebuild-package-info18:26
mdzpitti: I'd rather just give it to the server to retrace, and not download all the debug symbols, if that will work18:26
pittimdz: 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:26
mdzpitti: oh, ok. I'll retrace locally then.  thanks18:27
pittiATM, p-lp-bugs is yet again broken with current LP, and I need to set up intrepid chroots18:27
pittiit's a constant chase :/18:27
mdzpitti: LP 2.0 is supposed to give us APIs to back p-lp-bugs...18:29
pittiyeah, I'm craving for that :)18:29
savvaswhen there are two packages listed in debian/control, do I have to add XSBC-Original-Maintainer twice?18:38
ogratere are surely not two source packages listed18:38
ograthat field applies to the source package18:38
savvasPackage: htcheck18:39
savvasPackage: htcheck-php18:39
mdzbryce: around?18:40
brycemdz, yep18:41
emgenthello18:41
mdzbryce: I've attached what you requested to 246585, though it only seems to get weirder18:41
bryceok looking18:42
mdzbryce: I noticed along the way that X server crashes don't seem to trigger apport; is that intentional?  i thought it used to18:42
mdz(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:42
brycemdz: hrm, it *should* be triggering them.  Might be my own lack of apport-fu is making them not work18:43
sladencome to think of it; I haven't had anything trigger apport for quite a while18:43
lagasladen: are you on a stable release?18:43
Tm_Thi sladen :)18:43
bryceI recently in Intrepid changed how the xserver apport stuff is hooked up based on pitti's advice, but it may still not be right yet18:43
sladenlaga: ah, _this_ machine is18:44
lagasladen: see /etc/default/apport18:44
lagai need to enable it on my laptop because kded crashes frequently18:44
mdzbryce: in which package does the magic live?18:44
mdzah, -core18:45
brycemdz, I stuck it in the xorg package, but am wondering if it needs to live in xorg-server18:45
mdzbryce: I think it needs to be in the same package as the binary in order to be triggered18:47
brycemdz, that's what I suspected...  I'll try moving it over to xorg-server then18:48
bryceI 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 troubleshooting18:49
mdzbryce: I don't think the package hook is the problem; apport never gets invoked at all18:50
mdzI assume it's because the X server is handling the signal itself18:51
mdzthough, it does rethrow it I guess, so it should work18:51
mdzbryce: I've attached gnome-panel and gnome-terminal crash reports to the bug as well.  you should notice a pattern...18:52
mdzthey're all falling over in the course of inquiring about screen geometry18:52
bryceok18:52
mdzapport should do a much better job of decoding the stack trace than the X server does18:54
mdzif you let it do its thing18:54
brycemm, definitely an error in xrandr-ish stuff18:54
mdzmako: dude18:56
bryceif I were to guess at this point, I'd guess it to be that gdk's xrandr bindings are bugged18:56
mdzbryce: re: X server crashes, /var/log/apport.log has this to say:18:58
mdzValueError: Invalid process ID: [Errno 2] No such file or directory: '/proc/21945'18:58
mdzit seems the process has already exited before apport gets its paws on it18:58
jcristaumdz: does gdk_screen_get_n_monitors() return 0?18:59
brycemdz, also attach your .xsession-errors.  Since it's looking like this might be somewhere in the gnome stack, that might have useful info18:59
ograhaha19:02
mdzjcristau: is there an easy way to get to that from PyGTK?19:02
ograif you find it in there at least19:02
mdzbryce: there's nothing on stdout or stderr except what I already put in the bug19:02
Amaranth.xsession-errors wouldn't be so bad if you didn't have 10 things writing to it at once19:03
Amarantheverything kind of...merges19:03
Amaranth"ok, here is the first line of compiz-manager output, where is the second? oh, i see it, 50 lines down..."19:03
mdzjcristau: not sure if I'm using the API correctly, but:19:04
mdz>>> gtk.gdk.Screen().get_n_monitors()19:04
mdz__main__:1: Warning: invalid cast from `GdkScreen' to `GdkScreenX11'19:04
mdz194671113519:04
Amaranththat looks...bad19:04
mdzit 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 question19:05
Amaranthmdz: try gtk.gdk.screen_get_default().get_n_monitors()19:05
mdzAmaranth: returns 019:06
mdzreturns 1 on my healthy X server19:06
brycejcristau: 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 higher19:06
Amaranthjcristau: ^19:06
jcristausounds like XineramaIsActive() or XineramaQueryScreens() bugginess19:07
Amaranththat's as far as I can help from a mac19:07
jcristaumdz: what's the output of xdpyinfo -ext XINERAMA?19:09
brycefrom the vesa Xorg.0.log:  (II) Initializing built-in extension XINERAMA19:10
mdzjcristau: http://paste.ubuntu.com/26264/19:10
brycejcristau: is -vesa still set up to use xinerama?19:11
mdzit prints output, but then the X server crashes19:11
mdznumber of screens:    119:11
jcristaubryce: vesa doesn't do xinerama, no. so XineramaIsActive() is supposed to return false. Xinerama is inactive.19:12
jcristau.. in the xdpyinfo output suggests that it does19:12
mdzxrandr --verbose: http://paste.ubuntu.com/26265/19:13
jcristauthe crash looks like a wacom bug19:13
mdzthe crash during server shutdown is presumably a separate issue19:13
mdzI'll report it to LP19:13
* mdz starts using -noreset19:14
brycejcristau: why do you think it's related to wacom?19:15
brycejcristau: the wacom error messages that appear in Xorg.0.log have generally proven non-fatal with gnome19:15
jcristauso if XineramaIsActive() returns false then i have no idea why gdk's get_n_monitors() doesn't return 119:15
mdzbryce: because it's crashing in 2: /usr/lib/xorg/modules/input//wacom_drv.so [0xb7b3c0fc]19:15
mdzGTK seems to set n_monitors based on either XineramaQueryScreens or XRRGetScreenResources19:16
bryceah19:16
mdzboth of which seem to be behaving19:16
mdzbryce: have you tried this yourself?19:17
brycemdz, no I haven't19:17
mdzbryce: does vesa work on your hardware?  have a go19:18
bryceok I'll give it a shot19:18
tjaaltonit doesn't work on mine, and I don't have anything wacom related in the conf19:19
mdztjaalton: two separate issues, vesa and wacom19:20
tjaaltonmdz: oh, ok19:20
mdznot too concerned about wacom right now, since the server is going down anyway at that point19:20
tjaaltonheh19:20
mdzbryce: I'm using sudo -b X :1 -ac -noreset -config xorg.conf.test19:22
mdzfor convenience, though it definitely happens when it's the only X server running as well19:22
savvascan someone take a look at the patches listed here: http://tinyurl.com/58dgl319:23
savvasor the huge link :) https://bugs.launchpad.net/~medigeek?field.searchtext=fixed+maintainer+debian+control+field&orderby=-datecreated19:24
mdzsavvas: the changelog says hardy, but should probably say intrepid19:24
savvasdarn, true19:24
gesersavvas: and subscribe ubuntu-universe-sponsors for packages in universe and ubuntu-main-sponsors for packages in main19:25
savvaswill do, have to run though, I'll change them to intrepid and subscribe the sponsors later :\19:27
brycerats, networking is busted on my dev box at the moment.  -vesa is working on it but it's running xserver 1.419:28
bryce(so I'll set up another box)19:32
mdzbryce: what's wrong with the box you're on?19:36
sbeattieslangasek: is there a reason the kubuntu-kde4 i386 alternate image is 403?19:36
sbeattieslangasek: nevermind, brain not working today19:37
brycemdz, ah, it's the one I use for mail services and such and is still on hardy.19:42
=== ember_ is now known as ember
mdzbryce: so what are you using for testing your intrepid uploads? ;-)19:44
kirklandslangasek: hey, sorry, got drawn away for longer than I expected.  Updated patch on https://bugs.edge.launchpad.net/ubuntu/+source/lsb/+bug/246735 using ps19:46
ubottuLaunchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released]19:46
kirklandslangasek: mdz made the same suggestion ;-)19:47
brycemdz, 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:50
slangasekkirkland: my suggestion was not altogether independent of his :)19:51
kirklandslangasek: :-D19:51
slangasekkirkland: I guess I would expect that if you find the process with 'ps', you would still return 0, not 10019:58
slangasekotherwise, why look with ps at all?19:58
kirklandslangasek: hmm, well i didn't want to disturb pidofproc()'s non-zero return code in the kill -0 fails case19:59
slangasekhum19:59
slangasekI don't think pidofproc is documented as returning non-zero in the case you don't own the process, is it?19:59
kirklandslangasek: i'm still treating this status gathering business as a special case, allowable as a non-owner/non-root user19:59
slangasekif it's not a documented feature, sucks to be whoever assumed this was an ok way to check for ownership of the process :P20:00
kirklandslangasek: good point.... if no pid file is found, and /bin/pidof runs, it doesn't check ownership either20:00
slangasekright20:00
* kirkland programs conservatively and he gets smacked for it... programs more liberally and gets smacked for it :-)20:01
kirkland:-P20:01
slangasekheh :)20:02
Mithrandirkirkland: it's called "You can't win", aka the second law of thermodynamics.20:04
slangasekMithrandir: first law; the second law is "you can't break even" :)20:05
Mithrandirslangasek: true.20:05
gphi20:08
gpis there a vunerbaility in ubuntu 8.04 ?20:09
gpall my systems in office started behaving strangely around 8 pm ist20:10
kirklandslangasek: okay, patch updated at https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/24673520:10
ubottuLaunchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released]20:10
slangasekgp: 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 list20:10
gesergp: can you be more verbose on "strangely"?20:10
slangasekyou should definitely be tracking the "important security updates", as they're called in the admin interface, for any Ubuntu release20:12
gpthey were in network and was able to ping each other but any services like ssh , ftp , databse server disconnected or timed out20:13
gpmachines were able to ping each other at very low lan latency20:13
gpi thought there was problem with switch intially so replaced the switch20:14
gpbut again same problem20:14
gpnow stuff like ssh takes too much time20:15
gpor time outs on all machines20:15
slangasekwell, 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 it20:16
kirklandslangasek: if you're satisfied with the latest version of that patch, could I trouble you for a sponsor/upload?20:17
keesgp: 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
slangasekkirkland: sure, I can do that20:17
gpthese are unpatched systems20:17
kirklandslangasek: cool, after that happens, i'll send it over to Debian.  they accepted the last one (sans pidfile support) yesterday20:17
keesgp: right, but other infrastructure may be getting updated was my point.20:20
makomdz: dude20:21
gpmaybe my office is under some attack ?20:24
savvasattack of the Huns! :)20:24
gpbut i also tried to disconnect from router and but any service like ssh , db was taking to much time to connect20:25
gpi did nmap scan20:26
gponly ssh and db server port show one in namp20:27
gphow to find if systems are hacked ?20:31
gpmy entire office is down20:33
gpoffice which runs solely on ubuntu20:33
gpand which i installed :-(20:33
gptomm if its now fixed I will be blamed20:34
Lrrrgp: is there anything showing in logs?  You don't seem to have much informations about what is actually happening.20:34
gpsyslog?20:34
Lrrrsyslog, kernel log, whatever log...20:35
sbeattiessh delays tend to be DNS related.20:35
gpi am using ip in lan20:37
gpnot by host name20:37
gpeven on local computer20:37
gpif i ssh localhost its quite fast20:38
gpbut if i ssh my local computer by ip it takes lot of time20:39
Keybukit's because if you ssh to your IP, it first has to go all the way to your ISP and back20:39
Keybukno, I can't keep a straight face ;)20:40
Lrrrgp: Please gather more informations than simple network delays.20:40
Keybukin reality, it's almost certainly that you don't have reverse DNS for your IP20:41
Keybukor that it doesn't match the forward20:41
Keybukor that your DNS resolver is slow20:41
kirklandslangasek: http://pastebin.ubuntu.com/26288/20:41
kirklandslangasek: that's the bug report + patch I'm sending to Debian20:41
gpLrrr: which info i should look for20:41
kirklandslangasek: 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 merges20:42
kirklandslangasek: should clean up our merge, which I'll do for intrepid again, as soon as he accepts this20:42
LrrrKeybuk has a good point there.20:42
slangasekgp: 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 server20:43
Mithrandirproviding network traces often shows this very clearly, if things take exactly 30s to time out for instance.20:46
gpMithrandir: u mean traceroute ?20:47
Mithrandirno, I mean tcpdump/tshark logs20:48
gphttp://pastebin.ubuntu.com/26291/20:55
gpi am sorry to disturb u guys with my problems20:57
gpam i no security / network guru only developer20:57
gnomefreakdid we do away with gtksu/gtksudo?20:58
Lrrrthere seem to be a name resolution error there20:58
Mithrandirgp: well, it doesn't look like any of your DNS servers are actually answering?20:58
gphttp://pastebin.ubuntu.com/26292/20:59
gnomefreaksorry typo20:59
gpwhen i dig yahoo.com it responds pretty quickly21:00
Mithrandirgp: can you install moreutils and then pastebin the output of dig +trace err.no | ts ?21:01
slangasek2>&1 >/dev/null21:05
slangasekkirkland: ^^ doesn't the above redirect the fds in the wrong order?21:05
Mithrandirusually, yes.21:05
gphttp://pastebin.ubuntu.com/26294/21:06
kirklandslangasek: i wrote/read that as "stderr to stdout, then stdout to /dev/null"21:06
slangasekkirkland: so you meant for the stderr output to not be suppressed?21:06
kirklandslangasek: i mean to suppress EVERYTHING21:06
Mithrandirkirkland: then it's the wrong order.21:07
kirklandslangasek: and only operate on the $?21:07
slangasekkirkland: then that needs to be >/dev/null 2>&121:07
slangasekkirkland: because 2>&1 means "clone the current fd1 as fd2"21:07
slangasekand if you do that before stdout is repointed at /dev/null, it's basically a no-op :)21:07
kirklandwow, i've been screwing that up for years, then21:07
slangasekI can fix that here if you're happy with that, no need for a patch reupload21:08
kirklandplease21:08
kirklandslangasek: i'll update the patch I sent to Debian21:08
slangasekok21:08
kirklandslangasek: thanks.21:08
gpMithrandir: http://pastebin.ubuntu.com/26294/ ->>> output of  dig +trace err.no | ts21:09
Mithrandirgp: yeah, that looks nice and fast.21:09
slangasekkirkland: hrrrm, status_of_proc() also still doesn't actually give you a way to *pass* a pidfile argument to pidofproc :)21:10
slangasek pidofproc $daemon  -- I need it to be able to call pidofproc -p $pidfile $daemon :)21:11
kirklandslangasek: pidofproc() sort of autodetects that21:11
slangasekhmm21:11
kirklandslangasek: but i guess it would be good to explicitly state that21:11
gpMithrandir: why my ssh is slow in lan21:12
slangasekwell, for completeness it should be possible to override the autodetection21:12
gperalier it was instaneius21:12
kirklandslangasek: actually, you're right, it's a problem with cron...  the daemon is /usr/sbin/cron, but the pid is /var/run/crond.pid21:12
slangasekkirkland: right, not guaranteed to match :)21:12
kirklandslangasek: k, i'll spin a new version21:13
gpall services super slow in lan21:13
slangasekkirkland: indeed, for samba the pid files are down a level, so my omgkittens use case isn't addressed by the current implementation :-)21:13
slangasekkirkland: sorry for not catching this in earlier reviews, I guess I had tunnel vision21:15
kirklandslangasek: 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
kirklandtoo optimistic, i suppose21:15
Mithrandirthat's a fairly common disease affecting programmers.21:17
Mithrandirremember to multiply by π21:18
kirklandslangasek: what did you think of mdz's suggestion of just removing the kill -0 statement and using ps exclusively?21:18
kirklandslangasek: also, is this construct correct?  it's used elsewhere in that file:             elif ps "${pid:-}" 2> >/dev/null; then21:18
infinitypitti: Sorry about the missing bug number, reuploaded with fixed changelog.21:19
kirklandinfinity: aw, admit it....  adding the bug number screwed up your fully justified changelog :-)21:20
infinitykirkland: *cough*21:20
infinitykirkland: 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:20
slangasekkirkland: 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 it21:22
Lrrrgp: Can we speak in private?21:22
kirklandslangasek: k, sounds good21:22
kirklandslangasek: and about  ps "${pid:-}" 2> >/dev/null ?21:22
slangasekkirkland: 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 incomplete21:23
LrrrCouldn't gp problem be related to mdns?21:23
slangasekkirkland: >/dev/null 2>&1 is the traditional method21:23
kirklandslangasek: okay.  in that case, there are issues elsewhere in that script21:23
slangasekkirkland: in init-functions? they're eluding my gaze21:24
kirklandslangasek: blah...meh.  sorry, i've gone crosseyed21:24
slangasekmental note, Canonical USA needs to get a health plan that includes optical ;)21:25
kirklandslangasek: +1!21:25
liwalso, bigger monitors so you can use bigger fonts21:26
Lrrrgp: please, look at https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/9494021:26
ubottuLaunchpad bug 94940 in avahi "mdns listed in nsswitch.conf causes excessive time  for dns lookups" [Undecided,Confirmed]21:26
kirklandslangasek: try this one... http://pastebin.ubuntu.com/26298/21:28
kirklandslangasek: i made pidfile an optional, 3rd parameter to status_of_proc()21:28
kirklandslangasek: if it's found, i add a "-p $3" to the pidofproc() call21:29
slangasekkirkland: 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 does21:30
slangasekkirkland: but I'd be happy to sponsor this revision, all the same21:30
kirklandslangasek: i can make that change easily enough21:30
kirklandslangasek: personally, i think "-p $pidfile" is kinda ugly21:30
kirklandslangasek: i don't like mixing -param and positional parameters21:31
slangasek10:03 < cjwatson> consistency > *21:31
slangasek:-)21:31
kirklandslangasek: say the magic word and I'll go change it to use -p ....21:31
* liw would vote for everyone using GNU getopt (_long) option parsing...21:32
slangasekkirkland: yes, please21:32
kirklandslangasek: k...21:32
slangasekkirkland: I'm off to lunch now anyway, which I need to squeeze in before the platform meeting21:32
kirklandslangasek: i'll bug you shortly then....21:32
kirklandslangasek: i'd like to put a nail in this coffin today, if possible21:32
slangasekright :)21:33
kirklandslangasek: https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/246735/comments/1122:19
ubottuLaunchpad bug 246735 in lsb "status_of_proc() calls pidofproc() which calls kill, requiring ownership privileges on the process" [Medium,Fix released]22:19
kirklandslangasek: patch updated there, with pidfile support22:19
kirklandslangasek: ping me when you come back around, review, and potentially commit22:19
kirklandslangasek: 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-base22:20
=== asac_ is now known as asac
=== Keybuk is now known as Guest62599
=== Keybuk_ is now known as Keybuk
slangasekmathiaz: "why use the dovecot implementation instead of cyrus" - because everyone hates the cyrus SASl implementation :)22:37
slangasekI don't know to what extent this is inherent in sasl, and to what extent it's the result of cyrus's strange configuration semantics22:38
mathiazslangasek: right - OTOH dovecot sasl implementation is only supported by postfix and exim22:40
slangasekmathiaz: right, and postfix doesn't even depend on it, it only depends on libsasl2-222:40
mathiazslangasek: so from a practical pov, if we want to support SASL correctly cyrus implementation is the only option for the time being22:40
slangasekI agree22:41
mathiazslangasek: another option would be to add support for dovecot to other services :)22:41
slangasekI'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 be22:42
ScottKFor postfix it's definitely easier to configure correctly.22:52
lamontI don't mind having postfix Suggest: either dovecot or cyrus...  Recommends? dunno.  Depends: no way22:53
ScottKSince dovecot is our preferred delivery agent, it makes sense to focus on it for SASL too.22:53
ScottKlamont: I'd say Suggests both.22:53
lamontdo they conflict?22:53
lamontbecause suggesting two conflicting packages strikes me as kinda strange22:54
sorenScottK: Suggest... both?22:55
sorenScottK: Why would you want both dovecot and cyrus?22:55
ScottKSuggest them alternatively.22:55
sorenNow, *that* makes sense.22:55
ScottKdovecot|cyrus22:55
slangaseklamont: postfix already depends: the cyrus sasl implementation, it's a shlibdep22:55
slangasekwe're discussing the SASL libs, not the POP servers :)22:56
lamontah, ok22:56
sorenOh.22:56
slangasekkirkland: latest patch looks good, should be uploaded shortly22:56
kirklandslangasek: outstanding!22:57
lamont 1  7 277680  57036   3968 942264    2    0 28688 24519 2487 14540 18 14 38 3022:57
lamontscary vmstat output22:57
kirklandslangasek: here's the caller patch for samba: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/24708722:58
ubottuLaunchpad bug 247087 in samba "samba init script status action" [Low,In progress]22:58
kirklandslangasek: see how that guy looks to you22:58
slangasekkirkland: 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 run23:04
kirklandslangasek: your recommendation?23:05
slangasekkirkland: present in that bug log; sorry, platform meeting just started now, split attention23:06
kirklandslangasek: okay, i'll dig deeper23:06
slangasekthat's Debian bug #488275, if you don't have it to hand23:07
ubottuDebian bug 488275 in samba "samba and winbind: initscript miss 'status' option" [Wishlist,Open] http://bugs.debian.org/48827523:07
kirklandslangasek: thx23:09
kirklandslangasek: see https://bugs.launchpad.net/debian/+source/samba/+bug/247087/comments/323:37
ubottuLaunchpad bug 247087 in samba "samba init script status action" [Low,In progress]23:37
kirklandslangasek: updated to test for $NMBD_DISABLED and $RUN_MODE23:37
kirklandslangasek: 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:38
slangasekkirkland: hmm, what should the status be if 'disable netbios' is set *and* smbd is run out of inetd? :-)23:43
slangasek(i.e., I think we need the default status to be 'undefined')23:43
kirklandslangasek: which is what in sysv return codes?23:44
slangaseksysv, or lsb?23:44
kirklandslangasek: ah, good point.  lsb.23:44
* kirkland goes to the spec....23:45
Riddellpitti: fancy looking to see if ew can get policykit-kde to do anything next week?23:45
kirklandslangasek: 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:45
slangasekkirkland: sounds good to me :)23:46
slangasekso 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 returned23:47
kirklandslangasek: i was drawing it on paper, actually :-P23:48
slangasek:-)23:48
stgrabererk, encrypted lvm seems to fail on current Intrepid alternate :(23:50
slangasekbryce: 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 wrapping23:50
cjwatsonstgraber: oh?23:51
ograstgraber, sure its not just slow ?23:52
slangasekkirkland: I think the easiest is to just check the two vars at the end, and if we don't hit either case, set status=423:52
kirklandslangasek: right23:52
stgraberbig red screen, so not it's not just slow .)23:53
stgraberdoing manual partitioning with encryption + lvm23:53
stgrabermy usual advanced manual testcase :) boot + encrypted partition containing LVM with / and /home23:53
bryceslangasek: ok, I can probably add a 'shrink columns' option.23:53
stgraberstandard: erase-disk + encrypted LVM worked though23:54
cjwatsonstgraber: can I get logs?23:54
stgrabercjwatson: sure23:55
cjwatsonkees: 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-below23:56
ubottuDebian bug 403718 in pam "pam: pam_limits fails to bound RLIMIT_NICE from below" [Normal,Closed] http://bugs.debian.org/40371823:56
cjwatsonam I missing something23:56
cjwatson?23:56
cjwatsonkees: oh, hmm, maybe I'm confused because debian/patches-applied/ in fact isn't23:57
cjwatsonyeah, I'm just confused. never mind me23:59
keescjwatson: heh, okay, no problemo.  Yeah, from the testing I did during the 0.99 updates a while back, that was all taken care of.23:59

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