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

=== thomi_ is now known as thomi
hallyn_xnox: so now lxc passed jenkins;  cgmanager is still listed as blocked;  does someone need to manually hit a switch, or will this resolve itself?00:31
=== Ursinha-afk is now known as Ursinha
cjwatsonhallyn_: should catch up automatically00:35
cjwatsonyou'd think00:36
cjwatsonyeah, I *think* it will, the master job apparently only finished 13 mins ago00:37
hallyn_ok thanks :)00:39
cjwatsonI: [Fri Jul 18 00:28:01 2014] - Collected autopkgtest status for lxc_1.1.0~alpha1-0ubuntu2/cgmanager_0.27-0ubuntu7: PASS00:42
cjwatsonlooks good00:42
cjwatsonyep, it's migrating00:42
hallyn_\o/00:50
hallyn_that should ease things for folks wanting to run systemd00:50
hallyn_or something00:50
hallyn_i forget what the problem actually was00:50
cjwatsonsarnold: Have you had any luck with the librevenge MIR?  This is one of the approximately two remaining things blocking the giant libav (etc.) transition, and I think I just made a start at unblocking the other one01:14
sarnoldcjwatson: not yet, still handling the emergency dialer merges01:14
cjwatsonOK01:15
sarnoldcjwatson: I expect to start the librevenge review tomorrow; depending upon how large it is, either finish tomorrow night or monday01:15
cjwatsonGreat, thanks.  We probably can't land the other piece until Monday anyway01:16
cjwatson(Always assuming that the gallery-app people don't hate my patch)01:16
sarnoldhehe01:16
=== ycheng-afk is now known as ycheng
=== _salem is now known as salem_
=== salem_ is now known as _salem
slangasek@pilot in02:23
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: slangasek
achianghallyn_: stgraber: have you guys seen a hugetlb error when creating a new lxc container? https://pastebin.canonical.com/113772/03:19
achiangoops, that is canonical.com pastebin... one sec03:19
achianghttp://pastebin.ubuntu.com/7812203/03:19
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest32427
hallyn_achiang: cat /proc/self/cgroups, are you in a cgroup you own?04:03
achianghallyn_: that error goes away after a reboot suggesting that something in the installation process is weird04:04
hallyn_my guess would be the login was done before systemd-login0 or systemd-shim was installed (depending on release), so you didnt' have your own cgroup;  then you installed those, rebooted, logged in, and got a cgroup you owned04:06
achianghallyn_: hm... ok, i suppose i could investigate that hint. ftr, this is the exact script i'm using -- https://gist.github.com/achiang/70fb462d27af75be279404:07
achianghallyn_: it dies on line 86 for at least 1 other person; then restarting the PC, it picks up from there and seems to be ok04:08
hallyn_achiang: yeah - systemd-services gets installed there on line 604:09
achianghallyn_: right...04:09
hallyn_hm, no wait04:09
achianghallyn_: um. should it be installed earlier or something?04:09
hallyn_how is this script used?04:09
hallyn_user-data?04:09
hallyn_it looks like you're running the script as a user ($HOME, etc) but you're doing apt-get without sudo04:10
achianghallyn_: it's meant to be run as a normal user with sudo privs, and it's meant to automatically create an LXC container for a piece of software (ubuntu-sdk)04:10
hallyn_is it meant to be run under sudo?04:11
achiangyes04:11
hallyn_ok, then (a) verify my theory by doing a 'cat /proc/self/cgroups' before the lxc-start,04:11
hallyn_and then (b), if that's verified, then you can just add04:11
hallyn_apt-get install cgmanager-utils; cgm create all $(logname);  cgm chown all $(logname) $(loguid) $(loggid);  cgm movepid all $(logname) $$04:12
hallyn_(subsituting loguid and loggid with something real)04:12
achianghallyn_: ok, i'll ahve to chase this tomorrow on a fresh VM since things already work here for me04:12
achianghallyn_: good hints, thank you04:13
hallyn_np - good night04:14
=== wgrant_ is now known as wgrant
slangasek@pilot out06:24
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
* Elbrus is looking for the procedure to request a transition.08:31
ElbrusDebian transitions gnustep, I think it is wise if Ubuntu followed08:32
Elbruss/transtions/transitioned/08:32
RAOFElbrus: There isn't really an equivalent procedure.08:32
Elbrusah08:32
RAOFAt least as far as I know :)08:32
Elbrushow is the transition tracker filled then?08:32
RAOFAutomatically, I believe.08:32
Elbrushttp://people.canonical.com/~ubuntu-archive/transitions/08:32
Elbrusaha08:32
RAOFIf gnustep is in Sid, though, we'll automatically go through that transition when it's autosynced.08:33
RAOFUnless it's got Ubuntu changes.08:33
Elbruswhich it is not, because it has ubuntu specific changes...08:33
Elbrusyes08:33
Elbrusso I will need to look into that08:33
LaneyNah, those things are created manually08:34
Elbrusapperently the last time Ubuntu didn't fare well on gnustep transition (if I am to believe the Debian maintainer)08:34
ElbrusLaney: so how to request one similar to https://release.debian.org/transitions/html/gnustep.html08:35
LaneyI'll make one for you08:35
LaneyYou going to handle the rebuilds/porting/whatever?08:35
cjwatson"last time" - when was that?08:35
Elbrus10.04 if my memory of last tuesday serves me right08:36
cjwatsonI remember doing some work on a gnustep transition a while back, I don't remember it going particularly badly08:36
cjwatsonoh, that was long before we implemented proposed-migration08:36
cjwatsonnowadays p-m (basically the equivalent of Debian's unstable->testing) means that we tend to notice such things08:36
Elbruslet me look up the bug I was thinking of08:37
cjwatsonthe Debian maintainer is probably out of date on our processes08:37
cjwatsonhowever, could you please wait?08:37
cjwatsonI'm terrified of anything else getting tangled up with the gigantic libav transition before we finish it08:37
Elbrushttps://bugs.launchpad.net/ubuntu/+source/systempreferences.app/+bug/561920 and it's four brothers08:37
ubottuUbuntu bug 561920 in systempreferences.app (Ubuntu) "SystemPreferences crashed with SIGSEGV" [Medium,New]08:37
Elbruswaiting no problem08:38
cjwatsonI hope we'd probably have noticed that class of things nowadays, although the bug suggests that the package dependencies were inadequate if it managed to start but not crash, so maybe not.08:38
Elbrusactually, I am currently helping updating the gnustep stack, so when that is done in Debian a transition might be right time..08:38
cjwatsonHowever, transition trackers normally just look at dependencies, so how much that will help ...08:38
cjwatsonElbrus: Chances are we'll auto-sync the start of the transition, if it's reasonably soon, and then notice.08:39
Elbruscjwatson: don't think so as there are ubuntu specific changes08:39
Elbrusmight be good to block fixing that somehow then...08:39
cjwatsonlibav should be done next week, so probably not a problem.08:39
cjwatsonCertainly if Laney feels inspired to set up a transition tracker then great.08:40
LaneyElbrus: can you adjust http://paste.ubuntu.com/7813325/ to taste?08:40
cjwatsonIncidentally, the reason we don't have much of a transition request procedure is that many of our transitions arrive by auto-sync from Debian, so it would be somewhat futile :)08:43
Elbruscjwatson: ack08:43
Elbrusbut how are "binNMU's" handled then in Ubuntu?08:44
cjwatsonManual rebuild-only uploads08:44
cjwatson(sadly)08:44
ElbrusLaney: I believe the libobjc[34] stuff is really old and not relevant anymore08:44
cjwatsonI suspect I do the vast majority of them and I have some scripting for it so it doesn't take too much of my time08:45
Elbrusah, how sad ;)08:45
cjwatsonOne of these days I'll implement binNMUs in Launchpad and persuade people to take it08:45
* Elbrus doesn't have the permissions to do those, so they will all need acknowledgments from motus08:45
cjwatsonIf it's on a transition tracker I can just do them in bulk, not a problem08:45
cjwatsonRather than faffing about getting approval08:46
Elbrus(or me should finally apply for motu status)08:46
Elbrusok, cool...08:46
Elbrusmind you, holidays are near, it might shift to after my holidays (not much time/internet combi available).08:47
cjwatsonwill be much easier if it can be before our Debian import freeze for 14.10 on 7 Aug08:47
Elbrushmm, I'll see what I can do08:47
cjwatsonthanks08:48
=== ycheng is now known as ycheng-afk
ElbrusLaney: http://paste.ubuntu.com/7813472/09:22
Elbrusseems like Ubuntu already has the base part, so only gnustep-gui is required09:23
Elbruscjwatson: the Ubuntu diff is already incorporated in Debian, should I request a cync now, or wait until after libav?09:23
Elbruss/cync/sync/09:24
cjwatsonElbrus: Let's wait09:26
Elbrusack09:26
LaneyElbrus: kay, I pushed that as a "planned" transition09:28
LaneyShould show up at http://people.canonical.com/~ubuntu-archive/transitions/ soon09:29
Elbruscjwatson: how do I see (without me guessing) when you are done with the libav transition?09:58
cjwatsonElbrus: on https://launchpad.net/ubuntu/+source/libav, the "6:10.2-1" entry will move to "release" rather than "proposed"09:59
Elbrusack10:00
=== bruno is now known as Guest65297
=== gusnan_ is now known as gusnan
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
=== jibel_ is now known as jibel
mapreripitti: all the ubuntu deltas in scribus are now merged in debian. Do you mind sync scribus for me? :)12:32
=== _salem is now known as salem_
R33D3M33Rhello: big problem after todays upstart upgrade -> cannot login anymore, please check: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/134380012:51
ubottuUbuntu bug 1343800 in upstart (Ubuntu) "upstart 1.12.1-0ubuntu4.1 breaks xsession start with lightdm" [Undecided,Confirmed]12:51
cjwatsonR33D3M33R: we already published 1.12.1-0ubuntu4.2 to fix that12:55
R33D3M33Rgreat,t hanks!12:56
cjwatsonR33D3M33R: can you try that and confirm?12:56
cjwatsonR33D3M33R: if that fixes it, please mark your bug as a duplicate of bug 134390512:56
R33D3M33Rjust a second12:56
ubottubug 1343905 in upstart (Ubuntu Trusty) "Empty desktop in Xubuntu 14.04 on reboot after upgrading upstart package" [High,Fix committed] https://launchpad.net/bugs/134390512:56
R33D3M33Rsorry, I cannot upgrade since the repo I use, isn't synced yet, but judging by the symptoms the bug is really the same12:58
R33D3M33Rfound files, installed, rebooted, logged in with no problems -> marking as duplicate13:06
cjwatsonR33D3M33R: thanks13:16
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
barrypitti: around?14:07
=== Sweetsha1k is now known as Sweetshark
smoserxnox, you had some primer about packaging for systemd i think ?15:25
smosersome doc. and how to enable it. which i thought was differen tthan https://wiki.ubuntu.com/systemd15:26
smoserhm..15:27
smoserstgraber, around ?15:27
xnoxsmoser: dh $@ --with systemd15:27
xnoxsmoser: and drop units into debian/*15:27
smoserdidy ou have some doc ? i swear i saw something.15:27
xnoxsmoser: there is this https://wiki.ubuntu.com/SystemdForUpstartUsers15:28
xnoxsmoser: but it doesn't cover packaging15:28
=== JanC_ is now known as JanC
smoserxnox, thanks15:30
stgrabersmoser: yep15:32
=== Ursinha is now known as Ursinha-afk
smoserwould you expect http://paste.ubuntu.com/7814920/ to work15:33
smoserstgraber, ^15:33
smoserer... what i am trying to do is replace upstar twith systmmed15:35
smoserin the download container uptoic15:35
stgrabersmoser: the apt-get install should succeed, now I doubt the container will start because systemd is silly and usually tries to mount some pretty scary stuff which gets rejected by apparmor and make it hang15:37
stgrabersmoser: we'll have to come up with either some patches to systemd for that or maybe a variant of the container config that includes the few more bits that are needed15:38
smoserhm.15:38
smoseryeah. the apt-get install does work15:38
smoserbut yeah, it hangs basically no boot15:38
stgrabersmoser: you may want to look at e.g. the fedora config in /usr/share/lxc/config/ to see what kind of stuff may be needed. Also setting lxc.aa_profile = unconfined will help as a first step15:38
smoserstgraber, hm..15:39
stgraberoh and there's no chance that this would work in an unprivileged container because systemd currently just crashes if you try to start it in there (and yeah, we need to figure out a solution for that soon...)15:39
smoserdont care about unpriv15:39
smoserat the moment15:39
smoserbut this will be expected to work at some point15:39
smoserobviously when /sbin/init == systemd15:39
smoseri was looking at cloud-images systemd15:40
smoserand ifgured it'd be easier to try first with lxc15:40
smoser(or at least faster)15:40
smoserbut maybe i'll have more success looking first at kvm15:40
smoseri wanted to get a baseline working thing to look at.15:41
stgraberyeah, I'd expect kvm to be easier as that's what everyone's been using to test systemd so far :)15:41
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
LocutusOfBorg1can anybody please sponsor this?16:39
LocutusOfBorg1https://bugs.launchpad.net/ubuntu/+source/gccxml/+bug/134403916:39
ubottuUbuntu bug 1344039 in gccxml (Ubuntu) "Sync gccxml 0.9.0+git20140716-1 (universe) from Debian unstable (main)" [Undecided,New]16:39
LocutusOfBorg1this will (hopefully) fix the insighttoolkit4 problems in ubuntu16:39
LocutusOfBorg1and the new insighttoolkit4 is going to be uploaded in debian tomorrow I think16:39
LocutusOfBorg1so would be nice to see it building ;)16:39
LocutusOfBorg1thanks!16:40
loucuraHi! Is any Ubuntu developer aware of this critical ubiquity bug: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1265192 ?16:41
ubottuUbuntu bug 1265192 in ubiquity (Ubuntu Trusty) "Install/reinstall wipes out all/other partitions" [Critical,Triaged]16:41
loucuraIt's causing people to lose data when installing Ubuntu.16:42
loucuraAnd the 1st point release for Trusty is coming very soon, so fixing this before that would be great (and there's a workaround/fix provided in the comments).16:43
=== Ursinha is now known as Ursinha-afk
=== rvr is now known as rvrOff
=== Ursinha-afk is now known as Ursinha
=== roadmr is now known as roadmr_afk
hallyn_pitti: ok, so looking into stopping user sessions for systemd-logind;  first off, utopic still has systemd-204, which actually isn't utilizing systemd-shim at all i don't think;18:03
hallyn_pitti: when i use systemd-208, i have to edit /etc/systemd/logind.conf to set KillUserProcess=yes before StopUnit is sent;  in the other code path, unfortunately, it uses org.freedesktop.systemd.Scope method Abandon18:04
Unit193hallyn_: Tried shim/cgmanager to see how it'd work (I'm using 214+a few backports in trusty), had to enter password on hitting shut down, and suspend/hibernate were greyed out.18:06
hallyn_Unit193: 214??18:07
hallyn_where did you get the packaging for that?  ported from 208?18:07
Unit193Uhh, forget I said that and pretend I said 208? ;)  (Pulled from Debian experimental VCS and added most of the Ubuntu delta.)18:08
hallyn_Unit193: ok, i would drop the ubuntu delta (that's what i'm doing here), just do the following:18:09
hallyn_1. set the Depends on libpam-systmemd from "systemd-sysv" to "systemd-sysv | systemd-shim",18:09
hallyn_2. somehow arrange to create /run/systemd at boot,18:09
hallyn_3. arrange for dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.login1 uint32:0 to be done at boot,18:10
hallyn_and finally18:10
hallyn_4. edit /usr/share/dbus-1/system-services/org.freedesktop.login1.service to set Exec=/lib/systemd/systemd-logind18:10
Unit193#1 is part of the delta.  And, alright.18:10
hallyn_yeah, but the systemd-204 delta is huge :)18:10
hallyn_and i'm sure we'll want to keep some of that in the end, but a lot of it we won't18:10
hallyn_mind you im' doing this in a server vm, so i'm not dealing with any of the desktop side effects - so what i'm saying may not help you, but a smaller delta makes it easier to talk to debian and systmed folks18:11
Unit193Right, I mostly went with what made sense for me to have (cgmanager support patches I didn't need, so dropped.)18:11
hallyn_perhaps i should push a proposed package to ppa to work from18:12
achianghallyn_: stgraber: is there a way to pass a command line env var to a command while using lxc-attach?18:15
achiangCMD_LINE="QML2_IMPORT_PATH=$LIBDIR qmlscene telegram.qml"18:15
achianglxc-attach --clear-env -n ubuntu-sdk -- sudo -u ubuntu -i cd `pwd | sed 's/achiang/ubuntu/'` && $CMD_LINE18:15
achianggives an error18:15
Unit193hallyn_: http://paste.openstack.org/show/ZmJflIQxnlkQLxYaLWpV/ isn't so bad.18:16
achiangoh, maybe i'll try setting that before the cd18:16
hallyn_achiang: i don't understand the question :)  you want to clear the env but set one particular variable?  Simples might be to just have a script clear env, set what you want, then call lxc-attach18:20
achianghallyn_: actually, i think i figured out the rune i need18:20
hallyn_Unit193: I'm going to set up a utopic desktop vm to play with this some more18:20
hallyn_achiang: excellent :)18:20
hallyn_Unit193: but first i'm going to push something to ppa so i can talk with others more sensibly18:20
Unit193hallyn_: Good plan!   Have fun!  I have mine pushed to a PPA, if you want to have a strange starting point. :P18:21
hallyn_Unit193: yours being based on 214?18:23
hallyn_(http://paste.openstack.org/show/ZmJflIQxnlkQLxYaLWpV/)18:23
Unit193Of course.18:24
hallyn_hm, lemme start with 208, then perhaps update to yours for a test - which ppa?18:24
Unit193/notice18:25
achianghallyn_: with lxc-attach, can it only run a single command inside the container? i have something that looks like this: lxc-attach --clear-env -n ubuntu-sdk -- sudo -u ubuntu -i cd `pwd | sed 's/achiang/ubuntu/'` && ./build.sh18:31
achiangthe && ./build.sh is getting run outside the container18:31
achiangi think this is probably an issue with my bash quoting18:31
achianglet me stick quotes around that...18:31
hallyn_yeah, and maybe even "( cmd && cmd )"18:32
hallyn_let us knwo what exactly you find works, that'llb e instructive18:32
hallyn_note you can also just write a python function and call it using the lxc python api's attach :)18:32
achiangugh, no likey bash quoting18:34
hallyn_achiang: sudo lxc-attach -n u1 -- bash -c "ps -ef && echo $?"18:40
hallyn_worked for me18:40
achianglet me try18:41
achianghallyn_: success. thanks!18:42
hallyn_\o/18:43
achiang2014 and we're still fighting the shell18:43
hallyn_plars: hey, so this could relate to the trouble you've been having;  i just installed a utopic vm from the desktop install dvd, and the final shutdown is not finishing.18:43
hallyn_(note that never happens to me with installs from the netboot iso)18:44
plarsoh?18:44
plarswell, get this18:44
plarstoday - it passes18:44
plarsmostly18:44
plarsa lot better than it used to at least18:44
plarspsivaa has been playing with it today18:44
plarswe have no idea what made it start working though18:44
plarstrusty and utopic both18:44
plarsmaybe something changed in the images and this was a legitimate bug we were hitting?18:45
plarsI have no idea18:45
hallyn_sigh.  but this is not even using preseed - it's just hanging on the 'stopping crypto disks'18:45
hallyn_yeah, bug in eitghe rkernel or installer?18:45
hallyn_lemme ctrl-c and see if it boots up now18:45
plarsmaybe, yeah18:45
plarsbest guess so far is that /target wasn't unmounting at the end, and we were getting a good run of grub18:46
hallyn_booted up fine18:46
hallyn_yes, that sounds plausible18:46
hallyn_so anyway my vm is good.  and yeah that'll wreak havoc on any install automation18:46
hallyn_wonder if the same happens with trusty iso18:46
hallyn_cjwatson: (or whoever) - building systemd-208 fails due to a set of #includes (attr/xattr.h and sys/xattr.h) that are not getting along;  i've been working aroudn it locally by putting '#ifndef XATTR_CREATE' around the sys/xattr.h XATTR_CREATE blob, and copying that blog into attr/xattr.h18:53
hallyn_(see https://launchpadlibrarian.net/180250815/buildlog_ubuntu-utopic-amd64.systemd_208-6ubuntu1%7Eppa1_FAILEDTOBUILD.txt.gz)18:53
hallyn_i'm not sure what the best way to resolve this is18:53
hallyn_maybe i shoudl take the weekend to clear my head and fix it whatever way seems cleanest then...18:53
hallyn_well, for now i'll push packages with the dumb fix to my ppa i guess18:54
=== roadmr_afk is now known as roadmr
cjwatsonhallyn_: Sounds like a libc thing - you probably want infinity19:11
hallyn_ok, will wait.  really one could argue it's all my own fault as i'd tried to address this in kernel+libc upstream a few months ago, and obviously didn't fully fix it.19:13
hallyn_i'm putting the lazy fixes into ppa:serge-hallyn/systemd for now19:14
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
sarnoldslangasek: the new shadow package mterry uploaded has some quilt patches that apply with fuzz during build: https://launchpadlibrarian.net/180235013/buildlog_ubuntu-utopic-amd64.shadow_1%3A4.1.5.1-1.1ubuntu2_UPLOADING.txt.gz -- I thought the quilt patches had to be perfect or the build would fail. what am I missing?20:52
Laneysarnold: That limitation is for source format 3.0 (quilt) packages - this one is format 1.0 and driving quilt itself (via cdbs)20:54
sarnoldLaney: ah! so what-patch lies :)20:54
Laneyif it says quilt then that's not a lie20:55
Laneymaybe it could differentiate between quilt and 3.0 (quilt) though20:55
sarnoldLaney: ah perhaps it already does and I didn't know how to read it ;)20:59
sarnoldLaney: thanks :)20:59
sarnoldslangasek: Laney answered, feel free to ignore ;) thanks20:59
LaneyI don't blame you for finding the slightly different implemtations of quilt confusing. :)21:00
sarnoldLaney: hehe, I wonder how many times I've worked with a similar package without even noticing :)21:02
sarnoldIt was just a worry that I had screwed up somehow and got fuzz locally when there sholdn't have been any in The Real Package..21:03
LaneyIt's probably good practice to defuzz a patch anyway21:03
sarnoldit's in 'shadow', what could go wrong? :)21:03
mterryI don't think *I* caused the fuzz, but yeah, I didn't notice it was fuzzed in order to defuzz21:04
xnox"In this situation, gzip /dev/inside to deflate, then pipe the compressed air to /dev/input to clean your keyboard. Avert your eyes when you do."23:00
xnoxawhhhhh =) if only that was true =)23:00
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem

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