=== rickspencer3_ is now known as rickspencer3 [01:51] God morning [01:51] Good* [02:04] cody-somerville, soren if you're interested, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1136781 describes the issue i was seeing. [02:04] Launchpad bug 1136781 in linux (Ubuntu) "partx information not cleared on loop device detach" [Undecided,Incomplete] [03:57] smoser, thanks for subscribing me to the bug report about loop partitions not being cleaned up after detach.. I duped it against the one I filed at the tail end of 2011 with patch attached ;) [03:57] nice [03:57] psusi, i jsut committed the 'update' spuport to growpart [03:57] but now realize it has an issue. [03:58] sfdisk is annoying. [03:58] it insists on calling the re-read blockdevice action [03:58] which fails [03:59] if there is a mounted partition on the block device [04:01] psusi, can you think of anything clever that i can do to avoid that ? [04:01] outside of patching sfdisk to actually not invoke the reread ? [04:01] smoser, and growpart runs sfdisk to make the change? can't you just ignore that error and then run kpartx -u or invoke the ioctl directly? [04:02] well, i can't just ignore the error, becauase i can't differenciate the error from any other. [04:02] smoser, you could use parted instead and it will take care of both steps ;) [04:03] this is true. [04:03] funny, sfdisk actually has a '--no-reread' flag. [04:03] https://code.launchpad.net/~psusi/ubuntu/raring/parted/resize [04:03] which, one might think would say "do not issue re-read" [04:03] but it doesn't mean that. [04:04] it only means "dont issue it before re-writing partition table as a safety check" [04:04] build/install that ( build copy in my ppa ) and you can just parted /dev/sda resizepart 1 100% [04:04] that is pretty nice.. [04:05] that is really nice, psusi [04:05] you think that's nice, you should play with my patches for gparted to do online expand and shrink ( shrink on btrfs only ) [04:06] grab root partition, make bigger.. make smaller... apply, done.. [04:07] I was using parted this week to resize my partitions on my server that were components of a raid5 array to shrink them down, use the new space to make partitions and build them into a raid0 array, all without rebooting with root on lvm on the original raid5 [04:11] psusi, can i use parted command line to do what i want ? [04:11] (without your patches) [04:11] smoser, need my patches [04:11] ie, can i have it just write the partition table the way i want it to [04:12] all i need it to do is write the table [04:12] and *not* call 'reread' [04:12] you could make it write a new table without my patches, but you would have to explicitly rm the existing partition, then create a new one, then ignore the error syncing the table [04:13] which means grepping for that specific message in the output and choosing to ignore it [04:13] :-( [04:13] so, better to just use my patches ;) [04:13] much easier to just say parted /dev/sda resize 1 100% and be done with it [04:14] err, resizepart, not resize [04:14] ( the old resize command also tries to resize the fs, which won't work and has been removed ) [04:14] right. [04:15] whats the situation with your patches? [04:15] so you just do the resizepart, it fixes the partition table, fixes the in kernel partition table, then you run resize2fs and you're all set [04:15] you've submitted upstream, but they're not accepted because its languished at the moment? [04:15] i'm just afraid of pulling code that isn't upstream. [04:16] the situation is that parted is in a bit of limbo atm... the old maintainer has left redhat and no longer seems to have time to work on it.. he appointed me and another as co-maintainers... my patches have been sitting in limbo thus far... at some point I'm going to have to give up on waiting and push them and make a new release if the original maintainer and my new fellow co-maintainer don't have time [04:17] hmm.. [04:18] my patches were initially based on some rough work by peter uzel who I have been hoping will find the time to review my improvements, add a bit better commentary to his original patches that I started with, add a few more test cases, and then we could move forward [04:19] Good morning [04:19] you have an ubuntu bug for this? [04:19] the original maintainer asked him to be a third co-maintainer but he said he didn't have time for that responsibility [04:19] a bug for which part exactly? ;) [04:20] pitti, morning Martin [04:22] smoser, so far the only concern raised since posting the original patch set to the parted mailing list way back when has been resolve... that was that originally the new command was resize, which is the same command that used to also resize the filesystem contained within the partition, so I changed the new command to resizepart to avoid the conflict [04:22] psusi, just a "please pull this patch" bug. [04:23] right. i remember that. [04:23] in the upstream patches, I also added a "resize" command that yells at you for trying to use a removed command and exits with failure to catch scripts using the old command... when I backported it to Ubuntu, our old parted still has the original resize command so I left that part out [04:24] of course, our old resize command basically doesn't work worth a damn, which is why it was removed upstream [04:24] which is a shame, and something I hope to fix at some point.... [04:57] psusi, is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899717 fixed upstream? [04:57] Launchpad bug 899717 in linux (Ubuntu) "[PATCH] Loopback device partition cleanup on detach" [Medium,Triaged] [05:00] smoser, afaik, it never got applied upstream... I'll have to repost it [05:06] well, psusi i'm sure i've lost some of your respect. [05:06] http://bazaar.launchpad.net/~cloud-utils-dev/cloud-utils/trunk/revision/219 [05:07] I can't believe it's been that long... time flies when you have a newborn [05:07] that seems reasonable as a "we'll do this right with parted at some point" [05:07] now 1 year old today... sheesh... [05:07] well happy birthday. [05:07] well, yesterday I guess since it's after midnight [05:07] happy march 1st [05:10] smoser, yea, you can either detect the sfdisk error from trying to BLKRRPART and run partx -u, or instead you can just apply my parted patches, and run parted /dev/sda resizepart 1 100% instead [05:11] or /dev/xvda for xen [05:12] am I the only one who cannot see https://blueprints.launchpad.net/ubuntu/+spec/release-r-monthly-snapshots ? [05:12] it keeps coming up in the u-devel@ thread, but nobody except me seems to complain [05:12] pitti, gives me the lost something page [05:13] ok, thanks for confirming [05:13] I was just wondering as at least wendar and ScottK seem to be able to see it [05:13] pitti: I can't see it now. I could before. [05:14] pitti: gone for me too [05:14] pitti: though I still have it open in another tab [05:14] thanks for confirming [05:15] ok, wife says it's time for bed.. night all [05:15] night psusi [05:15] So if this whole process had been a model of transparency, I'd probably credit it to an LP glitch. === BruceMa is now known as BruceMa_afk [05:19] maybe someone got mad since I added a comment to the whiteboard :-/ [05:22] slangasek: ^^ know anything about the blueprint disappearing? [05:23] or maybe it got renamed? [05:24] hm no, still first result on https://launchpad.net/+search?field.text=monthly+snapshots [05:24] curious that I can see it in the search results, but not the page itself [05:24] ScottK: well, I certainly hope it wasn't deliberate to hide the page now [05:24] with Rick's discussion kick-off this wouldn't make any sense [05:25] People sometimes make poor choices under stress. [05:25] No idea really. === mainerror_ is now known as mainerror [05:40] slangasek: nevermind [05:40] blueprint here: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots [05:41] * micahg hugs wgrant for finding it [05:44] (I found it by searching for 'rolling' on https://blueprints.launchpad.net/ubuntu, which unlike the global search page doesn't rely on Google to have updated its index) [05:44] right, I was thinking to do that, but it's late here :) [05:48] So is the secret sauce for spec naming public? [05:49] * micahg would think track-UDS_Code-Name_Goes_Here [05:49] That seems to be it. [05:53] What does client mean as a track? [05:53] Is there a list of tracks? [05:53] ScottK: http://summit.ubuntu.com/uds-1303/ [05:54] So "Ubuntu" is now reduced to "Client" at an Ubuntu Developer Summit. [05:54] I would guess client == the old desktop track + mobile and tablet [05:54] Hence the lack of a desktop track. [05:54] And platform [05:57] Ah, I see it's downgrades all around. No sabdfl for the intro either. [06:08] TBH I'm still rather sceptical about hangouts [06:09] their limit to 10 people and its rather bad audio quality don't seem to make it a first choice for a virtual summit [06:09] the live on-air videos work really great, but don't allow participating [06:10] The plugin also has a bad habit of hanging any browser I throw at it :) [06:10] but I guess we have to try with something and then see how it goes [06:10] I yet have to find something which scales as well and is as robust as mumble [06:12] why can't we use mumble? [06:12] so https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots is the "monthly" thing, do we have a spec for "rolling release" where we can bring up things like library transitions, ARM PPA builders, and the like? [06:13] micahg: I guess we could; I just seem to remember having heard "hangout" [06:13] well, Canonical folk seem to be keen on hangouts, but 10 people at a time seems to be quite limiting [06:13] video is nice [06:14] sure, but personally, I'd rather have 100 people on audio and have people raising their "hands" in an IRC channel than video limited to 10 people [06:14] so audio-only in mumble would make the experience even worse (compared to IRL) than with hangout, but that won't help much if most of the listeners can't talk/show up at all [06:14] *nod* [06:51] * tumbleweed *really* dislikes that use of the word client [07:14] ScottK: naming for the blurptints is on the wiki. https://wiki.ubuntu.com/UDS/Create#Filling_Out_the_Blueprint_Fields [07:15] Laney: am still getting promted for partial upgrades again today. [07:16] arges: Hi, regarding bug 1074923, my debdiff also included a cleanup of the debian-changes which were maybe done unintended. Could you have a look again? Thanks! [07:16] bug 1074923 in iptables (Ubuntu Quantal) "iptables-save doesn't write --hex-string pattern correctly" [Medium,In progress] https://launchpad.net/bugs/1074923 [08:52] does somebody know where https://blueprints.launchpad.net/ubuntu/+spec/release-r-monthly-snapshots moved too? I get a 404 [08:53] geser: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots [08:53] thanks === doko_ is now known as doko [09:00] geser: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots [09:06] czajkowski: you said it worked yesterday? === henrix_ is now known as henrix === dusty42_ is now known as dusty42 === smb` is now known as smb [10:21] I'm not considered a developer on the ubuntu-devel list. Is that a strict category? I'm a developer for Ubuntu Studio, but not a "Ubuntu Developer" [10:21] I'm referring to the list being moderated [10:22] cjwatson: You're the list admin, right? [10:26] zequence: My guess would be "someone who has upload rights to at least one package" [10:26] But that's just a guess === dusty42 is now known as ddsstt [10:33] zequence: The category is "member of the ~ubuntu-dev team" [10:33] (Plus case-by-case whitelisting) [10:34] I've accepted your post in any case [10:39] cjwatson: Thanks [10:50] * mpt is disappointed to discover that en-GB doesn't translate "Display every two weeks" as "Display fortnightly" [10:54] mpt: I guess its LC_TIME also doesn't display 16:00 as "teatime"? [11:00] pitti: yeah and 11am as elevenses speaking of which. [11:00] * xnox goes to make tea. === fisted_ is now known as fisted [11:06] mpt: which package? [11:07] mpt: seems like a bug cause it's "Every fortnight" for one string but not the other. [11:09] fixed, should be part of next lang-pack update. [11:10] see how fast we are to fix critical bugs? === tkamppeter_ is now known as tkamppeter [11:11] I'm sure some people will find controversial for eastern european translating software into English GB locale. Something to do with taking away jobs from british or the like. [11:11] * xnox likes the fact that en_gb translation team is an open one. [11:12] that's what we're like over here [11:34] haha [11:35] xnox, and now we've got you suckered in to hacking software-properties-gtk, we'll get you to port it to a gnome-control-center panel [11:35] You know, just while you're there. [11:35] Wait why does it need british translations? [11:36] Because America and Britain are divided by a common language [11:38] mpt: I totally did in launchpad with no source code branches locally =)))) [11:38] Amerian English is the most different English though, most of the English in the rest of the world is pretty similar. [11:42] Be that as it may, Ubuntu is translated out of American English into other languages and variants, including en_CA, en_GB, en_AU, and even en_NZ. [11:44] ogra_: any ideas on why this nexus won't talk to a computer any more? plugging in usb all I get is this in syslog "unable to enumerate USB device on port 2" http://paste.kde.org/684758/ [11:44] Riddell, is it charged ? the n7 HW behaves very odd on low battery [11:45] ogra_: maybe not, should I just leave it plugged in and hope it fixes itself? [11:46] you need to charge it ewith the wall charger, an USB port of the PC only provides 500ma, thats about as much as the device actually usue when on [11:46] the charger should provide something like 2A or above [11:46] oh that might explain it, how unintuitive [11:47] well, its fine if you have a desktop running that properly tells you the battery is low :) [11:47] fi you dont have any measure because working on cmdline all the time or flashing over and over, it will fall over [12:12] Riddell, ogra_: it will charge from the pc but an entire day gives you about 37% battery charge iirc, from the wall will do it in about 1hour or so [12:13] right, and if it runs while you charge it largely eats all that comes from the PC [12:13] i would be surprised if more than 100mA get into the battery === iulian_ is now known as iulian [12:48] bdmurray: http://reqorts.qa.ubuntu.com/reports/rls-mgr/rls-r-tracking-bug-tasks.html seems to have lost its mind^Wteam mapping [13:06] jodh: it's not like infinity and I compete on a number of badges, but it is one he doesn't have yet ;-) [13:08] * Laney blinks xnox [13:10] * xnox Upstart Developers, Joined 17 minutes ago [13:10] very fancy [13:10] xnox: :-) [13:15] xnox, hum, can we trick you in doing extra desktop work if there is a chance to get a nice badge for it? :p [13:16] seb128: maybe... [13:16] ;-) [13:16] Laney, quick, find some work for xnox! [13:17] * xnox finds no artistic value in a haskell badge, just saying. [13:18] seb128, a badge and a virtual beer at the virtual UDS [13:18] vitually ... [13:18] ogra_: Nothing like that virtual German beer. [13:18] ++ [13:19] carlsberg probably the best virtual beer in the world [13:19] lol [13:20] Better than actually drinking it for real [13:20] * xnox doesn't like beer anyway and not many places have cider outside of the Isles. [13:20] cjwatson: objection! === Nafallo_ is now known as Nafallo [13:21] pitti: I'm sure we can find some common ground, just not with Carlsberg :) [13:21] pitti: you can raise that objection... virtually =))))) [13:21] cjwatson: ah, that I can agree with :) I thought you meant beer in general [13:21] Oh, goodness me no [13:22] . o O { merci dieu c'est vendredi } [13:22] sooo. people will stop owe each other beers now? :-) [13:22] Nafallo: offlicense stores in UK accept orders over the internet with home delivery. [13:23] I tried pouring some into a hangout, but it didn't go well [13:23] even though I served it on a tablet! [13:23] you didnt use the Gfunnel then [13:24] only works with google provided devices :) [13:24] pitti: did it come with phablets as little salty snacks to go with beer? [13:24] xnox: here have a badge: https://launchpad.net/~desktop-bugs [13:24] xnox: truth... but that would totally exclude Swedish people [13:24] xnox: that might have been the problem === _salem is now known as salem_ [13:50] xnox: drinking virtual beer during a virtual UDS? [13:50] virtually yes [13:51] that's virtually a joke [14:00] czajkowski, ping [14:02] Hi, I am trying to backport LibreOffice 4.0.1 to Precise and got this error "ERROR: error 512 occurred while making /build/buildd/libreoffice-4.0.1~rc1/tail_build/prj" [14:02] Any hints what is the issue? [14:03] The last output before the error is "[build LNK] Executable/idlc make[4]: *** No rule to make target `/build/buildd/libreoffice-4.0.1~rc1/src/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz', needed by `/build/buildd/libreoffice-4.0.1~rc1/workdir/unxlngi6.pro/UnpackedTarget/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz'. Stop." === wedgwood_away is now known as wedgwood === kentb-afk is now known as kentb === jono is now known as Guest6133 === jmp is now known as Guest89697 === Guest89697 is now known as _jmp_ === jbicha is now known as Guest7800 === Guest7800 is now known as jbicha_ === mnepton is now known as mneptok [17:10] cjwatson, pitti, soren, stgraber, kees, mdz: can one of you add me to ~uds-organizers? I'm going to be track lead together with Jono for the community track - cjohnston made the other necessary changes in summit already [17:14] dholbach: doing that now [17:14] thanks stgraber [17:14] dholbach: done [17:14] thanks a bunch === francisco is now known as Guest98890 [17:41] what's the URL for rootfs tar balls? [17:43] zyga: ping [17:43] Nm, found it [17:43] cjohnston: hey [17:44] zyga: your blueprints don't follow the correct naming convention, and more than likely won't get scheduled unless they are fixed. [17:45] cjohnston: where is the naming convention announced? [17:45] cjohnston: and is renaming them the only required thing? [17:45] https://wiki.ubuntu.com/UDS/Create the naming convention is the same as its always been.. and yes [17:46] jodh: ^ [17:47] cjohnston: the naming convention differs each time as in $CURRENT_PREFIX-$THE_STUFF_I_CARE_ABOUT [17:47] cjohnston: thanks for the tip though [17:47] * zyga finds it totally silly that this is even important [17:47] cjohnston: so which should I select, my blueprint fits the first three options (client, servercloud and community) [17:47] --, is how its always been [17:48] cjohnston: where track and cycle are totally irrelevant (launchpad knows which sprint I target it for) and I only care about name, the rest is arbitrary limitation from the scheduling system. [17:48] cjohnston: but let's get back to the point [17:48] zyga: that I couldn't tell you.. I would think probably client, but I am not sure.. [17:48] cjohnston: ok, I'll pick client [17:49] your more than welcome to come up with another way for Summit to randomly guess which track it should be for if you don't like the naming convention requirement [17:49] cjohnston: thanks for the help and don't get my comments personally, I'm just pointing out the absurd abehind some of those choices [17:50] cjohnston: renamed [17:50] cjohnston: is http://fridge.ubuntu.com/2013/02/26/ubuntu-developer-summits-now-online-and-every-three-months/ or http://summit.ubuntu.com/ right wrt times? [17:50] I don't know of any other way to make summit guess which track it should be for. And since we use tracks, it has to be assigned to one. [17:50] I assume the latter [17:50] Laney: 1400-2000 [17:50] rararrhgh [17:50] who can fix the fridge post? [17:50] I just pinged jono_ [17:51] someone should correct me on -devel :-) [17:51] the fridge post is updated [17:51] cjohnston: I guess the trakc is something I could select on the scheduler, the identifier is really an implementation detail but that's just IMHO [17:51] it was updated a few days ago [17:51] only the start time [17:52] jono_: "2pm UTC – 10pm UTC" [17:52] yeah fixing now [17:52] thanks [17:55] Laney, fixed [17:55] merci === henrix is now known as henrix_ === henrix_ is now known as henrix === deryck is now known as deryck[lunch] [18:14] cjohnston: when you say "always" ... :) [18:24] cjwatson: atleast as long as I've been involved in Ubuntu... :-P [18:26] cjohnston: IIRC we started using tracks in spec names for the Natty UDS [18:29] http://summit.ubuntu.com/uds-l/meeting/14749/server-lucid-puppet-etckeeper-integration/ it appears as though 'l' followed it [18:33] why do we have two blueprints for the same thing? [18:33] https://blueprints.launchpad.net/ubuntu/+spec/foundations-1303-logind-migration [18:33] https://blueprints.launchpad.net/ubuntu/+spec/client-1303-consolekit-logind-migration [18:33] jodh: ^^ [18:34] it would appear as such [18:37] mitya57: the 1st you mention can be deleted - summit failed to show either earlier, but now does :) [18:37] jodh: can you please mark the first one superseeded by the second [18:38] cjohnston: done. what happened to delete I wonder? :) [18:39] I don't remember there being a deleted [18:39] or delete [18:39] there may have been, I just never used it === henrix is now known as henrix_ === henrix_ is now known as henrix === henrix is now known as henrix_ [19:16] on ppc 12.10 when I do: qemu-nbd -c /dev/nbd0 raw.img and always says /build/buildd/qemu-kvm-1.2.0+noroms/nbd.c:nbd_init():L414: Failed setting flags [19:17] redo it right way: qemu-nbd -c /dev/nbd0 raw.img now it says /build/buildd/qemu-kvm-1.2.0+noroms/nbd.c:nbd_init():L382: Failed to set NBD socket [19:17] looks like the first command failed meanwhile left nbd0 unusable for later on commands [19:17] similar steps on x86 worked well === deryck[lunch] is now known as deryck [19:18] xxiao: (what was the difference between the wrong-way and the right-way?) [19:19] sarnold: sorry, i meant "right away" [19:19] xxiao: ah! :D [19:21] xxiao: does qemu-nbd by chance create sockets without using the SO_REUSEADDR socket option? [19:21] sarnold: don't really know yet [19:22] xxiao: in that case you may need to wait a little while for the socket to fall out the CLOSE_WAIT state (iirc) [19:22] sarnold: i waited 10 mins and it's the same :( [19:22] ioctl32(qemu-nbd:6441): Unknown cmd fd(13) cmd(2000ab0a){t:'\xffffffab';sz:0} arg(0000002d) on /dev/nbd2 [19:23] that's from dmesg when i do 'qemu-nbd -c /dev/nbd0 raw.img' [19:23] xxiao: eek [19:23] some ioctl thing? [19:24] both have "ii qemu-utils 1.2.0+noroms-0ubuntu2.12.10.2 amd64 qemu utilities" [19:24] ii qemu-utils 1.2.0+noroms-0ubuntu2.12.10.2 powerpc qemu utilities [19:25] xxiao: the error in dmesg seems to tell me something bigger has gone wrong, outside of my experience by a lot... (when I thought it was just tcp, well, that's one thing.. :) [19:57] tvoss: pong [20:06] anyone that has ppc machine can do me a favor. on 12.10 run qemu-nbd -c /dev/nbd0 raw.img? === Ursinha-afk is now known as Ursinha [20:49] per the suggestion from qemu guys, qemu-nbd 32bit running on 64bit kernel could have strange issues [20:57] http://paste.ubuntu.com/5577430/ strace qemu-nbd [20:58] xxiao: um, you can't strace sudo and expect it to do anything useful [21:02] http://paste.ubuntu.com/5577449/ [21:02] slangasek: thanks ;) [21:02] this time runs with root permission [21:03] http://paste.ubuntu.com/5577454/ x86 working version [21:03] * xxiao hopes to see a diff button on paste.ubuntu.com that can diff two pastes [21:03] xxiao: heh, the error may be happening on the other side of that clone() call [21:03] xxiao: strace -f :) [21:07] http://paste.ubuntu.com/5577466/ strace -f [21:09] aha now it got your error, line 676 [21:09] sarnold: right [21:09] ioctl 13 does not know the magic number 0x2000ab0a [21:09] seems like hand-coded magic # [21:10] that kernel has no idea? [21:11] I wonder, 0x20 is space, 0x00 is ascii NUL, 0xab is (nothing, really), 0x0a is a newline ... [21:11] kernel/include/linux/nbd.h [21:11] did not see that magic # of course [21:12] #define NBD_SET_BLKSIZE_IO( 0xab, 1 ) [21:12] hmm :) [21:12] #define NBD_SET_TIMEOUT _IO( 0xab, 9 ) [21:12] so they just bypass the define and directly supply the number to kernel [21:13] and kernel did not recognize [21:13] actually the kernel definition stops at 0xab, 9, so next one is ab0a then [21:14] maybe it is in newer kernel sources? [21:14] sarnold: checking that... [21:14] it is [21:14] let me check when it's in [21:14] #define NBD_SET_FLAGS _IO( 0xab, 10) [21:15] right, they moved it to uapi/linux/nbd.h [21:15] now i have to find out the ioctl call and back-port it... [21:18] yes it's in nbd.c, the driver [21:30] barry: thanks for working on command-not-found [21:38] slangasek: what kind of tests do we run before updating /current in the livefs builds? [21:38] zyga: np [21:41] hallyn: around? [21:41] lool: none, /current simply means the build succeeded [21:41] lool: none; in the case of livefs builds, if the build succeeds it's "current" [21:41] ok [21:43] I created my gpg key 2h ago and ran this command : gpg --keyserver keyserver.ubuntu.com --send-keys I still cannot import my gpg key on launchpad [21:43] Launchpad could not import your OpenPGP key [21:44] toordog: you need to pass the ID of the key to export [21:44] toordog: see man gpg [21:44] toordog: search for '--send-keys' [21:45] toordog: you may want to use seahorse, a graphical wrapper around gpg instead [21:45] i use console only [21:45] toordog: then send the key you created and launchpad will be able to import it soon thereafter [21:48] toordog: what key did you send? can you see it on any other other keyservers yet? https://sks-keyservers.net/status/ [21:48] ok, i think it's going to work, i didn't put the ID. [21:51] kees: what's up? [22:03] strange with a new kernel that built with that ioctl i'mstill getting the same error [22:04] #define NBD_SET_FLAGS _IO( 0xab, 10) [22:04] #define NBD_SET_FLAGS _IO( 0xab, 10) [22:04] #define NBD_SET_FLAGS _IO( 0xab, 10) [22:05] in ubuntu's qemu-utils, qemu-kvm-1.2.0+noroms/nbd.c [22:05] if (ioctl(fd, NBD_SET_FLAGS, flags) < 0 [22:05] failed, other similar code are shown like [22:06] ioctl(13, NBD_SET_SOCK, 0xa) = 0 [22:06] why the failing line shown as ioctl(13, 0x2000ab0a, 0x2d) = -1 EINVAL (Invalid argument) [22:07] not sure when the 0x2000ab0a happened, that does not happen to other args [22:07] wierd [22:08] I would expect it's something like ioctl(13, NBD_SET_FLAGS,0xa) = -1 EINVAL (Invalid argument) [22:08] search ubuntu source code found no such hex either, all are using NBD_SET_FLAGS instead, how could this happen? [22:10] case NBD_SET_FLAGS: lo->flags = arg; [22:10] the kernel just sets a flag, that's it, easy to back port [22:10] case NBD_SET_FLAGS: [22:11] lo->flags = arg; return 0; [22:37] slangasek: hey so I'm watching the video you guys had ... how do I explain to normal people what britney is [22:37] oh man [22:38] jcastro: I'm sure there are some suitable results if you search for 'britney' on youtube [22:38] do "normal people" need to know what britney is? :) [22:38] stgraber: no, they don't need to know, but it helps people understand when you say "oh don't worry britney will handle that for us..." or whatever [22:39] jcastro: "the software that makes sure packages are built on all architectures and don't cause installability problems before we push them out for the whole world to see"? [22:39] jcastro: there's something on youtube about britney??? [22:40] slangasek: good enough. [22:40] barry: yeah, but they're not very good. :p [22:40] slangasek: so also the thing that makes sure when I dist-upgrade that half my desktop doesn't get removed? [22:40] like the old sid days [22:40] it doesn't guarantee that at all ;) [22:41] barry: actually: http://www.youtube.com/watch?v=3ctC4VQVh-Q appears to be relevant for the Debian implementation [22:41] that's another woman's name isn't it. [22:42] jcastro: nope, there's just nothing that guarantees you won't still hit such a problem... there are plenty of client-side bugs, or confusing local packages, that could still cause that === salem_ is now known as _salem === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood [23:00] hallyn: hi! I've been playing with user namespaces, and I was trying to figure out how to actually gain capabilities in them. [23:00] hallyn: from what i can tell, it requires a uid mapping be in place, but that requires having had CAP_SETUID at some point. [23:01] kees: yes, hence setuid-root binary to set up mappings. did you see eric's shadow patchset? [23:02] see lp:/~serge-hallyn/ubuntu/raring/shadow/shadow-userns/ [23:02] that is, lp:~serge-hallyn/ubuntu/raring/shadow/shadow-userns/ [23:02] i need to push that set, soon. [23:02] ah, hm [23:03] kees: if you could review that set too that'd be helpful for dure :) [23:03] sure [23:03] hallyn: yeah, reading now... [23:04] (also see Pkg-shadow-devel@lists.alioth.debian.org m-l) [23:05] hallyn: is there any overview anywhere for what the "expected" behavior should look like? === kentb is now known as kentb-out [23:08] hallyn: hrm, it looks like "newuidmap" is called by... the parent? [23:10] kees: overviews in several places - man page updates (from eric), s3hh.wordpress.com, lwn.net user_namespace summary (this week) [23:11] kees: without privilege you should be able to (i *think*) just map uid 0 in the container to your unpriv userid on the host [23:11] (range of 1) [23:11] hallyn: oh? [23:12] but indeed, ISTR you may end up without privileges - need to straighten that out with eric one day if that's the case [23:12] * hallyn goes to reread emails [23:12] /* Require the appropriate privilege CAP_SETUID or CAP_SETGID [23:12] * over the user namespace in order to set the id mapping. [23:12] */ [23:12] if (cap_valid(cap_setid) && !ns_capable(ns, cap_setid)) [23:12] goto out; [23:12] that's what I see at the top of map_write() handling the uidmap file writes [23:13] yup, ok, so nm [23:13] guess i was wrong :) [23:13] offhand it seems like it would be a safe and useful thing to allow [23:14] but we're not exactly looking to live on the edge here :) [23:14] and if shadow will auto-generate subuid ranges for all users, then it becomes moot pretty much [23:15] I don't see how to call newuidmap, though. I guess from the parent. [23:16] kees: you're talkinga bout the program? [23:17] sorry, i've not really *used* eric's tools much... but yes, from the parent, or anyone in the parent ns [23:17] yeah, something needs to call newuidmap. right now, a process will perform the clone(CLONE_NEWUSER); wait(). [23:17] kees: you can look at lxc for an example :0 it does it by hand... [23:17] I love that user ns isn't available if you build NFS. ;) [23:19] eew what? [23:19] kees: which source are you using [23:19] 3.8 [23:19] config USER_NS [23:19] depends on UIDGID_CONVERTED [23:19] config UIDGID_CONVERTED [23:20] default y [23:20] depends on NFS_FS = n [23:20] kees: yeah 3.8 is not complete [23:20] yup [23:20] there's a kernel at https://launchpad.net/~ubuntu-lxc/+archive/kernel you can use, [23:20] or grab eric's sources from kernel.org [23:20] I'm cool; I'm just playing with this under kvm. [23:20] it should all go into 3.9 though [23:20] well you're missing other things, [23:20] took me a while to figure out why clone() kept failing, though :) [23:20] but ok :) [23:21] hallyn: I take it the default is to not create any subxid mappings? [23:21] kees: hm, i'm not sure. [23:22] it *really* is meant to be safe to allocate them by default [23:22] ... :) [23:22] but yeah, i suspect [23:23] is there any ETA for the userns patch series landing in raring? [23:23] kees: it'll go in with 3.9. in other words, not into raring [23:24] okay [23:24] that's why i finally put up the ubuntu-lxc/kernel ppa :( [23:24] (before that i just pointed to my personal ppa) [23:26] this build behavior means that 3.8 actually regresses for anyone that _was_ using CLONE_NEWUSER ... [23:29] was anyone actually using CLONE_NEWUSER? [23:29] no idea! :) I doubt it. [23:30] kees: we went to great lengths to warn people, over a period of years [23:30] hallyn: hehe [23:31] some ppl may ahve used it for separating peruser quotas at one point, but i think 2008 or 2009 was when i warned ppl first [23:33] kees: let me know how it goes! ttyl [23:33] hallyn: thank, I'll Cc you on this (weak) vulnerability report... [23:34] d'oh. thanks :) [23:34] hallyn: what did you expect, you're talking with kees ;) [23:37] hehe [23:38] stgraber: so, where does lxc do the uid mapping? I don't see anything in 0.9.0~alpha3-0ubuntu2 [23:40] kees: see src/lxc/conf.c:add_id_mapping [23:45] hallyn: ha ha, grep failed ... %cid_map ;) [23:45] yeah :) i almost feel bad about that [23:45] :) [23:48] ... %s", idtype == ID_TYPE_UID ? "uid_map" : "gid_map") ... ? :) [23:48] jcastro: This is why I always call it "proposed-migration" (which is actually the directory under which our installation runs), not "britney" [23:49] jcastro: It does make it much less *likely* that half your desktop will get removed on upgrade - and especially it insulates us against *most* multiarch library-sync problems, which are incredibly confusing for normal people to resolve [23:49] well, s/especially/also/ [23:57] hallyn: actually, you need to check the return code of fclose() too.