/srv/irclogs.ubuntu.com/2015/01/14/#ubuntu-devel.txt

=== tumbleweed_ is now known as tumbleweed
=== TheMuso` is now known as TheMuso
slangasekbdmurray: the mini.iso is built from debian-installer source, so probably there; though it's possible the correct fix is "stop building the mini.iso"...00:35
cjwatsonThe bug sounds like a gnupg problem ...00:36
cjwatsonI mean the netboot mini.isos are genuinely useful and used, and there's no particular reason they shouldn't be able to load additional components00:36
cjwatsonAnd this is probably affecting all use of d-i netboot00:37
cjwatsonCompare https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=75398500:38
ubottuDebian bug 753985 in gpgv-udeb "gpgv-udeb: fails to validate Release files (missing sha256 support)" [Grave,Fixed]00:38
cjwatsonThough why is sha512 needed?  Our Release/Packages/Sources files don't use it00:39
cjwatsonoh, Release.gpg00:41
cjwatsonpublish-distro.d/10-sign-releases:                      printf '%s\n' "-u 437D05B5 -u C0B21F32 --digest-algo SHA512"00:41
cjwatsonso the attached patch in comment #8 is correct and should be applied00:41
cjwatsonslangasek: ^-00:42
cjwatsonprobably doesn't affect CDs because we re-sign Release for those, IIRC00:42
slangasekcjwatson: oh, alrighty then00:42
cjwatson(due to reconstructing Packages)00:42
slangasekbdmurray: so turns out gnupg is the right place to fix it :-)00:43
cjwatsond-i will need to be rebuilt afterwards, but that happens reasonably often anyway because hi kernel00:43
bdmurrayslangasek, cjwatson: alright, thanks00:45
micahso these pages about how to get software into the software center used to exist, but now they dont and the only thing on developer.ubuntu.com are things related to mobile, where is the non-mobile stuff gone? http://developer.ubuntu.com/publish/apps/other-forms-of-submitting-apps/my-apps-packages/ http://developer.ubuntu.com/2012/02/how-to-prepare-a-compiled-application-for-ubuntu-software-center/ ?01:25
micahhm, maybe this isn't the right place for app development questions01:26
micahit looks like it was moved, and there were no redirects made for it01:30
=== Guest85585 is now known as mfisch
=== salem_ is now known as _salem
=== robru_ is now known as robru
=== pfsmorigo is now known as Guest1803
=== superm1_ is now known as superm1
=== kitterma is now known as ScottK
anishparanjpeI want to find all the modules that ubuntu installed apart from those in the kernel source. Is there a list of those modules?05:09
pittiGood morning06:55
pittistgraber: I filed bug 1410666 for tracking this07:13
ubottubug 1410666 in lxcfs (Ubuntu) "lxcfs makes lxc's upstart job hang forever" [High,New] https://launchpad.net/bugs/141066607:13
dholbachgood morning07:49
seb128hey dholbach07:50
dholbachhey seb12807:53
LocutusOfBorg1hi developerz!08:44
flexiondotorgTrevinho, I've had some success with adding MATE support to lp:compiz 😃09:49
flexiondotorgTrevinho, I need to tweak the plugin configuration so it is sane for MATE, but it is working.09:49
flexiondotorgTrevinho, When I am done should I submit the merge proposal against lp:compiz or is there another repo I should use?09:50
flexiondotorgcjwatson, In order to make iso images of Ubuntu MATE using my own scripts I had to create meta packages from my seeds.10:08
flexiondotorgcjwatson, I assume that I do not need to make my meta packages available for official builds because tasksel tasks are made from the seeds, correct?10:08
cjwatsonflexiondotorg: It's usual to put metapackages in the archive too10:21
flexiondotorgcjwatson, So if I have meta packages for ubuntu-mate-* those should all go in to the official archive too?10:22
cjwatsonflexiondotorg: Yes, I would say so10:26
=== marcusto_ is now known as marcustomlinson_
=== marcustomlinson_ is now known as marcustomlinson
cjwatsonslangasek: ^- could flexiondotorg have another contact to work with to help merge all the Ubuntu MATE stuff?  I can't promise to be desperately responsive10:29
=== cking_ is now known as cking
flexiondotorgcjwatson, for package uploads dholbach has been helping me, but again I know he is somewhat busy too.11:16
dholbachflexiondotorg, do you need help with anything?11:16
cjwatsonflexiondotorg: It would be helpful I think if you had somebody who's a specialist in image builds.11:16
cjwatsondholbach doesn't have access to all the right pieces ...11:16
dholbachah ok11:17
flexiondotorgdholbach, I am going to start preparing my requests for packaing. I'll subscribe ubuntu-sponsors.11:17
cjwatsonBut in any event it needs to not be me, because I'm mostly doing Launchpad now.11:17
flexiondotorgcjwatson, dholbach I basically have two areas I'm takling. The build system and getting some packages into the archive.11:17
flexiondotorgI think dholbach can help with the later?11:17
cjwatsonThe odd bit of help is fine, but not as a default contact.11:17
cjwatsonYes, I expect so.11:18
flexiondotorgcjwatson, I have submitted merge proposal to livecd-rootfs and ubuntu-cd that adds Ubuntu MATE support. They are pending.11:19
flexiondotorgcjwatson, I'm happy to do the leg work and submit the merge proposals.11:19
lesshastedoes anyone maintain the bzip2 source code? The official web page has no changes since 201011:19
flexiondotorgcjwatson, Is there anything else I should be modifying for the build Ubuntu MATE images?11:19
cjwatsonflexiondotorg: Right, which is why I'm asking for my previous manager to give you a contact to get that stuff properly reviewed and merged.11:20
cjwatsonAnd to answer that last question.11:20
flexiondotorgcjwatson, Understood. Thanks. I'll try and progress with slangasek.11:20
Trevinhoflexiondotorg: lp:compiz is fine11:30
=== _salem is now known as salem_
flexiondotorgTrevinho, Thanks.11:48
=== MacSlow is now known as MacSlow|lunch
pitticjwatson, xnox: I'm looking into providing systemd units for ubiquity; do you have a clever technique how to test a locally built ubiquity deb on a live system?12:35
pittilike, interrupt the boot early, scp/dpkg -i it or so? or does it require rebuilding the image (expensive)?12:35
cjwatsonpitti: break=casper-bottom12:36
cjwatsonthen you can fiddle in /root; don't recall whether you have networking (it should be possible but maybe not by default), if it's just text files you can just edit them in manually12:37
pitticjwatson: ah, thanks; I figure I can call dhclient -1 eth0 or so12:37
cjwatsonYeah, well you probably don't have dhclient but ipconfig from klibc-utils should be there12:38
cjwatsonOr you can use stuff from /root with judicious use of LD_LIBRARY_PATH or chroot, which you'll need to do for scp anyway12:39
pitticjwatson: that seems to work: chroot /root, mount -t proc proc /proc, dhclient -1 eth012:40
pitticheers12:41
cjwatsonnp12:41
xnoxpitti: whilst above is good, I do following -> boot to desktop, fiddle with files, switch to tty1 -> service lightdm stop, killall -9 X, service lightdm start12:41
xnoxpitti: note that ubiquity jobs is start on starting lightdm.12:41
pittixnox: ah, that sounds good too12:41
xnoxpitti: in systemd world, I hope you can boot to live desktop.12:41
pittixnox: right, I'll do the  same12:41
cjwatsonI can understand wanting to not get into that when bringing up systemd jobs though12:41
pittixnox: yes, that works fine12:41
cjwatsonI mean you'll definitely want to test behaviour from clean boot too12:41
pittixnox: just the "directly to installer" mode obviously doesn't work, that's the one I want to create12:41
xnoxpitti: from there start ubiquity job and it should do things. Imho, ubiquity should be highjacking default dm, cause that's what it is.12:42
xnoxpitti: in general ubiquity job should pre-empt normal one, given the conditions on the kernel command line.12:42
pittixnox: yeah, either it registers itself as "the" dm (display-manager.service) or it does like in the upstart world and starts itself before display-manager.service12:42
pittiI factorized the startup logic into scripts/start-ubiquity-dm and share that from the .upstart and the .service12:43
xnoxpitti: probably before is best, cause "on exit, normal dm should start and autologin"12:43
cjwatsonConditionKernelCommandLine should make things much nicer12:43
pittianyway, I'll put up an MP for critisizing once I'm done12:43
xnoxis the current expected behaviour12:43
pittixnox: right12:43
xnoxpitti: https://wiki.ubuntu.com/DesktopCDOptions you might find it useful. "automatic-ubiquity only-ubiquity maybe-ubiquity debug-ubiquity" should run ubiquyity12:44
xnoxpitti: there are also kernel options for oem-config as well.12:44
xnox(that needs porting as well)12:44
pittixnox: yes, I'm aware of the oem-config bits, but one at a time :)12:45
shadeslayerCould someone advise me of a way to throw away changes to a file system after it's unmounted?12:50
pittishadeslayer: overlayfs/aufs?12:50
shadeslayerpitti: I was using that, but that keeps the the changes in the upper dir12:50
shadeslayeruse case : I need to expose files on a host to a schroot, and any changes inside the schroot should be thrown away12:51
shadeslayer+after the schroot is closed12:51
pittishadeslayer: with a tmpfs as the upper dir and lazily unmounting upper dir afterwards might work?12:51
pittishadeslayer: sounds like you are reimplementing schroot :)12:51
shadeslayerheh12:52
shadeslayerI'm using this at the moment : /var/lib/jenkins/workspace/ /var/lib/jenkins/workspace/ overlayfs rw,lowerdir=/var/lib/jenkins/workspace/,upperdir=/tmp/jenkins 0 012:52
pittishadeslayer: so, I don't know exactly how schroot does that, but it's by and large that -- r/o lowerdir, tmpfs (or dir) upperdir, and unmounts everything if you close the schroot12:52
cjwatsonschroot uses some unionfs (aufs, overlayfs, unionfs depending on config) with a throwaway overlay12:53
cjwatsonif schroot isn't throwing away the changes then you just need to adjust its config12:54
cjwatsonI would just tell the fstab in the relevant schroot profile to bind-mount the relevant directory, and then schroot's own overlay handling should take care of the rest12:54
cjwatsonhm, actually that's not quite right is it12:55
cjwatsonI think your problem is that /etc/schroot/setup.d/10mount comes after 05union12:56
cjwatsonwhich is normally right, but you need to get in beforehand12:56
cjwatsonso unless there's some way to do it with the standard setup.d scripts that I missed, I'd add another setup.d script before 05union that does the bind-mount you need12:57
cjwatsonmaybe 04mount_early with a fstab-early config file in the profile12:58
cjwatsonbut read through the existing setup.d scripts first to see what you can do already12:59
pittimeh, scp doesn't work in casper -- netcat FTW13:01
shadeslayercjwatson: hm, I'll have a look13:27
willpearsonHi, we are having a problem with USN-2469-1 on Ubuntu 12.04 LTS causing a problem with graphite.13:40
willpearsonThe change to serving the static content isn't working for us.13:41
=== rickspencer3_ is now known as rickspencer3
=== jdstrand_ is now known as jdstrand
=== MacSlow|lunch is now known as MacSlow
=== charles_ is now known as charles
stgraberpitti: cool, thanks, I'll upload the fix today14:52
pittistgraber: ah, you know what's wrong?14:52
pittiseems the systemd unit also needs some love (see first comment on the bug)14:53
stgraberpitti: yeah, needs to be changed to "starting lxc or cgmanager-ready"14:54
pittistgraber: oh, lxc depends on cgmanager? i. e. dependency loop?14:54
stgraberwell, started cgmanager is bad to begin with because in a container you'll get cgproxy, not cgmanager, so you need the cgmanager-ready event. Now when you have a "starting" and depend on something else, the "starting" in this case lxc will be held until the other event is emitted (in this case started cgmanager)14:55
stgraberas upstart doesn't keep and replay the event history, that basically means hanging until cgmanager restarts and started cgmanager is emitted again14:56
shadeslayerstgraber: btw I wanted to setup a unpriv lxc container, tried following the steps here https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-unpriv but I get a error that ~/ doesn't have the 'x' bit set14:56
shadeslayerstgraber: are there more proper instructions than that?14:56
stgrabershadeslayer: https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/14:56
stgraberthat does mention the chmod +x (or setfacl)14:56
=== rcj is now known as Guest58400
shadeslayerstgraber: lxc_container: confile.c: network_netdev: 482 network is not created for 'lxc.network.link' = 'lxcbr0' option14:59
shadeslayerlxc_container: parse.c: lxc_file_for_each_line: 57 Failed to parse config: lxc.network.link = lxcbr014:59
pittistgraber: ah, makes sense; I think I ran into this a few years ago, nice gotcha when thinking about states instead of events14:59
stgrabershadeslayer: what do you have in ~/.config/lxc/default.conf ?15:00
shadeslayerhttp://paste.ubuntu.com/9748358/15:00
stgrabershadeslayer: that first line looks a bit mangled15:00
shadeslayeraha indeed15:01
shadeslayerstgraber: lxc-start: conf.c: mk_devtmpfs: 1181 Permission denied - Unable to create /dev/.lxc for autodev15:02
pittistgraber: mangled? it's perfect Klingon! :-)15:03
shadeslayerxD15:03
stgrabershadeslayer: hmm, what's in that container?15:03
shadeslayerstgraber: I just downloaded the sid container15:03
shadeslayerthough trying to run it on a non-systemd utopic machine15:04
stgrabershadeslayer: ah, that'd be why, yeah, sadly that won't work until proper systemd support lands15:04
shadeslayeraha15:04
stgraberwe have the patches though so hopefully that'll all land in vivid in the next couple of weeks15:04
shadeslayerI assumed the containers on the website worked15:04
pittishadeslayer: install sysvinit-core into it (chroot into its rootfs)?15:04
stgraberyeah, that'd be a fair assumption and that's usually quite true, expect that I never got around to blacklisting sid and jessie after they switched to systemd15:05
shadeslayernow I get lxc-start: lsm/apparmor.c: mount_feature_enabled: 61 Permission denied - Error mounting securityfs15:05
shadeslayerafter installing sysvinit-core15:05
stgrabershadeslayer: can you try a trusty container just to make sure that lxc itself is happy?15:07
shadeslayerchecking15:07
shadeslayerstgraber: yeah, so it's a debian specific issue15:10
stgraberwheezy starts fine, but probably a bit too old for you :)15:12
shadeslayeryeah :P15:12
stgraberI've added jessie and sid to the blacklist for now so they should vanish from the list pretty soon15:13
stgraberand will come back once unpriv systemd support lands15:13
shadeslayerack15:13
shadeslayerthanks :)15:13
stgraberpitti: so I'm really unsure what's going on with that systemd unit... Does systemd expect the command to background itself or to stay in the foreground?15:14
stgraberpitti: I assume the former so that's why I'm not passing the -f flag as I am with upstart, besides that, it's the exact same thing running in either case...15:14
pittistgraber: usually it should stay in the foreground (Type=normal)15:14
stgraberah, so that's probably the problem15:15
pittistgraber: Type=forking is for daemons which fork; some can't be run in the foreground15:15
pittistgraber: it's usually better to let them run in the foreground, to capture their stdout/err, and the extra fork is just unnecessary15:15
stgraberpitti: ok, if you're still on systemd with lxcfs installed, can you edit ExecStart and add a -f in there, see if that does the trick?15:15
stgraberpitti: yeah, agreed and I always do that with upstart, just wasn't sure that systemd had the same default behavior15:16
pittistgraber: I'm not, but easy enough to bring one up, hang on15:16
pittistgraber: still the same15:19
stgraberpitti: and no extra error messages this time?15:20
pittistill the same "Failed to start FUSE filesystem for LXC."15:20
pitti$ sudo /usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs/15:20
pittiFailed opening dbus connection: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /sys/fs/cgroup/cgmanager/sock: No such file or directory15:20
pittiWARNING: failed to escape to root cgroup15:20
stgraberno cgmanager running?15:21
pittistgraber: bug 140039415:21
ubottubug 1400394 in cgmanager (Ubuntu) "Unity8 fails to start applications, cgmanager is not started under systemd" [Undecided,Fix released] https://launchpad.net/bugs/140039415:21
pittistgraber: yep, systemctl start cgmanager, then start lxcfs -> runs15:21
stgraberpitti: ok, so After=cgmanager.service should become Requires=cgmanager.service then?15:22
pittistgraber: drop the local-fs.target, not needed15:22
stgraberpitti: ok15:22
pittistgraber: and then Requires=cgmanager.target\nAfter=cgmanager.target15:22
stgraberah, why .target and not .service? (sorry, still new to this)15:23
pittistgraber: Type=simple is also the default15:23
pittistgraber: err sorry, .service of course15:23
pittistgraber: the local-fs.target was still in my head apparently15:23
stgraber:)15:23
pittistgraber: OOI, why KillMode=? isn't the default (control-group) ok?15:23
pittistgraber: I tested this, and confirmed it to work (also after reboot): http://paste.ubuntu.com/9748762/15:25
pittistgraber: before/after is ordering, requires/wants is dependencies, they are both independent (sometimes you only need one or the other)15:25
stgraberpitti: so the expected problem with cgroup killing is that lxcfs escapes its cgroup :)15:26
pittistgraber: oha :)15:26
pittistgraber: systemctl stop lxcfs works (no lxcfs process any more), but indeed it did escape its cgroup15:27
stgraberdoes systemd have some kind of fallback then?15:27
pittistgraber: apparently so; I'm not yet familiar with that level of detail15:28
stgraberanyway, I think it's better to stick with =process for now :)15:28
pittiI learned more than I ever wanted to know about how it sets up cgroups (when I wrote the lxc user support patch), but haven't yet looked at the teardown15:28
pittistgraber: yep, sounds fine15:28
pittistgraber: so my diff is: add -f, drop the default Type= and the unnecessary local-fs.target, add Requires=cgmanager.service15:29
stgraberpitti: sounds like what I've got here15:30
stgraberpitti: https://github.com/lxc/lxcfs-pkg-ubuntu/commit/67f3a4d7ecc183cb1e798cc0ffc48bdae010d39b15:30
pittistgraber: LGTM, thanks!@15:32
* pitti eyes at the @, where did that come from15:32
stgraberok, uploaded. Hopefully adt will be happy this time.15:32
stgraberpitti: so the latest cgmanager upload is supposed to enable the unit by default, is that not the case in practice?15:34
pittistgraber: it actually is; maybe I still had 0.34, lemme check15:35
pittino, it's 0.3515:36
pitti   Loaded: loaded (/lib/systemd/system/cgmanager.service; disabled; vendor preset: enabled)15:36
pittistgraber: oh, I know!15:37
pittistgraber: 0.35 doesn't enable itself during upgrades (hallyn knew about that)15:37
pittistgraber: I figure we need to wait for a cloud image with 0.35 proper; I figure my image just got dist-upgraded from 0.34 to 0.3515:37
pittiwell, it helped us spot that bug15:37
stgraberpitti: ah, I guess that makes sense15:40
mitya57ScottK, hi, what's your opinion on https://bugs.launchpad.net/ubuntu/+source/qtenginio-opensource-src/+bug/1409433/comments/315:57
ubottuLaunchpad bug 1409433 in qtwebsockets-opensource-src (Ubuntu) "[MIR] qtenginio-opensource-src and qtwebsockets-opensource-src" [Undecided,New]15:57
=== Guest58400 is now known as rcj
pittistgraber: "Jenkins Fixed - vivid-adt-lxcfs 4" -- c'est de la musique dans mes oreilles :)16:01
stgraberyay!16:02
=== roadmr is now known as roadmr_afk
mitya57cjwatson, hi, do you think it will be possible to drop perlqt dependency from debconf? That will allow us to demote a bunch of packages (see mterry's comment on bug 1409433).16:12
ubottubug 1409433 in qtwebsockets-opensource-src (Ubuntu) "[MIR] qtenginio-opensource-src and qtwebsockets-opensource-src" [Undecided,New] https://launchpad.net/bugs/140943316:13
cjwatsonmitya57: Probably pretty hard, the B-D is needed to generate the .ui file16:20
mitya57cjwatson, can we just use the pre-generated one?16:21
cjwatsonmitya57: No idea16:21
mitya57cjwatson, well, if I write the patch (which will be Ubuntu delta), will you have any objections?16:21
cjwatsonmitya57: I would expect it to be hard to load the .ui at run-time (one of mterry's suggestions), because debconf has to work when unconfigured16:21
mterrycjwatson, as I mention in the bug, the file is just 155 lines.  We could patch it in or maybe even change the code to load the .ui file instead of using a .pm one16:21
mterrycjwatson, ok16:22
cjwatsonI don't hugely object if you patch in the pregenerated file as long as you maintain that patch henceforth16:22
mterrycjwatson, but still.   Patching 155 lines to avoid many large packages in main seems worth it.  Do you know roughly how often that .ui file changes?16:22
cjwatsonNo idea16:22
cjwatsonCheck git history16:22
cjwatsonBuild-time changes are safe enough as long as you're actually going to maintain them.  Run-time changes are risky16:23
mitya57cjwatson, last change in 2010 (by you)16:24
mitya57http://anonscm.debian.org/cgit/debconf/debconf.git/log/Debconf/FrontEnd/Kde/WizardUi.ui16:24
mterryAnd before that, 2009, then 200316:25
mterrymitya57, Seems like a reasonable amount to maintain.  If it changes in future and you're busy, just send me a poke.  I'll gladly take the risk to demote all those packages16:25
mterrymitya57, the 2009 and 2010 changes were just removing and adding the frontend back.  The file itself hasn't changed since 2003 it seems16:26
mterryAlthough I guess it was ported to qt4, which probably did have changes16:26
mterryBut still.  Point is, not a frenzy of updates16:26
mitya57I think it will need to be ported to Qt 5 before Stretch16:27
mitya57But that will be easy to merge16:27
shadeslayerdoes anyone know if there's a way to make a package upgradable but not uninstallable? ( I'm not sure if such a state exists )16:28
mitya57mterry: I will then wait for ScottK's reply (maybe he knows other reasons why qscintilla/pyqt5 need to stay in main), and after that upload a patched debconf16:29
shadeslayerI'd prefer not to mark it as essential16:29
cjwatsonmake the prerm fail16:29
cjwatsonhope you (a) have a good reason (b) don't put it in the primary archive, though16:30
shadeslayerheh16:31
shadeslayersounds extremely icky16:31
=== roadmr_afk is now known as roadmr
PaulW2Ussh -p 60000 paul@vps.pcw.me.uk16:46
shadeslayerchrisccoulson: firefox question for you, if I want to rename the firefox package to say .. magic .. I imagine alot of stuff would break if I  change MOZ_PKG_BASENAME / MOZ_PKG_NAME17:16
shadeslayerchrisccoulson: so, what would be the right way to go about this?17:23
davmor2cjwatson: to make a perm fail surely you just wash your hair before the magic 48hours is up ;)17:23
Odd_BlokeSurely a prerm is a haircut?17:24
kkirscheHey guys does anyone know where I can find the Sign On API for Ubuntu One so I can implement a sign on option using Ubuntu One?18:03
kkirschefound it http://canonical-identity-provider.readthedocs.org/en/latest/resources/token.html#token-oauth18:20
dobeykkirsche: sign on to what?19:24
kkirschedobey: I want to extend omniauth to allow Ubuntu One as a method of authentication for web apps19:24
dobeyoh, ok. thought maybe you wanted to use it in a client app on ubuntu :)19:25
kkirsche:) nope, sorry. Thanks though19:27
=== eam_ is now known as eam
=== salem_ is now known as _salem
dobeyanyone smarter regarding the archive/proposed stuff than me, that can tell me what this bit of log actually means? http://pastebin.ubuntu.com/9752159/ slangasek maybe?21:33
Riddellanyone able to tell me why the transitions I'm doing for kate4/kate and konsole4/konsole aren't going into the archive? http://people.canonical.com/~ubuntu-archive/proposed-migration/update_output.txt23:50
Riddellboth apps have moved to qt5 but we want to keep the plugins from the qt4 version around for apps which use them23:51

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