/srv/irclogs.ubuntu.com/2012/04/03/#ubuntu-devel.txt

infinityhloeung: Apparently, nihal needs filecache-default scrubbed.00:00
infinityhloeung: However...00:00
infinityhloeung: Before you do that, a copy of it might be nie.00:00
infinitynice, too.00:00
hloeunginfinity: just filecache-default? or the build-*'s as well?00:00
infinityhloeung: Are there more than one build-*?00:01
hloeunginfinity: yes, there's 3 actually00:01
infinityOh.00:01
infinityFun.00:01
infinityhloeung: In that case, yeah.  Stop lp-buildd, clear out the whole mess.  But I'd like a backup of filecache-default, if you could?00:02
hloeunginfinity: yep, taring up filecache-default00:03
infinityhloeung: On lillypilly or chinstrap, or somewhere I can get to it readily.00:03
* infinity wonders if anyone in the Bay Area wants to bring him a power cord for his laptop, since he stupidly forgot his at home.00:06
infinityDon't all speak up at once.00:06
smoseris there a reason that language-pack-en-base Recommends firefox-locale-en ?00:19
smoserits really only an annoyance, but installing a language pack on a server then pulls in firefox packages00:19
smoser(well, not really firefox packages, but firefox-locale-xx)00:19
infinityYou could install with --no-install-recommends00:20
JanCyou mean you didn't configure that as the default?  ;)00:20
infinityBut the relationships for langpacks have always been a bit sketchy, because it's hard to adequately represent what we want to happen there.00:21
cjwatsonPartly it's because IIRC that used to be in language-pack-en but was split out.00:21
infinityMozilla locales have always been separate.  Unless you meant the dependency used to be elsewhere.00:22
infinityAt least, I think they always have been...00:22
infinityBut really, no amount of Enhances or Recommends magic can make it DTRT for all people.00:23
cjwatsonI may just be misremembering.00:23
infinityThe per-package mini langpack spec would solve the issue, but I so think it would cause more problems than it solves. :P00:23
smosercjwatson, you pointed at python-apt earlier, do you know if i can use it to tell me if a package is installed without having cache available ?00:24
cjwatsonYou generally need to instantiate a cache to find out much of anything.  Why don't you want to?00:24
infinityYou could just use dpkg...00:24
infinity(or dpkg-query)00:24
cjwatsondpkg's own interfaces for this are actually kind of crappy, so I understand preferring to ask apt.00:25
infinityForking dpkg is going to still be less painful than spinning up an apt cache, if you didn't need the latter.00:25
cjwatson$ time python -c 'import apt; cache = apt.Cache()'00:25
cjwatsonreal    0m0.900s00:25
infinityThough it would be nice for libapt/python-apt to be able to give dpkg status info with no cache built...00:26
cjwatson$ time dpkg-query -W man-db00:26
cjwatsonman-db  2.6.1-100:26
cjwatsonreal    0m1.882s00:26
cjwatsonI'd use apt if I were you :-P00:26
infinitycjwatson: I'm unconvinced that benchmark is linearly true on slower hardware.00:26
cjwatsonPossibly, but dpkg has never been very quick to parse its own status file.00:26
infinityNo, true.00:26
infinityapt takes nearly a minute to rebuild a cache here, though.00:27
infinity(assuming a fresh invalidation, ie: apt-get update)00:27
infinityOh, actually, most of that is probably unzipping lists.  So, I guess it depends on smoser's definition of "no cache".00:28
smoser"no cache" really meant no /var/lib/apt/lists00:28
cjwatsonI suppose you could use python-debian to parse /var/lib/dpkg/status if you were desperate00:29
smoserand i'd really hope to be able to query "is a package installed" in less than a second.00:29
infinitysmoser: Well, nothing there at all?  In that case, building a cache as per cjwatson's code above would just build one with dpkg/status.00:29
cjwatsonOr python-apt might have a way to do that too which might be faster, I forget00:29
smoserinfinity, right. thats what i'm seeing.00:29
cjwatsonsmoser: Do you need to query more than one?00:29
smoserin this caase i'm only after if a package is installed. dont eed to query more than once.00:30
cjwatsonThen none of the options will be significantly faster as far as I can think of.00:30
cjwatsonIf you're prepared to hardcode things about the packages you could check for a file they're known to ship.00:31
infinityEw?00:31
cjwatsonOr possibly check for the existence of /var/lib/dpkg/info/$pkg.list.  But if you do that you need to be very clear on how/whether multiarch will affect you; that's an implementation detail.00:31
cjwatsonI mean, .list files are an implementation detail.00:31
infinitySurely, higher level abstractions of dpkg/status are the sane way to go...00:32
cjwatsonYes.  As I say, I'd use python-apt.00:32
smoserso.. the general idea here is this (feel free to tell me any portion of this is wrong)00:33
cjwatsonBecause normally it's already done the work of parsing the status file into a more quickly loadable cache format, that being a lot of the point of the cache.00:33
smoser * bug https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/859814 shows the issue we're trying to address (and links to other bugs there too)00:33
ubottuLaunchpad bug 859814 in cloud-init (Ubuntu) "Locale issues with beta-1/2 cloud-images" [Medium,In progress]00:33
smoser * cloud-images have not in the past had a language pack installed, resulting in stderr output when someone ssh's in with other than en_US.UTF-800:34
smoser * cloud-init has long had this support for setting a default host locale, and only now have we found that that didn't really  make sense without installing language-pack-XX00:34
smoser * so we're looking to install language-pack-en in the default images, and if the user asks cloud-init for "configure my default locale to french" we'll want to install language-pack-fr00:35
=== eights is now known as Guest66747
cjwatsonIf you're trying to test whether a given locale is installed, the right way to do it is:00:35
cjwatsonimport locale00:35
smoseri want to ask "do i have language-pack-fr" installed before doing an apt-get update and 'apt-get install language-pack-fr'00:35
infinitysmoser: Now, this is a slightly different direction, but do these VMs typically actually need a langpack installed?  Cause if it's just about annoying error messages from shell/perl/etc, you could localegen the world. :P00:35
cjwatsontry:00:35
smoserinfinity, you can't just use localegen.00:36
cjwatson    locale.setlocale(locale.LC_ALL, '')  # or a specific locale as the second argument if you don't want to take it from the environment00:36
smoserunfortunately. :)00:36
cjwatsonexcept locale.Error:00:36
cjwatson    # take steps to install the locale00:36
smoserhttps://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/96946200:36
ubottuLaunchpad bug 969462 in postgresql-9.1 (Ubuntu) "fails to start after install if invalid locale is set" [Undecided,New]00:36
infinitysmoser: Since when?  I do it all the time.  Doesn't buy you translations (obviously), bet gets you a valid locale.00:37
cjwatsonso you could easily touch the apt cache only in the locale.Error slow path there00:37
smoserwell, ok. maybe you can do that i guess.00:37
cjwatsoninfinity is correct too00:37
smoserhm..00:37
infinitycjwatson: And, of course, your code is tripped up by people like me, since it's testing for a locale as a key to installing a langpack, the two are only loosely related.00:37
cjwatsongenerating locales manually is explicitly supported00:37
smoserso it is OK to localgen even if i dont have the language-pack-xx installed ?00:38
cjwatsonsure00:38
infinityOf course.00:38
cjwatsonthere're special arrangements to remember which ones you've locale-gen'ed manually vs. via language packs00:38
cjwatsonthe manual ones will end up in /var/lib/locales/supported.d/local00:39
infinitysmoser: Of course, if you really do want translations as well as valid locales, you need to go the langpack route.00:40
smoserinfinity, yeah. so i think i'll go the quick 'imporet locale' route to test, and if thats not there, then install the package.00:40
GrueMastersoren: ping - need some assistance with preseeding.  I have the same preseed for 3 different systems, and I am getting two different errors in partman.00:40
smoserallowing for the case when i've been trick'ed by you, infinity00:40
infinitysmoser: And I really see no reason that can't just be a shell 2-liner of dpkg-query && apt-get install.00:40
smosers/allowing/ignoring/00:40
GrueMasterOr anyone else that wants to jump into my preseed nightmare.00:41
infinitysmoser: My trickery is fine.  If I'm generating locales by hand, it's because I don't want the langpack, so that seems a sane thing.00:41
smoserinfinity, yeah, the reason i'm concerned is this happens on first boot.00:41
cjwatsoninfinity: or even just apt-get install --no-upgrade00:41
smoserand its generallyhappening serially.00:41
cjwatsonbut, indeed, I don't really see what installing the package is going to buy you, from your description.00:42
cjwatsonit's strictly more than you actually want.00:42
GrueMasterhttp://paste.ubuntu.com/912292/ for anyone that wants to look.00:42
smoserso i dont really want to postpone boot by .5 seconds or more.00:42
cjwatsonand language-pack-en take significantly longer, since it will generally have to generate rather more locales.00:42
cjwatson*will take00:42
smoserright00:42
cjwatsoneven discounting having to download and unpack it and its -base pair.00:42
infinityYeah, the localgen in langpack-en is painful.00:42
smoserso maybe doing localgen is enough.00:43
infinityI just had a perverse idea.00:43
infinitypam module that checks the starting ENV and forks localegen for uninstalled locales.00:43
infinityPlease pretend I didn't just say that.00:44
infinityThanks.00:44
smoseryeah. i sort of looked there.00:44
infinity(It's quite easily doable...)00:44
smoserwhat we have now is a profile.d message that informs the user how to make the environment usable if they do want their locale00:44
infinityAnd would once and for all end the "I sshed from my desktop to my server, and Perl whines at me, HALP" bugs.00:45
smoserwell, thtas sort of what i was addressing here.00:45
cjwatsonGrueMaster: suggestion for you in bug 971608, assuming that this is the same thing.00:46
ubottuLaunchpad bug 971608 in partman-auto-lvm (Ubuntu) "Unable to create blank lvm volume in preseed install" [Undecided,New] https://launchpad.net/bugs/97160800:46
infinityIt's not really any uglier than pam_userdir and other such one-time violence.00:46
smoserbut i thikn i'm good enough at this point to just locale-gen, and inform the user on how to fix the issue.00:46
infinityIn fact, less so, because it doesn't need to keep track of priv bouncing, it would just be a pre-session root deal.00:46
infinityAnyhow, not suggesting this as the solution for your bug in the next few weeks before release.00:47
infinityBut now the gears are turning in my mind. :P00:47
GrueMastercjwatson: Yes, I have that in my current preseed for both panda and armada systems.  Pandas are now complaining about not mounting /boot, armada is complaining about blank lvm.00:47
GrueMasterPreseeds are identical.00:47
smoserthe "locale_warn" branch is at https://code.launchpad.net/~utlemming/cloud-init/cloud-init.profile.d/+merge/10026200:47
cjwatsonGrueMaster: I need the precise text of the complaints in order to help00:47
cjwatsonparaphrasing means I can't grep for it00:47
smoserinfinity, just in case you care. and it might be updated with what i learned here. thank you cjwatson and infinity00:48
GrueMasterpanda:  The attempt to mount a file system with type ext3 in SCSI1 (0,0,0), partition00:48
GrueMaster#1 (sda) at /boot failed.00:48
GrueMasterArmada:  No file system is specified for partition #1 of LVM VG eilt0, LV Test1.00:48
cjwatsonI don't see method_only in http://paste.ubuntu.com/912292/ or in your bug report from earlier, by the way.00:48
infinityGrueMaster: Not ext4?00:48
GrueMasterI added the method_only after filing that bug report (found it at noon PST).00:49
GrueMasterinfinity: Which?  /boot?  u-boot doesn't understand ext4.00:49
cjwatsonGrueMaster: And the message you quote for Armada will be silenced by preseeding partman-basicmethods/method_only.  Please check again that you really preseeded it.00:50
cjwatsonThe u-boot case might want to be something like  method{ format } use_filesystem{ } filesystem{ uboot }  instead.00:51
cjwatsonOh, except partman-uboot is still dove-only, unless ogra fixed that ...00:52
cjwatsonSo maybe not.  That's unrelated to the blank partition problem, anyway, I think00:52
* cjwatson -> really crash00:52
GrueMasterpartman-uboot was dove only.00:54
smoserok..00:56
smoseri'm doing an automated install.00:56
smoseri watch the installer get up and do some downloading of the installer packages.00:56
smoserand i'm seeding this to use a squid-deb-proxy00:56
smoserheres a snippet of my squid proxy logs00:58
smoser http://paste.ubuntu.com/912304/00:58
smoserwhy is the installer doing 10 requests for Pakcages.gz ?00:58
GrueMastergroan.  To add to my issues, it would appear that my most recent preseed was clobbered due to stale vi swap.  Fortunately, I have a copy on another system.  retrying.00:58
smoserand then it dies complaining about it being corrupt00:58
smoserbut i'm validating it manually locally, and it has identical checksum as reported by Release00:58
infinityhloeung: Did you restart lp-buildd on nihal when you were done tidying?00:59
smoserearlier today we thought this issue was https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/971820 , but that change has been applied locally01:00
ubottuLaunchpad bug 971820 in squid-deb-proxy (Ubuntu) "squid-deb-proxy needs special handling of Release, Packages, Source" [Undecided,In progress]01:00
hloeunginfinity: I've stopped it now. Am going through cleaning up build-* and the filecache-default01:00
hloeungand will start it back up when done01:00
infinityhloeung: Ahh, okay.  I was just being impatient then, nevermind. ;)01:00
GrueMasterWell, this is...different.  cjwatson:  New pastebin.  http://paste.ubuntu.com/912305/01:01
hloeunginfinity: heh sorry, I'm also uploading a copy of the filecache which doesn't help. Each command is taking quite some time to send over01:01
ShinobiWhat is the local port for mount.cifs?01:01
infinityhloeung: No rush, I'm about to head out for food anyway, and one dead Panda won't kill the rebuild.01:01
infinityhloeung: Just poke me on IRC when it's all done, and I'll look at things when I get back.01:02
GrueMasterNow I still get the same failures as above, but on different systems.  2 pandas and armada fail to mount /boot, 1 panda now fails with "!! ERROR: No root file system01:02
GrueMaster"01:02
hloeungfilecache-default.tar.bz2                      31%  137MB  94.2KB/s   53:55 ETA01:02
hloeunginfinity: ^01:02
hloeungso it'll probably be done when you return...01:02
infinityhloeung: Err, are you bouncing it from your home connection?01:02
hloeunginfinity: yep01:02
infinityhloeung: You could have just put it in ~buildd/public_html/ and grabbed it from another host in the DC. :P01:03
hloeungerrr...   why didn't you tell me that earlier? ;-)01:03
infinityWell, not from just any host, but some have firewall rules to allow it (nusakan, lillypilly, etc)01:03
infinityAnd lillypilly would be a fine choice.01:04
hloeunginfinity: ah, I'll remember that for next time.01:04
hloeunganyways, launchpad-buildd bounced on nihal01:05
infinityDanke.01:05
infinityDesign Capacity: 22 Wh, Energy when Full: 27 Wh.01:12
infinityThis is one heck of a battery.01:13
micahginfinity: any chance of helping me to get https://launchpad.net/~ubuntu-security-proposed/+archive/ppa/+build/3377300 going on roseapple?01:16
infinitymicahg: You expect it to magically not fail there?01:23
micahginfinity: hoping :)01:23
micahginfinity: I got it to build locally in a 32 bit chroot01:24
infinityYeah, the 64-bit kernel might "fix" it.01:25
infinityBut, uhm.  That's not really fixing it.  Just sayin. ;)01:25
micahginfinity: yeah, there's something weird going on in that build, <= natty takes a lot of memory/space, oneiric+ takes very little (relatively)01:26
micahginfinity: I'd rather just get it built now and figure that out later01:26
infinityAlready on it.01:27
infinityIt's ridiculous how long that PNG optimising stuff takes.01:28
infinitypitti: ^-- Is it really that hard, or is the code just that bad?01:28
micahginfinity: also, would you mind copying chromium-browser lucid, maverick, and oneiric from ubuntu-security-proposed to -proposed01:29
infinitymicahg: Can you ask me to do that after I've eaten? ;)01:30
infinitymicahg: (the build is on roseapple, though)01:30
micahginfinity: thanks, sure, I'm heading out for a bit, will ping when I return01:30
infinityKay.01:30
* infinity goes to wander the streets of SF aimlessly until he smells something good.01:31
psusibug #919281 appears to be the result of some kind of error spinning the server cd and leaving out kernel modules.  What's the correct package that should be assigned to?02:13
ubottuLaunchpad bug 919281 in Ubuntu "Ubuntu installation image Fake RAID" [Undecided,Confirmed] https://launchpad.net/bugs/91928102:13
smoserlifeless, around ?02:14
lifelesssmoser: hi, sure.02:16
smoserhttps://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/97182002:16
ubottuLaunchpad bug 971820 in squid-deb-proxy (Ubuntu) "squid-deb-proxy needs special handling of Release, Packages, Source" [Undecided,In progress]02:16
smoseri'm desparate02:16
smoseri'im hoping that you could tell me some magic "the right way" to run a squid proxy for apt.02:17
smoseri had an issue earlier today, we opened that bug, and hoped it had been addressed, but with the suggested lines:02:18
smoserrefresh_pattern \/(Packages|Sources)(|\.bz2|\.gz)$ 0 0% 002:18
smoserrefresh_pattern \/Release(|\.gpg)$ 0 0% 002:18
lifelessyou can at best work around things; apt archives are not HTTP safe.02:18
smoserI've still got a squid proxy that has cached a bad version of http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages.gz02:18
smoserwell, i'm very interestedin your input on the best possible configuration.02:19
lifelessthe thing is that the constant-named files have no safe cache semantics should of must-revalidate02:19
lifelesss/should/short/02:19
smoserwell, honestly, i'd greatly prefer horrendous waste of network badwidth to the pain of a bad cache'd value.02:21
lifelessblacklist Releases/Sources/Packages then02:21
lifelesssorry, I don't have a good canned answer for you02:22
lifelesscaching debs is fine, anything that we replace the content on has a race window *if* any other file is coordinated with it02:22
hloeunginfinity: chinstrap:~hloeung/filecache-default.tar.bz202:22
lifelessat scale, any size race is exploitable02:23
smoserlifeless, as in 'cache deny PACKAGES'02:23
lifelessyah02:23
lifelessIIRC you can force must-revalidate as well, which would be a little more efficient02:23
smoser"force must-revalidate" would be doc'd here http://www.squid-cache.org/Doc/config/refresh_pattern/ ?02:24
lifeless*note* though that you will *still* hit these races: our mirror update scripts reduce the window down to subsecond, *but* different mirrors update up to 15 minutes apart, or more.02:24
lifelesssmoser: IIRC last we looked at this we determined your squid was using multiple upstreams ?02:25
smoserthis one is not.02:25
smoserwe have had that issue in other cases.02:26
smoserbut this one has a pinned IP somewhere for me.02:26
lifelesssmoser: what version of squid are you using ?02:26
smoser3.1.19-1ubuntu1 (precise archive)02:26
lifelessso - re the upstream bug02:26
lifelesshttp://www.squid-cache.org/Doc/config/balance_on_multiple_ip/02:26
lifelessI think the thing is that squid by default is much more sticky02:27
smoserlifeless, fwiw, the mirror update scripts window is not subsecond.02:27
smosereven in a single mirror, its well above that.02:27
lifelessbut that probably it only takes a single failure to trigger a rotate02:27
lifelessmight be worth adding that to the bug02:27
lifelesssmoser: really? How long does the critsection take?02:27
smoserits bad.02:27
smoseri dont have numbers in front of me, but we hit it way too often for it to be sub second.02:28
lifelesssmoser: and the mirrors are using the three-run rsync approach ?02:28
smoserthey're canonical run mirrors02:28
smoseri dont really know.02:28
lifelesshmm02:28
smoserhttps://code.launchpad.net/~smoser/+junk/check-archive/02:28
lifelessI can look into that02:28
smoserthat script, run it in a loop (on canonistack if you'd like)02:28
smoseryou'll hit single inconsistent mirrors way to often02:28
smoser(and by "in a loop", i mean with a 1 or 2 minute sleep)02:29
lifelesssmoser: so the thing is, that either a) apt needs to send appropriate paranoid cache-busting headers, or b) apt needs to retry on inconsistent results (with appropriate headers) or c) we have to change the apt disk format.02:29
smoserlifeless, yeah.02:29
lifelesssmoser: you're really at the edge of the fixes that can be done for dealing with live repositories02:29
smoseri have a list of apt greivences against apt.02:29
lifelessother mirroring scripts might be able to force it to subsecond, but even then, as discussed, at scale, it will be hit.02:30
smoserand server team hopes to have some session on that at uds-q, and we would love to have your expertise there.02:30
smoseri'd like to address it where it can be fixed for good.02:30
smoserwe want to tell people to install packages and provision things in an automated fashion.02:31
smoserand when doing so, at least for the development release, the archive is the most likely cause of failure.02:31
lifelesssmoser: the root cause is to fix apt's disk format: it needs to depend on only a single file being updated atomically at a time, not two files.02:31
smoserwell, N files.02:32
lifeless102:32
smosermultiple Packages.gz and Source.gz have to be in sync with Release02:32
lifelessat the moment, Packages.gz <- Release02:32
lifelessand separately02:32
lifelessSources.gz <- Release02:32
lifelessbut this is a meaningless difference in model; the key thing is that to be safe in the absence of caching, the archive has to be fully readable at any given state, including when only one file of a group has been updated.02:33
smoserright.02:33
lifelessTo be safe in the presence of caching the archive has to be fully readable with the old versions of a file at each url.02:34
lifelessthe way I would approacho it, if I were to work on it, would be to ditch Packages.gz and Sources.gz and the other similar fixed-name metadata files;02:34
lifelessuse hash or otherwise uniquely generated names for them and reference those from Release02:35
lifelessand inline-sign Release [if its not already]02:35
lifelessthis would make mirror pushes atomic - write the new debs & source packages, new packages/sources/contents, new releases, and as each release is written it becomes visible.02:36
lifelessuntil a client sees the new releases, it will happily read the old packages.gz and debs etc02:37
smosersign is separate now, but i'm told that in-line is done or soon to be done.02:38
lifelesssmoser: I'd be delighted to write up something somewhere, but I can't commit to implementing :)02:38
lifelesswe could publish both styles in parallel quite cheaply, and new clients would be more robust.02:38
smoserabove, how would you atomically handle Releases ?02:40
smoserie, that would still be a single path, right?02:40
infinityYou don't need to, you just make sure you mirror Releases last.02:42
infinity(In lifeless's scenario)02:43
infinityThe old Release file will remain valid for the old hashed Packages files, you get new hashes on disk, mirror new Release, maintain consistency.02:43
infinityIt's elegant enough.  Probably not wildly difficult to implement.  Does make archives less human-navigable, though.02:43
infinityPerhaps a small price to pay.02:44
infinity(And fixable by making Packages.gz a symlink to the most recent hash, for people who prefer the fixed names for non-apt uses)02:44
smoseryeah.02:45
infinitylifeless: Can you write this up as an apt bug?  I suspect mvo and I would both be interested in looking into it further.02:45
infinitylifeless: Doing it on the LP side is borderline trivial (or possibly even "for free", with an apt-ftparchive upgrade), but the apt side will take some thought.02:45
lifelesssure02:46
psusislangasek, why is plymouth not in the initramfs normally?  I could have sworn it was supposed to be.. that would eliminate the gui vs text console early boot failure problem woudln't it?02:54
slangasekpsusi: it's not in the initramfs normally because it slows down the boot when it is, since you can't get out of the initramfs then until the video driver has loaded02:55
slangasek(so the system waits, making no use of either cpu nor disk, while the video card is initialized)02:55
* slangasek trades a negation for a vowel02:55
slangasekpsusi: I am increasingly thinking that we should just stick it in the initramfs and try to make up the boot speed impact elsewhere, but it's a bit late to be pondering this for 12.04 :/02:56
psusihrm... so it did used to be there?  and to speed boot, it was removed because loading the video driver was wasting too much time?02:56
psusivideo driver is kind of required for text mode console as well isn't it? ;)02:56
Sarvattpsusi: it was only there for a short short time in the 10.04 dev cycle02:56
Sarvattmaybe you had the cryptsetup packaged installed previously or something02:57
psusihow long does it take to init the video card anyhow?  and doesn't it have to do that anyhow when you don't pass the quiet splash boot options?02:58
slangasekwhich is certainly possible, as it gets installed in support of encrypted swap if you choose the encrypted homedir option in the installer02:59
slangasekpsusi: depends on the video card and driver and and; but it may be as much as a couple of seconds02:59
slangasek(in various common cases)02:59
psusiwow!02:59
slangasekyes, you have to init the video card anyway, but when you *don't* have to do it in the initramfs, you're not stuck *waiting* for it02:59
RAOFYou need to do all sorts of output probing, running BIOS scripts, etc.02:59
psusiRAOF, just to load the dri driver and not even switch video modes?03:00
RAOFYes, because loading the dri driver generally implies switching video modes.03:01
slangasek:)03:01
psusinot any more... we have gfxpayload=keep03:01
slangasekheh03:02
RAOFThe dri driver doesn't know that it's not going to switch video modes or bring up new outputs until it's probed all the outputs.03:02
psusiso... the video driver is still in the initramfs and loaded, just doesn't block switching to the real root?  or you're saying it isn't even loaded until after the root is mounted?03:02
slangasekyeah; gfxpayload=keep just means the framebuffer is passed to the kernel, it doesn't mean the drm driver is smart enough to *use* it03:02
slangasekno, the video driver isn't included in the initramfs at all03:03
slangasekunless you've asked for it to be03:03
psusiumm... then how is initramfs rescue recovery ever possible at all?03:03
psusiohh, it's only possible when the kernel comes up still in VGA text mode?03:04
psusithat's no good at all...03:04
psusithis might tie into something else I was thinking of the last time I worked on ureadahead... why doesn't it start in the initramfs... if you're doing readahead while loading the video driver that should fix the slow down problem without breaking initramfs recovery03:05
slangasekpsusi: yes, precisely - and if you're booting in rescue mode, you *are* coming up in text mode, that's one of the differences between the main boot option and the fallback one03:06
psusislangasek, of course, on macs or whatnot that don't have vga text boot and require fbcon, then you're screwed?03:07
infinitypsusi: How do you propose we readahead before we have a rootfs to read ahead on?03:07
slangasekpsusi: what kind of macs are we talking here?03:08
slangasekUEFI has its own framebuffer03:08
psusiinfinity, you obviously mount the root fs first, but you can start the readahead and video driver load in parallel, all before you actually run-init the real root fs03:08
slangasekand we're supposed to be using that, but I have certainly seen bug reports about it not working03:08
slangasekpsusi: you can't start the readahead until you have the root filesystem mounted to find the ureadahead pack data03:09
infinitypsusi: If we've found the rootfs, we should be pivoting ASAP, there's no reason to stay in the initrd.03:09
psusiinfinity, if you're still waiting for the video to init, you can at least start the readahead...03:09
infinityslangasek: To be fair, I'm not sure we can guarantee every device will have a usable text mode.  We're only saved on ARM by building every subarch individually and building in framebuffers, that can't last if we ever have a unified ARM kernel.03:10
psusiif you do that, then delaying the pivot for a second or two doesn't matter since all you'd be doing after is waiting for the readahead anyhow03:10
slangasekinfinity: sure; we might prefer to special-case the initramfs video handling on different architectures then03:10
slangasekanyway, as I said, I think we should bite the bullet and put the video in the initramfs - just not for 12.0403:11
slangasekoh, also, aren't we getting rid of initramfs on arm, making this a moot point ;)03:11
infinityslangasek: On some ARM machines, perhaps, I doubt we are on all.03:11
Sarvattit would be so freaking nice to have the splash up 1.5 seconds into the boot instead of 7 seconds when the desktop starts at 8 so you barely see it, but yeah cairo in the initrd, 20mb+ extra initrd size on proprietary drivers, etc..03:11
infinityslangasek: And hey, if someone makes uBoot suck less, we won't really need to at all.03:12
psusiSarvatt, exactly..03:12
slangasekpsusi: so I think what I would prefer is to put the video drivers in the initramfs unconditionally, but *not* block the initramfs waiting for plymouth to start unless we know cryptsetup is in use03:12
psusiI thought most of the proprietary driver bulk was the xorg user mode driver part, not the kernel module?03:12
infinityslangasek: Though, really, any machine that doesn't NEED an initrd shouldn't have one.  uBoot isn't the only bootloader that sucks at loading things from disks.03:12
Sarvattthe kernel module is like 10mb last i checked for nvidia03:12
psusiwhat the crap?03:13
psusiwow... I guess fglrx_updates.ko is 4.3M... wow...03:14
Sarvatt17M /var/lib/dkms/nvidia-current/295.33/build/nvidia.ko03:15
psusijesus... what the hell are they shoving in there?  it wasn't that long ago that debian netinst came on two 1.44 MB floppies and that was the whole linux kernel plus root fs03:17
slangasekno, no... it was that long ago :)03:18
* psusi corrects himself... damn old misnomer... 1440K floppies, which is not 1.44 MB ;)03:19
psusislangasek, so wait... can you even flip it back to vga text mode without the driver loaded?03:20
slangasekwell, *I* haven't managed to yet03:21
psusiI wouldn't think you could...03:21
slangasekwell03:21
slangasekyou should be able to do it as raw VGA03:21
slangaseknot using a kernel fb driver03:21
micahginfinity: or slangasek: could one of you copy chromium-browser lucid-oneiric from ubuntu-security-proposed to *-proposed*03:21
slangasekbut I haven't found the right tool for it yet03:21
psusiright, but you need something to modeset it back to vga mode don't you?03:21
infinitymicahg: If you ask really nicely.03:22
slangasekpsusi: maybe? :)03:24
infinitymicahg: (looking at it right now)03:24
micahginfinity: please.....with visions of bunnies and kittens03:25
infinitymicahg: I assume we don't care about the oneiric build failures?03:31
micahginfinity: not enough to block the rollout03:31
infinityAlright.03:31
infinityLP is grinding, but it'll be done "soon".03:32
infinitymicahg: Finally done.  Double-check after the next publisher that it's all sane?03:40
micahginfinity: yep, thanks03:40
lifelesssmoser: infinity: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/97207703:42
ubottuLaunchpad bug 972077 in apt (Ubuntu) "apt repository disk format has race conditions" [Undecided,New]03:42
smoserthanks.03:43
infinitylifeless: Danke.03:45
lifelessinfinity: I've elaborated a little, perhaps. Its likely we need to do some dance around mirror pushes to really hammer that down, but thats orthogonal - push mirrors are already pretty tightly synced, and the new format will self-correct as soon as they have all pushed (which the current one does not)03:48
lifelesssmoser: if you have a session on this @ UDS and you want me there - I'm attending remotely.03:48
lifelesssmoser: so feel free to put me in as mandator or whatever, but I can't make the first 2-3 hours of each day03:48
smoserlifeless, do not pretend to be mortal by implying you have to sleep03:49
smoserthanks for your help./03:49
infinityI suspect mvo and I might want to take it upstream a bit, but a UDS session isn't out of the question.03:49
smoserright. upstream is correct, but we can have a good plan in ubuntu.03:49
* infinity nods.03:49
lifelessupstream honour patches :)03:50
lifelessyou can call the file Releases.lifeless if you want to give me cred :P03:50
smoserlifeless, are you opposed to forwarding that to upstream ?03:51
infinityWell, we already have InRelease (the inline signed version)03:51
infinityLinRelease?  Lifeless's Inline Release? :P03:51
lifelesssmoser: I think its totally appropriate to be upstream03:51
smoserright.03:51
infinity(I'm sure we can do it in the existing InRelease withough adding a new file)03:52
lifelesssmoser: I think we need to resource doing it ourselves. Upstream doesn't move at our pace, nor have our cloud adoption, so won't be seeing it anywhere near as much.03:52
infinityGiven that old clients verify from Packages->Release (not the other way).03:52
smoserlifeless, do you mind filing upstream?03:52
infinitylifeless: Some of us *are* upstream.03:52
lifelessinfinity: (InRelease) - cool : I didn't want to make assumptions about all the clients out there03:53
infinityBut yeah, I think we could implement it in the current InRelease without breaking the world.03:53
lifelesssmoser: I think someone likely to be doing it should file it upstream.03:53
infinityI'll talk to mvo about it a bit, and then we can file upstream.03:54
lifelesssmoser: I'm really just applying my HTTP + doing whacky shit databases with filesystems knowledge here :)03:54
smoserlifeless, thats fine.03:54
infinityOr just implement it as a fait accomplis.03:54
infinityThe more I think about it, the more it actually doesn't sound hard.03:54
smoserits clearly a valid bug wether or not we're going to work on it.03:54
lifelesssmoser: it is, but also the symptoms are already reported upstream03:55
smoserno, its not that hard. just different filenames.03:55
infinitysmoser: No, I mean the client implementation.03:55
infinitysmoser: It's not just new filenames. :P03:55
lifelesstheres what, a half dozen clients to update03:55
infinity(Currently, Release serves no purpose but to sign Packages, we'll be turning it into an index)03:55
lifelessapt, various apt proxies, apt-ftp and so forth.03:56
infinitylifeless: Maintaining backward compat is cake, so I'm less concerned about clients following suit ASAP.03:56
lifelessinfinity: always an advantage03:56
lifeless{I wish we did that for more of our transitions}03:56
smoserinfinity, well it largely is just new filenames. you just have to update the name versus path.03:57
smoserthe way i read lifeless bug is that Releases-lifeless has '<sum> Packages-$HASH.gz'03:57
smoseror something03:57
infinitysmoser: Yes, but then we need to make apt care about that. :P03:57
infinitysmoser: Right now, apt downloads Packages, then checks Release for the sum.03:58
infinitysmoser: So, we're flipping that on its head.03:58
smoserbut i tihnk '<sum> old-school-filename fullpath/new-school/filename' would make sense.03:58
infinitysmoser: And using Release as the index of available Packages files.03:58
smoserthen you dont have to parse the filename out of some token, you're fed it explicitly03:58
infinityAnyhow.  Implementation details.03:58
infinityJust saying it's more than "new filenames".03:58
infinityBut not rocket surgery either.03:59
lifelesshah, this is *all* implementation details :)03:59
smoserwell, my "just filenames" was implying that clients already read the releases, and get the path relative to that03:59
infinitysmoser: They don't.03:59
smoserno? my client does03:59
smoser:)03:59
smoserwhat do they do?03:59
infinitysmoser: It finds Packages from Release?03:59
smoserwhy wouldnt it?04:00
infinitysmoser: apt finds Packages on its own, then verifies it with Release.  Not so subtly very different.04:00
lifelessheheh, I *knew* there would be clients out there doing that04:00
smoserinfinity, yeah,that makes sense.04:00
infinityAnd yes, if clients are doing that backward, we need to rename InRelease for the new implementation, or they explode.04:00
smoserfor a mirror (my client is "check-mirror") it is easier to just get Releases and walk thorugh it.04:01
infinityThough I'm not sure how much I care about !apt...04:01
infinityAnyhow.  We'll discuss more later.  Lots more.04:01
infinityAnd yeah, maybe do a UDS session, though I think this is more of a pair-programming "hammer on it til it works" thing, not something that needs a committee to argue about it for an hour.04:01
lifelessinfinity: right, not encouraging you to have a session, just noting that *if* you have one *and* you want me, those are the constraints involved04:02
infinitylifeless: I think your bug (and the above discussion) probably outlines things well enough anyway.04:03
infinityPretty clear problem and pseudo-atomic solution.  Just need to sort out transition, and argue about things that don't matter.04:03
lifelessyup04:03
lifelessif you want more chatter of any sort, just ping me04:03
lifelessotherwise I'll assume that Q will be perfect.04:03
infinityOf course it will be.04:04
infinityEvery release is.04:04
infinityAnd I won't hear another word on that topic.04:04
StevenKinfinity: Explain Edgy, then?04:11
StevenK:-P04:11
infinityStevenK: We don't talk about edgy.04:17
* micahg wonders if Maverick broke the LTS+1 streak04:18
StevenKmicahg: Intrepid wasn't that bad.04:19
* micahg wasn't around for edgy04:20
StevenKLike infinity says, we don't talk about edgy.04:20
lifelessforget edgy. Talk warty.04:25
lifeless*warty*04:25
StevenKI missed warty, my first release was breezy.04:26
infinitylifeless: warty doesn't count.04:26
lifelessinfinity: sif04:26
infinityAnd hoary was actually pretty good, given it was only the second try.04:27
StevenKI liked breezy as a release. Ran it off a Live CD for two days.04:31
JontheEchidnaI started using Kubuntu intermittantly at feisty, more often in gutsy, and started contributing around the time hardy was released04:33
* ScottK started using a Dapper a bit before it's release and started contributing mid-cycle in Feisty.04:34
ScottKEdgy wasn't so bad.04:35
StevenKScottK: Compare it to Dapper, though.04:38
ScottKWhat?  You mean released on time?04:38
ScottKI know what you mean though.04:38
ScottKEdgy felt better after I'd been through Hardy, Intrepid, and Jaunty.04:39
StevenKScottK: It was the first LTS, I was willing to wait and see and not complain. And it was worth it, IMO.04:39
ScottKSure.  Makes sense.04:39
ScottKI used Dapper pre-release and was happy with it.04:40
smoserpitti, you're last-touched lp:~ubuntu-core-dev/ubuntu/precise/apport/ubuntu . i'd appreciate a review and merge of https://code.launchpad.net/~smoser/ubuntu/precise/apport/ec2-metadata-timeout/+merge/10055204:48
smoser(but anyone who wants to can do it, i can, but just owuld  like the peer review, and havne't touched apport before).04:48
smosergoot night.04:48
pittiGood morning04:53
nigelbGood Morning pitti :)04:53
pittiinfinity: we can parallelize the PNG optimizing stuff, that's on my TODO somewhere; each individual PNG does not actually take long (subseconds), just packages with tons of PNGs will take a while04:55
=== bladernr_ is now known as bladernr_afk
pittiinfinity: SVGs take a tad longer04:55
pittismoser: looks nice, thanks04:56
micahgpitti: you mean it might be possible to build openclipart in a reasonable amount of time :)04:56
pittiif that causes so much trouble, you can also build it with NO_PNG_PKG_MANGLE=104:58
micahgfor the 2 or 3 times a year we build it, it's not that bad04:59
micahgit just seems crazy for clip art :)05:00
dholbachgood morning06:41
pittijibel: our meeting is where? G+?08:57
pittijibel: oh, mumble08:57
cjwatsonGrueMaster: Nothing jumps out at me; I'd need to see syslog/partman to look for errors there.08:57
jibelpitti, mumble but we can do it on g+ if you prefer08:57
cjwatsonlifeless: there's a bug for inline-signing Release, but implementing it before we've switched to a new signing key opens the ability to exploit old versions of apt08:59
lifelesscjwatson: well, we don't want that :)09:00
lifelesscjwatson: however, the main part of the discussion wasn't that, but getting to a less cache-incoherent layout09:00
cjwatsonsure; it's an important piece though09:01
hrwhi09:01
cjwatsonbug 804252, FWIW09:01
ubottuLaunchpad bug 804252 in Launchpad itself "Please support InRelease files" [Low,Triaged] https://launchpad.net/bugs/80425209:01
hrwlifeless: is subunit your project?09:01
lifelesshrw: I'm its BD09:03
lifelesshrw: and I founded it09:03
hrwlifeless: sorry to bother but it ftfbs without python 2.6 ;(09:03
lifelessworks for me09:05
hrwlifeless: http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120328-precise.html lists it as broken on all 3 archs in precise.09:06
lifelessbad testtools version09:07
lifelesstesttools had a release that broke subunit09:07
lifelessthe next release fixes it09:07
lifelessnothing to do with python version09:07
hrwthanks09:09
lifelessjodh: btw, please include the OOPS id if you're reporting a failed page in launchpad09:10
lifelessjodh: the oops id lets us tell whats going on without having to guess.09:10
lifelessjodh: saying 'if you do x you will get a timeout' does not work because timeouts are often usercode specific, due to team memberships.09:11
lifelessjodh: I've taken a guess in this case, but including the oops id in future will make it a lot easier; thanks.09:12
smbcjwatson, I got the feeling a recent upgrade to grub2 may be causing problems when using block lists (I know there are deprecated but just so useful). bug 97225009:33
ubottuLaunchpad bug 972250 in grub2 (Ubuntu) ""This GPT partition label has no BIOS Boot Partition"" [Undecided,Confirmed] https://launchpad.net/bugs/97225009:33
cjwatsonsmb: I had a Debian report of a problem as well09:52
cjwatsonI expect it's the 4K sector backport, sigh09:52
cjwatsoncan you debug it?09:52
smbcjwatson, I have an affected system sitting around. So I should be able to check things (not yet sure where exactly to look)09:53
smbGreat, since a bit ago and now, the error changed from the non-sector aligned data to "cannot read `/boot/grub/core.img' correctly"09:55
cjwatsonOtherwise it'll need to wait until I can set up a suitable VM and look for myself.09:56
smbcjwatson, The fs /boot/grub is on is ext4 which has 4k sectors. Partition looks reporting 4k block size as well and 512 sector size10:00
cjwatsonI hope it's not actually dependent on having logical 4K sectors since I can't test that.10:02
smbNever tried to change things, but blockdev has an option to modify the block size10:03
doko_hmm, updating to the new grub:10:07
doko_Setting up grub-pc (1.99-20ubuntu1) ...10:08
doko_/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..10:08
doko_/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..10:08
doko_/usr/sbin/grub-setup: error: non-sector-aligned data is found in the core file.10:08
doko_cjwatson, ^^^10:08
smbdoko_, See bug I just talked to him about. :)10:08
doko_ohh10:08
cjwatsonI'll look at it once I've finished with the thing I'm currently on10:09
smbA bit weird is that blockdev --getbsz returns 4k but all the locical and physical block sizes values in sysfs/queue are 512...10:10
cjwatsonHopefully this is a red herring.10:10
cjwatsonIt might just plain be broken with blocklists.10:11
smbcjwatson, I could offer an strace of the run, but for some reason my error has changed now. :(10:12
cjwatsonDon't bother; I'm not convinced that would be terribly helpful.  I'll see if I can reproduce it first.10:13
* cjwatson curses blocklists.10:14
smbcjwatson, Ok, got it back (it was not helpful to have had a peek with debugfs while being mounted). At least that way I could make a note of the message I get on boot: "error: out of partition" (press any key to continue). But it does come up10:16
cjwatsonSome systems will still work as they might just be using the old core image, but there was an ABI change in the disk structure so I expect it will depend on the complexity of the partitioning of /boot.10:17
=== ghostcube__ is now known as ghostcube
cjwatsonAnyway that isn't too interesting.10:18
cjwatsonBest to debug the first error.10:18
smbOK, unfortunately have to run now, but in case you need someone doing something on an affected system, let me know10:20
pittijibel: so, turns out that the upower autopkgtest actually discovered a crash in upowerd :)10:23
cjwatsonjibel: it was a lot quicker for me to use autopkgtest's schroot runner, which did reproduce an xvfb-related failure in ubiquity; hopefully it's the same one10:25
cjwatson(admittedly I had to fix a bug in the schroot runner first ...)10:25
DavieyOkay.. I've been handed a machine that when i create files, they get permission d-w---x--- root:root .. but the same action on a supposedly equal machine are created with drwxr-xr-x .. umask is normal, both are ext4 with no special mount flags.  Indeas?10:51
cjwatsonpitti: to save you debugging the same thing: Xvfb currently breaks if TMPDIR is set10:57
cjwatsonor rather if it's set to something which isn't on the same mount as /var/lib/xkb10:57
=== Whoopie_ is now known as Whoopie
pitticjwatson: ah, thanks; I would have hit that in jockey11:03
pitticjwatson: I copy and run the tests to $TMPDIR as otherwise python uses the local ones from teh package source instead of the system11:03
pittis/package/source tree/11:03
cjwatsonpitti: bug 97232411:04
ubottuLaunchpad bug 972324 in xorg-server (Ubuntu) "server fails to start up if TMPDIR is set to something on a different filesystem from /var/lib/xkb" [Undecided,New] https://launchpad.net/bugs/97232411:04
pitticjwatson: thanks11:04
cjwatsonI'll probably work around it by something akin to env -u TMPDIR xvfb-run env TMPDIR="$TMPDIR"11:05
pittijibel: so, I'm not really sure what https://jenkins.qa.ubuntu.com/view/Precise/job/precise-adt-postgresql-common/lastFailedBuild/ARCH=amd64,label=albali/console is11:30
pittiit doesn't seem to find the .deb it just built11:30
pitticjwatson: did you see failures from Python tempfile operations?11:36
pittiI'm gettin11:37
pitti    fd = _os.open(file, flags, 0600)11:37
pittiOSError: [Errno 13] Permission denied: '/tmp/tmp.FecYZsCFYt/ubtree0-build/tmpdir/tmpkLfNk4'11:37
cjwatsonI haven't seen anything like that as yet11:38
cjwatsonbut I'm using the schroot runner for convenience so perhaps that's a bit different11:38
* cjwatson <3 schroot11:38
* pitti tries to replicate this in his local kvm11:38
cjwatsonubiquity's problem is part that X bug and part me being desperately stupid.11:39
* pitti seriously doubts the latter11:39
cjwatsonsmb: reproduced11:41
=== MacSlow is now known as MacSlow|lunch
penguin42cjwatson: I put you as a reviewer on the fix for the procps/watch bug we discussed the other night11:45
cjwatsonpenguin42: oh, yeah, I saw that in my mailbox thanks11:46
pittijibel: could you please re-run the upower adt test, and perhaps udisks with 1.5 GB RAM?12:20
=== _salem is now known as salem_
=== dendro-afk is now known as dendrobates
=== MacSlow|lunch is now known as MacSlow
cjwatsonjibel: OK.  I think the combination of autopkgtest 2.0.1ubuntu3 and ubiquity 2.10.6 should fix precise-adt-ubiquity.13:11
=== dholbach_ is now known as dholbach
jibelcjwatson, k, I re-run the test when it is in the archive. I'll add an option to run in a schroot when the test doesn't need the level of isolation of a vm13:16
jibelpitti, tests are running with 2GB13:16
cjwatsonjibel: watch out that the schroot runner is a bit broken right now though - I filed a Debian bug with a fix, which I guess will show up on bugs.debian.org sooner or later13:18
cjwatsonso no rush on that, I can easily just do something like 'sudo adt-run ../ubiquity_2.10.6.dsc --- ~/src/ubuntu/autopkgtest/git/autopkgtest/virt-subproc/adt-virt-schroot precise-i386-sbuild'13:18
=== bladernr_afk is now known as bladernr_
=== yofel_ is now known as yofel
ochosikenvandine: ping13:38
kenvandineochosi, pong13:39
ochosikenvandine: hey, i wanted to inquire about indicator-messages-gtk2 a bit, are you the right guy to talk to? (lp suggested that)13:39
kenvandineyup13:40
ochosiok, i wanted to ask about this bug (i13:40
ochosi've been going in circles trying to figure out what's wrong)13:40
ochosihttps://bugs.launchpad.net/ubuntu/+source/xubuntu-artwork/+bug/95614713:40
ubottuLaunchpad bug 956147 in xubuntu-artwork (Ubuntu) "thunderbird message indicator icons" [Undecided,Confirmed]13:40
ochosi(afaik there shouldn't even be any icons)13:41
kenvandinethere shouldn't be13:41
kenvandinethere should be a thunderbird icon13:41
ochosiright, so there's nothing for me (xubuntu artwork-dev) to fix13:41
ochosiyeah, that's there, and then two text-only entries for addressbook and compose13:42
kenvandineoh13:42
ochosiit works as long as tb is closed, but as soon as it's running a "missing icon"-icon is shown13:42
kenvandinelooking at his screenshot, that isn't for thunderbird13:42
kenvandinethat is for evolution13:42
ochosiright, well i can confirm it for thunderbird :)13:43
ochosii didn't test it with evolution13:43
ochosibut thanks, i didn't notice that at first13:43
kenvandineinteresting, with the gtk3 build of it, it doesn't even try to add icons tehre13:43
kenvandinethere13:43
ochosiis there anything i can do to debug this?13:44
sconklin@pilot in13:44
=== udevbot changed the topic of #ubuntu-devel to: 12.04 Beta 2 Released! Precise: UI and feature freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/xmGdCW | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: sconklin
kenvandineochosi, i am triaging it so the indicator-messages upstream sees it13:45
ochosikenvandine: thanks!13:46
ochosiit'd be pretty great to get this fixed in time for precise, it's a highly obvious and annoying bug13:46
ochosiand it affects ubuntu-studio and mythbuntu as well13:47
* astraljava emerges13:47
astraljavaWhat's that?13:47
pittijibel: hooray, adt-upower succeeded now13:47
ochosiastraljava: https://bugs.launchpad.net/ubuntu/+source/xubuntu-artwork/+bug/95614713:47
ubottuLaunchpad bug 956147 in Messaging Menu "thunderbird message indicator icons" [Medium,Confirmed]13:47
ochosiastraljava: if you can help me following up on that, that'd be great13:48
pittijibel: could you please restart jockey, too? fix is in teh archive13:48
kenvandinetedg, did you see bug 956147?13:48
astraljavaochosi: Whoopsie... I hadn't even noticed. Sure, I'll do what I can.13:48
tedgHmm, there shouldn't be icons there.13:50
tedgThey should be blank space.13:50
ochositedg: as long as thunderbird is not running, there are no icons (i.e. everything is fine)13:51
kenvandinetedg, right... so something weird with the gtk2 builds13:51
kenvandinetedg, and notice in the screenshot it is evolution13:51
kenvandineso it seems to affect both13:51
tedgkenvandine, I think you have your default mail client set to Evolution :-)  "Mail" is default client13:52
kenvandineoh13:52
kenvandineok13:52
kenvandine:)13:52
kenvandinetedg, i reproduced it with the indicator-loader13:54
tedglarsu, Have you seen bug 956147 ?  Seems to happen in the GTK2 version.13:54
ubottuLaunchpad bug 956147 in Messaging Menu "thunderbird message indicator icons" [Medium,Confirmed] https://launchpad.net/bugs/95614713:54
kenvandineevolution has the missing icons now13:54
kenvandinetedg, so does "Update Status" under gwibber13:54
larsutedg, I'll have a look at it in a bit (doing the blacklist thing right now)13:55
apw@pilot in13:57
=== udevbot changed the topic of #ubuntu-devel to: 12.04 Beta 2 Released! Precise: UI and feature freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/xmGdCW | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: sconklin, apw
bigonslangasek: hey, I'm looking at your multiarch patch for libcanberra, and it seems that libcanberra-gtk-module and libcanberra-gtk3-module are not really m-a14:13
bigonas you are installing files in no m-a paths14:16
=== tyhicks` is now known as tyhicks
=== Quintasan_ is now known as Quintasan
smoserlool-, around ?14:32
PaoloRotoloHi all!14:34
smoserlool- so i don't forget.  if/when you see this, my query was about linaro use of s3 mirrors, and if they've had issues.  we believe we've found and fixed the last issue in bug 94846114:35
ubottuLaunchpad bug 948461 in cloud-init (Ubuntu Hardy) "apt-get hashsum/size mismatch because s3 mirrors don't support http pipelining correctly" [High,Triaged] https://launchpad.net/bugs/94846114:35
=== bladernr_ is now known as bladernr_afk
tgardnercjwatson, does the debian installer need to be rebuilt before linux-firmware udeb updates are incorporated into the ISO ?14:49
=== doko_ is now known as doko
slangasekbigon: hi, how do you mean, "not really m-a"?14:54
bigonslangasek: well it was a misunderstanding that you can actually have bitwise identical files outside of /usr/share/doc/<pkgname>14:57
slangasekbigon: ah, ok14:58
cjwatsontgardner: scsi-firmware yes, nic-firmware no14:58
tgardnervjwk, thanks14:58
tgardnercjwatson, ^^14:58
=== stgraber changed the topic of #ubuntu-devel to: 12.04 Beta 2 Released! Precise: UI and feature freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: sconklin, apw
lool-smoser: I seem to recall repsonding to an earlier query on the topic, but I don't remember who had asked me; in any case, I have been moderately using the S3 mirrors and didn't have any issue with them; they worked fast and reliably in my personal experience15:15
=== lool- is now known as lool
=== tobin is now known as Guest31547
cjwatsonsmb: OK, so I have a bit of a problem here15:55
cjwatsonsmb: I've backported an upstream patch which I'm pretty sure fixes this problem, and it certainly makes grub-install work again15:56
smbcjwatson, ok...15:56
cjwatsonsmb: however, when I install that, it doesn't boot15:56
cjwatsonsmb: now normally this would make me give up and revert the whole thing15:56
cjwatsonsmb: except, when I install 1.99-18ubuntu1, that doesn't boot for me either in this environment15:57
cjwatsonsmb: so I'm pretty sure this is a local problem.  Could you try out the packages I've built?15:57
smbcjwatson, sure.15:57
smbwhere ?15:57
GrueMastercjwatson: Morning.15:57
* smb meant where can I find the packages...15:58
GrueMasterHere is a syslog from this morning's attempt.  The system is sitting at a prompt failing to mount /boot.  http://paste.ubuntu.com/913180/15:58
cjwatsonsmb: just copying them up now15:59
cjwatsonGrueMaster: could I have the current recipe to go with that?16:00
cjwatsonpreseed file, I mean16:00
GrueMastercjwatson: http://paste.ubuntu.com/913187/16:01
cjwatsonsmb: http://people.canonical.com/~cjwatson/tmp/grub2/ - let me know if you need amd64 and I can build that16:02
smbcjwatson, Yes, the box here is 64bit16:02
cjwatsonsmb: OK, ETA <30m16:02
smback16:02
=== deryck is now known as deryck[lunch]
GrueMastercjwatson: Where would I find what options partman is trying to mount /boot with?  That appears to be the failure (according to syslog).16:12
cjwatsonGrueMaster: mm, something's odd here, I want to trace this a bit16:15
GrueMasterLet me know what I can run to help.  I have a system sitting at that failure, and I have ssh access.16:15
cjwatsonit looks for all the world like an attempt to mount ext4 as ext316:17
cjwatsonwhat I don't yet know is why16:17
cjwatsonoh, blah16:18
cjwatsonGrueMaster: sorry about this - change "format { }" to "format{ }"16:18
cjwatsonas a result of that it wasn't formatting /dev/sda1, so you got whatever was there beforehand, which was apparently ext416:19
cjwatsonit's not the world's smartest parser16:19
GrueMasterAh.  Let me respin with that.  Good eye.  I've been staring at partman recipes since Friday, getting a little buggy.  :P16:20
GrueMasterYAY!  Seems to be going through.  Now installing base system (which means partman, while still grumpy as all hell, is satisfied for the moment).16:25
cjwatsonphew16:25
cjwatsonsorry that was opaque!16:25
cjwatsonthe parser badly needs (a) a test suite (b) a rewrite, in that order.16:25
GrueMasterAnd (c) Decent documentation.16:26
cjwatsonThat wouldn't hurt.16:26
GrueMasterThanks for your help though.  I really appreciate it.16:26
cjwatsonYou're welcome16:27
cjwatsonHopefully that will cover the problems on all your machines ...16:27
GrueMasterNow to figure out why 2 of the 3 systems is complaining about base system installation (3rd is almost finished).16:27
cjwatsonsubarch-specific?16:27
cjwatsonthough base-installer should support all the subarches in question.16:28
GrueMasterAll three are pandas.  Exact same makeup.  And they are all pulling netboot & preseed from the same location.16:28
GrueMasterOnly diff is mac address/ip.16:28
GrueMasterProbably a network glitch.  I've seen it before.  Just need to kick the fenders.16:29
GrueMastercjwatson: Of lesser concern is the lvm naming.  In my recipe, I have Test-LVM as a blank area.  The finished product names it Test--LVM.  Not sure where the extra "-" is from, and it doesn't hurt (I plan on renaming that partition before production anyways).16:34
=== dendrobates is now known as dendro-afk
smoserroaksoax, join #ubuntu-server16:39
roaksoaxlol o'm there :)16:40
cjwatsonGrueMaster: That's a devmapper requirement.  It uses "-" as a separator, so "-" gets escaped to "--".16:41
cjwatsonThough it should generally still be presented as "-", unless you're looking in /dev/mapper/ directly.16:42
GrueMasterOk.  Like I said, it isn't really a concern.  I plan on renaming that partition in my local systems anyways, to match the arm server testing environment.16:44
=== bladernr_afk is now known as bladernr_
bdrungdoko: bug #97262516:54
ubottuLaunchpad bug 972625 in gccgo-4.7 (Ubuntu) "Can't install gccgo-4.7 in precise" [High,New] https://launchpad.net/bugs/97262516:54
dokoouch16:55
smbcjwatson, Ok, so for my system the updated grub packages fix the error on running grub-install and boot ok16:58
cjwatsonbrilliant16:58
cjwatsonI was just about to tell you that the amd64 binaries were up ...16:59
cjwatson(I missed them finishing for 20 minutes.)16:59
smb:) Have been polling for them to appear because I got to leave soon.16:59
cjwatsonOK.  I'll get that uploaded then; it'll actually be -21ubuntu1.16:59
cjwatsonthanks!16:59
smbAh, ok. The I get them replaced when they are up. Thanks for resolving that so quickly17:02
cjwatsonYeah, you would have done anyway actually since apt will reinstall even same version when the checksums differ.17:04
k-rAd-what is the email address for ubuntu selinux department ?17:07
hrwfun during oneiric->precise upgrade:17:07
hrwlocale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by locale)17:07
k-rAd-i wish to lend a hand17:07
hrwlocale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by locale)17:07
=== deryck[lunch] is now known as deryck
slangasekhrw: should be a non-fatal warning (which is why we haven't dug into it)17:08
micahgk-rAd-: there isn't really one, you can try in #ubuntu-security though17:08
k-rAd-thank you17:08
hrwslangasek: its non-fatal17:08
dobeyhey all17:14
=== dendro-afk is now known as dendrobates
dobeyif i have a change which is related to a bug, but doesn't fully fix it for all cases, what's the best way to reference that in the changelog so lp doesn't auto-close the bug? is there a regex somewhere for what the server does, which i can match against to check my changelog?17:16
slangasekdobey: the regexp is applied in dpkg-genchanges, not on the server; you can examine your .changes file prior to upload to see if there are launchpad bug references17:17
slangasek(I don't remember the field name off the top of my head, but grep for Launchpad :)17:17
dobeyok17:19
dobeythanks slangasek17:19
cjwatsondobey: I usually use 'LP #nnnnnn', omitting the colon after LP.17:21
dobeycjwatson: thanks, i'll try that17:22
apwcjwatson, load_video, can i tell if that worked?17:27
apwcjwatson, in grub2 .cfg files ...17:27
cjwatsonEOD, sorry17:28
cjwatsonsuggest you RTFS as I don't know off the top of my head anyway :)17:28
apwcjwatson, np :)  will do ... have a good one17:28
cjwatsonprobably depends what you mean by "worked", given it's graphics17:29
=== fabo__ is now known as fabo
=== tgardner is now known as tgardner-lunch
=== tgardner-lunch is now known as tgardner
=== dendrobates is now known as dendro-afk
apwcjwatson, yeah indeed, thats another wrinkle... i think we have enough info to avoid the question and for where we are in the cycle thats safest ... i'll brief you when i have the paired changes ready for thinking about committing18:18
apwslangasek, did you have a machien which had the broken handoff behaviour ?18:19
apw@pilot out18:21
=== udevbot changed the topic of #ubuntu-devel to: 12.04 Beta 2 Released! Precise: UI and feature freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: sconklin
rlaagerI maintain various packages in a private repository and a few PPAs. Is there a way to flag them so apport doesn't offer to send a report to Launchpad when, for example, their postinst fails?18:22
dobeyrlaager: it should not be doing that anyway, as they are not official ubuntu packages18:23
rlaagerdobey: I'm on Precise and it just did.18:23
slangasekapw: remind me which broken handoff behavr we're talkig about?18:23
* slangasek stabs kvm in the face. Give me back my keyboar interrupts.18:24
dobeyrlaager: is it a bug about the installation of your package, or the removal of an official ubuntu package, while installing your package which replaces the official one?18:24
rlaagerdobey: The postinst for my package failed on installation. This particular package, at least, did not cause any official packages to be removed.18:25
apwslangasek, there are two triggers, (broken graphics cards in grub, or encrypted root so no way to do graphics), but with nouveau i think and psb graphics crossing from grub in text mode but with 'vt.handoff=7' triggers black screens of doom, double ESC sometimes helps sort of thing18:25
apwslangasek, i am sure you were bugging me about something similar18:26
slangasekapw: ah right, that one18:26
apwslangasek, and i have potential fixes in the works which i'd like to get tested once they are packaged18:26
apwand you are awake :)18:26
slangasekapw: I have a box with nvidia graphics here for testing, but I haven't tried to reproduce this yet18:26
tgardnerapw, I've got one for the nVidia problem18:27
apwtgardner tells me his box hits the issue, with nvidia ... :)18:27
apwsee18:27
apwok will start with tgardner and expand from there18:27
dobeyrlaager: ah sorry, i misread. apport will offer, but it will fail because it's not an official package. i don't think there is any way to prevent that in package metadata itself18:27
tgardnerapw, guess I'll get it back in that state again....18:28
rlaagerdobey: Okay. Well, I'll just have to make less buggy packages. ;)18:30
dobeyyes :)18:30
apwslangasek, in your inbox is an email 'On vt.handoff' which has the details of what I would like to test19:08
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
infinitySomeone remind me which bit I need to double-check to make sure my headless/remote machine will reboot with a degraded RAID?20:13
infinityMaybe I should just fix the disk and rebuild the array before I try rebooting. :P20:14
stgraberinfinity: mdadm/boot_degraded20:16
stgraberinfinity: that and make sure you have grub in the mbr of the working disk20:16
infinitystgraber: grub *should* be correctly installed to both disks.20:18
infinitystgraber: But thanks for the boot_degraded pointer.  I'm pretty sure I answered that at install, but wanted to be sure.20:18
rlaagerSecurity Question: /usr/bin/at is currently permissioned "6755 daemon daemon". Doesn't that make it possible, if there's a bug in at, for a regular use to run at, which could be used to overwrite itself, leaving evil code for root to run later on? In other words, wouldn't 6555 be better?20:19
infinityrlaager: Can you file a bug?20:29
infinityrlaager: But yeah, potentially true of any non-root suid binary, I suppose.20:29
* infinity wonders how many of those we have...20:30
rlaagerI think at is the only one (in a <= desktop install, which is what I have).20:31
=== eights is now known as Guest26030
infinityrlaager: The real bug could be that it should be 2755 root:daemon instead.20:32
rlaagerinfinity: The changelog documents the intention to be suid daemon.20:32
infinity(See: mlocate, wall, ssh-agent, etc)20:32
rlaagerI have some permission limiting code that I've carried forward forever. It was originally from the bastille script. I was just auditing it to see what it actually accomplishes any more. It was basically that, removing setuid from mount/umount (these are servers, so there's no need for users to mount filesystems), and dropping read permissions from ELF binaries (which seems of dubious value).20:32
infinityrlaager: Sure, but perhaps sgid would be enough.  Dunno.  Either way, bug report please. ;)20:33
rlaagerinfinity: Should I subscribe the Ubuntu Security Team or not?20:35
infinityAhh, kay, so the changelog details why it needs to run as daemon (to signal atd), but it also claims it's installed 6555.20:36
infinitySo, it might just be a packaging error introduces later that made it 6755.20:36
infinityI see no mention of the change.20:36
infinityrlaager: If it's in previous releases as well, yeah.  This would probably warrant an update.  It's not exactly a massive exposure window (or, possibly, not one at all, if at is bug-free), but it's a security bug nonetheless.20:37
infinityThe part where it does everything internally sgid, though, and only needs daemon to signal itself seems like something that cuold be fixed.20:38
* infinity shrugs.20:38
psusicjwatson: is installing grub to partitions supposed to be supported in Ubuntu or not?  I thoguht it wasn't, but the debconf screen for grub-pc has a note saying it is possible, but doesn't actually give the partitions as a choice20:39
=== ajmitch_ is now known as ajmitch
=== salem_ is now known as _salem
vanhoofsuperm1: ping21:04
superm1vanhoof: hi21:05
vanhoofsuperm1: alberto mentioned a change for dkms that he recently proposed that you ack'd, just curious when we might see a new dkms upload?21:05
vanhoofsuperm1: not sure if you have other bits to factor in first :)21:05
superm1vanhoof: i was hoping to do another release first, but I could just test that patch and do an upload to ubuntu this week in case I don't get around to another release in time for next freeze21:06
vanhoofsuperm1: cool, that would be awesome if you could :)21:06
superm1sure, will plan to do that21:07
vanhoofsuperm1: thanks Mario21:10
cjwatsonrlaager: I'm not sure I see how 6555 could help.  A process whose effective UID matches the owner of a file can chmod that file.21:37
cjwatsonNon-owner-writability is more a safety catch than an effective security measure.21:37
cjwatsonThat said, writing to the file as daemon will clear the set-user-id bit, IIRC.21:40
nailoracould one of you make  bug #954895 public if possible21:45
ubottuError: Launchpad bug 954895 could not be found21:45
Laneynailora: done21:49
rlaagercjwatson: Good point. I was actually hoping for "you're missing X" as the answer, so I could drop that from my configuration.21:51
=== mrpouit is now known as mr_pouit
rlaagercjwatson: Are you confident enough in that answer to (tell me to) close the bug?21:57
cjwatsonrlaager: I'm not confident that it isn't an issue, just that 6555 wouldn't help. :-)22:04
cjwatsonOr at least seems to have some problems as a solution.22:04
=== jtechidna is now known as JontheEchidna
rlaagerCan someone please re-open #570542? It has multiple comments confirming the bug is present in Maverick final, Oneiric, and Natty and #658461 has been marked as a duplicate of it.22:31
micahgrlaager: you should talk to the kernel team (#ubuntu-kernel)22:34
jonoI wonder if anyone can help with this? I am trying to generate a .pot file from a .desktop file that has underscores before each key - I created po/POTFILES.in with the file in it and have run 'intltool-update --verbose --pot --gettext-package=foobar' but it says 'None of the files in POTFILES.in contain strings marked for translation.' - which is odd as the .desktop does have the underscores before the strings22:43
jonoany idea?22:43
cjwatsonI bet there's more output than that22:44
cjwatsonalso are you running that in the right directory?  I think you normally want to run it in po/22:45
jonocjwatson, I am running it in po/22:45
jonocjwatson, I will pastebin the full output22:46
cjwatsonMaybe it would be quicker to debug from a tarball22:46
jonocjwatson, http://pastebin.ubuntu.com/913809/22:47
jonocjwatson, I can put that together if you prefer22:47
cjwatsonyeah, that would be easier22:48
jonothanks cjwatson, one sec22:48
jonocjwatson, I emailed it to you22:49
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
cjwatsonjono: move foo.desktop to foo.desktop.in and make the same change in POTFILES.in23:11
cjwatsonit's not actually a valid .desktop file when it has the translation prefixes in it - it needs to be run through intltool-merge first23:12
cjwatsonsorry, I don't really mean first, you'll do that afterwards23:12
cjwatsonanyway the rename to .in makes it work23:13
dokobdmurray, do you have a lp script which takes a list of debian bug reports, files corresponding ones in lp, and links the debian reports?23:13
tumbleweeddoko: there's one in ubuntu-dev-scripts import-bug-from-debian (single bug, though, but that's easily scripted around)23:16
tumbleweederr ubuntu-dev-tools23:16
=== dendro-afk is now known as dendrobates
dokotumbleweed, thanks, I'll have a look23:20
tumbleweedoh, it does do multiple bugs23:20
jonothanks cjwatson, sorry was on the phone23:29
jonoso it requires the .in extension23:29
jonothanks23:29

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