|
[01:01] <xnox> doko_: no point in updating llvm-defaults to 3.5, clamav builds, mesa fails. There are also others that fail with 3.5 - creduce & beignet |
|
[01:01] <xnox> i'll finish up building things tomorrow & will file bugs. |
|
[01:49] <hallyn> infinity: a 2.1 rc (very rc) is building in ppa:serge-hallyn/virt . based on not-yet-released debian experimental package |
|
[02:11] <infinity> hallyn: Awesome, thanks. |
|
[02:12] <infinity> Oh, not that that builds for ppc. But I can copy that and see what happens. |
|
[02:12] * infinity does so. |
|
[02:13] <Unit193> cjwatson: Hello, is there a specific trigger for when you update tasksel from the seeds, or does someone have to poke you/request a merge? |
|
[02:14] <infinity> hallyn: Building for all arches at https://launchpad.net/~adconrad/+archive/ubuntu/ppa/+packages if you're curious how that goes. |
|
[02:15] <infinity> doko_: |
|
[02:15] <infinity> Unpacking gnat-4.9 (4.9.1-1ubuntu2) over (4.9.0-1ubuntu5) ... |
|
[02:15] <infinity> dpkg: error processing archive /var/cache/apt/archives/gnat-4.9_4.9.1-1ubuntu2_ppc64el.deb (--unpack): |
|
[02:15] <infinity> trying to overwrite '/usr/share/doc/gnat-4.9-base/test-summary.gz', which is also in package gnat-4.9-base 4.9.0-1ubuntu5 |
|
[02:15] <infinity> doko_: ^ |
|
[02:17] <cjwatson> Unit193: when I feel like it, basically |
|
[02:17] <cjwatson> Unit193: don't bother preparing a merge request if it's just an automatic update though |
|
[02:17] <cjwatson> Unit193: but it's 3am here and I generally like to think about the changes and make sure they're sane, so mail me? |
|
[02:18] <Unit193> cjwatson: Cool, OK. Yeah, figured that would be a little useless. I don't suppose that'll be soon? Yeah. 3AM can be troublesome at times. |
|
[02:18] <cjwatson> it can be soon, but I'll need a reminder |
|
[02:19] <Unit193> A random poke later on IRC good enough or do you want that email? |
|
[02:29] <cjwatson> Unit193: as you like |
|
[02:30] <cjwatson> Unit193: but if you want an IRC poke to be effective it'll need to be vaguely within UK working hours :) |
|
[02:30] <Unit193> cjwatson: Got it, will do. Thanks! |
|
=== _salem is now known as salem_ |
|
[03:50] <pitti> hallyn: yes, I will, but I'm still working on the systemd units to start lxc.net and call the apparmor commands |
|
[03:50] <pitti> Good morning |
|
[03:52] <sarnold> pitti: wow, this seems early even for you :) |
|
[03:52] <pitti> sarnold: yeah, can't sleep any more; darn hayfever |
|
[03:53] <sarnold> pitti: ugh, sorry to hear it :( |
|
[03:59] <infinity> hallyn: So, it at least built on ppc64el. Testing will come later. |
|
[04:04] <infinity> 19:31 < benh> hrm |
|
[04:04] <infinity> 19:31 < benh> W: Failed to fetch |
|
[04:04] <infinity> gzip:/var/lib/apt/lists/partial/ddebs.ubuntu.com_dists_trusty-updates_main_binary-ppc64el_Packages |
|
[04:05] <infinity> Hash Sum mismatch |
|
[04:05] <infinity> 19:31 < benh> been going on for a while today |
|
[04:05] <infinity> pitti: ^ |
|
[04:05] <infinity> pitti: Did you break something, or is that pilot error on Ben's part? |
|
[04:06] <pitti> infinity: I'm sure it's a ddeb-retriever issue again :/ |
|
[04:07] <pitti> although I'm not sure how |
|
[04:07] <pitti> that Packages is from July 18, Release is from July 22, and it does have the wrong md5 |
|
[04:08] * pitti sends flowers to apt-ftparchive |
|
[04:10] <hallyn> infinity: awesome |
|
=== doko_ is now known as doko |
|
[05:59] <doko> xnox, http://people.canonical.com/~doko/tigervnc_1.3.1+X1.15.0-0ubuntu1.dsc |
|
[06:21] <doko> cjwatson, barry: seeding system-image causes some component mismatches, including python-pip again, which we were trying to avoid. is this really necessary? |
|
=== evfool__ is now known as evfool |
|
[06:53] <dholbach> good morning |
|
[06:57] <pitti> hallyn: hm, did you disable github pull requests for LXC? I can't send them any more, the button is disabled |
|
[06:58] <pitti> hallyn: I sub'ed to the ML now and went through the git-send-email exercise, including greylisting and all that fun *ugh* :) |
|
=== salem_ is now known as _salem |
|
=== tvoss is now known as tvoss|test |
|
=== tvoss|test is now known as tvoss |
|
[07:28] <cjwatson> doko: yes it is really necessary, can you ignore it for now please and we'll sort out the seeds later (maybe move it to a different collection or something)? |
|
[07:45] <doko> cjwatson, ok |
|
=== psivaa is now known as psivaa-brb |
|
[07:59] <xnox> doko: omg! why are you touching that beast?! =) |
|
[08:06] <doko> xnox, I'm not, just looking at component mismatches |
|
[08:07] <doko> or what is the context? |
|
[08:13] <xnox> doko: tigervnc =) |
|
[08:13] <xnox> doko: it tries hard to statically link against a self-included copy.... =) |
|
[08:13] <xnox> (embedded copy of code) |
|
[08:14] <doko> xnox, no, it is using the system one |
|
=== psivaa-brb is now known as psivaa |
|
[08:23] <doko> xnox, http://paste.ubuntu.com/7912543/ using the system one |
|
[08:28] <xnox> doko: i have a crude patch..... |
|
[08:29] <xnox> find_package(FLTK) should find and define fltk_images_shared & fltk_shared, but it doesn't.... But we know the libraries are available from the global location.... so we can override it. |
|
[08:30] <xnox> http://paste.ubuntu.com/7912575/ |
|
[08:31] <xnox> that gives me http://paste.ubuntu.com/7912581/ |
|
[08:32] <doko> ahh, good, will go from there |
|
[08:42] <pitti> xnox: sorry, I already asked you about bug 1326327 (forward with CC'ing pkg-systemd) yesterday, but I think I didn't see your reply |
|
[08:42] <ubottu> bug 1326327 in debhelper (Ubuntu) "dh_installinit should generated update-rc.d remove to remove rc*.d symlinks" [Undecided,New] https://launchpad.net/bugs/1326327 |
|
[08:42] <xnox> pitti: arrrr. there is nothing to apply in debian for ti. |
|
[08:42] <xnox> pitti: we had an ubuntu delta to drop, which is what that bug was about. |
|
[08:43] <pitti> xnox: oh, pirate speak day today? :-) |
|
[08:43] <LocutusOfBorg1> sorry which bits are missing for libpcap? |
|
[08:43] <LocutusOfBorg1> http://people.canonical.com/~ubuntu-archive/proposed-migration/update_output.txt |
|
[08:43] <pitti> xnox: ah! nice |
|
[08:43] <LocutusOfBorg1> I don't see any, but still in proposed |
|
[08:43] <xnox> pitti: and it's unrelated to the other bug that i don't agree with, but affects both debian & ubuntu |
|
[08:44] <infinity> LocutusOfBorg1: "Not touching package due to block request by freeze (contact #ubuntu-release if update is needed)" |
|
[08:44] <xnox> pitti: let me verify things though before closing it, that i did fix it right. |
|
[08:44] <infinity> LocutusOfBorg1: In other words, patience until after Alpha2. |
|
[08:46] <pitti> xnox: that patch isn't applied in current utopic FTR |
|
[08:47] <xnox> pitti: yeah, so e.g. looking at cgmanager_0.27-0ubuntu8_amd64.deb it has no postrm witch has "update-rc.d cgmanager remove" |
|
[08:47] * xnox checks debian |
|
=== terror_bird is now known as inner_ugliness |
|
[08:48] <pitti> xnox: ah, I see it now in https://patches.ubuntu.com/d/debhelper/debhelper_9.20140613ubuntu1.patch |
|
[08:49] <xnox> yeah, and debian does generate "update-rc.d cgmanager remove" at purge. |
|
[08:50] <pitti> xnox: so, your patch LGTM |
|
[08:50] <xnox> we need both upstart-preinst & update-rc.d removal. |
|
[08:50] <k1l> hi: when will the LTS 12.04 to LTS 14.04 upgrade path be opened? we got masses on users in #ubuntu complainin they waited for the .1 release and still cant upgrade. is there a timetable for that? |
|
[08:51] <xnox> k1l: it's been open for a long while =) but there are bugs preventing upgrades, thus we have update-manager in precise-proposed to resolve that. |
|
[08:52] <xnox> k1l: once that is published in precise-updates and people install it, more people will get upgrade notifications and etc. |
|
[08:52] <pitti> xnox: will you upload, or want me to test with a cgmanager rebuild and upload? |
|
[08:53] <k1l> http://changelogs.ubuntu.com/meta-release-lts still says no trusty |
|
[08:53] <xnox> pitti: i think i need to reorder things, since $script is overriden by the preinst-upstart-compatibility. |
|
[08:54] <xnox> k1l: that's a bit odd. |
|
[08:55] <xnox> bdmurray: as per k1l above, have 12.04 -> 14.04 upgrades been enabled or are they waiting on update-manager fixes? |
|
[08:56] <LocutusOfBorg1> thanks infinity I read about the alpha, indeed, sorry I though there was a line on update_output too |
|
[08:57] <cjwatson> LocutusOfBorg1: update_output only reports on things that haven't been filtered out by individual-package checks at the previous update_excuses stage |
|
[08:58] <LocutusOfBorg1> ok thanks, fair enough |
|
[08:59] <TJ-> xnox: It's in meta-release-lts-proposed ... I guessed it was waiting on the 12.04 promotion of upgrade-manager-core from -proposed |
|
[09:00] <xnox> TJ-: yeah, i see that. But I have no idea what's the difference between meta-release-lts and meta-release-lts-proposed.... |
|
[09:00] <LocutusOfBorg1> cjwatson, can I take a look at debian #755327 ? I don't know how to properly fix, but I can give you a debdiff |
|
[09:00] <ubottu> Debian bug 755327 in src:gridsite "gridsite: FTBFS: htcp.c:65:27: error: 'CURLOPT_FILE' undeclared (first use in this function)" [Serious,Open] http://bugs.debian.org/755327 |
|
[09:01] <cjwatson> LocutusOfBorg1: I already fixed that this morning |
|
[09:01] <LocutusOfBorg1> oh wonderful |
|
[09:01] <LocutusOfBorg1> :) |
|
[09:01] <xnox> pitti: actually with patch from the bug, it all looks correct and sensible. |
|
[09:01] <cjwatson> reload the bug :) |
|
[09:01] <LocutusOfBorg1> I was stuch in a gstreamer build with some spare time ;) |
|
[09:02] <LocutusOfBorg1> no NMU in delayed? |
|
[09:03] <xnox> pitti: uploaded. |
|
[09:03] <xnox> pitti: it is relatively harmless though, as any insserv invocation removes stale symlinks. |
|
[09:03] <cjwatson> LocutusOfBorg1: *shrug* might do that later, no rush |
|
[09:03] <LocutusOfBorg1> anyway, they fixed upstream with a slightly different patch https://github.com/CESNET/gridsite/commit/2124d471f9fc1eed4bf5893ed2701350357c01af |
|
[09:04] <cjwatson> LocutusOfBorg1: I'm busy this morning |
|
[09:04] <cjwatson> LocutusOfBorg1: feel free to pass a reference to the Debian bug |
|
[09:04] <LocutusOfBorg1> ack |
|
[09:04] <cjwatson> sure, that's fine too, just not something I felt entitled to do as a downstream |
|
[09:04] <pitti> xnox: ah, good; thanks! |
|
[09:05] <LocutusOfBorg1> yes, I'll prepare a debdiff with the upstream cherry-picked commit, I'm sure the debian maintainer will be happy to apply :) |
|
[09:10] <pitti> apw: do you still have bug 1329056? |
|
[09:11] <apw> lp: #1329056? |
|
[09:12] <apw> pitti, i do, but i realise that the fixes xnox tried for me didn't work because i have the WIP initramfs-tools on that machine, so all bets are off |
|
[09:12] <apw> i will try and get that downgraded |
|
[09:12] <pitti> apw: hm, mup failure? |
|
[09:12] <pitti> apw: oh, how would that affect lightdm? |
|
[09:13] <pitti> ubottu: <poke> |
|
[09:13] <pitti> apply resuscitation to ubottu |
|
=== udevbot_ is now known as udevbot |
|
[09:14] <Laney> #ubuntu-bots IIRC |
|
[09:14] <xnox> doko: found the bug in cmake-data FindFLTK -> it does everything to consider static FLTK only. |
|
[09:15] <Unit193> It takes a bit to sync up, has many channels to join. ubottu that is. |
|
[09:15] <pitti> Laney: oh, it just sent me a privmsg complaining about <poke> |
|
[09:15] <pitti> bug 1329056 |
|
[09:15] <ubottu> bug 1329056 in lightdm (Ubuntu) "lightdm does not start under systemd" [Undecided,Incomplete] https://launchpad.net/bugs/1329056 |
|
[09:15] <pitti> \o/ |
|
[09:16] <Laney> aha |
|
[09:16] <jamespage> pitti, cjwatson: would the foundations team considering owning pm-utils? its currently subscribed to by the server team but pretty much every bug I've touched this morning is a laptop suspend/resume problem of some description |
|
[09:16] <apw> pitti, the conjecture is that the main issue is that the systemd stuff doesn't work if you have encrypted stuff in your initramfs, and plymouth ends up there; and i have that inadvertantly |
|
[09:17] <cjwatson> jamespage: it's thematically appropriate but I don't know if we have any relevant experts |
|
[09:17] <apw> pitti, due to bugs in initramfs-tools, which xnox has fixed in the older version |
|
[09:17] <pitti> apw: ah, that's easy enough to test; installin "cryptsetup" should do that, right? |
|
[09:17] <xnox> apw: horum. |
|
[09:17] <apw> pitti, well no, it is meant to be bright enough to only do it if your actual root is special |
|
[09:17] <xnox> pitti: well, my cryptsetup hooks are modified to not include themself, if one doesn't have encrypted root. |
|
[09:18] <xnox> apw: did i actually upload that path fix, or not?! =) |
|
[09:18] <pitti> apw: oh, is that new? in the past we only installed cryptsetup-bin by defualt, and cryptsetup only if you actually use encrypted root |
|
[09:18] <pitti> apw: anyway, easy enough to check by the contents of the initramfs |
|
[09:18] <apw> xnox, though it if was fixed in cryptsetup i don't think my initrafms-tools would account for it |
|
[09:18] * apw lets xnox figure out if he uploaded it or not :) |
|
[09:19] <xnox> pitti: so with https://launchpad.net/ubuntu/+source/plymouth/0.9.0-0ubuntu1 or better, encrypted root should work with systemd and systemd should be asking password via plymouth password ask. |
|
[09:19] <xnox> pitti: except it won't. |
|
[09:19] <xnox> pitti: cause our initramfs would ask for that.... |
|
[09:19] <xnox> pitti: with that plymouth and a non-root encrypted fs, systemd should ask password for it via plymouth. |
|
[09:19] <pitti> apw: so, merely installing cryptsetup does get the plymouth bits into initramfs |
|
[09:20] <xnox> pitti: if that's the case, that's broken =( |
|
[09:20] <xnox> it's not meant to. |
|
[09:20] <pitti> well, that's how it always has behaved, hence my question about whether that changed recenlty |
|
[09:20] <pitti> but anyway, lightdm comes up |
|
[09:20] <apw> yeah i am a special snow-flake here for sure, it is somehow local to me |
|
[09:21] <apw> so i'd say not worry too heartily about it for now |
|
[09:21] <pitti> apw: AFAIR "sudo systemctl start lightdm" still worked for you, it was just not started automatically, right? |
|
[09:21] <pitti> apw: Im' worried because that doesn't sound initramfs-ish, much rather some locally modified sysvinit or /etc/default/ or whatever conffile |
|
[09:21] <LocutusOfBorg1> cjwatson, debdiff attached to the bug report and uploaded on mentors |
|
[09:22] <cjwatson> LocutusOfBorg1: ok, will leave it to the maintainer |
|
[09:22] <apw> pitti, it does start indeed when i incant as you say |
|
[09:22] <pitti> jamespage: in practice I do most of the uploads, but the whole concept of pm-utils quirks is a thing of the past; also, most of its bug reports shouldn't even be against it but the kernel, so bug reports are a lost cause :/ |
|
[09:23] <Unit193> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742600 looks like it'd have problems with systemd-shim. |
|
[09:23] <ubottu> Debian bug 742600 in cryptsetup "cryptsetup: add support for systemd to askpass" [Wishlist,Open] |
|
[09:23] <pitti> apw: display manager startup is rather delicate, due to the various layers of configuratino that Debian piled up (enabling/disabling units, enabling/disabling syvinit files, default files, /etc/X11/default-display-manager, etc. -- lots of things that can go wrong |
|
[09:24] <pitti> apw: so, when you have a few mins, please ping me, and we can check and compare all these |
|
[09:24] <xnox> Unit193: not sure why it would, and we don't use askpass by default in ubuntu. We use plymouth ask-pass, as we require plymouth on all products. |
|
[09:24] <apw> pitti, ack will do shortly |
|
[09:25] <jamespage> pitti, I noticed your uploads |
|
[09:26] <tseliot> pitti: I restarted a build of ubuntu-drivers-common on amd64 and it went well. I've just restarted builds for all the remaining architectures, so there's no need for a reupload |
|
[09:26] <pitti> tseliot: right, for an FTBFS retrying the build is sufficient; thanks |
|
[09:27] <xnox> doko: with this https://launchpad.net/ubuntu/+source/plymouth/0.9.0-0ubuntu1 tigervnc just builds fine, and uses shared libraries. |
|
=== inner_ugliness is now known as zmok |
|
[11:09] <pitti> dpm: sorry, still no new export on https://translations.launchpad.net/ubuntu/utopic/+language-packs -- I figure something went wrong in LP? |
|
[11:09] * pitti gazes at wgrant (yes, I know, everyone is, sorry :/) |
|
[11:10] <dpm> argh |
|
[11:11] <dpm> wgrant, do you know if the utopic translations export was cancelled for some reason? It was scheduled to start on Tuesday, but we cannot see it in https://translations.launchpad.net/ubuntu/utopic/+language-packs yet |
|
=== MacSlow is now known as MacSlow|lunch |
|
[11:24] <wgrant> dpm, pitti: Let me see. |
|
[11:25] <wgrant> I see no failures, weird. |
|
[11:25] <wgrant> I'll check deeper logs. |
|
=== tvoss is now known as tvoss|lunch |
|
[11:27] <dpm> thanks wgrant |
|
[11:30] <wgrant> Ah, I lie, I had just moved it to another folder. |
|
[11:31] <wgrant> It failed for the normal reason. |
|
[11:31] <wgrant> dpm: Is it particularly urgent? I can't reasonably kick one off before Monday without suspending some other fairly critical maintenance tasks. |
|
[11:36] <dpm> wgrant, I think Monday should be fine - pitti? |
|
=== greyback is now known as greyback|away |
|
[11:42] <pitti> dpm: sure, WFM; thanks wgrant! |
|
[11:47] <wgrant> dpm, pitti: The failures and concurrency limitations should hopefully go away with the new DB servers, fingers crossed. |
|
[11:47] <wgrant> Sorry about this. |
|
[11:49] <dpm> wgrant, that's good to know, thanks |
|
=== tvoss|lunch is now known as tvoss |
|
=== _salem is now known as salem_ |
|
[13:02] <barry> doko: do you know what in system-image is pulling in pip? it's not a direct Depends of si. |
|
[13:03] <doko> barry, see component-mismatches-proposed |
|
[13:04] <barry> doko: build depends |
|
[13:05] <xnox> barry: is that for unit tests? can it be moved into autopackage tests? (autopackage tests have universe enabled, even for packages in main) |
|
[13:06] <barry> xnox: not sure it's really appropriate for ap. there's no ui and tons of dbus. even so, it's probably a lot of work |
|
=== zmok is now known as zdoch |
|
[13:15] <xnox> barry: it saves us from having pip pulled into main. Drop build-depends -> move to debian/tests/control depends and run that the same way things are currently run. |
|
=== Pici` is now known as Pici |
|
[13:16] <xnox> barry: we do that for a lot of test suites which have dependencies beyond main, e.g. automake's full test-suite is only run as an autopackagetest. |
|
[13:16] <xnox> because it wants like all javas, haskells, fortrans and etc. |
|
[13:17] <barry> xnox: maybe. seems like an unfortunate systemic problem really. |
|
[13:17] <barry> i mean, what's the point of having support for build-time tests if you can't use them? ;/ |
|
[13:18] <barry> plus, they're not exactly the same environments, so in theory it could miss problems |
|
[13:19] <xnox> barry: they should be. |
|
[13:21] <xnox> barry: there are years old plans to abolish main/universe splits, have single archive and declare "depends" closed set, such that one can use universe build-deps. Worst thing is like boost, where I have two identical source packages: one to build most things in main, and one to build universe build-depends portions. |
|
[13:21] <barry> xnox: makes sense to me :) |
|
[13:22] <xnox> barry: how environments are different? it's still asserted that the test-suite is run before the binaries hit release pocket & autopackage test can have smaller stray dependencies than you'd have at build-time. |
|
[13:22] <xnox> barry: e.g. you can choose to not install build-essential, whereas on buildds it will always be there. |
|
=== ValicekB_ is now known as ValicekB |
|
=== tvoss is now known as tvoss|test |
|
=== tvoss|test is now known as tvoss |
|
[13:32] <tseliot> pitti: any ideas how I can support both systemd and upstart in nvidia-prime (LP: #1312255)? Are there any examples I can look at? |
|
[13:32] <ubottu> Launchpad bug 1312255 in nvidia-prime (Ubuntu) "[systemd] nvidia-prime package needs systemd unit or init.d script" [Undecided,Triaged] https://launchpad.net/bugs/1312255 |
|
[13:32] <barry> xnox: do autopkgtests prevent internet access by default? |
|
[13:33] <xnox> barry: mostly yes. |
|
[13:34] <xnox> barry: you have e.g. access to archive.ubuntu.com, but for further protection exporting a bad proxy helps. |
|
[13:38] <barry> xnox: right. see, build-time tests (esp. with --buildsystem=pybuild) takes care of this for you automatically. without this, it's easy to accidentally add a silent dependency that gets satisfied by pypi but not the archive. this is just one example that comes to mind. but i know in the past i've had issues where i tried to run the full s-i test suite in dep8 too, and got different results. also, think about local reproduction - |
|
[13:38] <barry> with build-time tests, you can very accurately reproduce -- and debug! -- locally any failures. you can do it with dep8, but it's more difficult and there's more variability (e.g. which virtualization do you use, etc.) |
|
[13:41] <xnox> barry: i'm telling you for autopackage test to do ./debian/rules test |
|
[13:41] <xnox> barry: and execute dh_auto_test --buildsystem=pybuild |
|
[13:41] <xnox> barry: but skip that bit, if python-pip is not available. |
|
[13:41] <xnox> (or well ./debian/rules override_dh_auto_test most likely) |
|
[13:43] <didrocks> barry: xnox: hey, a python2/3 question for you guys. So, I'm updating argcomplete for supporting both. There are some binary helpers that can work for both. I separated them in a different packages and have it depending on python2-argcomplete | python3-argcomplete flavors. |
|
[13:43] <barry> xnox: i've no doubt it can be made to work, but just saying it seems like a clumsy workaround for an artificial problem. but anyway, i'll keep pondering it. ultimately i think you're right, we need to abolish the split, esp. for build depends |
|
[13:43] <didrocks> however dh_python change the interpreter /usr/bin/env python to /usr/bin/python |
|
[13:43] <didrocks> so not really sure how I can have it working with both, so that you don't need to always install python-argcomplete |
|
=== tarpman_ is now known as tarpman |
|
[13:44] <barry> didrocks: it's the right thing to do. devs should use /u/b/e but installed scripts should always use /u/b/python{,3} |
|
[13:44] <xnox> didrocks: i wish there was "#!/usr/bin/python2or3" which did the right thing =) |
|
[13:44] <didrocks> barry: yeah, so how do we do this? seems silly that if you install python3-argcomplete, you have to install python2-argcomplete for the helpers :) |
|
[13:44] <barry> xnox: yeah, that's come up many times. i've even done a little hacking on a solution to that. it's subtly tricky! |
|
[13:44] <didrocks> xnox: right! :) |
|
[13:45] <barry> didrocks: don't forget, anything with a shebang can be explicitly invoked too, e.g. $ python3 /usr/bin/mypy3shebangedfoo |
|
[13:45] <barry> er |
|
[13:45] <barry> $ python3 /usr/bin/mypy2shebangedfoo |
|
[13:45] <didrocks> barry: well, it's an end-user tool… |
|
[13:45] <didrocks> not sure we'll ask them to |
|
[13:46] <barry> didrocks: the usual solution - not saying it's ideal - is to lay down /usr/bin/helper and /usr/bin/helper3 where almost literally the only difference is the shebang |
|
[13:47] <didrocks> yeah, not really nice |
|
[13:47] <barry> didrocks: and that can be very easy if you arrange your code where most of the logic lives in the library. and in fact, using setuptools tricks, you don't even need to write the cli script (let it be generated) |
|
[13:47] <didrocks> that's the way other packages are doing it? |
|
[13:47] <didrocks> barry: it's not my code actually |
|
[13:48] <barry> didrocks: yep. e.g. gunicorn, which i've recently been adding py3 archive support for (upstream supports py3) |
|
[13:48] <didrocks> (and yeah, I let it being generated) |
|
[13:48] <barry> so, in the gunicorn bpkg you get /usr/bin/gunicorn and in the gunicorn3 bpkg you get /usr/bin/gunicorn3 |
|
[13:48] <didrocks> barry: ah, so, there is some magical trick in debian/rules to have a second version the python shebang? |
|
[13:48] * didrocks apt-get source |
|
[13:49] <barry> didrocks: not in archive yet. hang on, i'll get you the github url |
|
[13:49] <didrocks> seems like the perfect timing then :p |
|
[13:50] <barry> didrocks: indeed, the only way you could have done better is if you'd pinged me last night. :) https://github.com/warsaw/pkg-gunicorn/tree/py3 |
|
[13:50] <didrocks> barry: heh ;) |
|
[13:50] * didrocks looks |
|
[13:51] <barry> didrocks: with a well-behaved setup.py and setuptools, the right scripts will be generated. the trick you'll see in that package just have to shuffling the /usr/bin stuff around into the right binary package. ping me if you have questions! |
|
[13:52] <didrocks> barry: so, I see that you mv the binary name… I'm unsure how this helper dh_python3 to put the correct shebang |
|
[13:53] <barry> didrocks: in gunicorn `$python setup.py install` - which gets run by the build system (set DH_VERBOSE=1 for details) - is the thing that generates the correct shebang. you can also add an `override_dh_python3: dh_python3 --shebang /usr/bin/python3` rule if you need to (man dh_python3 - i might have the wrong switch name) |
|
=== masACC is now known as maswan |
|
[13:54] <didrocks> barry: oh, perfect, so yeah, will do this then |
|
[13:54] <barry> didrocks: *gunicorn -> setuptools compatible setup.py based project |
|
[13:54] <didrocks> thanks a lot |
|
[13:54] <didrocks> yeah ;) |
|
[13:54] <barry> didrocks: yw! |
|
[13:54] <barry> :) |
|
[13:55] <xnox> barry: i have a tricky question for you =) how to run unit tests for metapackages under both python2 and python3? |
|
[13:55] <barry> xnox: "tricky" or "trick"? :) |
|
[13:56] <xnox> barry: cause for python2, i need the __init__.py with resource thing in-place and for python3 it must be removed (and the .pyc as well). And from a single tree that supports both python2 and python3 I have no idea how to do it? |
|
[13:56] <xnox> barry: apart from what i do now.... "rm __init__.py*; run python3 tests; bzr revert __init__.py" |
|
[13:56] <barry> ew |
|
[13:56] <xnox> barry: and that's just pure upstream with setuptools -> no debian packaging / pybuild, nothing else.... |
|
[13:57] <barry> xnox: not sure what "the resource thing" is, but is the presence of the __init__.py the problem, or the contents of that file? |
|
[13:57] <barry> xnox: which project is this? |
|
[13:57] <hallyn> pitti: uh, no. lxc gets tons of git pull requests. maybe github was having an outage? |
|
[13:57] <barry> contents of file are easily hacked around with a sys.version_info test guard |
|
[13:57] <xnox> barry: either or i believe. Since presence of __init__.py makes it not an implicit metapackage in python3. |
|
[13:58] <barry> xnox: ah, you mean a namespace package (in python parlance) |
|
[13:59] <xnox> barry: it's lazr.* stuff. E.g. i want to run lazr.restfulclient test suite in $PWD against system lazr.uri, yet with __init__.py present locally system-wide lazr.restfulclient ends up being tested.... =( |
|
[13:59] <barry> xnox: i think i get what you mean. yeah, unfortunately, there's no way afaik atm to fake not having an __init__.py to get a namespace package under py3, but a quasi-ns package under py3 |
|
[13:59] <barry> *py2 |
|
[13:59] <xnox> barry: which one of the two py3s was meant to be py2? |
|
[13:59] <barry> xnox: oops, sorry, the last one :) |
|
[14:00] <xnox> barry: i was thinking doing a build, and post-build under py3 force rm init.py? or like add it in post python2? |
|
[14:00] <barry> xnox: okay, so "tricky" :) i can't think of anything off the top of my head. i've run into this with my flufl.* packages, but never really dug deep to figure it out. it's worth some experimentation though |
|
[14:00] <xnox> barry: can i force skip __init__.py copy/bytecompile/install under a given python version? |
|
[14:01] <xnox> barry: at the moment it looks like i should use autopackagetests =) as everything is installed globally and tested correctly ;-) |
|
[14:01] <barry> xnox: skipping bytecomp won't help. seems like you'd like to be able to put an exception in there to "tell" py3 to treat the __init__.py as if it doesn't exist |
|
[14:02] <barry> xnox: yeah. there should be a way at least to ensure you're not testing system packages. i'd need to think more on it |
|
[14:02] <barry> and futz around with code |
|
[14:03] <xnox> barry: shall i prepare an example and throw it into ppa? or is the problem space well understood? |
|
[14:04] <xnox> barry: i think i should be overriding pythonpath, excluding systempath, yet including the things i want, and use relative imports. |
|
[14:04] <barry> xnox: i think i understand the problem, but maybe a bug report would be useful? if so, subscribe me and i can dig into it when i have a little more time |
|
[14:04] <xnox> ack. |
|
[14:04] <barry> xnox: cheers |
|
=== timrc is now known as timrc-afk |
|
[14:22] <kentb> hello, I've got a couple of packages that need sponsor review: https://bugs.launchpad.net/ubuntu/+source/ledmon/+bug/1349920 (SRU). Supposedly a fix has been uploaded into debian for the same thing, but, I haven't seen it land yet. |
|
[14:22] <ubottu> Ubuntu bug 1349920 in The Dell-poweredge project "ledmon does not work in Ubuntu 14.04" [High,In progress] |
|
[14:23] <kentb> other one is: https://launchpad.net/bugs/1335907 |
|
[14:23] <ubottu> Ubuntu bug 1335907 in sblim-sfcb (Ubuntu) "Update to version 1.4.8 sblim-sfcc for Utopic" [Undecided,New] |
|
=== timrc-afk is now known as timrc |
|
=== greyback|away is now known as greyback |
|
[15:03] <pitti> hallyn: perhaps; I read the "how to contribute" section and went the git patch email mail as advertised then |
|
[15:04] <pitti> tseliot: it needs an init.d script or systemd unit which is equivalent to the upstart job |
|
[15:05] <tseliot> pitti: and some detection code too, so that it won't try to install the upstart job. This is the part I don't know how to handle |
|
[15:05] <pitti> tseliot: just looking at the job |
|
[15:06] <hallyn> pitti: i prefer email so good with me :) |
|
[15:07] <pitti> tseliot: so I recommend factoring out the rather complicated "script" section into /usr/share/nvidia-prime/nvidia-prime-start (or similar) shell script, and then calling that from the upstart job and systemd unit |
|
[15:08] <pitti> tseliot: oh, writing to the upstart log looks a bit odd, does that actually work? |
|
[15:08] <pitti> tseliot: if upstart has an open fd to the log at that time, wouldn't that just fail? |
|
[15:08] <tseliot> pitti: it's always worked AFAIK |
|
[15:08] <pitti> tseliot: but this is a message which should be on the screen anyway, so echo |
|
[15:08] <pitti> that way it'll land in the upstart log the proper way, or in systemd's journal with systemd |
|
[15:09] <pitti> tseliot: hm, where does /usr/bin/start-nvidia-persistenced come from? not from nvidia-prime apparently? |
|
[15:11] <tseliot> pitti: start-nvidia-persistenced comes from the drivers. Maybe that's what's causing the failure: http://paste.ubuntu.com/7915250/ |
|
[15:11] <pitti> tseliot: eek, what is that? |
|
[15:11] <tseliot> pitti: unfortunately I have to delay the daemon or it will fail to start on boot |
|
[15:12] <pitti> tseliot: is that start-nvidia-persistenced? |
|
[15:12] <tseliot> pitti: yes |
|
[15:12] <tseliot> a bit of a hack, I know |
|
[15:13] <pitti> tseliot: ok; so nvidia-prime doesn't have a dependency to ensure start-nvidia-persistenced is there |
|
[15:13] <pitti> tseliot: would't that upstart job better belong into whatever actually provides nvidia-persistenced? |
|
[15:13] <tseliot> pitti: the drivers depend (recommend) nvidia-prime |
|
[15:14] <pitti> tseliot: and what reacts to bbswitch-ready? |
|
[15:14] <tseliot> pitti: the drivers provide nvidia-persistenced and the script |
|
=== pete-woods1 is now known as pete-woods|lunch |
|
[15:15] <tseliot> pitti: the drivers have the nvidia-persistenced.conf job that starts on bbswitch-ready |
|
[15:15] <pitti> tseliot: so perhaps nvidia-prime.upstart should not be "start on starting lightdm" but actually on something like "bbswitch is ready" (for whatever that is, an uevent, or something in /sys appearing plus sleep 10) |
|
[15:16] <pitti> tseliot: so why does http://paste.ubuntu.com/7915250/ need to be a separate script, instead of just being in the .upstart? |
|
[15:17] <pitti> tseliot: what's the actual condition that needs to be satisfied here? the bbswitch module being loaded? |
|
[15:18] <tseliot> pitti: I wrote that last December but, IIRC there were race conditions (I don't remember exactly where atm) |
|
[15:19] <tseliot> pitti: bbswitch, and (I think) X, and proper X driver initialisation |
|
[15:19] <highvoltage> ~, |
|
[15:20] <pitti> tseliot: so like start on started lightdm and device-added SUBSYSTEM=graphics DEVPATH=bbswitch* (I'm making up the subsystem and the env match) |
|
[15:21] <pitti> tseliot: and this could then go directly into whatever reacts on bbswitch-ready? would that work? |
|
[15:21] <barry> didrocks: \o/ python-argcomplete (0.8.1-0ubuntu1) utopic; urgency=medium |
|
[15:21] <didrocks> barry: heh, yeah! ;) |
|
[15:21] <didrocks> barry: speaking of which… |
|
[15:22] <didrocks> barry: I see this interesting https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748404 :) |
|
[15:22] <ubottu> Debian bug 748404 in wnpp "ITP: cov-core -- plugin core for use by pytest-cov, nose-cov and nose2-cov" [Wishlist,Fixed] |
|
[15:22] <pitti> tseliot: no idea what the bbswitch module does; an udevadm info --export dump might be insightful |
|
[15:22] <barry> didrocks: yep! are you using it? |
|
[15:22] <didrocks> barry: right! ;) |
|
[15:22] <didrocks> in my virtualenv for now |
|
[15:23] <didrocks> I just need to backport it to trusty in my ppa (as I need to support trusty and I want to run my nose tests on it as well) |
|
[15:23] <didrocks> so, yeah, some hours won :) |
|
[15:23] <barry> awesome. yes, i have a long-lived branch to add coverage to s-i. still having problems collecting coverage data from dbus activated subprocesses tho |
|
[15:23] <barry> didrocks: :) |
|
[15:23] <tseliot> pitti: I'm not sure if that's enough but I can definitely try. |
|
[15:24] <didrocks> barry: I "just" have subprocess :p |
|
[15:24] <didrocks> barry: my docker tests are not trapped by the coverage, but I'm not asking for that much, subprocess support is already awesome :) |
|
[15:24] <barry> didrocks: yep, coverage should handle that although there's some inconsistent docs on the subject. i think my problem is dbus :/ |
|
[15:25] <didrocks> yeah, I guess can be something similar than my docker issue (when I ssh to a local container) |
|
[15:25] <didrocks> I see how hard it can be to track, even with the bindmount |
|
[15:25] <pitti> tseliot: anyway, it'll be much easier if http://paste.ubuntu.com/7915250/ isn't its own script (and not in $PATH), but part of the upstart/systemd job; but of course even better to find the actual startup condition :) |
|
[15:27] <tseliot> pitti: yes, I think I can make it much simpler now, thanks to some recent changes in the gpu-manager |
|
[15:34] <pitti> hallyn: oh BTW, not sure how notifications work, I reviewed the new cgmanager on mentors |
|
[15:35] <hallyn> pitti: oh no. |
|
[15:35] * hallyn goes to look |
|
[15:37] <pitti> hallyn: ah, so IRC ping it is :) |
|
[15:40] <pitti> hallyn: so wrt. LXC, if I pretend cgmanager isn't started on boot (which is fixed in your new version), lxc-start-ephemeral works OOTB now |
|
[15:40] <pitti> hallyn: curiously lxc-start isn't, and fails with lots of apparmor denials on changing mount points to "private" |
|
[15:41] <pitti> hallyn: so the policy fix from yesterday is incomplete; I don't really have a good idea what the essential difference is between l-s-ephemeral and l-s, I'll keep digging |
|
[15:41] <didrocks> barry: works perfectly on trusty, muchas gracias :) |
|
[15:41] <barry> didrocks: \o/ |
|
[15:45] <hallyn> pitti: i'd ping sarnold or jjohansen. maybe there is a 'rbind' or 'rslave' option you can add to the policy |
|
[15:46] <pitti> hallyn: do you know, does /etc/apparmor.d/abstractions/lxc/start-container still apply to lxc-start? or does that need to go into /etc/apparmor.d/abstractions/lxc/container-base or similar? |
|
[15:48] <stgraber> pitti: lxc-start executes under the start-container profile, lxc-start-ephemeral (because it's a python script), doesn't |
|
[15:48] <hallyn> pitti: start-container applies during lxc-start, then switches to container-base when init is executed |
|
[15:48] <stgraber> lxc-autostart will also skip the start-container profile for similar reasons |
|
[15:48] <stgraber> maybe it's something we should fix :) |
|
[15:49] <hallyn> stgraber: we *could* have lxc-start-ephemeral manually move itself into the start-container profile |
|
[15:49] <pitti> stgraber: shouldn't you be on holiday? (but thanks, of course!) |
|
[15:49] <stgraber> hallyn: yeah, I actually wonder if symlinking the lxc-start profile to usr.bin.lxc-start-ephemeral would do the trick |
|
[15:49] <pitti> somehow this morning I got into a situation where lxc-start worked |
|
[15:49] <stgraber> pitti: nope, I'm back since Monday |
|
[15:49] <pitti> after I ran start-ephemeral, or some apparmor profile load commands, or something |
|
[15:50] <pitti> but I don't remember any more how |
|
[15:50] <pitti> hallyn: so that apparmor fix from yesterday definitively worked for some situation, but apparently I was in that "special" one ^ |
|
[15:50] <pitti> stgraber: ah, did you have a good time? |
|
[15:50] <stgraber> jdstrand, jjohansen: hey, so can I have a profile for say usr.bin.lxc-start-ephemeral if that binary is actually a python script or would that only work if the profile was against the interpreter itself (not an option in this case) |
|
[15:51] <stgraber> pitti: yep, was nice, got lucky with the weather too, thanks! |
|
[15:51] <jjohansen> stgraber: you can have a profile against the script |
|
[15:52] <hallyn> stgraber: i may have to look into setting the t440s back and getting a mac :( |
|
[15:52] <jjohansen> stgraber: however if the script is started via the interpreter eg. bash myscript.sh, then you either need to just confine the interpreter or have the interpreter do a change_profile for the script |
|
[15:53] <jjohansen> stgraber: basically any script that is started by binfmt_misc should work with kernel based profile attachment |
|
[15:54] <stgraber> jjohansen: ah great, I'll send a patchset upstream then, thanks! |
|
[15:57] <pitti> smoser: btw, http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=83172c8d - thanks for pointing out, it's a good habit to get into |
|
=== psivaa is now known as psivaa-bbl |
|
[15:58] <smoser> cool. |
|
[16:01] <pitti> apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="/usr/bin/lxc-start" name="/" pid=4405 comm="lxc-start" flags="rw, slave" |
|
[16:01] <pitti> jjohansen, jdstrand: so I tried to allow this ^ with this: mount options=(rw, slave) -> /, |
|
[16:01] <pitti> but that doesn't work; neither does mount options in (rw, slave) -> /, |
|
[16:02] <pitti> do you happen to have an idea what's wrong? just specifying "mount," makes it work, but that's of course way too lose |
|
[16:02] <pitti> or does that need some stracing to find out the particular mount() call it's trying to do? |
|
[16:03] <pitti> the corresponding lxc error message is "Permission denied - Failed to make / rslave" (quite expected, but for completeness) |
|
[16:04] <hallyn> pitti: uh, so, |
|
[16:04] <hallyn> pitti: what about patching systemd to not do MS_SHARED? :) |
|
[16:05] <hallyn> it'll also break containers wrt ip netns |
|
[16:05] <pitti> hallyn: big pain point :/ |
|
[16:05] <pitti> this has been discussed a lot in the past year or so, and it's highly annoying |
|
[16:06] <pitti> rock (backwards compat with older releases) <-> hard place (break compatibility with stuff that expects shared by default) |
|
[16:06] <jjohansen> pitti hrmm, at a first pass that seems like it should work. Its possible there is a bug around rbind and MS_REC |
|
[16:06] * jjohansen will have to poke |
|
[16:07] <pitti> jjohansen: the odd thing is, this line used to work, but not on current utopic |
|
[16:07] <jjohansen> pitti: oh! hrmmm, its possible something change in mount under us |
|
[16:08] <hallyn> 3.16 regresses in several ways :( /proc also is mounted nobody:nogroup |
|
[16:10] <pitti> jjohansen: do you have an idea how I can relax this restriction a bit to see when it starts working? I tried "mount options=(rw, rslave) ** -> **", but that doesn't work either (not sure if that's valid) |
|
[16:11] <jjohansen> pitti: mount options=(rw, slave), |
|
[16:11] <hallyn> pitti: 2 questions, |
|
[16:11] <pitti> [pid 6584] mount(NULL, "/", NULL, MS_SLAVE, NULL) = -1 EACCES (Permission denied) |
|
[16:11] <hallyn> 1. are we sure that 'Type=simple' will always be the default? |
|
[16:11] <pitti> ^ strace |
|
[16:12] <pitti> hallyn: yes; but feel free to keep it in there, it really doesn't matter much; that was mostly for simplifying the file |
|
[16:13] <hallyn> 2. should i hae dh_systemd_enable at top of that block and then the --nostart at bottom? or only one call to dh_systemd_enable |
|
[16:13] <pitti> jjohansen: "mount options=(rw, rslave)" still fails |
|
[16:13] <hallyn> i mean, --no-enable |
|
[16:13] <pitti> hallyn: in general you call dh_systemd_enable $OPTIONS; dh_installinit $OPTIONS; dh_systemd_start $OPTIONS |
|
[16:14] <pitti> hallyn: i. e. all three with the same $OPTIONS |
|
[16:14] <jjohansen> pitti: this is current utopic kernel, and utopic userspace |
|
[16:14] <hallyn> pitti: yuck |
|
[16:14] <jjohansen> pitti: can you open a bug |
|
[16:14] <pitti> hallyn: I hope some day this will all move into dh_installinit |
|
[16:14] <hallyn> pitti: but so if i don't want dh_systemd_start, do i just put one call to dh_systemd_enable --no-enable at the top? |
|
[16:15] <pitti> jjohansen: sure; I'll test with the trusty kernel to ensure it's an acutal regression; I just wanted to check that this syntax is supposed to work |
|
[16:15] <pitti> hallyn: yes; but I still think it's safer to call dh_systemd_enable too; that stuff syncs up with the sysv stuff etc. |
|
[16:15] <jjohansen> pitti: it looks good to me |
|
[16:16] <pitti> jjohansen: thanks; so I'll do some kernel version bisection |
|
[16:17] <hallyn> pitti: not groking. http://paste.ubuntu.com/7915722/ ? |
|
[16:19] <pitti> hallyn: something like http://paste.ubuntu.com/7915733/ |
|
[16:20] <pitti> hallyn: sorry, with --no-enable for dh_systemd_enable |
|
[16:20] <hallyn> pitti: yuck again |
|
[16:20] <pitti> hallyn: yeah; as I said, it shuold really be in dh_installinit, but isn't yet |
|
[16:20] <hallyn> pitti: thanks. i'll push another version in a min |
|
[16:20] <pitti> thus it's like dh_installinit_before and dh_installinit_after |
|
[16:21] <pitti> hallyn: oh, I think you can actually leave out dh_systemd_start (sorry for being confusing, I just read the docs again) |
|
[16:21] <pitti> "dh_systemd_start is a debhelper program that is responsible for starting/stopping or restarting systemd unit files in |
|
[16:21] <pitti> case no corresponding sysv init script is available." |
|
[16:22] <pitti> but cgmanager does have an init script |
|
=== sarnold is now known as Guest42067 |
|
=== sarnold_ is now known as sarnold |
|
[16:23] <hallyn> pitti: as for the start-stop-daemon return values, that was cut-pasted from skeleton, but what you say makes sense so i'll change it |
|
[16:23] <pitti> hallyn: so: http://paste.ubuntu.com/7915761/ |
|
[16:23] <hallyn> ok |
|
[16:23] <pitti> hallyn: oh, really? there might be some subtle semantics I missed, but "2" generally means "already runing", and that shoudl count as success, no? |
|
[16:25] <hallyn> pitti: the comments said 1 means already rnning, 2 means error <shrug> |
|
[16:28] <pitti> hallyn: right, or that way around |
|
[16:28] <pitti> hallyn: but it looked like it would return 2 if s-s-d returned 1 |
|
[16:28] <pitti> (or vice versa) |
|
=== psivaa-bbl is now known as psivaa |
|
[16:33] <hallyn> pitti: i suppose it was racy, but it first checked with --test to see if it was already running, reutrned 1 if so; then returned 2 on any start error |
|
[16:33] <hallyn> so long as start-stop-daemon does in fact always return 2 on error, then your way is better |
|
[16:33] <pitti> hallyn: ah, so that would have sorted out the "already running" case |
|
[16:33] <hallyn> well, races aside |
|
[16:34] <hallyn> actually in that case ssd will return 0 |
|
[16:34] <pitti> hallyn: so for stop, --oknodo already deals with the "already running" case, and will then return 0 |
|
[16:34] <hallyn> and ssd says it exits 3 on error |
|
[16:34] <hallyn> is it ok for the init scrip tto return 3? |
|
[16:34] <pitti> it also works for start, but not sure if it's ok to use it there, or whether you are supposed to return 1 |
|
[16:34] <pitti> init.d scripts are also a big mess |
|
[16:35] <hallyn> so you think still use $? |
|
[16:36] * pitti looks at http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html |
|
[16:36] * hallyn reboots to enable kvm, biam |
|
[16:37] <pitti> hallyn: so what the do_start() action returns to the "main" section of the init.d script is largely an implementation detail |
|
[16:37] <pitti> hallyn: the init.d script jsut needs to exit with 0 when it's already running/already stopped |
|
[16:42] <pitti> jjohansen: hm, so I tried the trusty kernel now (3.13.0-32) and also 3.15.0-6, and they both fail in the same way |
|
[16:42] <pitti> jjohansen: so not a regression then |
|
[16:43] <jjohansen> pitti: okay, thanks. can you strace the command that is failing |
|
[16:43] <pitti> [pid 8228] mount(NULL, "/", NULL, MS_SLAVE, NULL) = -1 EACCES (Permission denied) |
|
[16:43] <pitti> lxc-start: Permission denied - Failed to make / rslave |
|
[16:44] <pitti> jjohansen: yes; ^ (see above) |
|
=== pete-woods|lunch is now known as pete-woods |
|
[16:44] <pitti> jjohansen: many similar ones, like |
|
[16:44] <pitti> mount(NULL, "/dev/pts", NULL, MS_SLAVE, NULL) = -1 EACCES |
|
[16:44] <pitti> i. e. for all mount points |
|
[16:44] <pitti> (which is the translation of rslave, I figure) |
|
[16:45] <jjohansen> pitti: and you tried |
|
[16:45] <jjohansen> mount options in (rw, rslave), |
|
[16:47] <pitti> jjohansen: I tried with =, let me try again with in and no path |
|
[16:47] <pitti> jjohansen: same error |
|
[16:47] <pitti> jjohansen: same with (rw, slave) |
|
[16:50] <jjohansen> pitti: hrmmm, okay. I'll look into it, do we have a bug # for this yet? |
|
[16:50] <pitti> jjohansen: I'll file one now; it's a bit hard to reproduce, it requires a number of fixes to the lxc systemd scripts; but I think it can be reproduced under upstart with mounting everyhting as MS_SHARED before lxc-start, I'll look into that |
|
[16:51] <pitti> (it's not systemd specific, just specific to the default sharing) |
|
[16:52] <jjohansen> pitti: uhm, have you tried |
|
[16:52] <jjohansen> mount options in (rw, rslave, rshared), |
|
[16:53] <pitti> mount options in (rw, slave, rslave, shared, rshared), |
|
[16:53] <pitti> failed |
|
[16:53] * jjohansen add wi to identify which flag a match is failing |
|
[16:53] <jjohansen> pitti: okay |
|
[16:53] <pitti> mount -> /, |
|
[16:53] <pitti> fails as well |
|
[16:53] <pitti> the only thing that works so far is just "mount," |
|
[16:53] <jjohansen> pitti: hrmmm, okay |
|
[16:54] <hallyn> pitti: new version pushed to mentors. (no ack msg from mentors yet though) |
|
[16:54] <pitti> mount -> **, |
|
[16:54] <pitti> jjohansen: ooh, that works |
|
[16:54] <pitti> mount options in (rw, slave, rslave, shared, rshared) -> **, |
|
[16:54] <pitti> that doesn't |
|
[16:55] <pitti> hallyn: ack; will do tomorrow morning, getting late here |
|
[16:55] <jjohansen> pitti: is the message still info="failed flags match"? |
|
[16:55] <pitti> hallyn: thanks! (required some patience..) |
|
[16:55] <pitti> type=1400 audit(1406825689.899:812): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="/usr/bin/lxc-start" name="/" pid=9893 comm="lxc-start" flags="rw, slave" |
|
[16:55] <pitti> jjohansen: yes |
|
[16:56] <jjohansen> okay |
|
[16:57] <pitti> jjohansen: ack, very easy to reproduce under upstart with "sudo mount --make-rshared /", so I'll include that in the bug report |
|
[16:57] <jjohansen> oh nice, I like easy reproducers |
|
[16:58] <pitti> yes, who doesn't :) |
|
[17:02] <hallyn> pitti: ok - i'm going to test here under sysvinit and systemd, then maybe beg slangasek to push it (assuming it's working) |
|
[17:10] <pitti> jjohansen: bug 1350947, I hope the reproducer is clear enough |
|
[17:10] <ubottu> bug 1350947 in linux (Ubuntu) "apparmor: no working rule to allow making a mount private" [Undecided,New] https://launchpad.net/bugs/1350947 |
|
[17:11] <pitti> jjohansen: at least with the start/reload/cleanup commands one can iterate/test very fast (< 1 s) |
|
[17:12] <jjohansen> pitti: thanks |
|
[17:13] <pitti> jjohansen: I filed it against linux, might also be a bug in appamor, of course (parser or so); I'll leave that to you |
|
[17:14] <jjohansen> ack |
|
[17:14] <pitti> jjohansen: thanks in advance! |
|
[17:18] * pitti waves good night |
|
=== roadmr is now known as roadmr_afk |
|
[17:56] <popey> where should I filed a bug in the live 14.10 environment? (the initial boot menu has a "Back..." option which seems not to be needed, and is broken) |
|
=== roadmr_afk is now known as roadmr |
|
[18:00] <roadmr> popey: https://launchpad.net/ubuntu-cdimage maybe? (I'm not sure though) |
|
=== DalekSec_ is now known as DalekSec |
|
=== ricmm_ is now known as ricmm |
|
[20:27] <bdmurray> doko: could you have a look at bug 1351018? |
|
[20:27] <ubottu> bug 1351018 in gdb (Ubuntu) "issues debugging program threads on 12.04" [Undecided,New] https://launchpad.net/bugs/1351018 |
|
[21:39] <doko> bdmurray, sure, probably not tomorrow, will need to fix the gcc-4.9 cross compilers |
|
[21:55] <doko> bdmurray, I assume this is seen in utopic (7.8) too? |
|
[21:56] <bdmurray> doko: I haven't backported that version to precise |
|
=== salem_ is now known as _salem |
|
|