/srv/irclogs.ubuntu.com/2014/07/25/#ubuntu-devel.txt

chrstphrchvzMain question: does the size of /boot/grub vary by installation or over time, making it undesirable for separate partition? see description: http://ur1.ca/htmwi00:46
sarnoldchrstphrchvz: my /boot/grub is currently 8M. I just cleaned up a dozen kernels just yesterday, pity :/00:59
chrstphrchvzsarnold, I'm almost certain kernels are in /boot, not /boot/grub…01:02
sarnoldchrstphrchvz: yes, I just don't know (and hanve't looked) to see if there's any per-kernel data in the /boot/grub that might have grown / shrunk over time..01:03
=== shuduo_afk is now known as shuduo
=== _salem is now known as salem_
Unit193pitti: Howdy.  Since systemd is on the agenda for utopic, is Dracut as well?  (LP: #1109029, LP: #1266516)03:47
ubottuLaunchpad bug 1109029 in linux (Ubuntu) "Depend on linux-initramfs-tools" [Wishlist,Triaged] https://launchpad.net/bugs/110902903:47
ubottuLaunchpad bug 1266516 in console-setup (Ubuntu) "New version available upstream: 1.104" [Wishlist,Confirmed] https://launchpad.net/bugs/126651603:47
pittiGood morning03:48
Unit193Got you first. ;)03:48
pittislangasek: -dbg> yes, it does; in fact, if there is a -dbg it prefers that over a -dbgsym as they are sometimes built with extra options and are more reliably present03:48
pittiaddress-book-service       | 0.1.1+14.10.20140715-0ubuntu2 | utopic/universe | source, amd64, arm64, armhf, i386, powerpc, ppc64el03:50
pittislangasek: ^ I do see those in http://ddebs.ubuntu.com/pool/universe/a/address-book-service/03:50
pittislangasek: where do you see it missing?03:50
pittiUnit193: dracut hasn't been discussed so far03:51
Unit193Pity, would be nice as an option.03:51
pittiUnit193: TBH that would sound a bit like busy-work, and lots of it; initramfs-tools works well, and probably a few dozen packages integrate with it, so it would be quite a transition03:51
pittiUnit193: I'd rather invest some work to boot without any initramfs at all03:52
pittipretty much the only thing necessary for that (for standard installs) is to teach the kernel to read UUIDs for ext file systems03:52
Unit193pitti: For the basics, you'd need the alt depend and console-setup updated, but yeah, that's understandable too.03:52
=== salem_ is now known as _salem
mbieblpitti: one interesting bit is, that dracut supports systemd natively04:02
Unit193(FWIW, I've tried dracut in Ubuntu and Debian.)04:03
pittiI still don't quite share the obsession of always having an initramfs; unless you are using LVM or cryptsetup, they should be quite unnecessary04:03
mbieblpitti: it's kinda cool having the journal log from even within the journal04:03
pittii. e. it's just wasted boot time on all cloud installs and most desktop installs04:03
pittimany server installs certainly use LVM etc., but I also know a lot which don't04:04
mbieblpitti: oh sure, I agree. initramfs-less boots are interesting04:04
pittiit's a bit sad that UUID reading in the kernel got dropped on the floor; it was tossed around as an idea once04:04
pittiATM you have to go back to root=/dev/sda2 etc., which would be sad/wrong04:04
pittimbiebl: oh and BTW: I'm glad that I'm not the only crazy person who starts working before 6 AM :)04:05
* pitti ^5s mbiebl04:05
mbieblpitti: heh04:05
mbieblI remember hhoyer posting some numbers04:05
mbieblthat an initramfs didn't actually slow down boot04:05
mbieblon the contrary04:06
pittiinfinity, ScottK: I'd appreciate a review/accepting the new postgresql microrelease SRUs (lucid/precise/trusty), if you have some time04:42
pittislightly bigger debian/ diff this time as we had to drop some patches which are now obsolete/included upstream04:42
pittibut they only apply to running the tests during build time, and that's proven to work by, well, the packages building :)04:43
slangasekmichagogo: how far down my queue> um not sure at this point <sigh>04:53
slangasekhallyn: cgm> I don't think the ftp team will hate you for doing the thing they asked you to do ;)04:53
slangasekpitti: address-book-service - well, 0.1.1+14.10.20140715-0ubuntu2 is the version I just uploaded, so...04:54
pittislangasek: oh, you mean 0ubuntu1 wasn't there?04:55
slangasekpitti: it wasn't in the index, at least04:55
pittislangasek: well, this was only one in a range of things which could go wrong04:55
pittislangasek: sometimes the buildds are down for maintenance, or the apaches are hanging, or apt-ftparchive ran too long, etc.04:56
* slangasek nods04:56
pittislangasek: this should be better now as I fetch the ddebs from the previous day 4 times now instead of 104:56
pittiperhaps I shuold also add a "day-before-yesterday" to re-fetch those too04:57
pittislangasek: this wasn't an indexing problem btw, the actual .ddebs are/were missing04:58
slangasekpitti: right, I couldn't see any reason index-wise that those particular ones would be missing05:07
WhoopieHi, where can I open a ticket against the partner repository? I'd like to ask for a skype update as version 4.3 was released.06:00
Unit193lp 128010906:05
ubottuLaunchpad bug 1280109 in skype (Ubuntu) "Upgrade to Skype for Linux version 4.3.0.37" [Wishlist,Triaged] https://launchpad.net/bugs/128010906:05
WhoopieUnit193: thanks06:15
sarnoldcjwatson: finally finished :) enjoy07:01
dholbachgood morning07:02
dholbach@pilot in07:02
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: dholbach
Tribaalhi all. I'm seeking sponsorship for an update to a particular ubuntu package (I'm the upstream maintainer). Does my work appearing on http://reqorts.qa.ubuntu.com/reports/sponsoring/index.html means I should just wait?07:16
Tribaal(it's in universe)07:17
dholbachTribaal, yes - which one is it07:19
Tribaaldholbach: https://code.launchpad.net/~tribaal/ubuntu/utopic/ubumirror/1341523-upstream-release/+merge/22665407:19
dholbachthanks Tribaal07:20
Tribaaldholbach: welcome :) There's no real hurry - but I was worried the procedure I followed is correct :)07:21
dholbachTribaal, no, looks like you did everyting all right :)07:21
Tribaaldholbach: cool :)07:21
dholbachTribaal, would you mind if I change the version number to 0.4 instead of 0.4ubuntu1?07:24
Tribaaldholbach: oh not at all. I thought the ubuntu1 thing was required07:24
Tribaaldholbach: what's the rule?07:24
dholbachTribaal, adding "ubuntu<N>" to the version number usually indicates "we imported this version from Debian, and added Ubuntu-local changes"07:24
dholbachas the package is not in Debian, 0.4 sould be fine07:24
Tribaaldholbach: ahhh ok07:24
Tribaaldholbach: yeah then by all means :)07:25
dholbachrock and roll :)07:25
dholbachTribaal, uploaded07:26
Tribaaldholbach: woot )07:26
Tribaaldholbach: thanks!07:26
dholbachanytime07:27
Tribaaldholbach: my first changes to ubuntu, believe it or not :)07:27
Tribaal(ubuntu itself)07:27
dholbachchampagne! :)07:27
Tribaalindeed :)07:27
Noskcaj_Has something happened to the arm64 and ppc builders? two different packages have chroot problems for me currently07:32
dholbachNoskcaj_, does it look something like https://launchpadlibrarian.net/180706189/buildlog_ubuntu-utopic-i386.ubumirror_0.4_CHROOTWAIT.txt.gz?07:36
Noskcaj_it's a plymouth issue07:37
Noskcaj_(on ppc)07:37
Noskcaj_that's the issue on arm6407:37
dholbachxnox, do you know if anyone is working on the gnustep-base ftbfs?07:40
dholbachhey tumbleweed - long time no speak... how are you doing? do you think at some stage we could do another ubuntu-dev-tools upload? :)07:51
tumbleweeddholbach: hi. yeah, I've kind of fallen off the planet :/07:52
tumbleweedthis would be doable07:52
dholbachtumbleweed, how was your time off the planet? :)07:53
* dholbach hugs tumbleweed07:53
tumbleweed:)07:53
tumbleweedrather busy. that work-life balance thing is hard07:53
dholbachtumbleweed, do you have plans to make it a little less work in the next time? :)07:54
tumbleweedyeah. I'm planning to move to the US for a bit, which should through my life into enough disarray that I can reorganise it07:55
dholbachman, I cross my fingers for you! all the best! :)07:56
tumbleweedthanks07:56
dholbachzul, can you take a look at bug 1328693?08:06
ubottubug 1328693 in fcoe-utils (Ubuntu) "Sync fcoe-utils 1.0.29+git0.09caead4-2 (universe) from Debian unstable (main)" [Wishlist,Incomplete] https://launchpad.net/bugs/132869308:06
xnoxmvo_: infinity: cjwatson: https://launchpad.net/ubuntu/+source/openwsman/2.4.7-0ubuntu2 not fun, i'm having malta flashbacks.08:26
LocutusOfBorg1dholbach, what an efficiency!08:49
LocutusOfBorg1thanks a lot!08:49
LocutusOfBorg1now let's hope somebody fix the chroot problems08:50
infinitymvo_: That apt bug is breaking buildd chroot upgrades in utopic now too.  \o/09:09
infinitymvo_: https://launchpadlibrarian.net/180716365/buildlog_ubuntu-utopic-i386.indicator-messages_13.10.1%2B14.10.20140725-0ubuntu1_CHROOTWAIT.txt.gz09:09
infinitymvo_: The upshot is that's a much smaller test case.  Download http://launchpadlibrarian.net/174364588/chroot-ubuntu-utopic-i386.tar.bz2 configure sources.list for proposed, dist-upgrade.\09:10
* infinity is going to get some food, then do manual chroot surgery to get us back on track while mvo tries to figure out the real bug here.09:12
cjwatsonsarnold: yay, thanks09:31
pittierk, FTBFS galore due to CHROOTWAITs09:36
pittihm, plymouth/mountall don't upgrade, but neither of those changed recently09:37
cjwatsonpitti: see what infinity said just a few lines back09:37
infinityI'll mangle the chroots right now to work around it so people are unblocked.09:38
pitticjwatson: ah, thanks; sorry, I just rebooted and didn't see scrollback09:38
mvo_infinity: thanks09:51
infinitymvo_: Grab that chroot now before I replace it. :)09:52
mvo_infinity: just downloaded it09:57
cjwatsoninfinity: Surely it gets a new LFA when you do. :-)10:01
cjwatson(But yeah, would be GCed eventually)10:01
infinitycjwatson: Right.10:03
infinitymvo_: FWIW, it needs -proposed enabled to fail.  Probably the addition of the new "init" package.10:05
infinitymvo_: An upgrade from that tarball to current, then to -proposed, works fine.  Straight from the tarball to proposed will fail.10:06
infinity(Thank god for the former data point, that's how I'll work around it for now)10:06
cjwatsoninfinity: If so, that won't be true for very much longer.  New init-system-helpers is migrating to utopic now10:06
=== doko__ is now known as doko
cjwatsonYou have a bit longer because it'll need another publisher run after this one ...10:07
infinitycjwatson: Well, the new chroots are migrating to the librarian too. :)10:07
cjwatsonCool10:07
tvossdoko, cjwatson hey there, we are seeing some issues when using ccache with gcc 4.9 in sbuild: http://paste.ubuntu.com/7854399/10:08
tvossoh sorry, wrong paste10:08
mvo_infinity: yeah, I can reproduce10:08
tvossdoko, cjwatson http://paste.ubuntu.com/7854397/10:08
cjwatsonThat looks like a local config failure, maybe /var/cache/ccache-sbuild/ not mounted in the chroot or something, not sure why you're bothering doko with it10:10
cjwatsonDoesn't look like a toolchain problem10:11
dokoand why are you using ccache for package builds at all?10:11
tvossdoko, helps a lot in speeding things up for local test builds10:11
tvosscjwatson, thanks, wasn't sure if it's a toolchain problem, or not10:12
cjwatsonI assume you're following https://wiki.debian.org/sbuild#Using_.22ccache.22_with_sbuild - perhaps those wiki instructions are buggy or perhaps the sbuild profile is wrong10:12
cjwatson(since that's basically the only google hit for "ccache-sbuild")10:12
cjwatsonNote that those instructions assume that the relevant schroot is using the sbuild profile - if it's using say "default" instead then you need to edit a different fstab10:13
=== Sweetsha1k is now known as Sweetshark
tvosscjwatson, we are usually following https://wiki.ubuntu.com/SimpleSbuild10:13
tvosscjwatson, but yeah, that points to the debian page10:14
cjwatsontvoss: OK, I think my answer is "when you figure out the problem please document it on the wiki" then :-)10:16
Saviqcjwatson, yes, I got the script from there, and it worked until we switched to explicit gcc10:16
dholbachLocutusOfBorg1, in 1348564 you seem to have attached the wrong diff10:23
LocutusOfBorg1sorry10:25
LocutusOfBorg1done now10:25
dholbachelopio, does https://code.launchpad.net/~canonical-platform-qa/messaging-app/qmltests1/+merge/227661 need any action?10:26
dholbachthanks LocutusOfBorg110:27
dokopitti, jibel: is the autopkg test queue busy? wondering why the autopkg test for lava-server isn't run10:27
jibeldoko, it ran but proposed-migration was stuck10:28
jibeldoko, or more exactly it is running10:29
dokothanks10:29
LocutusOfBorg1sorry again dholbach, calling every file "debdiff" is a shame10:30
LocutusOfBorg1:)10:30
dholbachit's all right :)10:30
dholbachLocutusOfBorg1, I'm adding the bug number to the changelog entry10:30
LocutusOfBorg1thanks ;)10:33
=== lubko is now known as citlivka
=== timrc-afk is now known as timrc
dholbach@pilot out11:09
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== MacSlow is now known as MacSlow|lunch
=== tvoss is now known as tvoss|lunch
=== psivaa is now known as psivaa-afk
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
mvo_infinity: hi, this is not entirely trivial to debug, but it is definitely the init addition thats triggering the bug13:19
mvo_infinity: there are quite a few loop but they get correctly broken without the new init pkg and no longer with it. lets see whats causing it13:20
=== tvoss|lunch is now known as tvoss
xnoxmvo_: infinity: slangasek: that init package looks very bad, we should not have it in ubuntu. Especially since we don't have neither sysvinit-core, nor systemd-sysv, nor ready to support either of them.13:33
infinitymvo_: Well, if you can figure it out, it'll probably fix jibel's saucy->trusty issue too.  The symptoms seem nearly identical, even if the cause isn't immediately obviously the same.13:48
infinitymvo_: But there's the part where two of the three times this has happened (before trusty release, and now in utopic), we found a change in the base set that was tickling the issue, but in the saucy->trusty case, it's not entirely obvious if that's happening...13:49
pittixnox: in my current sysvinit merge I still dropped syvinit-core and sysvinit; I suppose we never want those two, even with "init" being around13:51
pittixnox: but shouldn't init also have an upstart alternative?13:51
infinitypitti: It does.13:51
pittiPre-Depends: sysvinit-core | systemd-sysv | upstart13:52
infinityxnox: I see nothing "bad" about the init package being merged.13:52
pittiso, we only have upstart ATM13:52
pittiso that should be fine13:52
infinityxnox: Especially if the intent is to simplify and normalize dependencies.13:52
xnoxpitti: we will not have sysvinit-core though.13:52
infinityxnox: So?13:52
pittiyeah13:52
pittisystemd-sysv at some point13:52
infinityxnox: It's an OR dep, ones that don't exist are happily ignored, and the one you already have installed always wins.13:53
xnoxinfinity: for ubuntu, our transition will be not via init package though. For us, we will simply build upstart without sbin/init, and make systemd conflict & replace it....13:53
infinityxnox: So, it's harmless.13:53
infinityxnox: The transition won't be via that package in Debian either.13:53
infinityxnox: Anyhow, I see no reason to gratuitously diverge, the package is harmless.13:54
xnoxinfinity: it's clearly not harmless, given the havoc it caused. And I still assert that it's uterly pointless in Ubuntu =) especially as an Essential package, give that our upstart is not Essential.13:54
infinity(Except for exposing the annoying apt bug, yet again, but we really really need to fix that, not keep reverting every change that trips it)13:55
xnoxinfinity: it causes upstart to be pulled in, into more places than it used to be..13:55
infinityxnox: It cause no harm, apt did.13:55
xnoxwhy make upstart essential?13:55
xnoxalso it would need to be Multi-Arch:foreign, and it's not marked as such.13:55
infinityxnox: upstart is prio:required and transitively essential, where was it not being pulled in previously?13:56
xnoxtrying to work that bit out. I'm fuzzy on essential vs required.13:58
infinityxnox: required is "your system is broken without these packages installed" and apt won't let you remove them without typing "Yes, I'm an idiot".13:58
infinityxnox: essential is "stuff you don't need to depend on".13:58
xnoxbut a chroot without an init is not broken.14:02
infinityxnox: It was likely wrong for us to *make* upstart part of that set, but it always has been.14:03
xnoxyeah, nominally it was aimed at minimal.14:03
infinityxnox: So, whatever world you're remembering where you could set up a chroot without upstart isn't Ubuntu, or is pre-upstart.14:04
xnoxor it's my little world where i do $ apt-get remove upstart in chroots and watch it shrink.14:04
xnoxalso docker does that.14:04
infinitySo, you type "yes, I know what I'm doing", and remove all the things that depend on it?  Fair enough.14:04
xnoxinfinity: and, we will carry essential pointless packages for the sake of it?14:05
infinityYou could still do that with this new package.14:05
xnoxno, in trusty it doesn't ask me to type "yes, I know what I'm doing"14:05
xnoxhttp://paste.ubuntu.com/7856047/14:05
infinityxnox: Oh, no, you're right.  It only makes you say that for essential, not required.14:06
infinitySo, we could just drop the essential from this package, and otherwise leave it alone.14:06
xnoxnow, i will not be able to do so in utopic, since "init" is essential, and needs --force-remove-essential14:06
xnoxinfinity: ok, (a) drop essential (ubuntu-only) (b) mark it M-A:foreign (forward to debian)14:06
infinityI'd forward the first bit to Debian too.14:07
infinitysysvinit was never essential, same complaint there as here.14:07
infinityIn fact, a bare Debian debootstrap has no init, while a bare Ubuntu does, they were always slimmer.14:07
infinitysbin/init that is, not the new package. :P14:07
xnoxinfinity: ok, can you nuke my init-helpers upload from utopic-proposed then? i will not bother fixing it.14:09
xnoxinfinity: and just send patches to debian for feedback.14:09
infinityxnox: Done.14:11
xnoxmvo_: that init package looks very broken. It's essential, and pre-depends on non-essential packages. There is no way to resolve that, is there?14:30
xnox(newly essential)14:30
cjwatsonhuh?  essential isn't closed.14:31
cjwatsonnote how libc6 isn't essential.14:31
mvo_xnox: I can not say that I feel good about it being essential, among other things it makes life more complicated for apt as it handles essential special, i.e. it wants to immediate-configure them. and it will do the same with all dependencies of essential packages which make upstart and its dependencies immediate configure and thus more work14:32
cjwatsonyou might not want it to be essential for other reasons, but "pre-depends on non-essential packages" isn't broken in and of itself :)14:33
mvo_infinity: I have a reasonable testcase now http://paste.ubuntu.com/7856261/ - note how in line 26 procps is configured and in line 28 initscripts is configured, those need to be in the same line (they are a dependency loop)14:33
mvo_infinity: at least that is now something to work with :)14:33
xnoxcjwatson: i see. "isn't broken", sans bugs like "it breaks our apt each time" =)14:33
cjwatsonbut that's not because of the mere fact of an essential package pre-depending on non-essential packages.14:34
infinityxnox: A bug in apt doesn't make another package broken.14:34
cjwatsonif it were, then our archive would have been broken for ten years.14:34
cjwatsonapt-cache show util-linux14:34
infinityxnox: And this bug is exposed other places too, we need to fix it, not keep working around it.14:34
cjwatsonfor that matter, apt-cache show dpkg14:34
xnoxyiikes. yeah. now i see it. horum. good luck mvo_ =)14:35
cjwatson(essential has to not be closed under (pre-)dependency, because otherwise it would be impossible to ever implement a library transition that affected the essential set.)14:36
infinitycjwatson: I keep waiting for libc7 to happen, just to prove the point.14:36
xnoxi've never used computers with libc so name less than 6 =)14:37
xnox(kfreebsd notwithstanding)14:37
cjwatsonI was about to say :)14:37
infinityYou could have said "with a libc other than glibc2". ;)14:38
infinityAlso, youngun.14:38
infinitylibc5->libc6 was very painful.14:38
ogra_oh, i remember that one14:38
rbasakIs merge-o-matic known to be broken at the moment?14:39
cjwatsonIt was fine last I looked, and it should be mailing me if there are problems14:39
rbasakIt's generating buggy .src.tar.gz files (quilt patches applied, but no .pc directory)14:39
rbasakeg. exim414:39
cjwatsonOh, that's just how it's always been I think14:39
cjwatsonYou probably just want to do such merges yourself14:40
cjwatsonOr use http://people.canonical.com/~cjwatson/dpkg-quilt-setup to set up .pc14:40
rbasakAh - thanks.14:40
rbasakWe're mentoring new team members in #ubuntu-server, and everyone is hitting that.14:40
rbasakI don't tend to use MoM much myself so didn't know about that.14:41
cjwatsonMerges aren't a good thing for new people anyway, IMO.14:41
cjwatsonI've been fighting against the notion that they're a sensible intro task for a long time now14:42
rbasakWe have a big pile of outstanding merges to do, and not enough people to do them :-/14:42
cjwatsonYeah, but in general you need a fairly good understanding of packaging first.14:42
rbasakI have the same opinion about bug triaging (for the server team anyway) - need a fairly good understanding of the underlying packages and use cases first.14:43
rbasakThey seem to be doing a reasonable job of understanding the previous delta.14:43
cjwatsonFor merges I pretty much always debdiff myself and apply directly, using patch --dry-run until I've mangled either side into shape.  I only use MoM for a listing and for a rough guideline.14:44
cjwatson(In cases where I can't do the merge in revision control, of course.)14:45
xnoxmvo_: infinity: hm. in the bug report it was pointed out that in debian they already have another essential metapackage with exact same pre-depends. (sysvinit)14:50
xnoxwhich we don't have, it looks.14:51
mitya57jtaylor: Is there any reason we haven't yet synced new matplotlib from Debian?15:02
=== psivaa-afk is now known as psivaa
barrypitti: ping15:16
pittibarry: ICMP command not implemented15:16
pittibarry: (TGIF)15:17
pittido we have a version of http://people.canonical.com/~ubuntu-archive/nbs.html for -proposed?15:26
pittibarry was asking about zope.security promotion, which drops (NBS) python-zope.security-untrustedpython15:27
pittibut it's not there15:27
infinitypitti: We don't, no.  Though update_excuses makes it sort of obvious to people who know how to read it, at least.15:30
pittiinfinity: yeah, so I figured that http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#zope.security was due to NBS15:30
pittibut not seeing reverse deps anywhere is a bit inconvenient15:31
pitti"reverse-depends python-zope.security-untrustedpython" is good enough, but error prone (forgetting build deps, etc.)15:31
pittianyway, I suppose britney doesn't want to promote it due to the NBS15:31
infinitypitti: reverse-depends -b? :)15:31
pittieven though the new package has a Provides: python-zope.security-untrustedpython15:31
barry-b gives build-deps15:31
pittiyes, I know, still error prone :)15:32
barryyeah ;)15:32
pittiso in theory the package shoudl be able to promote15:32
infinityYeah, agreed, we should have a proposed one.15:32
barrythe provides is now in zope-untrustedpython15:32
pittias the two rdepends are unversioned15:32
infinitypitti: If the new package has a provides, and nothing has versioned deps, we're good to go, remove away.15:32
pittiack; just wanted to double-check my reasoning15:32
infinitypitti: Note that nbs.html doesn't handle that situation at all either, it would need the same manual checking.15:33
infinitypitti: It would tell you it was NBS, but unsafe to remove.15:33
pittibut list all deps15:33
infinityTrue, it does that.15:33
pittibarry: anyway, python-zope.security-untrustedpython removed15:33
pittibarry: so after the next publisher run, britney should stop whining15:33
barrypitti: awesome, thanks.  thanks too infinity15:34
hallynhi - bit of autoconf help would be great for git://github.com/cgmanager/cgmanager.  When I build locally, I get 'cgm' built as .libs/cgm, and ./cgm is a libtool-generated temporary wrapper script for .libs/cgm.15:34
hallyncan someone look at my configure.ac and tell me what i'm doing wrong to force that to happen?  Is it the cgm_DEPENDENCIES?  (though dropping that doesn't help)15:35
pittithanks infinity15:35
pittiinfinity: also for untangling the chroots -- how did you LART them back into a working state, OOI?15:35
hallynthe real problem is that in jenkins it's not doing that, so I get https://travis-ci.org/cgmanager/cgmanager/jobs/30841377 when help2man tries to run ./libs/cgm15:35
hallynso i just want it consistent.  i do need the libcgmangaer.la built before cgm15:36
hallynwell, i supposei could have Makefile.am check if .libs/cgm exists, and if not run ./cgm15:36
infinitypitti: I just upgraded them.  Upgrading in two steps (to recent utopic, then to the new init) worked fine, it's in one step that apt barfs.15:36
infinitypitti: But, if you're in that barfy situation, it also works to just do it twice.15:36
infinitypitti: ie: apt-get update ; apt-get dist-upgrade ; apt-get -f install ; apt-get dist-upgrade15:37
pittiheh, fun15:37
pittileaves a stain of disappointment on the super cow powahs, though15:38
mvo_jibel: if you can still reproduce  lp1347721 in the lab, would it be much work for you if you would put this ppa into the system  https://launchpad.net/~mvo/+archive/ubuntu/lp1347721/ works around the  bug?15:44
jibelmvo_, is it a workaround to make the upgrade succeed or a fix to test ?15:45
mvo_jibel: its a workaround for the upgrade, a by-product of my debugging, if it helps15:46
mvo_jibel: if its too much trouble don't bother, its a 50:50 chance at this point15:46
jibelmvo_, no problem, I'll add this ppa15:47
xnoxhallyn: looks correct. one needs to do $ make install, for proper binaries to be installed...16:01
hallynxnox: so jenkins is being weird by not having .libs/cgm ?16:03
* hallyn is being hits by an old old bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534964 :)16:04
ubottuDebian bug 534964 in linux-2.6 "Please enable CONFIG_CGROUP_MEM_RES_CTLR" [Wishlist,Fixed]16:04
hallynthe problem is it's nto mountable, but it shows up in /proc/cgroups.  that's nto nice16:04
xnoxhallyn: you shouldn't use .libs/cgm, looking more. one sec.16:04
hallynxnox: ./cgm does work, but it prefixes argv[0] with 'lt-'.16:05
hallynWell I suppose I can just hardcode the name as cgm :)  simpler solution16:06
cjwatsonuse ./libtool --mode=execute16:06
hallyncjwatson: this is for running through help2man from Makefile though16:07
cjwatsonah16:07
hallynso i wasnt' thinking, simplest solution is probably just to fix up the argname inside cgm's usage statement itself16:08
cjwatsonI tend to think help2man is best used to generate a template which you then maintain manually henceforth; it's not cross-build-friendly to start with16:08
hallynhm16:09
hallyni did worry at first, but it seemed to be working out16:09
mbieblxnox: still anything unclear after reading the email with the transition plan?16:11
xnoxmbiebl: yes.... e.g. how to apply it to ubuntu that (a) broke all our chroots today on all buildds (b) we don't have sysvinit / essential:yes metapackage.16:12
melodiehi16:12
xnoxmbiebl: and we don't support sysvinit init, thus we'll need hard upstart -> systemd migration, when it's ready.16:12
melodieI have a very simple question for I didn't find a way to find out this by myself : what exactly is the gtk3 version used in Trusty, please?16:12
melodieor what method will allow me to find out?16:13
cjwatsonmelodie: rmadison gtk+3.016:13
xnoxmelodie: https://launchpad.net/ubuntu/+source/gtk+3.016:13
mbieblxnox: I guess that needs to be figured out by the Ubuntu maintainers and means a debdiff for i-s-h16:13
melodiethanks!16:13
mbieblxnox: i.e. no automerge anymore16:14
melodiecjohnston what is rmadison?16:14
xnoxmbiebl: sure, that's fine. It's just still very fuzzy to me how to do it properly, and e.g. we do have a few more places where we can quirk things (upgrade-manager)16:15
xnoxhence no prior need for "sysvinit" package per se16:15
mbieblyeah, I can understand that the init package is not really interesting for ubuntu16:16
cjwatsonmelodie: man rmadison16:16
cjwatsonmelodie: (it's in devscripts)16:16
melodieah! I was wondering how to install it, thanks16:16
mbiebland actually harmful as it is16:16
xnoxmbiebl: that's the conclusion i came to, but infinity believe it's harmless.16:16
xnoxmbiebl: out of the three packages listed, we only have upstart. so it doesn't seem to be harmful, just very pointless.16:17
mbiebloh, you don't have the systemd-sysv package yet in utopic?16:17
smoserhey. i'm sure i'm doing something dumb.16:18
xnoxmbiebl: nope, we are not ready yet.16:18
smoserbut someone able to tell me what16:18
mbieblxnox: ok, then yeah, it sounds like it shouldn't do any harm16:18
smoser http://paste.ubuntu.com/7857020/16:18
xnoxmbiebl: we merge systemd, but we are not building that one yet. We still have a lot of packages that have upstart jobs without either initscripts/units.16:18
mbieblsure16:19
xnoxmbiebl: nothing of major importance, just like things like openstack.16:19
mbiebl:-)16:19
tinococould any of you guys upload a fix (https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1333462) for me ?16:19
ubottuUbuntu bug 1333462 in parted (Ubuntu Precise) "Precise: Linux partitioning tools give GPT Linux partitions wrong type code" [Undecided,In progress]16:19
smoserfull log at http://paste.ubuntu.com/7857090/ if helpful.16:20
smoserstgraber, or pitti  ?16:20
hallynxnox: so out of curiosity, is the init script conversion being tracked somwhere?16:21
xnoxhallyn: on ad-hoc basis atm.16:22
alexbligh1hallyn, are you interested in a patch that allows for qemu / kvm live migration between Precise and Trusty?16:22
hallynalexbligh1: I am16:23
alexbligh1hallyn, https://lists.nongnu.org/archive/html/qemu-devel/2014-07/msg03160.html & https://github.com/abligh/qemu/commit/dc5a04eb2a55ba5024726d2aae5a980315f3c88516:23
alexbligh1hallyn, working in my (limited) environment. If there is a chance of upstreaming it either to qemu or to Ubuntu, then I will get it working more generally.16:24
alexbligh1hallyn, it adds a new machine type which matches qemu-kvm 1.0 (as opposed to qemu-1.0)16:24
hallynalexbligh1: Looks like it won't affect anything else, perfect.  Does it actually work?16:24
hallynit chagnes vga size?  (/me eyes glazing over)16:25
alexbligh1hallyn, it does in my limited use case (I don't use every option qemu provides). I know there is probably a bit of work to do on qxl, as that changed too. And it needs more testing. And, um, it would be helpful to have someone respond on qemu-devel and get some interest in taking it upstream.16:25
hallynI don't think anyone used qxl in precise, so it would suffice for ubuntu without that16:25
hallynrharper: hey!16:26
alexbligh1hallyn, vga ram size, yes.16:26
hallynrharper: ^ could you comment on that patch on the mailing list?  It looks very nice to me...16:26
alexbligh1hallyn, vga rom size is a different problem, caused by the size of the shipped roms changing.16:26
hallynalexbligh1: but you're able to migrate VMs from precise to trusty, despite that?16:26
rharperhallyn: looking16:26
alexbligh1hallyn, rharper and it really could do with more eyes16:26
alexbligh1hallyn, in a test environment on my laptop with the VMs that we produce, yes.16:27
alexbligh1hallyn, If you send me a livemigrate to disk snapshot that doesn't work, I'll look at fixing them.16:27
rharpermy biggest concern with the migration data patching is that we're likely going t miss something, so different device, or different device state;16:27
alexbligh1hallyn, the complication is $work doesn't use libvirt.16:27
rharperin upstream, there was considerable effort to automate the generation of the migration structures automatically;16:28
alexbligh1rharper, it's self-contained (i.e. a new machine type). So the worst that can happen is migration (still) fails.16:28
rharperno, it's worse16:28
rharperit'll succeed and you'll have data corruption16:28
rharperthat's what I worry about16:28
alexbligh1rharper, I don't think I'm touching that bit really. When it failed before it failed hard (section IDs did not line up).16:29
alexbligh1rharper, unless I'm missing what you mean?16:29
rharperright, so, we're stuffing old memory layout into new memory layouts;  it's not clear to me that the new devices  with old memory do all of the right things16:29
rharperwe're attempting to resume "newer" devices with "older" machine state16:30
rharperthat's risky16:30
alexbligh1rharper, same memory layouts as previous versions of qemu, but they were advertised wrong; so, for intance, the piix4 acpi stuff was actually sending v3 format code, but advertising as v2. There has always been a v3 format reader there, it just wasn't being triggered.16:30
alexbligh1rharper, same sort of thing for the 8259 PIT code. It's really that the qemu-kvm / qemu-merge was not at a single point in the format specification. I'm not using any new structures really. And it's heavilly based on the redhat patch I indicated (save I do it dynamically) - they tested all the migrate cases (apparently). The exception being rom size problems (because that's down to Ubuntu's packaging)16:32
rharperit still makes me uncomfortable w.r.t running a new machine type on the destination, you'll still want to make the switch to the new machine at some point (I would think w.r.t support).  With any migration changes, I would recommend working with mdroth on #qemu (stable maintainer IIRC)16:33
alexbligh1rharper, agree re wanting to make the switch some time. But in a situation where you have multiple live customers, 'when I upgrade my host OS' is not the best time for all customers to make the switch (assuming upgrading host OS means a live migrate). What we're doing is live migrate around OS upgrade, then on reboot we're upgrading to -M qemu-2.0. Don't think we can get around the 'new machine type' issue, if16:36
alexbligh1you want to keep live migrates from 'real' qemu-1.0 type stuff working (which would include live migrates from q,r,s,t which were launched with -M qemu-1.0 IIRC).16:36
rharperyeah, I understand the challenges w.r.t consuming the unstable migration format;16:37
alexbligh1rharper, though breaking them and making -M pc-1.0 do this by default and provifing pc-1.0-old would be a trivial change (s/qemu-1.0/pc-1.0/g; in the above)16:37
alexbligh1rharper, hallyn well, it's there if you want it. Very happy to generalise it as far as possible, test, debug etc. if you want it for Ubuntu. If not we'll use it for our own use case. Will be trying to get it upstream anyway.16:41
rharperalexbligh1: right -- I'd really like to see Mike Roth or Juan Q. feedback on the patches, you might cc them in future rounds of the patch16:44
alexbligh1rharper, thanks; will do next time I ping the list - sounds of stones falling into wells so far16:45
hallyndesrt: hey, are you back?16:45
alexbligh1rharper, though fixing this way was bonzini's idea...16:46
rharperalexbligh1: if all of the "fixes" are related to misadvertised format; then I'd feel better;  actual format deltas or other bugs w.r.t data not getting transfered or initialized is my worry16:46
hallynalexbligh1: could you cc: me explicitly when you next send?  (I subscribe to qemu-devel, but it pretty much goes straight to /dev/null )16:46
rharperalexbligh1: qemu-devel is like that quite often, you can find most of the devs on #qemu on OFTC;  worth popping in after a few rounds of resubmits;16:46
rharperalexbligh1: cool16:47
hallynalexbligh1: thanks!16:47
alexbligh1rharper, the two things that were actually breaking reloads were essentially misadvertised stuff. without the patch it goes stomping off the end of a structure and (inevitably fails). With the patch then (if fed an output from qemu-kvm-1.0) it actually has the right structure boundaries.16:47
alexbligh1rharper, reading the redhat patch may help understand what I am doing.16:47
rharperalexbligh1: confined to how you launched your VMs16:47
alexbligh1rharper, yes, but the only other one I /know/ of that's wrong is QXL video size.16:48
rharperalexbligh1: I went through it briefly, but qemu has *lots* of devices and *lots* of options;  the migration format has had *lots* of bugs16:48
rharperalexbligh1: right, which is why I was hoping to leverage some of the 2.0 migration testing framework to iterate throug the various device configs to confirm misadvertisement versus other missing descriptors in the device layout16:49
alexbligh1rharper, yes. amit did a JSON compare and we're catching all those catch (which isn't everything). But if there's another struct missize error/advertising error, it will be mismatched anyway as it is (that's what I meant by won't be any worse)16:49
alexbligh1rharper, you mean amit's stuff? the trouble is he only tests what it /says/ it advertises, not what it actually sends. So it wouldn't have found these16:49
alexbligh1rharper, ... or any others like it.16:50
rharperright, so the json work is step one, the next would to be to migrate and exercise the resulting VM to some degree to build confidence16:50
alexbligh1rharper, indeed. And it probably also needs to survive a soft reboot for more general usage than mine, which will reexercise the ROMs.16:51
rharperyeah16:51
rharperthere's no good fix for reloading of the roms16:51
rharpermdroth and I talked about that many times...16:51
rharperdefinitely the reboot is needed16:51
rharperas that's where the device will get reset with the new qemu; and potential explosions16:52
alexbligh1rharper, you only really need to 'fix' it when the ROM size changes across a power of 2; last time I looked in my environment it was only the cirrus vga ROM which had done that, and the answer there might be to ship the Precise cirrus vga ROM binary with qemu, as you can change the rom binary from the command line (yuck).16:52
alexbligh1rharper, if you don't do that, then even a blank file of the right length will work on migrate until soft reboot, at which point the user presumably says "hmm, odd, soft reboot failed, let's try hard reboot', which is not a disaster.16:53
rharperalexbligh1: right, the challenge is that any upgrade to the ROMs could trigger trouble if the sizes change enough;  and it's possible for it to go either way (shrink or expand);  we talked about some how bringing the source roms along; but that prevents upgrades16:54
alexbligh1rharper, correct. But presumably we should not be permitting such changes in ROM size within a given release, and if we change them between releases, we should ship the old ones too.16:55
alexbligh1rharper, AIUI the redhat way of doing things is that round(log2(romsize)) is a fixed constant forever.16:55
rharperalexbligh1: in general yes; but closing a CVE vs. not fixing --16:55
rharperand then there are cases of migration between hosts which don't have the same version of the package16:56
rharperwhich can trip it up again (on soft-reboot post migration)16:56
rharperit's a non-trivial problem16:56
alexbligh1rharper, re CVEs, sure, but none of them on Redhat has yet changed romsize across a power of 2 (AIUI). And re different versions, agree, which is why I said we may need to ship 'old roms', unless we are content for soft-reboot to fail potentially (though TBH why qemu reloads roms on soft reboot rather than using migrated rom data I don't know).16:57
rharperwhere are you going to put the migrated rom ?16:58
rharperthere's no versioning of the actual rom file, nor a place to write it out to keep it around on a per-guest basis;16:58
alexbligh1rharper, on /soft/ reboot, the qemu-kvm process won't even stop will it, so it could just stay in (host) RAM if it was migrated across. On /hard/ reboot, obviously qemu-kvm stops, and a new ROM will be loaded from disk. If it's larger, then the ROM size will grow and the memory map will change; if it's smaller it should work loaded into a larger slot.17:00
rharperalexbligh1: w.r.t soft reset reloading roms from disk, that's expected behavior, ala hitting reset on real hardware; what's happening though is that the underlying machine/hardware has changed17:00
cjwatsondoko: any chance of sorting out an MIR for python-service-identity?  python-twisted-core depends on it now, blocks e.g. apport build17:01
rharperalexbligh1: I forget where this ended, but even pushing the rom from the remote (which still could be a mismatch from the running process) and having the target write out those roms doesn't seem like a good idea;  though it's been a while since I've walked through all of the steps and cases17:03
alexbligh1rharper, I suspect it's pretty hard to get something that will work reliably in every scenario across reboot. However, I figure that reboot means the VM has no live data in, so a live migrate that simply provides different hardware across a reboot (perhaps you need to do a hard reboot instead) is still a huge step forward from 'I can't migrate my vm at all'.17:04
alexbligh1rharper, and changing the way ROMs are dealt with on migration would be hugely invasive compared with what I'm proposing anyway.17:05
rharperalexbligh1: rom migration is a separate issue (though somewhat related via migration protocol);17:05
smoserxnox, thanks for your help. the cloud image now has systemd in it. and tomorrow should have cloud-init systemd units17:06
rharperalexbligh1: if we can do a bit more confirmation that all we're fixing is misadvertised migration data; I think the approach is reasonable;  but since the guest ultimately has to be rebooted  I still find the live migration to be less than ideal;17:07
rharpers/rebooted/restarted as a new machine type;17:07
alexbligh1rharper, that (your bit starting 'but') is fair comment. Though for my own use I don't need it to survive a reboot, I /think/ all you need to do to make it survive a reboot is copy the Precise cirrus ROM file over and start with the appropriate command line. I'll check that over the weekend.17:09
alexbligh1rharper, that was I think behaving differently on qemu-2.0.0-rc2 (as shipped on 14.04) and qemu-2.0.0 from git. I need to check why.17:10
rharperalexbligh1: yes, I think that'd do it;  might be "fun" to get libvirt to talk two qemu installs and paths; but that should suffice for rom related reboot issues.17:11
alexbligh1rharper, and if we wanted to, we could always ship the Precise ROM on trusty with some other filename (yes, I know it's disgusting)17:11
rharperalexbligh1: yes, and specify the rom in the xml17:12
alexbligh1rharper, you are in libvirt land now so I shall pretend I don't know what you are talking about :-) (yes, I think so)17:12
rharperthis slowly creeps into the rom versioning/signatures and compat for migration;17:12
rharperalexbligh1: you can specify the path to the romfile for any of the devices that take one17:13
rharperthat's all17:13
alexbligh1rharper, yep. Just an automated way of getting onto the qemu command line.17:13
rharpers/automated/massively complicated17:15
alexbligh1rharper, I shall refer the honorable gentleman to the reply I gave earlier regarding not using libvirt :-)17:15
rharper=)17:16
dokocjwatson, yep, should do that ... will try on the weekend17:16
=== citlivka is now known as crack_fox
argeshallyn: does bug 1348551 need to be fixed for utopic as well?17:58
ubottubug 1348551 in qemu (Ubuntu) "qemu-kvm upstart configuration from qemu-system-x86 relies on binary from qemu-kvm" [High,Triaged] https://launchpad.net/bugs/134855117:59
hallynarges: uh, isn't it?18:00
hallyni pushed that fix this morning18:00
argeshallyn: i was just looking at the bug status, i'll look18:00
hallynarges: thanks - it's possible i messed up.  <ahem> unlikely of course18:01
argesdoes 2.0.0+dfsg-6ubuntu2 have the fix?18:01
hallynyeah18:02
sarnoldTrevinho: 1348668  :)18:02
argeshallyn: looks like it has some issues18:02
argeshttp://people.canonical.com/~ubuntu-archive/testing/utopic-proposed_probs.html18:02
hallynslangasek: just pushed a new cgmanager to mentors.  Would you mind taking a look?18:02
argessearch for qemu on that page18:02
hallynxnox: https://github.com/CameronNemo/cgmanager/commit/b809c1958e843de99b470a03d5c2dabdeb64d747   so should i merge that?  I couldnt' quite follow the conversation18:03
hallynarges: so how did -1 build?  that didnt' change at all18:04
argeshallyn: i'm not entirely sure, may need to ask an AA what the issue is18:04
hallynyeah.  thanks for pointing it out.18:05
argesnp18:06
hallyncjwatson: ^ latest qemu upload is saying:  E: Package 'qemu-user' has no installation candidate18:06
hallynbut debian/control isn't changed from teh last (successfully built) package18:06
achianghallyn: hey, i'm trying to create a chroot whilst inside a container, but getting permission errors...18:23
achianglxc.mount.entry = /var/lib/schroot var/lib/schroot none bind,optional,create=dir18:23
achiang^^ that is in my config file, of how the schroot directory gets bind mounted into my lxc container18:23
hallynand that succeeds?18:23
achianghallyn: and inside the container, i am running with sudo, but still seeing a permissions error18:23
achiangPermissionError: [Errno 13] Permission denied: '/var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf'18:23
hallynachiang: what syscall is getting the eperm?18:24
achianghallyn: mkdir18:25
achianghttp://pastebin.ubuntu.com/7858012/18:25
hallynachiang: can you sudo mkdir /var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf by hand?18:27
hallyn(I can...)18:27
achianghallyn: i can't... so i'm suspecting pilot error on my part18:28
achianghallyn: is it something weird with my bind mount?18:28
hallyncould be, lemme try18:28
hallynhm, yeah, i can mkdir there18:29
hallyn(i bind-mounted /mnt to /var/lib/schroot)18:29
hallynachiang: can you try subsituting /mnt for /var/lib/schroot in the lxc.mount.entry mount source?18:30
achianghallyn: this is my new lxc mount entry: lxc.mount.entry = /mnt var/lib/schroot none bind,optional,create=dir18:33
achianghallyn: and i'm still getting permission denied? i stopped and restarted the container18:33
achiang$ sudo mkdir -p /var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf18:33
achiangmkdir: cannot create directory ‘/var/lib/schroot/chroots’: Permission denied18:33
slangasekhallyn: cgmanager> pulling18:33
slangasekhallyn: btw, do you want to VCS this thing somewhere so we don't have to shuttle source packages around? :)18:34
hallynslangasek: hm, yeah.  how do i create a tree at the debian git server?18:34
hallyn(so that when they take the pkg from me they can just take over the tree rahter than have to cloen my github tree :)18:35
hallynachiang: please pastebin /proc/self/status, /proc/self/attr/current, /proc/self/uid_map18:35
slangasekhallyn: if you have an alioth account, you should be able to create something under the collab-maint tree; otherwise you can request a new project be set up if you want only explicitly approved people to be able to commit18:37
achianghallyn: http://pastebin.ubuntu.com/7858087/18:37
hallynslangasek: I do have an account;  I'll look into it18:37
achianghallyn: my apparmor config outside the container needs to be fixed, i think is the problem18:52
achianghallyn: looking into it now18:52
hallynok18:53
achianghallyn: hm, even with this on my host, i still can't mkdir - http://pastebin.ubuntu.com/7858279/19:06
hallynachiang: what if you just use unconfined?19:07
achianghallyn: let me try19:07
achianghallyn: even that fails. very strange19:08
achiang$ cat .local/share/lxc/ubuntu-sdk/config  | grep unconfined19:09
achianglxc.aa_profile = unconfined19:09
hallynslangasek: can't find an option to create a tree.  i'll just push to github for now19:10
hallynachiang: the mkdir is not done inside a chroot, right?  that' s just in the container?19:11
hallynyou can do that mkdir on the host?19:12
achianghallyn: yes, just in the container19:12
achianghallyn: let me test on host19:12
achianghallyn: yes, works on host19:12
hallynslangasek: pushed to github.com/cgmanager/cgmanager-debian19:14
hallynachiang: and then you *see* it in the container?19:14
achianghallyn: yep19:14
hallyndoes getfacl show anything funky for that contaienr?19:14
hallynuh, that dir19:15
hallyn(the parent dir)19:15
hallynand, to be sure, 'strace -f mdir /var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf' shows that it's the final mkdir that is failing?19:15
achianghallyn: i think so? http://pastebin.ubuntu.com/7858373/ see line 9019:18
achianghallyn: oh. maybe it has something to do with 777 perms?19:18
achiangwell... that was from the command line so perhaps unrelated19:19
hallynachiang: hold on.  do you have lxc.id_map in the container config?19:20
hallyni was beign silly,19:21
achiangmmm... yes i have that19:21
hallynI think it's bc nobody is not mapped in19:21
achianghttp://pastebin.ubuntu.com/7858405/19:21
achiangah19:21
hallynadd one more # to the last range19:21
hallynyou need 64536 I think to hit what userspace calls 'nobody'19:22
achiangreally?19:22
achiang$ grep nobody /etc/passwd19:22
achiangnobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin19:22
hallynhm19:23
achiangoh wait19:23
achiangmy map goes to 64*19:23
achiangnot 65*19:23
achiangduh19:23
hallynno, bc you start at 100119:23
achianginteresting19:24
hallynso when you ls -dl /var/lib/schroot/chroots in the container, what do you see exactly?19:25
achiangubuntu@ubuntu-sdk:~$ ls -dl /var/lib/schroot/chroots/19:25
achiangdrwxr-xr-x 5 nobody nogroup 4096 Jul 25 19:16 /var/lib/schroot/chroots/19:25
hallynhm19:26
slangasekhallyn: please don't use debian-only git repos :(19:27
achiangmaking that change of 64536 didn't help19:27
slangasekhallyn: this git repo shows no upstream history19:27
hallynslangasek: correct, was intended as a packaging tree only19:28
slangasekhallyn: yeah, those are horrible19:28
slangasek:)19:28
hallynnext week stgraber will teach me how to do that dpkg-git thing (or whatever it is)19:28
slangasekhallyn: meanwhile, 0.28-2 uploaded19:28
hallynthanks19:30
hallynachiang: what fs is your $HOME?19:31
achianghallyn: uh. default? ext4 i'm pretty sure19:31
achiang /dev/sda1 on / type ext4 (rw,errors=remount-ro)19:32
achianghallyn: i think i'm just going to give up for now, and wait until next week. a newer version of the click tool will appear in a PPA i need and i can create the directory outside the container19:38
hallynachiang: fwiw i can reproduce it here.19:45
achianghallyn: ah, interesting19:46
hallynsarnold: hey, are you around, got a sec?20:03
hallynhm, nm, my observations were tainted20:09
hallynback to the kernel sources20:09
hallynachiang: so the workaround really is to chown it to something other than nobody:nogroup20:11
hallyni'm not sure if this is some awfully handled special-case in kernel, but it shouldn't be.20:11
smoserpitti, if / when you come around, bug and fix at bug 134874920:22
ubottubug 1348749 in autopkgtest (Ubuntu) "autopkgtest fails sometimes with adt-virt-lxc" [Medium,Triaged] https://launchpad.net/bugs/134874920:22
achianghallyn: that seems... weird20:23
=== timrc is now known as timrc-afk
hallynachiang: d'oh, i wasn't thinking20:33
hallynachiang: inside your container there is a 65534 uid defined, mapped to some high uid.  but 65534 on the host is not mapped into the container!20:34
hallynand you're not allowed to map it20:34
hallynso you simply must chown /var/lib/schroot/chroots to your own uid20:34
hallyn(:gid)20:34
hallynor to some other uid mapped into your container20:34
hallynnow i feel silly :)20:35
achianghallyn: why can't i map 65534 from host into container?20:36
achianghallyn: on my host, /var/lib/schroot/chroots is owned by root. i don't think i really want to make that owned by my normal uid/gid?20:37
hallynachiang: well, you *can*, you can add it to /etc/subuid and /etc/subgid20:40
hallyni.e. i added20:40
hallynserge:65534:120:40
hallynthen to the container config i added20:40
hallynlxc.id_map = u 100002 65534 120:40
hallynthen i'm able to do it20:40
achianghm... i did this step earlier:20:41
achiang# Assign UIDs/GIDs to your user for use by the container20:41
achiang$ sudo usermod --add-subuids 100000-165536 $USER20:41
achiang$ sudo usermod --add-subgids 100000-165536 $USER20:41
achiangi would have thought that should have been inclusive of 6553420:42
hallynhow? :)20:42
hallynarges: oh, I see, the last version of qemu was never released!  qemu-user-binfmts is a new package20:42
hallyninfinity: ^ can you take a look at the new qemu package for utopic?  It inherited some new binary packages from debian...  dunno if I need to open a certain kind of bug in relation to those20:43
hallynachiang: 100000-165536 does not include 65534...20:43
achiangum, right. i am dumb20:44
hallynheh, i got lost in the same layer20:44
hallynso i'll take the dunce cap20:44
achiangi must be honest, i am reading the subuid man page now and not sure i grok it20:45
=== timrc-afk is now known as timrc
hallynachiang: what's the question?20:48
achiangwhat is the 3rd field, 'count' ?20:49
hallyn"subordinate user id" is subuid, which is a uid on the host (not in teh container)20:49
achiangit's like, "goes up to" ?20:49
achiangstarting from 2nd field?20:49
hallynit's how big a range to map.  so if subuid is 20, and count is 5, then it's 20-2420:49
achiangok20:49
hallynso, you can pick any ids you want inside the container, but outside the container by default you can only map your own uid20:50
hallynthe subuids tell the setuid-root newuidmap and newgidmap programs to let you map other uids on the host20:50
achianghallyn: i am feeling extra dumb today20:54
achiangi have this in my config:20:54
achianglxc.id_map = u 100002 65534 120:54
achianglxc.id_map = g 100002 65534 120:54
achiangand this in both /etc/subuid|subgid - achiang:65534:120:55
achiangstill not able to do that sudo mkdir20:55
hallynachiang: yes you still need to add the lines to your config20:55
hallynlxc.id_map = u 100002 65534 120:56
hallynand same for 'g'20:56
hallynoh wait20:56
hallynyeah, that's right, i'm misreading20:56
achianghallyn: i have those? :)20:56
hallyncan you pb your whole config?20:56
achianghttp://pastebin.ubuntu.com/7859078/20:57
hallynachiang: what kernel are you on?20:58
achianghallyn: host or container?20:59
achiang3.13.0-32-generic #57-Ubuntu20:59
achiangsame, i guess20:59
hallynhm, now that all looks ok.21:02
hallynachiang: when you ls -l /var/lib/schroot/chroots now, does it show 100002:100002 at least owning it?21:03
hallynachiang: the waste of time before was because it was showing 'nobody:nogroup', but it meant the real, unmapped, uid/gid -1, not 65534, known through /etc/{passwd,group} as nobody:nogroup :)21:03
hallynas for now, i dunno21:03
achianghallyn: it still shows as nobody:nogroup21:04
hallynachiang: what about ls -lnd /var/lib/schroot ?21:05
hallynuh, /var/lib/schroot/chroots21:05
achiang$ ls -lnd /var/lib/schroot/chroots/21:07
achiangdrwxr-xr-x 5 65534 65534 4096 Jul 25 19:16 /var/lib/schroot/chroots/21:07
hallynis that in the container?21:07
achiangyes21:07
achiangoutside the container it is root:root21:07
hallynand 'sudo mkdir /var/lib/schroot/chroots/xxx' still fails?21:07
hallynwait.  root:root?21:08
hallynhow does that work?21:08
achianghallyn: perhaps i should mention that i also have http://pastebin.ubuntu.com/7859183/ in ~/.config/lxc/default.conf21:08
achianghallyn: yes, outside container, /var/lib/schroot/chroots is owned by root:root21:09
hallynbut that paste is not consistent with the full paste you last posted.21:10
hallynI thought that /var/lib/schroot/ was owned by root:root, and the chroots subdir was owned by nobody:nogroup21:10
hallynthat's the situation I was addressing21:10
hallynachiang: if this is still a problem on monday, let's perhaps get on a shared tmux and pound it out21:11
achianghallyn: i have both a ~/.config/lxc/default.conf and a ~/.local/share/lxc/ubuntu-sdk/config21:12
hallyn.config/lxc/default.conf is not consulted at lxc-start21:12
achianghallyn: but sure, we can wait for monday21:12
achiangthanks for all the help today21:13
hallynachiang: what does ls -ldn /var/lib/schroot{,/chroots} show on the host one more time?21:13
achianghttp://pastebin.ubuntu.com/7859212/21:14
hallynachiang: I'm really confused.  did you NOT say before that nobody:nogroup owned one of those?21:14
achianghallyn: perhaps i was confusing -- i *thought* i said nobody:nogroup owned those *inside* the container and it was root:root *outside*21:15
hallynd'oh :)21:15
hallynachiang: which was extra-confusing bc of the multiplexing of those names21:15
hallynachiang: so yeah, that can't be helped21:15
hallynunless you map host's 0 into the container, which sort of defeats the purpose21:16
achiangok21:16
hallynSo I recommend creating a subdir which the container can own21:16
achiangok... the alternative is to create the schroot outside the container21:16
hallynyeah, which due to mknod eaccess may be easiest anyway21:17
achianghallyn: thanks again and sorry for misleading you earler21:19
hallynachiang: np, I think ls mislead me, not you :)  A cautionary tale for next time21:21
achianghallyn: heh. ok. gracious of you, but i think i should have been more clear too :)21:22
sarnoldhallyn: did you get it sorted out?21:34
hallynsarnold: yeah, thanks21:37
hallynI got my host and nsuids mixed up21:37
hallynplease don't comment on "if I can't get it right how can I expect others to" :)21:37
sarnoldhallyn: yikes, I'm glad you got that sorted while I was at lunch! ;) hehe21:37
sarnoldhallyn: meh, it's friday afternoon.21:37
hallynyeah, but so much unresolved junk21:38
hallynsarnold: any updates on the periodic qcow corruption?  You're still running old qemu to avoid it?21:44
hallynjdstrand: ^21:44
jdstrandhallyn: still running old qemu. I am still on trusty. is there something you want me to test?21:52
jdstrandhallyn: actually, if you say in the bug what you want me to do, I'll find time to do it21:52
jdstrandhallyn: I'm heading out atm21:53
hallynjdstrand: no, was just wondering if you had any new info - dopnt' have anything new for you to try.21:55
hallynactually next week i'll try it out on a thinkpad, there *have* been other thinkpad-only bugs in qemu :)21:55
sarnoldhallyn: the most recent corruption I had was in saucy images, so I just deleted them prematurely and hoped I wouldn't miss them.. heh21:56
sarnoldhallyn: but I've been doing auditing lately instead of updates, so I haven't used VMs as much the last month or two21:56
hallynok  - thx.21:57
hallynhave a good weekend everyone.22:02
sarnoldbye hallyn :)22:03
hallynoh wait, seems i have another cgmanager init script bug to deal with first22:04
=== salem_ is now known as _salem
=== timrc is now known as timrc-afk
=== sarnold_ is now known as sarnold
=== mnepton is now known as mneptok
=== beisner- is now known as beisner
=== freeflying__ is now known as freeflying
=== ]reed[ is now known as [reed]
=== Ursinha_ is now known as Ursinha
=== tarpman_ is now known as tarpman
hallynwhoever wants to take a look and is good with sysvinit scripts, https://github.com/cgmanager/cgmanager/commit/9647f5c36d73b14ddb925586af3e3affbafb762a is what i'm thinking of pushing to cgmanager debian to fix a slew of open bugs23:40
hallyn*mbiebl: ^ that would be for yours :) )23:40
mbiebljust a few comments in general23:42
mbieblif you use s-s-d --retry= you don't need any sleeps between stop and start23:42
mbieblusing retry is almost always a good idea23:43
hallyn(i need to run, but will do this and grab any other comments when I get back - thanks much)23:43
mbiebland to check whether a process is already running23:43
mbieblyou can use start-stop-daemon --test23:44
mbiebl(with the same arguments as you'd use for the real s-s-d call)23:44
mbieblI still don't quite get the logic regarding starting/stoping the cgproxy sysvinit script from cgmanager23:45
mbieblthat seems broken somehow23:45
mbieblmaybe under sysvinit using a singler init script is actually cleaner23:46
mbieblsingle, even23:46
mbieblcalling "service" on another init script from within an init script is pretty meh23:48
=== cjohnston_ is now known as cjohnston
slangasek"calling service"?  I thought that was already fixed pre-upload23:56
mbieblslangasek: was referring to https://github.com/cgmanager/cgmanager/commit/9647f5c36d73b14ddb925586af3e3affbafb762a23:57

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