/srv/irclogs.ubuntu.com/2013/03/01/#ubuntu-devel.txt

=== rickspencer3_ is now known as rickspencer3
vibhavGod morning01:51
vibhavGood*01:51
smosercody-somerville, soren if you're interested, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1136781 describes the issue i was seeing.02:04
ubottuLaunchpad bug 1136781 in linux (Ubuntu) "partx information not cleared on loop device detach" [Undecided,Incomplete]02:04
psusismoser, 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
smosernice03:57
smoserpsusi, i jsut committed the 'update' spuport to growpart03:57
smoserbut now realize it has an issue.03:57
smosersfdisk is annoying.03:58
smoserit insists on calling the re-read blockdevice action03:58
smoserwhich fails03:58
smoserif there is a mounted partition on the block device03:59
smoserpsusi, can you think of anything clever that i can do to avoid that ?04:01
smoseroutside of patching sfdisk to actually not invoke the reread ?04:01
psusismoser, 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:01
smoserwell, i can't just ignore the error, becauase i can't differenciate the error from any other.04:02
psusismoser, you could use parted instead and it will take care of both steps ;)04:02
smoserthis is true.04:03
smoserfunny, sfdisk actually has a '--no-reread' flag.04:03
psusihttps://code.launchpad.net/~psusi/ubuntu/raring/parted/resize04:03
smoserwhich, one might think would say "do not issue re-read"04:03
smoserbut it doesn't mean that.04:03
smoserit only means "dont issue it before re-writing partition table as a safety check"04:04
psusibuild/install that ( build copy in my ppa ) and you can just parted /dev/sda resizepart 1 100%04:04
smoserthat is pretty nice..04:04
smoserthat is really nice, psusi04:05
psusiyou think that's nice, you should play with my patches for gparted to do online expand and shrink ( shrink on btrfs only )04:05
psusigrab root partition, make bigger.. make smaller... apply, done..04:06
psusiI 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 raid504:07
smoserpsusi, can i use parted command line to do what i want ?04:11
smoser(without your patches)04:11
psusismoser, need my patches04:11
smoserie, can i have it just write the partition table the way i want it to04:11
smoserall i need it to do is write the table04:12
smoserand *not* call 'reread'04:12
psusiyou 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 table04:12
psusiwhich means grepping for that specific message in the output and choosing to ignore it04:13
smoser:-(04:13
psusiso, better to just use my patches ;)04:13
psusimuch easier to just say parted /dev/sda resize 1 100% and be done with it04:13
psusierr, resizepart, not resize04:14
psusi( the old resize command also tries to resize the fs, which won't work and has been removed )04:14
smoserright.04:14
smoserwhats the situation with your patches?04:15
psusiso you just do the resizepart, it fixes the partition table, fixes the in kernel partition table, then you run resize2fs and you're all set04:15
smoseryou've submitted upstream, but they're not accepted because its languished at the moment?04:15
smoseri'm just afraid of pulling code that isn't upstream.04:15
psusithe 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 time04:16
smoserhmm..04:17
psusimy 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 forward04:18
pittiGood morning04:19
smoseryou have an ubuntu bug for this?04:19
psusithe original maintainer asked him to be a third co-maintainer but he said he didn't have time for that responsibility04:19
psusia bug for which part exactly? ;)04:19
psusipitti, morning Martin04:20
psusismoser, 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 conflict04:22
smoserpsusi, just a "please pull this patch" bug.04:22
smoserright. i remember that.04:23
psusiin 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 out04:23
psusiof course, our old resize command basically doesn't work worth a damn, which is why it was removed upstream04:24
psusiwhich is a shame, and something I hope to fix at some point....04:24
smoserpsusi, is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899717 fixed upstream?04:57
ubottuLaunchpad bug 899717 in linux (Ubuntu) "[PATCH] Loopback device partition cleanup on detach" [Medium,Triaged]04:57
psusismoser, afaik, it never got applied upstream... I'll have to repost it05:00
smoserwell, psusi i'm sure i've lost some of your respect.05:06
smoserhttp://bazaar.launchpad.net/~cloud-utils-dev/cloud-utils/trunk/revision/21905:06
psusiI can't believe it's been that long... time  flies when you have a newborn05:07
smoserthat seems reasonable as a "we'll do this right with parted at some point"05:07
psusinow 1 year old today... sheesh...05:07
smoserwell happy birthday.05:07
psusiwell, yesterday I guess since it's after midnight05:07
psusihappy march 1st05:07
psusismoser, 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% instead05:10
psusior /dev/xvda for xen05:11
pittiam I the only one who cannot see https://blueprints.launchpad.net/ubuntu/+spec/release-r-monthly-snapshots ?05:12
pittiit keeps coming up in the u-devel@ thread, but nobody except me seems to complain05:12
psusipitti, gives me the lost something page05:12
pittiok, thanks for confirming05:13
pittiI was just wondering as at least wendar and ScottK seem to be able to see it05:13
ScottKpitti: I can't see it now.  I could before.05:13
wendarpitti: gone for me too05:14
wendarpitti: though I still have it open in another tab05:14
pittithanks for confirming05:14
psusiok, wife says it's time for bed.. night all05:15
pittinight psusi05:15
ScottKSo if this whole process had been a model of transparency, I'd probably credit it to an LP glitch.05:15
=== BruceMa is now known as BruceMa_afk
micahgmaybe someone got mad since I added a comment to the whiteboard :-/05:19
micahgslangasek: ^^ know anything about the blueprint disappearing?05:22
pittior maybe it got renamed?05:23
pittihm no, still first result on https://launchpad.net/+search?field.text=monthly+snapshots05:24
pitticurious that I can see it in the search results, but not the page itself05:24
pittiScottK: well, I certainly hope it wasn't deliberate to hide the page now05:24
pittiwith Rick's discussion kick-off this wouldn't make any sense05:24
ScottKPeople sometimes make poor choices under stress.05:25
ScottKNo idea really.05:25
=== mainerror_ is now known as mainerror
micahgslangasek: nevermind05:40
micahgblueprint here: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots05:40
* micahg hugs wgrant for finding it05:41
wgrant(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
micahgright, I was thinking to do that, but it's late here :)05:44
ScottKSo is the secret sauce for spec naming public?05:48
* micahg would think track-UDS_Code-Name_Goes_Here05:49
wgrantThat seems to be it.05:49
ScottKWhat does client mean as a track?05:53
ScottKIs there a list of tracks?05:53
micahgScottK: http://summit.ubuntu.com/uds-1303/05:53
ScottKSo "Ubuntu" is now reduced to "Client" at an Ubuntu Developer Summit.05:54
wgrantI would guess client == the old desktop track + mobile and tablet05:54
wgrantHence the lack of a desktop track.05:54
ScottKAnd platform05:54
ScottKAh, I see it's downgrades all around.  No sabdfl for the intro either.05:57
pittiTBH I'm still rather sceptical about hangouts06:08
pittitheir limit to 10 people and its rather bad audio quality don't seem to make it a first choice for a virtual summit06:09
pittithe live on-air videos work really great, but don't allow participating06:09
wgrantThe plugin also has a bad habit of hanging any browser I throw at it :)06:10
pittibut I guess we have to try with something and then see how it goes06:10
pittiI yet have to find something which scales as well and is as robust as mumble06:10
micahgwhy can't we use mumble?06:12
pittiso 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:12
pittimicahg: I guess we could; I just seem to remember having heard "hangout"06:13
micahgwell, Canonical folk seem to be keen on hangouts, but 10 people at a time seems to be quite limiting06:13
pittivideo is nice06:13
micahgsure, 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 people06:14
pittiso 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 all06:14
pitti*nod*06:14
* tumbleweed *really* dislikes that use of the word client06:51
czajkowskiScottK: naming for the blurptints is on the wiki. https://wiki.ubuntu.com/UDS/Create#Filling_Out_the_Blueprint_Fields07:14
czajkowskiLaney: am still getting promted for partial upgrades again today.07:15
Whoopiearges: 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
ubottubug 1074923 in iptables (Ubuntu Quantal) "iptables-save doesn't write --hex-string pattern correctly" [Medium,In progress] https://launchpad.net/bugs/107492307:16
geserdoes somebody know where https://blueprints.launchpad.net/ubuntu/+spec/release-r-monthly-snapshots moved too? I get a 40408:52
pittigeser: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots08:53
geserthanks08:53
=== doko_ is now known as doko
mitya57geser: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-monthly-snapshots09:00
Laneyczajkowski: you said it worked yesterday?09:06
=== henrix_ is now known as henrix
=== dusty42_ is now known as dusty42
=== smb` is now known as smb
zequenceI'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
zequenceI'm referring to the list being moderated10:21
zequencecjwatson: You're the list admin, right?10:22
maxbzequence: My guess would be "someone who has upload rights to at least one package"10:26
maxbBut that's just a guess10:26
=== dusty42 is now known as ddsstt
cjwatsonzequence: The category is "member of the ~ubuntu-dev team"10:33
cjwatson(Plus case-by-case whitelisting)10:33
cjwatsonI've accepted your post in any case10:34
zequencecjwatson: Thanks10:39
* mpt is disappointed to discover that en-GB doesn't translate "Display every two weeks" as "Display fortnightly"10:50
pittimpt: I guess its LC_TIME also doesn't display 16:00 as "teatime"?10:54
xnoxpitti: yeah and 11am as elevenses speaking of which.11:00
* xnox goes to make tea.11:00
=== fisted_ is now known as fisted
xnoxmpt: which package?11:06
xnoxmpt: seems like a bug cause it's "Every fortnight" for one string but not the other.11:07
xnoxfixed, should be part of next lang-pack update.11:09
Laneysee how fast we are to fix critical bugs?11:10
=== tkamppeter_ is now known as tkamppeter
xnoxI'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:11
Laneythat's what we're like over here11:12
mpthaha11:34
mptxnox, 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 panel11:35
mptYou know, just while you're there.11:35
mlankhorstWait why does it need british translations?11:35
mptBecause America and Britain are divided by a common language11:36
xnoxmpt: I totally did in launchpad with no source code branches locally =))))11:38
highvoltageAmerian English is the most different English though, most of the English in the rest of the world is pretty similar.11:38
mptBe 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:42
Riddellogra_: 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
ogra_Riddell, is it charged ? the n7 HW behaves very odd on low battery11:44
Riddellogra_: maybe not, should I just leave it plugged in and hope it fixes itself?11:45
ogra_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 on11:46
ogra_the charger should provide something like 2A or above11:46
Riddelloh that might explain it, how unintuitive11:46
ogra_well, its fine if you have a desktop running that properly tells you the battery is low :)11:47
ogra_fi you dont have any measure because working on cmdline all the time or flashing over and over, it will fall over11:47
davmor2Riddell, 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 so12:12
ogra_right, and if it runs while you charge it largely eats all that comes from the PC12:13
ogra_i would be surprised if more than 100mA get into the battery12:13
=== iulian_ is now known as iulian
cjwatsonbdmurray: http://reqorts.qa.ubuntu.com/reports/rls-mgr/rls-r-tracking-bug-tasks.html seems to have lost its mind^Wteam mapping12:48
xnoxjodh: it's not like infinity and I compete on a number of badges, but it is one he doesn't have yet ;-)13:06
* Laney blinks xnox 13:08
* xnox Upstart Developers, Joined 17 minutes ago13:10
Laneyvery fancy13:10
jodhxnox: :-)13:10
seb128xnox, hum, can we trick you in doing extra desktop work if there is a chance to get a nice badge for it? :p13:15
xnoxseb128: maybe...13:16
seb128;-)13:16
seb128Laney, quick, find some work for xnox!13:16
* xnox finds no artistic value in a haskell badge, just saying.13:17
ogra_seb128, a badge and a virtual beer at the virtual UDS13:18
ogra_vitually ...13:18
jpdsogra_: Nothing like that virtual German beer.13:18
ogra_++13:18
xnoxcarlsberg probably the best virtual beer in the world13:19
ogra_lol13:19
cjwatsonBetter than actually drinking it for real13:20
* xnox doesn't like beer anyway and not many places have cider outside of the Isles.13:20
pitticjwatson: objection!13:20
=== Nafallo_ is now known as Nafallo
cjwatsonpitti: I'm sure we can find some common ground, just not with Carlsberg :)13:21
xnoxpitti: you can raise that objection... virtually  =)))))13:21
pitticjwatson: ah, that I can agree with :) I thought you meant beer in general13:21
cjwatsonOh, goodness me no13:21
pitti. o O { merci dieu c'est vendredi }13:22
Nafallosooo. people will stop owe each other beers now? :-)13:22
xnoxNafallo: offlicense stores in UK accept orders over the internet with home delivery.13:22
pittiI tried pouring some into a hangout, but it didn't go well13:23
pittieven though I served it on a tablet!13:23
ogra_you didnt use the Gfunnel then13:23
ogra_only works with google provided devices :)13:24
xnoxpitti: did it come with phablets as little salty snacks to go with beer?13:24
jbichaxnox: here have a badge: https://launchpad.net/~desktop-bugs13:24
Nafalloxnox: truth... but that would totally exclude Swedish people13:24
pittixnox: that might have been the problem13:24
=== _salem is now known as salem_
geserxnox: drinking virtual beer during a virtual UDS?13:50
xnoxvirtually yes13:50
sladenthat's virtually a joke13:51
tvossczajkowski, ping14:00
bdcompHi, 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
bdcompAny hints what is the issue?14:02
bdcompThe 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."14:03
=== 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
dholbachcjwatson, 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 already17:10
stgraberdholbach: doing that now17:14
dholbachthanks stgraber17:14
stgraberdholbach: done17:14
dholbachthanks a bunch17:14
=== francisco is now known as Guest98890
BenCwhat's the URL for rootfs tar balls?17:41
cjohnstonzyga: ping17:43
BenCNm, found it17:43
zygacjohnston: hey17:43
cjohnstonzyga: your blueprints don't follow the correct naming convention, and more than likely won't get scheduled unless they are fixed.17:44
zygacjohnston: where is the naming convention announced?17:45
zygacjohnston: and is renaming them the only required thing?17:45
cjohnstonhttps://wiki.ubuntu.com/UDS/Create   the naming convention is the same as its always been..   and yes17:45
cjohnstonjodh: ^17:46
zygacjohnston: the naming convention differs each time as in $CURRENT_PREFIX-$THE_STUFF_I_CARE_ABOUT17:47
zygacjohnston: thanks for the tip though17:47
* zyga finds it totally silly that this is even important17:47
zygacjohnston: so which should I select, my blueprint fits the first three options (client, servercloud and community)17:47
cjohnston<track>-<cycle>-<name>, is how its always been17:47
zygacjohnston: 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
zygacjohnston: but let's get back to the point17:48
cjohnstonzyga: that I couldn't tell you.. I would think probably client, but I am not sure..17:48
zygacjohnston: ok, I'll pick client17:48
cjohnstonyour 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 requirement17:49
zygacjohnston: thanks for the help and don't get my comments personally, I'm just pointing out the absurd abehind some of those choices17:49
zygacjohnston: renamed17:50
Laneycjohnston: 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
cjohnstonI 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
LaneyI assume the latter17:50
cjohnstonLaney: 1400-200017:50
Laneyrararrhgh17:50
Laneywho can fix the fridge post?17:50
cjohnstonI just pinged jono_17:50
Laneysomeone should correct me on -devel :-)17:51
jono_the fridge post is updated17:51
zygacjohnston: I guess the trakc is something I could select on the scheduler, the identifier is really an implementation detail but that's just IMHO17:51
jono_it was updated a few days ago17:51
Laneyonly the start time17:51
cjohnstonjono_: "2pm UTC – 10pm UTC"17:52
jono_yeah fixing now17:52
jono_thanks17:52
jono_Laney, fixed17:55
Laneymerci17:55
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== deryck is now known as deryck[lunch]
cjwatsoncjohnston: when you say "always" ... :)18:14
cjohnstoncjwatson: atleast as long as I've been involved in Ubuntu... :-P18:24
cjwatsoncjohnston: IIRC we started using tracks in spec names for the Natty UDS18:26
cjohnstonhttp://summit.ubuntu.com/uds-l/meeting/14749/server-lucid-puppet-etckeeper-integration/  it appears as though 'l' followed it18:29
mitya57why do we have two blueprints for the same thing?18:33
mitya57https://blueprints.launchpad.net/ubuntu/+spec/foundations-1303-logind-migration18:33
mitya57https://blueprints.launchpad.net/ubuntu/+spec/client-1303-consolekit-logind-migration18:33
mitya57jodh: ^^18:33
cjohnstonit would appear as such18:34
jodhmitya57: the 1st you mention can be deleted - summit failed to show either earlier, but now does :)18:37
cjohnstonjodh: can you please mark the first one superseeded by the second18:37
jodhcjohnston: done. what happened to delete I wonder? :)18:38
cjohnstonI don't remember there being a deleted18:39
cjohnstonor delete18:39
cjohnstonthere may have been, I just never used it18:39
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
xxiaoon 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 flags19:16
xxiaoredo 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 socket19:17
xxiaolooks like the first command failed meanwhile left nbd0 unusable for later on commands19:17
xxiaosimilar steps on x86 worked well19:17
=== deryck[lunch] is now known as deryck
sarnoldxxiao: (what was the difference between the wrong-way and the right-way?)19:18
xxiaosarnold: sorry, i meant "right away"19:19
sarnoldxxiao: ah! :D19:19
sarnoldxxiao: does qemu-nbd by chance create sockets without using the SO_REUSEADDR socket option?19:21
xxiaosarnold: don't really know yet19:21
sarnoldxxiao: in that case you may need to wait a little while for the socket to fall out the CLOSE_WAIT state (iirc)19:22
xxiaosarnold: i waited 10 mins and it's the same :(19:22
xxiaoioctl32(qemu-nbd:6441): Unknown cmd fd(13) cmd(2000ab0a){t:'\xffffffab';sz:0} arg(0000002d) on /dev/nbd219:22
xxiaothat's from dmesg when i do 'qemu-nbd -c /dev/nbd0 raw.img'19:23
sarnoldxxiao: eek19:23
xxiaosome ioctl thing?19:23
xxiaoboth have "ii  qemu-utils                         1.2.0+noroms-0ubuntu2.12.10.2                amd64        qemu utilities"19:24
xxiaoii  qemu-utils                       1.2.0+noroms-0ubuntu2.12.10.2                powerpc      qemu utilities19:24
sarnoldxxiao: 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:25
czajkowskitvoss: pong19:57
xxiaoanyone that has ppc machine can do me a favor. on 12.10 run qemu-nbd -c /dev/nbd0 raw.img?20:06
=== Ursinha-afk is now known as Ursinha
xxiaoper the suggestion from qemu guys, qemu-nbd 32bit running on 64bit kernel could have strange issues20:49
xxiaohttp://paste.ubuntu.com/5577430/  strace qemu-nbd20:57
slangasekxxiao: um, you can't strace sudo and expect it to do anything useful20:58
xxiaohttp://paste.ubuntu.com/5577449/21:02
xxiaoslangasek: thanks ;)21:02
xxiaothis time runs with root permission21:02
xxiaohttp://paste.ubuntu.com/5577454/  x86 working version21:03
* xxiao hopes to see a diff button on paste.ubuntu.com that can diff two pastes21:03
sarnoldxxiao: heh, the error may be happening on the other side of that clone() call21:03
sarnoldxxiao: strace -f   :)21:03
xxiaohttp://paste.ubuntu.com/5577466/  strace -f21:07
sarnoldaha now it got your error, line 67621:09
xxiaosarnold: right21:09
xxiaoioctl 13 does not know the magic number 0x2000ab0a21:09
xxiaoseems like hand-coded magic #21:09
xxiaothat kernel has no idea?21:10
sarnoldI wonder, 0x20 is space, 0x00 is ascii NUL, 0xab is (nothing, really), 0x0a is a newline ...21:11
xxiaokernel/include/linux/nbd.h21:11
xxiaodid not see that magic # of course21:11
xxiao#define NBD_SET_BLKSIZE_IO( 0xab, 1 )21:12
sarnoldhmm :)21:12
xxiao#define NBD_SET_TIMEOUT _IO( 0xab, 9 )21:12
xxiaoso they just  bypass the define and directly supply the number to kernel21:12
xxiaoand kernel did not recognize21:13
xxiaoactually the kernel definition stops at 0xab, 9, so next one is ab0a then21:13
sarnoldmaybe it is in newer kernel sources?21:14
xxiaosarnold: checking that...21:14
xxiaoit is21:14
xxiaolet me check when it's in21:14
sarnold#define NBD_SET_FLAGS   _IO( 0xab, 10)21:14
xxiaoright, they moved it to uapi/linux/nbd.h21:15
xxiaonow i have to find out the ioctl call and back-port it...21:15
xxiaoyes it's in nbd.c, the driver21:18
zygabarry: thanks for working on command-not-found21:30
loolslangasek: what kind of tests do we run before updating /current in the livefs builds?21:38
barryzyga: np21:38
keeshallyn: around?21:41
stgraberlool: none, /current simply means the build succeeded21:41
slangaseklool: none; in the case of livefs builds, if the build succeeds it's "current"21:41
loolok21:41
toordogI 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 launchpad21:43
toordogLaunchpad could not import your OpenPGP key21:43
zygatoordog: you need to pass the ID of the key to export21:44
zygatoordog: see man gpg21:44
zygatoordog: search for '--send-keys'21:44
zygatoordog: you may want to use seahorse, a graphical wrapper around gpg instead21:45
toordogi use console only21:45
zygatoordog: then send the key you created and launchpad will be able to import it soon thereafter21:45
sarnoldtoordog: what key did you send? can you see it on any other other keyservers yet? https://sks-keyservers.net/status/21:48
toordogok, i think it's going to work, i didn't put the ID.21:48
hallynkees: what's up?21:51
xxiaostrange with a new kernel that built with that ioctl i'mstill getting the same error22:03
xxiao#define NBD_SET_FLAGS   _IO( 0xab, 10)22:04
xxiao#define NBD_SET_FLAGS   _IO( 0xab, 10)22:04
xxiao #define NBD_SET_FLAGS   _IO( 0xab, 10)22:04
xxiaoin ubuntu's qemu-utils, qemu-kvm-1.2.0+noroms/nbd.c22:05
xxiaoif (ioctl(fd, NBD_SET_FLAGS, flags) < 022:05
xxiaofailed, other similar code are shown like22:05
xxiaoioctl(13, NBD_SET_SOCK, 0xa) = 022:06
xxiaowhy the failing line shown as ioctl(13, 0x2000ab0a, 0x2d) = -1 EINVAL (Invalid argument)22:06
xxiaonot sure when the 0x2000ab0a happened, that does not happen to other args22:07
xxiaowierd22:07
xxiaoI would expect it's something like ioctl(13, NBD_SET_FLAGS,0xa) = -1 EINVAL (Invalid argument)22:08
xxiaosearch ubuntu source code found no such hex either, all are using NBD_SET_FLAGS instead, how could this happen?22:08
xxiaocase NBD_SET_FLAGS: lo->flags = arg;22:10
xxiaothe kernel just sets a flag, that's it, easy to back port22:10
xxiaocase NBD_SET_FLAGS:22:10
xxiaolo->flags = arg; return 0;22:11
jcastroslangasek: hey so I'm watching the video you guys had ... how do I explain to normal people what britney is22:37
slangasekoh man22:37
slangasekjcastro: I'm sure there are some suitable results if you search for 'britney' on youtube22:38
stgraberdo "normal people" need to know what britney is? :)22:38
jcastrostgraber: 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 whatever22:38
slangasekjcastro: "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
barryjcastro: there's something on youtube about britney???22:39
jcastroslangasek: good enough.22:40
jcastrobarry: yeah, but they're not very good. :p22:40
jcastroslangasek: so also the thing that makes sure when I dist-upgrade that half my desktop doesn't get removed?22:40
jcastrolike the old sid days22:40
slangasekit doesn't guarantee that at all ;)22:40
stgraberbarry: actually: http://www.youtube.com/watch?v=3ctC4VQVh-Q appears to be relevant for the Debian implementation22:41
jcastrothat's another woman's name isn't it.22:41
slangasekjcastro: 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 that22:42
=== salem_ is now known as _salem
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
keeshallyn: hi! I've been playing with user namespaces, and I was trying to figure out how to actually gain capabilities in them.23:00
keeshallyn: from what i can tell, it requires a uid mapping be in place, but that requires having had CAP_SETUID at some point.23:00
hallynkees: yes, hence setuid-root binary to set up mappings.  did you see eric's shadow patchset?23:01
hallynsee lp:/~serge-hallyn/ubuntu/raring/shadow/shadow-userns/23:02
hallynthat is, lp:~serge-hallyn/ubuntu/raring/shadow/shadow-userns/23:02
hallyni need to push that set, soon.23:02
keesah, hm23:02
hallynkees: if you could review that set too that'd be helpful for dure :)23:03
hallynsure23:03
keeshallyn: yeah, reading now...23:03
hallyn(also see Pkg-shadow-devel@lists.alioth.debian.org m-l)23:04
keeshallyn: is there any overview anywhere for what the "expected" behavior should look like?23:05
=== kentb is now known as kentb-out
keeshallyn: hrm, it looks like "newuidmap" is called by... the parent?23:08
hallynkees: overviews in several places - man page updates (from eric), s3hh.wordpress.com, lwn.net user_namespace summary (this week)23:10
hallynkees: without privilege you should be able to (i *think*) just map uid 0 in the container to your unpriv userid on the host23:11
hallyn(range of 1)23:11
keeshallyn: oh?23:11
hallynbut indeed, ISTR you may end up without privileges - need to straighten that out with eric one day if that's the case23:12
* hallyn goes to reread emails23:12
kees        /* Require the appropriate privilege CAP_SETUID or CAP_SETGID23:12
kees         * over the user namespace in order to set the id mapping.23:12
kees         */23:12
kees        if (cap_valid(cap_setid) && !ns_capable(ns, cap_setid))23:12
kees                goto out;23:12
keesthat's what I see at the top of map_write() handling the uidmap file writes23:12
hallynyup, ok, so nm23:13
hallynguess i was wrong :)23:13
hallynoffhand it seems like it would be a safe and useful thing to allow23:13
hallynbut we're not exactly looking to live on the edge here :)23:14
hallynand if shadow will auto-generate subuid ranges for all users, then it becomes moot pretty much23:14
keesI don't see how to call newuidmap, though. I guess from the parent.23:15
hallynkees: you're talkinga bout the program?23:16
hallynsorry, i've not really *used* eric's tools much...  but yes, from the parent, or anyone in the parent ns23:17
keesyeah, something needs to call newuidmap. right now, a process will perform the clone(CLONE_NEWUSER); wait().23:17
hallynkees: you can look at lxc for an example :0  it does it by hand...23:17
keesI love that user ns isn't available if you build NFS. ;)23:17
slangasekeew what?23:19
hallynkees: which source are you using23:19
kees3.823:19
keesconfig USER_NS23:19
kees        depends on UIDGID_CONVERTED23:19
keesconfig UIDGID_CONVERTED23:19
kees        default y23:20
kees        depends on NFS_FS = n23:20
hallynkees: yeah 3.8 is not complete23:20
keesyup23:20
hallynthere's a kernel at https://launchpad.net/~ubuntu-lxc/+archive/kernel you can use,23:20
hallynor grab eric's sources from kernel.org23:20
keesI'm cool; I'm just playing with this under kvm.23:20
hallynit should all go into 3.9 though23:20
hallynwell you're missing other things,23:20
keestook me a while to figure out why clone() kept failing, though :)23:20
hallynbut ok :)23:20
keeshallyn: I take it the default is to not create any subxid mappings?23:21
hallynkees: hm, i'm not sure.23:21
hallynit *really* is meant to be safe to allocate them by default23:22
kees... :)23:22
hallynbut yeah, i suspect23:22
keesis there any ETA for the userns patch series landing in raring?23:23
hallynkees: it'll go in with 3.9.  in other words, not into raring23:23
keesokay23:24
hallynthat's why i finally put up the ubuntu-lxc/kernel ppa :(23:24
hallyn(before that i just pointed to my personal ppa)23:24
keesthis build behavior means that 3.8 actually regresses for anyone that _was_ using CLONE_NEWUSER ...23:26
stgraberwas anyone actually using CLONE_NEWUSER?23:29
keesno idea! :) I doubt it.23:29
hallynkees: we went to great lengths to warn people, over a period of years23:30
keeshallyn: hehe23:30
hallynsome ppl may ahve used it for separating peruser quotas at one point, but i think 2008 or 2009 was when i warned ppl first23:31
hallynkees: let me know how it goes!  ttyl23:33
keeshallyn: thank, I'll Cc you on this (weak) vulnerability report...23:33
hallynd'oh.  thanks :)23:34
stgraberhallyn: what did you expect, you're talking with kees ;)23:34
keeshehe23:37
keesstgraber: so, where does lxc do the uid mapping? I don't see anything in 0.9.0~alpha3-0ubuntu223:38
hallynkees: see src/lxc/conf.c:add_id_mapping23:40
keeshallyn: ha ha, grep failed ... %cid_map ;)23:45
hallynyeah :)  i almost feel bad about that23:45
hallyn:)23:45
kees... %s", idtype == ID_TYPE_UID ? "uid_map" : "gid_map") ...  ?  :)23:48
cjwatsonjcastro: This is why I always call it "proposed-migration" (which is actually the directory under which our installation runs), not "britney"23:48
cjwatsonjcastro: 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 resolve23:49
cjwatsonwell, s/especially/also/23:49
keeshallyn: actually, you need to check the return code of fclose() too.23:57

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