/srv/irclogs.ubuntu.com/2015/02/20/#ubuntu-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
pittiGood morning05:54
Unit193Howdy.05:54
pittiinfinity: hm, maybe; I was hoping we could avoid requiring an init system in every chroot, but if that' an actual issue we may still go that way05:54
pittiinfinity: but wouldn't that mean that we need to promote systemd and systemd-sysv to essential too?05:54
pittithen we could just as well do that for systemd-sysv and keep skipping "init"05:55
pittiwe don't really need "init" as we don't want to support multiple init systems at the same time05:55
pittispeaking of which, something utterly broke systemd boot yesterday05:55
pittiLaney: ^ I now get this as well05:55
pittiso yay reproducability05:55
infinitypitti: essential isn't a closed set.05:56
infinitypitti: If it was, you'd be in a world of pain with libraries.05:56
pittioh, right05:57
pittiso we might just need to bump some package priorities05:57
infinitypitti: The point of 'init' being essential in Debian while the init systems aren't is to make sure you have one, but not require any specific one.  We may as well follow suit to keep the delta low in spirit, even if our "init" only has one dep.05:57
infinitypitti: And upstart has been transitively Essential for ages anyway.05:58
pittiso that would pull it in again in chroots05:58
infinitypitti: We're not really changing the status quo here.05:58
pittiright, it would just have been a slight improvement05:59
infinitypitti: "again"?  You have magic chroots without init?  I don't.05:59
infinityOh, wait, maybe that was fixed in vivid and my chroots are dirty.06:00
infinityOh, or even as far back as trusty?06:01
pittino, my schroots do have /sbin/init -> upstart06:01
infinityClearly, I'm behind the times.06:01
infinitypitti: But they don't have to.06:01
pittino, I can purge upstart just fine06:01
pittiinfinity: I created them before we juggled the sysvinit bits06:01
infinitySo, that's really just a failure on mk-sbuild's fault for creating chroots that are too fat. :P06:02
infinityOh, or a failure on my/your part for copying old chroots to new series'...06:02
infinityAt least I'm not entirely insane, upstart was transitively Essential in precise.06:03
infinitypitti: So, okay.  Hrm.  I think it's not an awful goal to want a chroot without init if we don't actually need it.  But I'm then back to the drawing board on how you force an upgrade. :P06:05
infinitypitti: And if Debian's okay with this init->initsystem Essential bit, I don't suppose it hurts terribly to follow suit.06:05
pittiinfinity: yes, it's nothing I'd spend an undue amount of time on; as you say, it's not a regression06:06
infinitypitti: We could drop it after 16.04, perhaps.06:06
pittiright06:06
infinitypitti: Well, it's a regression from trusty, where upstart is removable.06:06
infinitypitti: But also, I doubt many people care.06:06
=== kickinz1|afk is now known as kickinz1
infinitypitti: Anyhow, first step is to see if apt will give you the right sort of love.  Rebuild 'init' with Essential: yes, and swap the dep from upstart to systemd-sysv, toss it in a local repo, and see what damage it inflicts.06:09
pittiinfinity: right; yesterday I just  tried with swapping the seeds around, which fortunately already DTRT (assuming that ureadahead gets fixed, which I'm working on)06:12
pittiupgrading utopic to vivid plus https://launchpad.net/~pitti/+archive/ubuntu/systemd works06:13
infinitypitti: Assuming we don't obtusely drop any of Debian's sysvinit compat, this also gives downstreams like Mint a simple "change one package" approach to swapping init systems, if they so feel the urge.06:13
pittiinfinity: yeah, or ubuntu touch :)06:13
infinitypitti: Sure, swapping seeds works if you have minimal installed. :)06:13
pittiinfinity: it doesn't work with current vivid's ureadahead, so this was still an useful exercise06:13
infinitypitti: So, yeah, I'd try the local Essential init and upgrading a non-minimal (err, very minimal?) chroot and see if apt does the correct magic.06:14
infinityI'm pretty sure it does, though.06:14
pittiyep, I'll try that too06:14
infinityI think that's how I ended up with 'init' in some chroots in the first place, before we un-essentialled it. :P06:14
pittiinfinity: yes, my chroots don't have ubuntu-minimal installed06:14
infinitypitti: And once we're sure V->V and U->V work, the next is T->V, and maintaining that upgrade path all the way to 16.04.  Whee.06:16
infinitypitti: By which time, I assume someone will have released a better init system, and 16.04 will be using the no-longer-cool systemd.06:17
pittiinfinity: yay, congrats to 14.04.2, just saw the announcement06:17
pittiinfinity: openrc, clearly06:17
infinitypitti: I have high hopes for uselessd, if they have enough motivation and time to live up to their mission statement.06:18
infinitypitti: So, less about "new and better" and more about "a fork that doesn't annoy me as much".06:18
* pitti off IRC to some laptop boot testing06:19
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
dholbachgood morning07:32
didrocksricmm: rsalveti: hey, mind updating us once you are awake on the bluez5 situation?07:49
jamespageLaney: can I get your opinion on https://bugs.launchpad.net/precise-backports/+bug/1422417 please?  its not going to conform with the typical backports process.08:50
ubottuLaunchpad bug 1422417 in Precise Backports "ceph radosgw needs mod-proxy-fcgi for apache 2.2" [Undecided,New]08:50
geserpitti: Hi, re my boot problem with systemd as default: do you have an idea why the initram complains with "/init: line 307: chroot: not found" (also for line 325) before the kernel panic?09:04
pittigeser: hm, that does sound relevant indeed; it might call chroot to resolve symlinks or so; sorry, firefighting right now, could you please add that info to the bug report?09:05
ogra_why would there be a chroot call in the /init script09:06
pittiwell, obviously geser's has one09:06
ogra_oh, yeah, i see it09:06
ogra_checktarget="$(chroot ${rootmnt} readlink ${checktarget})"09:07
ogra_geser, fyi /usr/share/initramfs-tools/init is that script :)09:07
Laneyjamespage: possibly - is there a sane upgrade path to newer releases?09:11
jamespageLaney: good point - lemme take a think at that09:12
jamespageLaney: for 14.04 the separate package would be superceeded by the module provided in apache2-bin09:14
jamespageLaney: so we would need an associated SRU fix into 14.04 to deal with upgrades09:14
Laneyjamespage: as long as the packaging makes that happen cleanly09:14
LaneyI think it's plausible09:14
LaneyI'd like ScottK's thoughts09:15
jamespageLaney: ack - we'd make that part of the testing plan09:15
ricmmgreyback: what was the reason to have qtmir acquire wakelocks? I know I proposed it, but now I forgot :)09:22
ricmmdidrocks: hey, the update is that we still dont have it fully woking on the touch kernels, sadly09:22
ricmmworking real hard on it09:23
greybackricmm: need to keep the wakelock until the app was SIGSTOPPed, so it could clean up. Sometimes cpu clocked down before app had cleaned up09:23
didrocksricmm: I hope we'll get a FFe for it, keep us posted09:23
ricmmgreyback: got it, so unrelated to music-app's lifecycle09:24
ricmmsalveti's bug confused me, as that logic is handled by media-hub09:24
greybackricmm: it might be as music app lifecycle excepted, the wakelock is always held09:25
ricmmah right of course09:25
ricmmbecause the ->suspend() never goes09:25
greybackyeah09:25
ricmmgreyback: should probably move the logic to still have the suspend() be called and the QTimer fired09:26
ricmmand then check there for the lifecycle exception -> no signal/no sigstop09:26
geserogra_: do you know by chance if chroot is a build-in or a real binary in the initramfs?09:36
ogra_geser, i guess it is busybox ... but i think the erorr is that chroot doesnt find one of the variable contents in that line09:37
ogra_how does your init= on the kernle cmdline look like ?09:37
geserogra_: I've installed systemd-sysv (making systemd the default in my vivid VMware VM) and without a init= it doesn't boot at all (kernel panic with attempt to kill init), but it boots with init=/lib/systemd/systemd09:39
geserogra_: see bug #142111709:39
ubottubug 1421117 in systemd (Ubuntu) "fails to boot with "Attempted to kill init" in VMWare, absolute /sbin/init symlink does not work" [Undecided,Incomplete] https://launchpad.net/bugs/142111709:39
ogra_well, that command tries to call "readlink /lib/systemd/systemd" inside the mounted rootfs09:40
ogra_i assume it is either unhappy that /lib/systemd/systemd isnt a link or your rootfs isnt mounted at all at this point09:42
ogra_both conditions should be catched by the above "if" line though ... which is weird09:43
geserogra_: I booted earlier today with break=bottom and tried "chroot /root readlink /sbin/init" which returned /lib/systemd/systemd09:53
ogra_funny09:53
pittigeser: ah, that chroot is for "Work around absolute symlinks"10:02
pitti$ zcat /initrd.img |cpio -tv | grep chroot10:03
pitti-rwxr-xr-x 141 root     root            0 Oct 27 09:40 sbin/chroot10:03
pittigeser: does that exist for you too? (it should be a hardlink to busybox)10:03
geserpitti: nope, the only output I get is "105117 blocks"10:08
pittia-ha!10:08
ogra_heh, how did that get there10:09
geserpitti: I just did a test with "break=init" and checked the output from env: init=/bin/sh doesn't look what I'd expect10:09
pittiogra_: you mean how did it not get in there?10:10
pittiogra_: "it" == /sbin/chroot; or do you mena something else?10:10
ogra_oh, i thought it was supposed to be busybox's by default10:11
pittiogra_: it is, it's a hardlink to /bin/busybox10:11
pittior at least supposed to10:12
ogra_/usr/share/initramfs-tools/hooks/busybox10:12
pittilook at the link count (141)10:12
pittigeser: do you have BUSYBOX=y in /etc/initramfs-tools/initramfs.conf? and busybox-initramfs installed?10:13
ogra_i see it removing the klibc one but not create a link to the busybox binary10:13
pittiogra_: yeah, but it seems to work for everyone else10:14
ogra_nor does it copy_exec the one from the filesystem10:14
geserpitti: yes to both (BUSYBOX=Y and installed)10:14
geser/usr/lib/initramfs-tools/bin/busybox lists chroot in its functions and according to that hook a real chroot binary should get removed (if I read it right)10:16
ogra_geser, right, it removes the klibc one10:17
ogra_but it doesnt create a /bin/chroot link to busybox10:18
ogra_which i aways thought is required to make use of a busybox module10:18
=== Laney changed the topic of #ubuntu-devel to: Archive: open, feature freeze | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> utopic | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
geserI can use chroot in the busybox shell (break=bottom or break=init)10:19
cjwatsony10:19
ogra_(but i'm probably wrong)10:19
cjwatsonoops, wrong window10:20
ogra_geser, right, and pitti obviously has a sbin/chroot above10:20
ogra_so the link must come from somewhere else10:20
geserthe if check in that hook should fail for pitti otherwise there shouldn't be a chroot binary10:21
pittigeser: right, but in the busybox shell chroot probably counts as a builtin10:22
pitticheck with "type"10:22
pittiand not /sbin/chroot, as that doesn't exist for you10:22
ogra_pitti, but where does sbin/chroot in your unpacked initrd come from then ?10:22
pittiI don't know10:22
ogra_ubuntu@localhost:~$ grep -r chroot /usr/share/initramfs-tools/*10:23
ogra_/usr/share/initramfs-tools/hooks/busybox:rm -f ${DESTDIR}/bin/chroot10:23
ogra_/usr/share/initramfs-tools/init:checktarget="$(chroot ${rootmnt} readlink ${checktarget})"10:23
pittiI have it on my laptop and my VMs, and lots of other folks are booting with systemd-sysv10:23
pittiso I'm certanly not the only one10:23
ogra_there is nothing that puts it in place10:23
pittiso if explicitly adding it to /usr/share/initramfs-tools/hooks/busybox helps, then let's do that10:24
pittiit certainly sounds plausible to explicitly link it10:24
pittigeser: to double-check, could you add that to /usr/share/initramfs-tools/hooks/busybox, then sudo update-initramfs -u, and check that it works then?10:25
pitti        ln -s busybox ${DESTDIR}/bin/busybox10:25
pittierr10:25
pitti        ln -s busybox ${DESTDIR}/bin/chroot10:25
pitti# ... and we need readlink to support /sbin/init to be a symlink LP: #135129510:26
ubottuLaunchpad bug 1351295 in initramfs-tools (Ubuntu) "Boot fails if /sbin/init (or init= arg) is an absolute symlink" [Undecided,Fix released] https://launchpad.net/bugs/135129510:26
pittithat indicates that we had to do that for another shell command for this10:26
geserwith the ln call it works10:29
pittigeser: cool, thanks for testing10:30
pittigeser: I'll get that uploaded then10:30
ogra_pitti, well, i'm still curious where it comes from for people that have it10:31
pittiyeah10:31
ogra_we might clash with something if we just try to link it10:32
pittiI also have busybox-static which also has an initramfs-tools hook10:32
pittibut that's in ubuntu-standard10:32
=== beisner- is now known as beisner
ogra_well, do vmware images use -standard or just -minimal ?10:36
geserI've neither ubuntu-minimal nor ubuntu-standard installed if it matters10:37
pittiogra_: ah, purging that indeed drops /sbin/chroot from initramfs10:37
pittimystery solved10:37
ogra_:D10:37
geserpitti: I hope I didn't distract you from your firefighting too much10:51
pittigeser: that's ok; simple bug for a change :)10:51
* ogra_ wonders if we could even call it a bug :P10:52
ogra_ubuntu without ubuntu-minimal isnt really ubuntu IMHO :)10:52
pittiogra_: that was without ubuntu-standard10:54
ogra_ah10:57
ogra_well, geser said he has neither installed10:57
geserogra_: but IYHO only missing ubuntu-minimal isn't really an Ubuntu anymore, you didn't say anything about a missing ubuntu-standard :)11:02
ogra_well, standard is comfort :) -minimal is ... well. the minimal set of packages making up an ubuntu system :)11:02
geserhmm, perhaps I should add an ubuntu-minimal depending on systemd-sysv instead of upstart into my PPA :)11:08
ogra_oh, systemd-sysv conflicts ?11:09
geseryes, indirectly as systemd-sysv conflicts upstart which is a dependency of ubuntu-minimal11:11
ogra_right, well, then not having it installed is indeed right in this case :)11:11
LocutusOfBorg1hi folks11:34
Riddellmhall119: I want to use €66 for pizzas for the plasma sprint so we can continue to work effectively with them11:43
=== kickinz1 is now known as kickinz1|afk
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
dholbachRiddell, the process is still the same one you used before: http://community.ubuntu.com/help-information/funding/12:49
rbasakchiluk: looking at bug 142064712:52
ubottubug 1420647 in ceph (Ubuntu) "Please apply nofile limit fix of ceph-osd to trusty, utopic" [Medium,Confirmed] https://launchpad.net/bugs/142064712:52
rbasakchiluk: is this fixed in Vivid please?12:52
Riddelldholbach: I've been told I need to pre-apply now13:32
dholbachright13:32
dholbachthat's what the vast majority of requests did already, ie "we're going to do X at Y and need Z"13:33
dholbachusing the same request form13:33
dholbachjust some time in advance, rather than afterwards13:34
=== MacSlow|lunch is now known as MacSlow
dholbachMirv, thanks a lot for fixing the libcitygml ftbfs13:35
Mirvdholbach: eh yeah I didn't know what I got into though, since it's kind of still continuing ;) (OSG 3.2.1 migration)13:38
Mirvbut progress anyway, helping is a pleasure13:40
cyphermoxgood morning!13:50
xnoxsil2100: are you about?13:54
=== kickinz1|afk is now known as kickinz1
flexiondotorgcyphermox, Morning.13:58
sil2100xnox: hey, what's up?13:58
xnoxsil2100: did you see email from pitti a while back?13:58
sil2100xnox: uh, I might have missed it by accident, what was it about?13:58
pittithe train not doing proper upload verification?13:59
xnoxsil2100: citrain modifications that developer membership board wants to get implemented.13:59
xnoxpitti: yeah, that.13:59
sil2100xnox, pitti: trying to find it in my e-mail, but so far I don't see it, depending how long ago that was13:59
pittiSubject: CI train upload privilege escalation [was: Upload Permissions]14:00
pittiDate: Mon, 16 Feb 2015 08:46:10 +010014:00
flexiondotorgcyphermox, Can we try a build?14:01
=== pgraner-afk is now known as pgraner
cyphermoxflexiondotorg: could you ping #ubuntu-release for this? since I don't have access, all I can do is copy your request there :)14:01
sil2100pitti: thanks, looking14:02
sil2100pitti: hm, filtering returns no results, where did you sent the e-mail to?14:03
pittilukasz.zemczak@canonical.com14:04
pittisil2100: I can bounce it someplace else if you want?14:04
pittior just again to the same address?14:04
sil2100pitti: if you could send it to lukasz.zemczak@ubuntu.com14:05
sil2100Maybe this time I'll get it14:05
sil2100hm, maybe it's filtered out somewhere14:05
pittibounced14:05
pittisil2100: got it now?14:10
ScottKLaney: Commented in the bug.14:10
pittisil2100: mx.canonical.com accepted it, anyway14:10
pittisil2100: but then again, teh @c.c worked as well a few days ago..14:11
flexiondotorgcyphermox, Who could help with testing a build?14:12
cyphermoxflexiondotorg: can't you?14:12
cyphermoxor do you mean with starting the build?14:12
cyphermoxif so, just wait for someone in the release team to be up and kick it off :)14:13
flexiondotorgcyphermox, OK.14:13
sil2100pitti: hm, still nothing ;/14:15
pittisil2100: spam filter?14:17
sil2100pitti: yeah, found it in spam ;)14:23
sil2100Thanks! Let me read up14:23
chilukrbasak it is fixed in vivid14:37
chilukrbasak that's why I only submitted debdiffs for trusty and utopic14:37
rbasakchiluk: thanks. Just need to wait on the current ceph SRU to go through first then I guess.14:50
chilukyeah..14:50
chilukrbasak I was thinking we might want to push it through ceph stable14:51
chilukinstead and get it pulled in that way.14:51
rbasakchiluk: it's fine either way, thought I think the SRU team should be made aware of the conffile prompt issue in both cases.14:52
rbasakI don't see any particular reason to prefer one way over the other - since it's fixed in Vivid, and Ubuntu is probably the only upstart-using Ceph distribution anyway?14:52
rbasakjamespage: ^^ ceph upstart ulimit fix for Trusty and Utopic. Through a distro patch in an SRU, or through Ceph stable. Any preference? I don't suppose it really matters.14:53
jamespagerbasak, not fussed either way - but I think there is a minor point release in proposed still so this may block things a bit14:54
jamespagerbasak, I need to get that flushed through14:54
rbasakjamespage: ack14:58
=== Guest35307 is now known as rcj
=== rcj is now known as Guest81339
rainbowtuxHi all, is there somewhere a good tutorial for creating .deb packages? That seems unnecessarily hard :/15:08
mdeslaurrainbowtux: start here: http://packaging.ubuntu.com/html/15:17
=== ubuntu is now known as Guest76382
caribouDoes the PlusOne maintenance team still exist ?15:33
caribouI'm looking at the FTBS for deja-dup : it builds find locally but fails on the builder15:35
caribouseems that it doesn't like the message saying that appdata-validate is deprecated15:36
=== teward- is now known as teward
DaGoatyI'm making a custom distro based on Ubuntu with an extra repo added to the disk containing my additional packages. In 14.04.1 I replaced the ubuntu-archive-keyring.gpg file in the squashfs with one which had my public gpg key added. This no longer works with the 14.04.2 disk. Is there a 'proper' way to include additional public gpg keys?16:08
DaGoatyI may have found my problem. I replaced the /usr/share/keyrings/ubuntu-archive-keyring.gpg but not /etc/apt/trusted.gpg16:28
tarpmanDaGoaty: instead of modifying existing files, consider shipping an additional keyring in /etc/apt/trusted.gpg.d16:29
DaGoatyinside the squashfs?16:30
tarpmanwherever you're currently making your changes16:30
DaGoatyokay, thanks16:30
=== pgraner is now known as pganer-afk
=== anthonyf is now known as Guest70178
=== kickinz1 is now known as kickinz1|afk
=== pganer-afk is now known as pgraner
NoskcajCan someone please upload a no-change rebuild of nant? It's needed for nunit 2.6.3 to migrate20:31
=== roadmr is now known as roadmr_afk
cjwatsonNoskcaj: monogame too, right?20:34
cjwatson(For a different reason, but still)20:35
cjwatsonNoskcaj: nant done20:37
cjwatsonNoskcaj: ah, monogame is harder, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=76512020:43
ubottuDebian bug 765120 in src:monogame "monogame: support monodevelop 5" [Serious,Open]20:43
cjwatsonand https://bugs.launchpad.net/ubuntu/+source/monogame/+bug/1400216 ... will process that20:44
ubottuLaunchpad bug 1400216 in monogame (Ubuntu) "Remove from archive" [Undecided,New]20:44
cjwatsonNoskcaj: OK, hopefully that'll migrate in a publisher run or two now20:46
=== roadmr_afk is now known as roadmr
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
infinityrbasak: percona-galera has that same "Breaks/Replaces where we mean Conflicts/Replaces" thing going on.23:35
infinityrbasak: And so does xtradb.  Whee.23:40
rbasakinfinity: yeah. When they're all in the archive, then I can file a bug with tasks against all of them23:55
infinityrbasak: They're all in, I held my nose and accepted after the licenses and general other packaging checked out sane enough.23:56
rbasakOooh, thanks!23:56
infinityrbasak: But wherever this unversioned Breaks/Replaces thing started in MySQL packaging land, I do hope the people responsible are being educated.23:56
rbasakI will do so.23:57
rbasakEveryone is quite happy to fix things when pointed out.23:57
rbasakIt's hard to coordinate and track them though. Now that they're all in Ubuntu, Launchpad should help with it.23:57
infinityrbasak: Breaks/Replaces should always be versioned, and always used for replacing files.  Conflicts/Replaces is the construct for replacing whole packages.23:57
rbasakEvery issue can just have a bug, and we can track their progress against every package.23:57
rbasakUnderstood.23:57
infinityI do feel like dpkg could do with a solid README on this.. Or a pointer to where Policy attempts to define it, and maybe a cleanup there.23:58

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