/srv/irclogs.ubuntu.com/2014/09/16/#ubuntu-devel.txt

=== ValicekB_ is now known as ValicekB
=== StevenK_ is now known as StevenK
=== rjdohnert_ is now known as RobertJdohnert
=== Laney is now known as Guest45203
=== Ursinha-afk is now known as Ursinha
=== _salem is now known as salem_
=== salem_ is now known as _salem
Mirvif a core-dev around, there'd be a trio of simple debian/ changes to ack for CI Train at https://ci-train.ubuntu.com/job/ubuntu-landing-001-2-publish/04:24
Mirvfor signon-plugin-oauth2, the new account-plugin-google comes from account-plugins in the same landing04:25
Mirvalso, ubuntu-app-launch getting cgmanager and newer upstart dependencies: https://ci-train.ubuntu.com/job/ubuntu-landing-013-2-publish/3/artifact/packaging_changes_ubuntu-app-launch_0.4+14.10.20140915.3-0ubuntu1.diff04:31
pittiGood morning04:54
pittiinfinity: hey, happy birthday!06:43
dholbachgood morning06:51
=== buxy_bak is now known as buxy
ionthat06:55
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== willcooke_ is now known as willcooke
=== Guest45203 is now known as Laney
=== ochosi_ is now known as ochosi
cjwatsonmardy: Could you get https://code.launchpad.net/~cjwatson/signon-ui/pre-0.17-upgrades/+merge/234788 or equivalent into utopic reasonably quickly?  This bug rather disastrously broke my trusty-to-utopic upgrade yesterday (it happened that enough packages were unconfigured that "dpkg --configure -a" gave up, so proceeding required a lot of manual operations; I was able to recover, but most users wouldn't).09:35
pale3hi, I'm building package wiich has /usr/share/doc/package/html dir with bunch of html,css stuff. I suppose that this isn't required for creating deb pakacge. I there way to prevent installation of this dir10:16
pale3also one more question, as upstream package versions is 2.0.0.rc.1, what versins shuld I use. Could anyone suggest appropriate notation10:19
pale3/versins/version10:20
Laneyoops10:23
Laney@pilot out10:23
=== udevbot_ changed the topic of #ubuntu-devel to: Archive: Feature Freeze | 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:
=== warp10_ is now known as warp10
mardycjwatson: looks good, thanks! I'll try to get it into utopic10:35
cjwatsonmardy: lovely, thanks10:46
cjwatsonpale3: why not just remove it in debian/rules after calling dh_auto_install or similar?10:46
cjwatsonpale3: something like 2.0.0~rc1-1 (where the trailing -1 etc. is the packaging revision) would be usual10:46
pale3cjwatson: I dind't tested, will this work if i add rm -rf /usr/share/doc/package/html in override_dh_auto?10:50
pale3cjwatson: thx for versioning suggestion10:51
pale3i mean override_dh_auto_install10:52
cjwatsonpale3: not /usr/share/doc/package/html!  Remember that that's your system's directory ...11:05
cjwatsonpale3: you want debian/package/usr/share/doc/package/html11:05
pale3I figgured that I need more work dir, build failes11:05
pale3cjwatson: thx11:06
=== MacSlow is now known as MacSlow|lunch
=== Trewas666 is now known as trewas
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
shadeslayerstgraber: ping12:05
shadeslayerstgraber: lxc question, how do I make a container that I can use with the download template?12:05
=== Ursinha is now known as Ursinha-afk
=== salem_ is now known as _salem
ogra_cjwatson, could we get tcpdump into rtm for debugging purposes ?13:06
cjwatsonogra_: Sure, copied.  Are you intending to put it on any images?  If so please seed it ...13:11
ogra_no, just for sergiusens to debug some connectivity stuff13:11
ogra_we dont need it seeded13:11
shadeslayeranyone else who's a lxc expert and can advise on how to create downloadable lxc rootfs's?13:11
sergiusenscjwatson: ogra_ thanks13:13
=== beuno_ is now known as beuno
=== greyback__ is now known as greyback
=== _salem is now known as salem_
hallynslangasek: of course.  but note that the autoloading for x86 is actually done by the kernel package nawadays.14:08
stgrabershadeslayer: hey14:14
shadeslayerstgraber: hi ho, see my question :)14:15
stgrabershadeslayer: so basically if you want to make your own image, what you need is .tar.xz compressed version of a rootfs where all hostnames have been replaced by LXC_NAME.14:16
shadeslayerI see14:16
stgrabershadeslayer: then you need to create a second tarball called meta.tar.xz which contains the following files: build_id (image version string), config (the basic container config), create-message (message displayed post-create, expiry (UNIX EPOCH for cache expiry) and templates (list of files that contain LXC_NAME and need to be sent through sed)14:18
stgrabershadeslayer: those files are the ones you usually see in /var/cache/lxc/download/...14:19
stgrabershadeslayer: if you care about unprivileged containers, some of those files will have to be different in that case. You can create a <filename>-user file which will override the main one. e.g. config-user will let you ship a different configuration for unprivileged containers14:20
=== Ursinha-afk is now known as Ursinha
shadeslayeroh my, seems a fair amount of work that has no scripts to do it?14:20
* shadeslayer started looking into docker14:21
stgrabershadeslayer: you can do a local test run by making say /var/cache/lxc/download/test/test/amd64/default, unpacking meta.tar.xz in there and placing rootfs.tar.xz. Then call lxc-create -t download -n blah -- -d test -r test -a amd6414:21
stgrabershadeslayer: right, we have scripts upstream to generate the public images but I'm not sure how re-usable those would be14:21
stgrabershadeslayer: if all you care about is shipping containers between machines, your best bet is a big tarball of /var/lib/lxc/<container> and shipping that between hosts for now (we're working on a better workflow and better tooling but that's still at the design stage)14:22
shadeslayerI see14:23
shadeslayerstgraber: the thing is, I want to run a arch lxc container on a ubuntu host14:23
shadeslayerand that is currently impossibru14:23
shadeslayerbecause ubuntu doesn't have pacman14:23
shadeslayerwhich is what the lxc template uses to bootstrap things14:23
stgraberok, so for a one off kind of thing, I'd create an arch VM, install LXC, create a container in there, make a tarball out of it and copy that to an Ubuntu host, call it tpl-arch or something like that and then use lxc-clone to make copies of it14:24
stgrabera clean solution would be to do the same first steps but then update github.com/lxc/lxc-ci to know about pacman and archlinux, get an initial i386 and amd64 arch container loaded on the CI infrastructure and then use that to bootstrap the creation of daily arch containers on images.linuxcontainers.org14:26
stgraberwe've already done that exact same thing with opensuse (same problem, their package manager wasn't available on Ubuntu)14:26
shadeslayerhmm14:27
=== cyphermox_ is now known as cyphermox
rbasakinfinity: ping, re: mysql14:37
rbasakinfinity: also, some light reading: http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/2014-September/007040.html14:37
slangasekhallyn: sure; and we'd like the autoloading done by the kernel on ppc64el, but no idea when that will get done :)14:38
hallynslangasek: so i guess the solution is to move qemu-system-x86.qemu-kvm.upstart to qemu-system-common.qemu-kvm.upstart, and have it check the host arch14:41
hallynprobably best if we can coordinate with the sysvinit script (i.e. debian)14:42
hallynslangasek: would you want this for utopic?14:43
=== Ursinha is now known as Ursinha-afk
mitya57ScottK: pyqt5 failed to migrate because of a typo in d/tests/control,14:47
mitya57can you please upload http://paste.ubuntu.com/8358366/plain/ when you have time?14:47
mitya57(Or should I just put it into the queue?)14:48
=== Ursinha-afk is now known as Ursinha
dobeyanyone know how to twiddle BIOS settings via /dev/nvram? or update the BIOS?14:51
dobey(update it via /dev/nvram that is)14:52
Guest11861dd if=/dev/nvram of=/path/to/nvram_name_here.bin   ???14:56
Guest11861dd if=/dev/nvram of=/path/to/nvram_name_here.bin.old   to save it to a file14:57
slangasekhallyn: eh, currently in utopic the script appears to be called /etc/init.d/qemu-system-x86; I think it's sensible to have a separate script per arch14:58
Guest11861dd if=/path/to/new_nvram.bin of=/dev/nvram to write to it?14:58
slangasekhallyn: otherwise you have to go renaming conffiles which is annoying14:58
slangasekhallyn: and yes, it would be good to have this for utopic :)14:58
Guest11861dobey :14:58
dobeyGuest11861: i know how to use dd. that doesn't tell me how to do what i need to do exactly though :)14:59
dobeyGuest11861: i need info on the deeper technical bits of it15:00
Guest11861dobey : define twiddle?15:00
dobeyGuest11861: find a specific setting and change it to a valid value15:00
hallynslangasek: that's the init script, but the upstart script is called qemu-kvm (for legacy reasons)15:11
Guest11861dobey : do you have the memory map? And a hex editor? Or are you looking for an api?15:14
dobeyno i don't have the memory map15:15
dobeyi guess if i did i probably wouldn't be asking, but eh :)15:15
dobeywhat i have is a motherboard where i can't see the bios setup screen when i enter it on boot, and no way to upgrade the bios outside of the bios, becuase i don't have windows15:15
Guest11861throw coreboot onto it?15:16
dobeyand i'm trying to find some way to resolve it or at least fix my video memory allocation, because the default 256MB setting isn't cutting it15:16
dobeyi'd like to avoid breaking my machine in the process though15:16
dobeyanyway, need to get food15:17
slangasekhallyn: right; see latest bug followup15:17
hallynk15:18
hallynslangasek: it's not true though15:18
hallynwe only ship the upstart job15:18
slangasekhallyn: then you have not cleaned up the init script on upgrade15:19
=== salem_ is now known as _salem
hallyn?15:19
hallynyou're saying a fresh install now installs both?  (but i installed htis laptop from utopic a month ago)15:19
slangasekhallyn: I'm saying that I have it on my system, and it belongs to the package15:19
slangasekthe fact that it's not on a fresh install (and the fact that it's listed as an 'obsolete' conffile) confirms that it's not in the current package15:20
hallynslangasek: probably from a bug prior to 2.0.0+dfsg-2ubuntu215:20
slangasekbut the fact that it's still on my system means that the current packaging is buggy and failed to remove it on upgrade15:20
hallynslangasek: so yes, the reason i haven't renamed qemu-kvm.conf is bc i'm not sure how to do it reliably in terms of packaging15:20
hallyni'd be fine with renaming it to qemu-system-x86.conf15:20
hallyn(though that's ugly :)15:21
slangasekwell, you could even have qemu-kvm.conf shipped by qemu-system-x86:{amd64,i386} and by qemu-system-ppc:ppc64el, and not by other archs15:21
slangaseksince you wouldn't be installing native versions of those qemu-system-* packages at the same time, the file would just be owned by different packages on each arch15:22
slangaseknot sure if that's more or less sensible than renaming the conffile15:22
hallynwould that hae to be done through debian/rules then, or can that be done through debian/qemu-system-x86.install?15:23
=== elopio_ is now known as elopio
hallynslangasek: so should postinst remove /etc/init.d/qemu-system-x86 (on ubuntu)?15:26
slangasekhallyn: you should use dpkg-maintscript-helper rm_conffile15:26
hallynok, thx, will post a debdiff before doing anything (first finishing up with libvirt)15:27
slangasekkees, pitti: TB meeting?16:03
pittislangasek: argh, yes, joined16:08
=== Ursinha is now known as Ursinha-afk
hallynmdeslaur: hey.  so virt-install shipping from virt-manager introduces 2 new regressions in qrt's test-libvirt.py.  just curious if you've looked at those yet and already knew how to fix them16:33
hallyn(one is bc virt-install changed the filename it creates from .img to .qcow 2 :( )16:33
mdeslaurhallyn: no, sorry, haven't looked at it at all16:34
hallynmdeslaur: ok, thanks, just didn't want to be wasting time.  ttyl16:34
mdeslaurhallyn: cool, thanks16:34
mdeslaurhallyn: I wasn't expecting a virt-manager upload to break the libvirt test script, so I don't even think I tried it16:35
dobeyoh well, guess i'll have to live without games on pc for a while16:35
hallynmdeslaur: heh.  yeah.  ($&%% virt-install.16:36
=== _salem is now known as salem_
=== dholbach__ is now known as dholbach
dokojamespage,  did the golang packagers stop shipping .a files at all?16:55
jamespagedoko, did they ever?16:55
dokoI thought so, for their first packages ...16:55
shadeslayerstgraber: got a moment?17:01
stgrabershadeslayer: in a meeting, should be free in about an hour if you're still around?17:02
shadeslayerstgraber: works for me, mind putting this to download http://curl.io/get/mhrxqen2/901e295b9b2cd6cc2ee135d83f2147475d68a2db  :P17:03
shadeslayerso that we can start right away :)_17:03
shadeslayer( its the arch lxc container I'm working on )17:03
=== Ursinha-afk is now known as Ursinha
=== broder_ is now known as broder
=== roadmr is now known as roadmr_afk
stgrabershadeslayer: ok, I'm sort of around for the next 50min17:41
shadeslayerstgraber: right, so if you have that container downloaded, you want to rename it to : manjaro.tar.gz17:42
shadeslayerand untar it17:42
shadeslayerand a config option needs editing in the config file so that it picks up lxcbr0 instead of br017:42
stgraberok17:44
stgraberso how was that container produced?17:45
shadeslayerstgraber: via a manjaro ( a arch derivative ) VM17:45
stgraberok, on which you installed lxc and created a regular arch container?17:45
shadeslayeryes17:45
shadeslayer( FWIW the error I get on ubuntu when starting the container is : Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied )17:46
shadeslayeroh oh17:46
shadeslayerrunning it as a unconfined container makes it work17:46
shadeslayerthough I'm not exactly happy with that17:47
stgrabersystemd in unpriv containers tends to fail pretty badly usually17:47
shadeslayeroh lol, it also modifies my volume xD17:48
shadeslayerstgraber: I see, well, networking is still broken17:48
shadeslayerbut atleast it starts, hurray17:49
stgrabershadeslayer: lxc.aa_profile=unconfined will make it start mostly fine but with the usual downsides that this is terribly unsafe17:53
shadeslayerstgraber: got a better idea on how to make it work?17:53
stgraberpatch systemd to be less stupid? :)17:54
shadeslayer:p17:54
stgrabersystemd attemps to mount /sys/fs/cgroup/systemd whether it's already there or not and fails badly if it can't17:54
shadeslayersomething that does not involve me throwing my life into systemd and taking up drinking copious amounts of alcohol17:54
stgraberallowing a container to mount cgroupfs in that way is a very bad thing because the container can then bypass any limit set on it17:54
shadeslayerI see17:55
stgraberwell, you can run it with lxc.aa_profile=unconfined and then just never run anything you don't trust in there, assuming you trust those arch binaries to begin with17:55
shadeslayerheh, this is going to grow into a build system :p17:56
hallynmdeslaur: all right i think those are fixed.  /win 2618:08
mdeslaurhallyn: great18:08
hallynthough my re-pull didn't show my pushes... hm18:09
hallynthat's annoying18:10
hallynthat's better18:11
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== roadmr_afk is now known as roadmr
=== Ursinha is now known as Ursinha-afk
dokomlankhorst, new try to build mesa with 3.5?18:57
desrtcan someone help me with installing an ubuntu image on a 2012 n7?19:02
desrti know this is unsupported, but really i just want a way to test arm builds of some stuff from time to time by sshing to it19:03
desrtotherwise, what am i meant to do with this wonderful piece of otherwise-useful canonical-owned hardware?19:03
desrt(it was working before with a very old OS version on it and i made the mistake of attempting to reflash the newer stuff -- now it's a shiny brick)19:04
slangasekinfinity: commit #6188 on the glibc packaging svn - has this been tested at all as part of a bootstrap build?  Because the 'ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)' check in debian/rules.d/build.mk seems to be the exact opposite of what the cross-toolchain packages are patching this to do19:28
infinityslangasek: The cross toolchain packages need adjusting (and maybe glibc in response, etc) to these changes being made, that's on my short list.19:29
=== Ursinha-afk is now known as Ursinha
hallynslangasek: arges: do you know the name of the kvm kernel module on ppc64le?19:51
slangasekhallyn: kvm-hv19:51
hallynthx19:51
hallynand output of uname -m?19:56
hallynslangasek: ^ i'll assume it's precisely "ppc64le" ?19:56
slangasekhallyn: hum, I can't readily check at the moment, the porter box is down and the other machines I have access to at the moment are hosts running in BE mode20:00
slangaseksmoser: ^^ can you confirm the correct uname -m on ppc64el?20:00
smoserslangasek, looking20:02
smoser$ echo "dpkg=$(dpkg --print-architecture) uname_m=$(uname -m)"20:04
smoserdpkg=ppc64el uname_m=ppc64le20:04
smoserslangasek, ^20:04
hallynsmoser: thx20:05
=== gaspa_ is now known as gaspa
infinityslangasek: THe porter is down?20:11
infinityslangasek: Fixed.20:15
slangasekinfinity: ah, you fixeded it?  yay20:20
bdmurraypitti: Could you have a look at bug 1370230?20:21
ubottubug 1370230 in Apport "apport-retrace has become slower" [Undecided,New] https://launchpad.net/bugs/137023020:21
infinityslangasek: ppc64el looked like it had been halted when someone meant to reboot.  powerpc was down too, due to a kernel bug.  I need to see if I can get more traces on that and escalate to benh/antonb.20:25
slangasekmmk20:25
infinityIt's a bit of a blocker for shutting down our old precise ppc buildds, since the gcc testsuite (at least) can reliably crash the trusty kernel every time. :(20:26
=== salem_ is now known as _salem
mlankhorstdoko: try x-staging21:22
mlankhorstdoko: I won't try with 10.1 any more, it kept regressing21:22
mlankhorsterm 10.221:23
hallynslangasek: http://paste.ubuntu.com/8360612/  at least removes the bad old sysvinit file;  it seems like it *should* install the right upstart file on ppc64le21:42
hallyn(built fine in ppa and tested from there)21:43
=== kentb is now known as kentb-out
infinityhallyn: Except that it was removing the init script that was a mistake.  Both should exist (but be named the same).22:14
infinityhallyn: Highly recommend renaming that to /etc/init.d/qemu-kvm in both Debian and Ubuntu and mv_conffileing it, not rm_conffile.22:15
hallyninfinity: why should both exist?  i thought not too long ago that was not in vogue22:16
hallyninfinity: but i don't think i can convince mjt to rename it to qemu-kvm22:16
infinityhallyn: Our "remove all init scripts" fervor was misguided. :P22:16
hallyndrat22:16
infinityhallyn: And we went about adding them all back recently, along with an upstart hack that ignores the init script if a same-named upstart job exists.22:16
infinityhallyn: This allows smaller (or no) deltas with Debian, and a smoother transition to other init systems.22:17
hallyninfinity: ok, but so in slangasek's case we would have to detect tha tthe files are different, and remove his sysvinit version22:17
hallynoh, i gues not22:17
hallyni'm being silly22:17
hallynok, lemme ping mjt.  i think i can make a good case22:17
infinityhallyn: So, either the init script needs to be renamed, or reintroduce it and rename the upstart job.22:17
infinityhallyn: But I think renamiing the init script is sane, since it's clear what it does (enables kvm for qemu) and you've just made it not arch-specific.22:18
hallynright, arch-specific will start to suck soon22:18
infinityhallyn: For ease of maintenance, I might suggest merging the scripts with branching for different arches, to cut down on duplicate code.22:21
hallynyeah i was thinking they'd be more different when i started out22:21
infinityhallyn: But that's your call.22:21
hallyninfinity: so then should it just move to qemu-system-common for ease,22:22
hallyn(then it can just be called qemu-system-common.qemu-kvm.upstart/init/default, instead of renaming something to qemu-system-$arch.qemu-kvm.upstart)22:23
hallyncourse i'm getting a bit sick of moving files between packages22:24
cjwatsonOh!  I think I just had a brainwave about fixing all the zillion man-db error reports / bugs I get when it's triggered and debconf doesn't work ...22:24
cjwatsonOr at least arranging for some other package to be the victim :-)22:24
infinityAs long as it's not one of my packages, I fully support this.22:25
cjwatsonDunno.  It'd probably be whichever one next tries to use debconf22:25
infinityThat could be one of my packages. :P22:26
cjwatsonOr maybe it's only broken during triggers for some reason, but anyway, my immediate motivation is "stop reporting errors against man-db" :-P22:26
cjwatsonMaybe they'll end up somewhere where the failure is comprehensible.22:26
cjwatsonAnd of course it might just be that using debconf in a trigger is unsafe because it runs at points when the relevant perl frontend module is unavailable.22:34
infinitycjwatson: That would be a fundamental flaw in the whole design, then, since postinsts tend to invoke debconf, and triggers invoke postinsts...22:41
cjwatsoninfinity: postinst configure is a superset of postinst triggered, but not the other way around.  So it can be handled.22:45
cjwatsoninfinity: http://paste.debian.net/121373/ is what I'm playing with at the moment.22:46
infinitycjwatson: To be fair, that fix is correct even without triggers being involved.22:48
infinitycjwatson: deconf-is-not-a-registry and all that.22:48
infinity(Though, a bit more malleable when it's influencing maintscript behaviour rather than package runtime, I guess)22:48
cjwatsoninfinity: It's actually backwards from debconf-is-not-a-registry.22:51
cjwatsonBecause it's caching information from debconf in the filesystem, rather than the other way round.  But in this case debconf is the agreed interface, so.22:51
infinitycjwatson: Hrm, fair point.  Why didn't you just do it as a conffile/semaphore originally, with debconf reading/setting it?22:53
cjwatsonWell, that's what I'm doing now :)22:57
cjwatsonIt didn't occur to me that using debconf in this way would be a problem, and then I had a mental block on the proper fix that didn't involve changing the interface.22:58

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