/srv/irclogs.ubuntu.com/2016/03/10/#ubuntu-devel.txt

shoutmepitti: should gssd.service just have a ConditionVirtualization=!container  added?00:00
shoutmemaybe we should just allow the rpc mounts...00:05
shoutmebut adding that to run-rpc_pipefs.service does work00:07
=== shoutme is now known as hallyn
naccslangasek: apologies for the delay, i think i've got the split main/universe build for php7.0 working with just a one-variable chagne between the two src packages ... build & testing now, will let you know00:33
naccjgrimm: checksecurity merge request sent00:35
naccsmoser: thanks for your help!00:35
=== dasjoe_ is now known as dasjoe
=== psivaa_ is now known as psivaa
=== balkamos_ is now known as balkamos
=== daxcat is now known as dax
jgrimmnacc: cool, thanks!01:46
=== juliank is now known as Guest26968
=== juliank_ is now known as juliank
=== pepee- is now known as pepee
stgraberPici: found the issue with the jenkins image importer, fixed now, it's processing its backlog which should take quite a few hours (about 200 images to download, unpack, update, repack, sign, ...)03:27
stgraberpitti: ^03:27
stgraberPici: sorry, bad tab completion :)03:27
=== tsimonq2alt is now known as tsimonq2-
=== tsimonq2- is now known as tsimonq2
pittistgraber: yay, thanks for fixing the image builds04:05
pittiGood morning04:05
darkxstcan someone nuke this from the sponsorship queue https://code.launchpad.net/~maozhou/ubuntu/utopic/tomboy/bug-12345/+merge/28358104:33
darkxstit was just someone playing around with merges by the looks of it04:34
pittidarkxst: set to "rejected", that should do04:52
darkxstpitti, thanks!04:52
=== marcusto_ is now known as marcustomlinson
=== kitterma is now known as ScottK
darkxst@pilot in05:38
=== udevbot changed the topic of #ubuntu-devel to: Wily (15.10) Released! | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-wily | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: darkxst
=== wilhelm.freenode.net changed the topic of #ubuntu-devel to: Wily (15.10) Released! | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-wily | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
pittiyofel, debfx: both our telepathy-qt and telepathy-qt5 packages are wildly out of date, use gstreamer 0.10 etc., and it seems the reason for the split is long gone: Debian's telepathy-qt builds both qt 4 and qt5 packages05:51
pittican we just sync/merge this?05:51
pittiyofel, debfx: see bug 1538772, keeping notes there05:53
ubottubug 1538772 in telepathy-qt5 (Ubuntu) "Stop build-depending on libfarstream-0.1-dev" [Undecided,Confirmed] https://launchpad.net/bugs/153877205:53
=== tjaalton_ is now known as tjaalton
pittiyofel, debfx: I put a merged test package into my PPA, some testing would be great06:16
=== mfisch is now known as Guest38484
cpaelzergood morning06:28
darkxstanyone able to add gitg to desktop-extra packageset (I am sure it was meant to be done already, but apparently not)07:07
tjaaltonhow come https://launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu shows the package is in universe when apt-cache policy shows the binary is in main?07:29
pitti xserver-xorg-video-amdgpu     | 1.0.1-1build2 | xenial          | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x07:37
pitti xserver-xorg-video-amdgpu     | 1.0.1-1build2 | xenial/universe | source07:37
pitti xserver-xorg-video-amdgpu-dbg | 1.0.1-1build2 | xenial/universe | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x07:37
pittitjaalton: wrong overrides; where is this supposed to be?07:37
tjaaltonmain07:38
tjaaltonhttps://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/154365907:38
ubottuLaunchpad bug 1543659 in xserver-xorg-video-amdgpu (Ubuntu) "MIR: xserver-xorg-video-amdgpu" [High,Fix released]07:38
pittitjaalton: ok, fixed07:38
tjaaltonthanks!07:38
daxtjaalton: been fielding support questions about fglrx recently. checking i'm reading right: no more fglrx in xenial onwards, right?07:40
tjaaltondax: right07:40
tjaaltonamd finally confirmed it in public07:40
daxthanks (and thanks for getting rid of it, though it'll make #ubuntu fun for a cycle or two i'm glad it's gone)07:40
tjaaltonthere's going to be a userspace blob at some point, but it's only for the amdgpu stack07:41
dax*nod*07:41
dholbachgood morning07:41
daxi've been using radeon for ages and have been reading about amdgpu. just wasn't sure if it was yet another temporary delay in xorg compat or if it was permanent07:41
tjaaltonhttp://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/857070-ubuntu-is-deprecating-fglrx-catalyst-in-16-04-lts/page6?_=145754920978507:41
tjaaltoncomments by bridgman and twriter07:42
tjaaltonI emailed tim yesterday and begged that they'd make it public :)07:42
tjaaltonthere's probably going to be a more formal announcement too07:43
tjaaltonnow if only it'd be ok to build a fully featured mesa and then just put some binaries in universe that'd be cool (vaapi, opencl..), but main/universe split makes it impossible07:46
pittiwgrant: hey William, how are you?07:48
pittiwgrant: I did a boo-boo with process-removals (had some 'y's in the input buffer)07:49
pittiwgrant: can I un-remove a package from xenial, or do I need to reupload/rebuild?07:49
wgrantpitti: Morning.07:52
wgrantpitti: You can use copy-package to revive it.07:52
pittiwgrant: copy from where then?07:52
wgrantpitti: copy-package --from-suite=xenial --to-suite=xenial -e 1.2.3-4 -b --auto-approve --force-same-destination somepackage07:53
pittiwgrant: hah, lol; thanks07:53
wgrantThe -e picks a version other than the current one.07:53
wgrantSo it doesn't matter if it's published or not.07:54
pittiyofel, debfx: qtmobility got removed in Debian, only rdepends in Ubuntu is artikulate; is this still something we want to keep?08:03
pitti(it also uses the obsolete gstreamer0.10)08:04
debfxpitti: qtmobility-dev likely just needs to be dropped from build-deps08:10
yofel^08:10
debfxwhere does it use gstreamer0.10? I only see a dep on libqt5gstreamer-1.0-008:12
pittiComment: (From Debian) ROM; will not get ported to GST 1.0, superseded by Qt5; Debian bug #80264208:13
ubottuDebian bug 802642 in ftp.debian.org "RM: qtmobility -- ROM; will not get ported to GST 1.0, superseded by Qt5" [Normal,Open] http://bugs.debian.org/80264208:13
pittithat's what the Debian removal bug says08:13
pittiand it also seems generally obsolete08:13
pittidebfx: libqtmultimediakit1 depends on libgstreamer0.10-008:14
debfxright, so applying http://anonscm.debian.org/cgit/pkg-kde/applications/artikulate.git/commit/?id=609f5b1 and killing qtmobility is the solution08:16
pittidebfx: ah, thanks; so good to remove?08:18
debfxqtmobility? sure. would be nice if someone could fix artikulate before.08:25
darkxst@pilot out08:30
pittidebfx: uploaded/removed08:36
pittixnox: hey! do you have some time to look at the s390x test failures of upstart?08:38
jamespageplease could an archive admin promote python-pika-pool to main? MIR bug 1552827 approved - the old version oslo.messaging in the release pocket is causing test failures right now for openstack testing08:41
ubottubug 1552827 in python-pika-pool (Ubuntu) "[MIR][FFE] Please sync python-pika-pool (0.1.3-1) from Debian (unstable)" [Undecided,Fix committed] https://launchpad.net/bugs/155282708:41
pittijamespage: it's not on http://people.canonical.com/~ubuntu-archive/component-mismatches.txt -- you need to make something in main depend on it08:46
pittiotherwise the next AA will demote it back08:46
jamespagepitti, python-oslo.messaging is depwaiting on it08:47
jamespageletme check again08:47
pittijamespage: ah sorry, it's on http://people.canonical.com/~ubuntu-archive/component-mismatches-proposed.txt08:48
jamespagepitti, yup08:48
pittipromoted08:48
jamespagepitti, I'll also need a binary only of python3-pika please08:49
jamespagesource already in main08:49
pittijamespage: I did all the ones on the above list, including that08:50
jamespagepitti, thankyou08:52
pittinacc: php5.6 got removed in Debian, do we want to follow suit? I assume yes as you're heading for 7.0, but want to confirm09:31
pittinacc: well, I remove it for now, our only change was an FTBFS fix; I can bring it back if necessary09:33
rbasaknacc won't be up for a while. I know the plan is to remove 5.6. I didn't know what stage nacc was at for that though.09:33
rbasakPresumably all the reverse deps are gone now?09:33
pitti* php-redis                     (for php5.6-dev)09:34
pitti* php5.6-json                   (for php5.6-dev)09:34
pittirbasak: php5.6-json was also removed (I just did that in Ubuntu)09:34
pittirbasak: and php-redis needs a rebuild against php7, I just synced the new Debian package09:34
pittirbasak: i. e. yes,  all gone09:34
rbasakNot sure about php-redis. php5.6-json is 5.6-specific. 7.0 has a replacement json that doesn't need a separate source package IIRC.09:34
pittiI also removed a whole bunch of obsolete php-* stuff (via debian removals), should help a bit09:35
pitti(I also synced dh-php and php-igbinary, as php-redis needs those)09:37
pittiUnit193: do you still care about dvdstyler? it's the only thing which still holds the obsolete wxsvg in Ubuntu (got removed in Debian bug 813151)09:49
ubottuDebian bug 813151 in ftp.debian.org "RM: wxsvg -- RoM; unmaintained, library without rev deps" [Normal,Open] http://bugs.debian.org/81315109:49
Unit193I did the last upload because it didn't function at all, afact there's no new version that ports from wxsvg.09:55
pittiUnit193: right, my question was in the direction of "is dvdstyler obsolete and should be removed?" or is there still some upstream for it10:20
Unit193pitti: Ah!  Well they did just release a new version in Jan, but I don't actually know much more than that, never used it myself.  Sorry.10:21
* pitti tries to find some ubuntustudio folks10:23
pittizequence: ^ hey, how are you? do you know about dvddstyler? ^10:24
pittijuliank: apparently some amd64-ism crept into apt's test suite? tests now fail on anything except amd6410:33
pittidpkg: error processing archive /tmp/tmp.tKhfFn1igl/aptarchive/pool/pkgb_1_amd64.deb (--unpack):10:33
pitti package architecture (amd64) does not match system (i386)10:33
juliankpitti: Yes, I'm aware of that and forwarded it yesterday to DonKult10:33
pittijuliank: ah, danke10:33
juliankpitti: In the meantime, ignoring them is the way to go. (Problem being that while we set APT's architecture, we do not configure dpkg's architecture, but install packages, which fails)10:34
juliankpitti: Fixed in https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=e457c9410:46
pittijuliank: yay you, danke10:47
juliankbb10:47
juliankoops10:47
julianki386 also failed the (flaky) download progress test again10:48
xnoxpitti, upstart is not used on s390x at all =)10:55
xnoxit's only used in desktop sessions, and there are no desktops on s390x.10:55
pittixnox: oh, so it's not even installed by default?10:55
pittixnox: indeed, only rdepends on my system is unity-greeter (ugh, there should be some more for sure..)10:56
pittixnox: you mean we could/should remove the s390x binaries?10:56
xnoxpitti, i don't think we will like an arch skew, nor the build depends skew (there are things that depend on libupstart et.al.)10:57
xnoxbut it's definitely not supported =)10:57
pittiwell, it's ftbfs on s390x; we could also disable the tests on s390x10:57
xnoxi can look at the test failures out of interest.10:57
pittixnox: oh, I don't have libupstart1 installed10:57
xnoxhowever, upstart is a good kernel tester.10:57
pittionly libupstart-dev depends on it10:58
xnoxhorum. there should have been deps in app-launchers and things, unless they have switched to dbus direct.10:59
smoserpitti, around? i've got some systemd networking questions.11:05
smoserhttps://public.etherpad-mozilla.org/p/cloud-init-networking has some background.11:05
smosersee description around line 39 there.11:05
zequencepitti: Seems my assistance was not needed :)11:06
pittizequence: why? there was no other answer about this so far (nor an upload)11:07
pittismoser: (be with you in a sec)11:07
smoserk. thanks.11:07
pittizequence: i. e. it's still "do we want to keep and update dvdstyler or remove it"11:07
zequencepitti: Oh, I thought someone was on it11:07
zequenceAh, right. Yes, I'll check with Len Ovens, who is the one in our team who is most informed on that package11:08
flexiondotorgsmb, ogasawara, seb128 Hello Pilots - If you could take a look at my sponsoring requests during your pilot sessions today I'd really appreciate it :-)11:10
pittismoser: these steps seem fine to me; let me see where cloud-init-local hooks in right now, i. e. that it's a proper place for this11:11
smoserhttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/systemd/cloud-init-local.service11:12
zequencepitti: I'll get back to you about the package within a day or so. Just double checking with Len first.11:12
pittismoser: ah, was just doing "systemctl cat" on a cloud instance11:12
muktupavelsflexiondotorg, did you test compiz? why did not you update your branch for review?11:12
pittizequence: great, thanks a lot for your efforts11:12
flexiondotorgmuktupavels, Because I work on this stuff in my spare time and my time is limited :-(11:13
flexiondotorgmuktupavels, It is 2nd on my list though.11:14
smoserpitti, thanks for systemctl cat. did not know.11:14
pittismoser: so, cloud-init is after=local-fs.target, but at first sight I don't see a strict enough Before= that would cause networking stuff to wait?11:14
smoseryeah. at the moment networking is not blocked at all.11:14
pittismoser: "systemctl show -p After cloud-init-local" is also quite useful11:15
pittismoser: as that shows you the properties "all combined"11:15
smosercloud-init-local needs filesystems (and yes, /usr)11:15
pittii. e. if some other unit bar.foo does Before=foo", then showing foo.service will show After=bar11:15
pittismoser: can/should we just redefine cloud-init-local to block bringup of network, or is there stuff happening there that already needs network?11:16
pittismoser: (if so, it would be wrong as it doesn't depend on networking, but still asking)11:16
smoserno. it should not need network11:16
smoserit looks at local sources of information such as attached disks or stuff in the filesystem11:16
smoseror as described there to add 'ip=' flag11:17
flexiondotorgmuktupavels, I see you've got a merge proposal in.11:17
pittismoser: btw, this might not run as early as you think, as it doesn't have DefaultDependencies=no11:17
flexiondotorgmuktupavels, What help do you require from me to progress this?11:17
pittismoser: in old SysV terms, this runs in rc2, not in rcS (which you'd get with DefaultDeps=no)11:17
muktupavelsflexiondotorg, what merge proposal?11:17
flexiondotorghttps://code.launchpad.net/~albertsmuktupavels/compiz/gwd-marco-gsettings/+merge/28782011:18
muktupavelsflexiondotorg, just merge it in your branch and test it. I pushed that only as example.11:19
smoseryeah, goal is "as early as i can pallet". i think i'm probably ok. . i need /var/lib/cloud, /usr/bin/cloud-init really want /run .11:20
pittismoser: /run is always there, that's no problem11:20
pittismoser: do you support craziness like /var on NFS for cloud-init?11:20
pitti(as that would be a circular dependency then)11:20
pittifor c-i-local.service11:21
smoserat this point i dont think so.11:21
smoseri think if someone really wanted such a thing, then we might try to get there, but it wouldnt work right now.11:21
pittismoser: so, I left some notes in the pad11:22
smoserpitti, thanks. wrt seriallized boot, you may be interested in the generator i added, which means you can completely disable cloud-init (well,. other than the generator running)11:24
pittismoser: line 70 → is that a systemd generator? or some other kind? (as these run even earlier)11:24
smoseryeah, the generator is what allows you to disable cloud-init entirely11:25
smoseri'd also like at some point it to be able to change cloud-init to only run in a way that is guaranteed to not foobar your ENI11:25
* pitti yays lots of shell in early boot :)11:26
pittismoser: any chance to at least drop the shell parsing of /proc/cmdline?11:26
pittiyou can add ConditionKernelCommandLine= to any unit to run (or not run) it for certain kernel command line options11:26
pittismoser: is =enabled and =disabled already released API? (most other kernel options use =1 or =0, or no value at all)11:28
smoserpitti, i'm not opposed to changing =enabled or =disabled. to =1 or =0, but one seems less magic.11:32
smoserthe kernel command line parsing also supports reading the environment variable which could be set in lxd (right now lxc does not mask /proc/cmdline)11:32
smoseri dont think performance is likely an issue in reading proc cmdline. the logging in that script probably is much more a performance issue11:34
smoseractually, the one fork i make (systemd-detect-virt) is probably 90% of the time for that functionality11:36
pittismoser: ConditionKernelCommandLine= actually does just that11:37
pittismoser: if it's booting on a real kernel, it parses /proc/cmdline, otherwise it takes the argv of pid111:38
pittii. e. lxc's flavor of a "kernel"(ish) command line11:38
pittiand there's ConditionVirtualization= which also avoids the fork11:38
pitti(but I think you don't actually need that11:38
flexiondotorgmuktupavels, OK, will do.11:39
pittismoser: anyway, that's quibbling over less code/optimizing etc; I guess the important bit here is the Before=network-pre.target (and moving earlier into the boot) of c-i-local?11:40
smoseryeah.11:40
pittismoser: where does this $KERNEL_CMDLINE thing come from?11:40
smoserit would allow you to set that in lxc's pid111:41
smoseri dont know that the argv of pid1 would be sufficient or not11:41
smosercan i run '/sbin/init cloudinit=1' and systemd not be bothered by that ?11:41
smoserKERNEL_CMDLINE is not standardized in any way. i picked an environment variable name. if there is a more appropriate one, good with that.11:43
pittismoser: well, "bothered", that's how every init is called; it will of course pick out stuff like systemd.log-level or so, but it ignores unknown arguments, yes11:43
pitti(or quiet/debug/emergency)11:44
pittiso you can e. g. do sudo lxc-start -n adt-wily /sbin/init rescue -F11:44
pittistarting a container or a kernel isn't much different wrt. kernel command line parsing really11:44
pittifor clarity, the -F belongs to lxc-start, so like: sudo lxc-start -F -n adt-wily /sbin/init debug cloudinit=111:45
pittisystemd will recognize the "debug" as somethign it knows, and just ignore the cloudinit=11:45
smoserok. i'll consider that, adn the systemd conditions in the generator too11:45
smoser2 things i'd like generally...11:46
pittismoser: generators don't have  conditions (as they are not units), they always run11:46
smoseri'd like to be able to read "is this a container" (systemd-detect-virt) without  a fork11:46
pittiwell, you can programatically check for stuff of course11:46
pittii. e. my point is, I believe you don't need the generator at all11:46
smoseri'd like to be able to read the cmdline without a fork too (reading /proc/1/cmdline and /proc/1/environ are null terminated. easy for anything but shell)11:47
pittiI think this boils down to ConditionKernelCommandLine=!cloud-init=disabled11:47
smosermaybe, yeah.11:47
pittiand you don't really need the dynamic enaling then, as the condition will already make cloud-init*.service a no-op if disabled11:48
pittiand the detect-virt goes away as ConditionKernelCommandLine= DTRT for both "real" kernels and container pid 1's11:49
smoserand ConditionPathExists!11:49
smoserpitti, oh. the other thing i thouht i got from the generator.11:49
smoserwas that i have no bottlnecks in boot11:49
smoserie, one thing runs and then if disabled, the others do not run11:50
smoserrather than having the bottleneck come down to cloud-init-local and then checking for that file11:50
pittiwell, they don't actually fork/run anything11:51
pitti"they" -> Condition*11:51
smoserno. but they force a bottleneck11:51
smoserie, if cloud-init-local blocks networkign coming up, then there is a bottleneck at boot down to that one job11:51
smoserand then another at the point where i want cloud-init to run11:52
pittiah, you'd make network-pre.target run after local-fs.target, yes11:52
smoserwhere with the generator i thought i incur the single cost of the generator and if disabled, then cloud-init has *no* affect on boot11:52
pittiwhich is not really a biggie as everything that actually touches network config also needs After=local-fs.target11:52
smoserwell, then i'm free to do what ever silly things i want to do to boot.11:54
pittismoser: well, cloud-init-local.service really doesn't do much serialization (other than network-pre.target after local-fs.target); I guess the stating and symlinking and parsing that you do there is probably a dozen times heavier :)11:54
smoserbut i think its probably really a very small optimization.11:54
smoseralso cloud-init.service forces some bottlenecks.11:55
pittifor sshd.service etc.11:55
smoserits fine. i think this is mostly in the terms of "small" then. i was more concerned that cloud-init's presense on disk had negative affects on boot when it wasn't utilized.11:55
smoseri'd like for peple to not think 'cloud-init sucks, purge it'11:55
smoserbut rather cloud-init could be useful, i'll just disable it.11:55
smoseryou've convinced me its a small thing, and i'm not opposed to looking into your path for sure.11:56
pittismoser: so cloud-init.service serializing ssh.service after network-online.target is the main serialization that I see11:56
smoser(and i have another email to you about ssh.service and pollinate)11:56
pittismoser: for that a generator might make sense11:56
smoseri do want cloud-init.service to generally block everything it can11:58
smoserfor just about all of boot to serialize on it (and cloud-confnig.service) so that they can affect as much of boot as possible.11:58
=== _salem is now known as salem_
smoserpitti, that make sense? generally speaking i *want* to serialize boot. so that users can provide user-data that will run "as soon as networking is up" and affect other parts of boot.12:04
smoserunfortunately, it seems that systemd is not as dynamic as upstart was in that regard12:04
smoserthey can't just drop new units in and have them consumed via inotify12:05
pittismoser: sure; you can hook into network-online.target to block that (and everything that waits on it)12:05
smoserhow can i hook into it ?12:05
pittiright, you need to enable new units12:05
pittismoser: Before=network-online.target12:05
pitti(or whichever other target you want to "block")12:06
smoserand that will run when networking is up12:06
smoserbut block anything else that would need it ?12:06
pittiof course you can't then simultaneously have After=network-online.target as it does rigth now12:06
pittiyou could add an After=networking.service (for ifupdown), if you don't care about other methods12:07
smoserso cloud-init.service will need to use the configured networking to go looking for a datasource12:07
pittithen you'd have networking.service -> cloud-init -> network-online.target -> everything that depends on that12:07
smoserso yeah, thats what i want. but that is only accomplishable on ubuntu ?12:07
pittibut of course not all services depend on that, so if you really want to affect *all* services you can only run a generator12:08
pitti(but then have literally no assumptions)12:08
xnox.... and dhcp request sent with "wrong" hostname....12:08
smoserxnox, well, you'll be happy to know that on azure, they bounce the dhcp interface so that it does it with the right one12:08
pittismoser: network-online (and pretty much all other targets) are cross-distro; *.service are often distro specific, e. g. networking.service is "ifupdown"12:08
xnoxsmoser, excellent. I guess i just need s390x on azure then =)12:09
pittismoser: so indeed  if you run on a distro that doesn't have ifupdown, you can't use this (but they your network config bit wouldn't work in teh first place -- you probably want to ship a networkd config or somethign such)12:09
smoserpitti, yeah. well, a cross distro blocking "network is up" event is what i'm after.12:09
pittismoser: that's network-online.target, pretty much12:09
smoseryeah. other than the blockign part :)12:10
pittismoser: but I meant, a lot of services don't wait for that, but already start before12:10
smoserpitti, you've been so very helpful, thank you.12:10
xnoxthere is a generic event for "network is available" network-online.target, but things that provide network block that, and don't create an alias...12:10
pittisay, postgres or ssh12:10
pittismoser: the blocking is your decision (adding a Before=n-o.t)12:10
xnoxit could be networkd, networkmanager, ifupdown, what not. So I don't think there is a generic way to block /those/ things that configure the network.12:11
xnoxunless you opportunistically encode all of their names.12:11
pittixnox: yeah, that'd be network.target12:11
pitti(sorry, I thought you meant "use the network")12:11
xnoxpitti, i thought that e.g. "before=network.target" unit, may still run in between say networkd and network.target.12:12
xnoxas e.g. networkd is simply before network.target.... no?12:12
smoserwell, yeah. i want to be able to run code when the network is up that basically blocks all other code that would expect the network to be up.12:12
smoserbut i want to not know what  brought that networking up12:12
smoseri want to be special!12:12
xnoxah.12:12
pittixnox: right, sorry, network-pre12:12
pittiyou are talking about two different things12:12
xnoxpitti, oh, that one, ok.12:12
xnoxright.12:12
pittismoser talks about "using the network" (but after configuring it) -> network-online.target12:13
pittixnox talks about "things that bring up interfaces" (network-pre.target)12:13
smoseryes. i need both.12:13
smosercloud-init-local before network-pre.target12:13
smoserand12:13
smosercloud-init after network-online.target12:14
smoserbut what i want is12:14
smosercloud-init=network-online.target12:14
pittismoser: right, the -local bit should run very early (as said in the pad, that shows how to put it earlier)12:14
xnoxyou can make cloud-init to be required by network-online.target, and just wait for network to be up.12:14
xnoxbecause that target is a blocking one already.12:14
smoserhm..12:15
pittiwell, depends12:15
* xnox with his upstartish ways of doing things12:15
pittistuff like postgres or haveged or whatnot isn't  caring about network12:15
smoserright. somet hings i can't affect. thats fine.12:15
pittiso those things need to be configured in -local then12:15
xnoxor local should install a firewall rule =) har har12:16
pittismoser | cloud-init=network-online.target12:16
pittismoser: ^ what does that mean?12:16
smoserBefore and After12:16
smoser:)12:16
pittiwell, a target is a synchronization point, it doesn't "do" anything12:16
pittii.e. you can run before or after, but not "in" it12:17
smoserright. but i need to run after it is there and want to stop evyerthing else that would run 'After' it12:17
xnoxand by default that target is empty, and a thing that brings up network has a helper to say "network is online".12:17
pittithat's similar to upstart, yuou can either do "on starting" or "on started" (before or after)12:17
xnoxso on ubuntu12:17
smoserright.12:17
pittismoser: that concept of "I want to be the only one" doesn't exist in any init system any more12:18
xnoxnetwork-online.target.wants -> [networking.service, NetworkManager-wait-online.service]12:18
pitti(not even sysv with inssersv)12:18
pittibecause, what happens if there's another package which wants to be the only one? :-)12:18
xnoxthus on ubuntu you want to be (a) wantedby -online.target (b) after = [networking.service, NetworkManager-wait-online.service]12:18
smoserpitti, you're completely missing the point. *I* want to be special12:18
smoseri dont care about other people!12:18
smoser:)12:18
pittioh, right :)12:19
xnoxyou can add wanted by everywhere, and to work everywhere you should add After = networkd12:19
xnoxand that's it.12:19
pittireminds me of those bug reports that say "this must be the last thing on boot"12:19
pitti(and of course I've seen at least three *different* people/packages claiming that)12:19
pittismoser: so yes, if you want to  block a target, do Before=network-online.target, and wait on the specific thing you just configured, like networking.service12:20
smoserthere shoudl be a target "basically-last-thing-in-boot"12:20
pittismoser: and if/once cloud-init learns how to setup networkd, you can add After=systemd-networkd.service too12:20
smoserrc.local (what it used to provide) is such a very useful thing for normal humans.12:20
xnoxwe call that "multiuser.target" =)12:20
smoserbut, lets not go there :)12:20
pittiwell, that conceptually isn't possible :)12:20
smoserand 147 things run at 'multiuser.target'12:20
pitti(and that's completely independent of insserv/upstart/systemd)12:20
xnoxnot systemd-networkd.service, but after systemd-networkd-wait-online.service.12:20
smoserhey.12:21
smoseri really do have to run now.12:21
pittiok, time for lunch then12:21
smoserxnox and pitti have been very, very helpful12:21
smoserthank you12:21
smoserpitti at your leisure, yuou have an email about pollinate from me too.12:21
smoserthanks again.12:21
smoserbest irc chat ever.12:22
xnoxsmoser, but given our on/off thing, your cloud init generator will need to install "cloud-init" wanted by "network-online", the After= lines can be encoded for all the world wide known network-online.target wanted'bys....12:22
smoserreally, thank you!12:22
xnoxor even better the generator can sniff those off disk.12:22
xnoxcause you want to create network-online.target.wants/cloud-init.service & create cloud-init.service.d/after.conf -> and that conf will list [Unit]\n After=`ls /etc/systemd/system/network-online.target.wants`12:23
pittixnox: urgh, that sounds  way too hackish12:27
xnox=)12:27
pittixnox: cloud-init can only configure ifupdown anyway, so there's little point waiting for the others12:27
xnoxpitti, it's not about configuring network however. ifupdown can only be done by cloud-init-local. I think what smoser here is after "network is configured by whatever" now block all services and wait for cloud-init to finsih installing/upgrading packages; configure users etc..... do everything. And then unblock network services to spawn everything else.12:29
xnoxe.g. sshd server.12:29
pittixnox: correct, which is just Before=network-online.target in cloud-init.service12:29
xnoxpitti, can one be wantedby & before network-online.target?12:30
xnoxit can't be before network-online.target, as then it will before network is actually configured....12:31
pittixnox: yes, that's by far the most common behaviour (it's unusual for something to want a dependency, but that dependency should run *after* oneseelf)12:31
xnoxe.g. before network-online.target, will be before networking.service/NetworkManager-wait-online.service12:31
xnoxno?12:31
pittixnox: right, hence cloud-init.service being After=networking.service Before=network-online.target12:32
xnoxthat's racy.12:32
pittias we don't (currently) care a bout anything else in cloud-init than ifupdown12:32
xnoxok. so it's racy in network configs that support -wait-online stuff properly (e.g. networkmanager, networkd)12:32
pittiif you want to block on those too, then add them to After=, yes12:33
xnoxright, gotcha.12:33
flexiondotorgmuktupavels, I've built Compiz with you changes stacked on mine here - https://launchpad.net/~ubuntu-mate-dev/+archive/ubuntu/crazy-mate/+build/932792812:35
flexiondotorgmuktupavels, And tested it. Works great. Thanks for your help on this, it is much appreciated :-)12:36
=== yofel_ is now known as yofel
flexiondotorgmuktupavels, Changes merged in the proposal - https://code.launchpad.net/~ubuntu-mate-dev/compiz/marco-gsettings/+merge/28288212:38
flexiondotorgTrevinho, I've merged and tested the changes muktupavels suggested for the improve Marco integration in Compiz. Please review https://code.launchpad.net/~ubuntu-mate-dev/compiz/marco-gsettings/+merge/28288212:40
=== francisco is now known as Guest63468
knomecould somebody look at bug 1555046 and help us get it uploaded? the shimmer-themes package is snatched from xubuntu by some dependencies to the kubuntu packageset so we're unable to do that ourself13:15
ubottubug 1555046 in shimmer-themes (Ubuntu) "Please upload shimmer-themes-2.1.1-0ubuntu1 to xenial" [Undecided,Confirmed] https://launchpad.net/bugs/155504613:15
knomecheers!13:15
smoserpitti, "conflicts/before=shutdown.target" ?14:22
pittismoser: that's to ensure that it gets stopped on shutdown (shouldn't be relevant, it's just standard practice; see man systemd.service DefaultDependencies)14:29
smoserah. ok.14:29
smoseris there a way that i can get systemd to print a log with microsecond timestampos of services and targets ?14:30
smoserthat were started thus far.14:30
smoserpitti, ^ is that just an ignorant question ?14:54
pittismoser: (in meeting, bbl)14:54
smoserperfectly acceptable. thanks.14:54
=== Pici- is now known as Pici
pittismoser: jounralctl -o short-precise?15:00
pittismoser: journal always stores microseconds, it's just output formatting/presentation15:00
smoserbut that is just stuff that got written to journal15:02
smoser(had journal output or somethingt)15:03
smosersuytemd ran a bunch of servivces and decided that some targets were reached.15:03
smoserit did that at certain points in the boot15:03
smoseri'd like to get timestamps of every one of those.15:04
smosersystemd-analyze critical-chain is useful15:04
pittismoser: yes, these are recorded in the journal too15:20
pittismoser: Mär 10 05:01:27.102984 donald systemd[1]: Starting Load Kernel Modules...15:21
pittismoser: something like this "Starting/Started", coming from systemd itself)15:21
pittismoser: yeah, systemd-analyze can massage these nicely too; "plot" for the visually inclined :)15:22
caribouinfinity: regarding the mstflint adujstment of yesterday I have a few final questions15:23
caribouinfinity: trusty's version is 1.4-OFED-1.4.2-1ubuntu1 and wily's version is 3.7.0+1.18.gcdb9f80-3.1ubuntu2. I supposed that the versionned Breaks should be << 3.7.0+1.18.gcdb9f80-3.1ubuntu2 (wily's) ?15:24
smoserpitti, ok. i was just not seeing what i was looking for becausae systemd shows the 'Description' there15:24
smoserwhich then you have to map back to the unit15:24
smoserie, if i want to know about 'pollinate'15:25
smoser# journalctl -o short-precise | grep Seed15:25
smoserthat works15:25
smoserbut this does nto15:25
smoser# journalctl -o short-precise | grep pollinate15:25
smosernot even15:25
pittismoser: systemctl show <unit> also shows the timestamp, in case that's easier15:25
smoserwhat is the MONOTONIC things there ?15:27
smoserunless its hidden in one of those, 'show' only seems to show 1 second granularity15:28
pittismoser: clock_gettime(CLOCK_MONOTONIC); probably not relevant for you, unless you deal with ntp or TZ shifts in between15:28
pitticlock_gettime(3) has the gazillion different clocks that Linux provides15:29
pittibarry: so pysmbc is on http://people.canonical.com/~ubuntu-archive/component-mismatches.txt wanting to go to universe16:07
pittibarry: a bit curious, I thought we wanted to kill python *2* stuff16:08
barrypitti: this is all caught up in the samba madness16:08
barrypitti: in some respects python3-samba should stay in main because it can get installed on-demand by system-config-printer.  but it's off the desktop iso now, so...?16:09
pittibarry: so I guess it can go, it's expected to not be there by default16:11
pitti?16:11
barrypitti: i think that's fine for now.  unfortunately py2 won't get booted off the desktop in 16.04 because of gvfs-backends.  we'll have to make more progress on upstream samba get any further.  boot it to universe for now16:12
coreycbpitti, I had 2 packages in the xenial new queue that aren't showing up now (python-neutron-lib and python-aodhclient).  should I re-upload?16:12
barrypitti: (possible it will get re-mained in 16.10)16:12
pitticoreycb: err, no idea, did someone reject them? (you should have gotten a mail about that)16:15
coreycbpitti, I don't see anything, I'll try to upload again16:17
=== JanC_ is now known as JanC
pittirbasak: I'm a bit confused, why does the ubuntu-server metapackage want to go to universe?16:22
pittirbasak: are we not using that any more? I. e. intended (and should it perhaps be removed?) or unintentional?16:23
ogra_main got to small for it16:23
ogra_it now wants the whole thing :)16:23
pittiI thought that was apt-get install fillherup16:23
* ogra_ assumes thats a bug ... we still produce server isos16:24
pittiwell, there was talk about unifying cloud and server images etc., so it's not entirely implausible that it's by intent16:24
rbasaksmoser: ^16:24
ogra_well, we definitely want the server task ... not sure if the metapackage is (was ever) actually needed16:25
rbasakI think smoser wants the metapackage so that it's clear when removing packages that you're removing ubuntu-server.16:25
rbasakSo it defines what ubuntu-server is better.16:26
smoseri certainly dont want ubuntu-server in universe.16:26
ogra_(does it anything more than installing openssh-server on top of ubuntu-standard ? )16:26
ogra_ah, right, removals16:26
* ogra_ didnt think of that16:26
pittialso, dist-upgrades16:34
pittithose are the reasons why we keep the package in main for desktop16:34
pittiand we seed the metapackage into "itself"16:34
smoserpitti, so yes, i guess we should seed that package16:36
pittihm, it wasn't seeded in wily either16:36
pittiah!16:36
pittiit's new in xenial16:36
smoserits new in xenial16:36
smoserseeding a metapackage derived from the seed seemed to circular tom e16:36
pittithe metapackage doesn't define the seed16:37
pittiwe do have (a lot of) seeds without metapackages, too16:37
pittismoser: ok, thanks for cleaning that up; this was a bit confusing16:37
naccis it expected that dpgk-gencontrol doesn't respect -N in DH_OPTIONS?16:37
pittinacc: yes, DH_* is a debhelper option16:38
pittinacc: if you mean dh_gencontrol, then no16:38
* pitti waves good night, still not feeling too well16:40
smoserpitti, the metapackage is derived from the seed.16:42
naccpitti: err, sorry, meant that, yeah16:43
smoserso adding it to the seed seems circular16:43
naccpitti: will investigate16:44
attentejuliank: hi. is there some way to trigger an apt update over dbus (with aptdaemon or packagekit or some other service)?17:17
juliankYes, with both17:18
juliankdon't ask me how17:18
attentejuliank: ok. i was trying with org.debian.apt.RefreshCache but for whatever reason it doesn't seem to do anything...17:24
* juliank would use PK's org.freedesktop.PackageKit.Transaction.RefreshCache ()17:27
=== adrian is now known as adrian|sick
naccslangasek: is it just a matter of timing, or is there a reason php7.0 is stil in excuses? I see "Valid candidate" so that just means it hasn't been moved yet?18:36
Pharaoh_Atem:(18:43
Pharaoh_Atemubuntu-devel is moderated :(18:43
naccPharaoh_Atem: yeah.. you get used to it18:43
Pharaoh_Atemwhat's amazing is that none of the other distro MLs I'm on are18:44
Pharaoh_Atemor at least, they aren't anymore18:44
dobeyhmm, why isn't x11-xserver-utils migrated19:07
naccdobey: relatively the same question i just had about php7.0 -- seems like there a few "Valid candidates" that are a bit old19:09
naccdobey: not sure how that works19:09
dobeyyeah, but i don't need php7 to get 60Hz on 4K monitor :)19:10
naccdobey: heh19:10
dobeydo need full stack for xrandr 1.5 though19:10
=== pepee- is now known as pepee
streulmahello, am I right here for 16.04 questions ?19:13
streulmashim disabled Secure Boot... How can I enable it again ?19:14
dobey#ubuntu is the general support channel; #ubuntu+1 is for "next release" stuff, so might be more appropriate19:17
brendandhi, having a hard time creating a static cp binary on trusty19:23
brendandplease don't ask why19:24
brendandgot and configured coreutils source19:25
brendandthen 'make SHARED=0 CC="gcc -fPIC -static -std=gnu99"'19:25
sarnoldthat's a funny CC19:27
sarnoldtry CFLAGS="-fPIC -static -std=gnu99"  instead19:27
sarnoldalternatively grab sash or busybox or something? :)19:28
sarnoldbrendand: ^^^19:28
lewqmaybe http://askubuntu.com/questions/530617/how-to-make-a-static-binary-of-coreutils ?19:28
brendandis the one in busybox static?19:29
brendandsarnold: but CFLAGS did the trick, thanks19:29
=== funkyHat_ is now known as funkyHat
rharpersmoser: rbasak:  please git-dsc-import tgt to ubuntu-server-dev in launchpad when you get a chance;19:31
smoserk19:31
chilukis anyone else running xenial having massive issues with network-manager not respecting DNS settings when connecting to VPNs?19:34
* Pharaoh_Atem shrugs19:34
chilukbasically whenever I connect to the vpn it uses the vpn dns servers in spite of the fact I've told it not to.19:34
Pharaoh_Atemsounds like an NM 1.0.x issue19:35
Pharaoh_Atemwhich vpn type are you using?19:35
sarnoldchiluk: there's a handful of bugs about dhc* issues.. apparently an isc dhcpcd or dhclient runs with threads but one of the isc bind libraries is not thread safe..19:38
chilukI was leaning more towards network-manager being the culprit.19:44
julianktkamppeter: Maybe you know why hplip has a hplip-kubuntu.desktop, and why the names are different? The reason given is 'Kubuntu doesn't have any application categorised in "Settings"' - but the hplip.desktop (now?) uses  Categories=Application;Utility; - I assume that's fine?21:15
* juliank is doing a massive hplip packaging cleanup21:15
juliank(in Debian)21:16
stefanctminor bug in glibc(?) package in xenial: http://dpaste.com/042441N (i am upgrading a test machine right now)21:31
naccstefanct: hrm, it's escaped in xenial for me21:34
naccstefanct: and that's not a bug in libc, it's a reported warning in the specified perl file21:34
naccafaict21:34
naccstefanct: both are escaped in my (current) install of xenial21:35
stefanctit is but apparently triggered by configuring the libc package... i have not looked at the code21:35
nacci mean, it *should* complain about every package, i think21:35
naccnot just libc21:35
naccas it's going to complain about the deprecation on every load of that file21:35
naccstefanct: what perl do yo have installed (apt-cache policy perl)21:36
naccstefanct: err, rather debconf21:36
stefanctit definitely does not for every other package (i have seen it only for glibc yet) but i can look at the log later21:36
stefanctwell, right now 1.5.58ubuntu1 but it might have been updated already21:37
naccstefanct: yeah, i'm on that version and the referred to source file does not have the referred to issue21:39
naccstefanct: xenial is a moving target, so i think it's been fixed21:39
naccstefanct: looking at the changelog that was fixed in wily (1.5.57ubuntu1)21:42
naccstefanct: technically in debian, 1.5.5721:42
naccstefanct: it's possible the perl update is what caused the deprecation to get emitted (as the chagnelog mentions the message shows up with 5.22 and on)21:42
stefanctill check the log when it is done to look for the sequence and versions of perl and debconf upgrades21:43
naccyeal, wily had 5.20, it seems, so if it was a wily -> xenial upgrade, i think those messages may be possible, not sure21:44
naccrbasak: hey, so trying to understand why php7.0 hasn't migrated yet, can you explain how that works?21:52
rbasaknacc: so in update_excuses.html, we see "Valid candidate", so next is to look at update_output.txt21:52
rbasakHere, it's trying to find a combination of packages to migrate to the release pocket such that the number of uninstallable packages does not increase.21:53
rbasaktrying: php7.021:53
rbasak* amd64: fusiondirectory, fusiondirectory-plugin-addressbook, fusiondirectory-plugin-alias...21:53
naccrbasak: ah that's what i was missing! this other file21:53
rbasakThese are the packages that it says will become uninstallable in the release pocket if php7.0's binaries were to migrate to the release pocket.21:53
rbasakTrying easy from autohinter: php7.0/7.0.3-9ubuntu1 phpunit/5.1.3-1+ubuntu3 php-defaults/32ubuntu1 php-codesniffer/2.5.1-1ubuntu421:53
rbasakHere you can see that it's trying to migrate multiple packages at once, but it hits the same problem.21:54
rbasakI'd start by seeing why fusiondirectory is uninstallable. "chdist apt-get xenial-proposed install fusiondirectory" may tell us enough.21:54
naccrbasak: yep, thanks!21:55
naccrbasak: in this case, i know what's goi gon21:55
rbasakThe following packages have unmet dependencies.21:55
rbasak fusiondirectory : Depends: php-imap but it is not going to be installed21:55
rbasak                   Depends: php-mcrypt but it is not going to be installed21:55
naccgosa at least is blocked21:55
naccyep21:55
nacci am working on fixing that now21:55
naccwe have to split hte src package21:56
nacceffectively21:56
naccso that the universe targets can build21:56
rbasakOK, great. More information at https://wiki.ubuntu.com/ProposedMigration21:56
naccrbasak: so that makes more sense to me21:56
naccrbasak: thank you very much!21:56
rbasakNo problem!21:56
naccrbasak: so in the split, we have two control files, the universe one adds the universe build-deps to the base source ... would it be better to just add a substituion variable and keep all the differences between the two packages confined to debian/rules?22:02
naccrbasak: a control fine two different packages, to be clear22:02
rbasakUnfortunately you can't do that in the source section of the control file, AFAIK.22:03
rbasak(so build deps)22:03
naccrbasak: ah ok, answers that question then :)22:04
naccrbasak: i was trying to find the cleanest "delta" (not a proper delta, but basically waht is needed to build the unvierse package given the main source package)22:04
stefanctnacc: first perl (5.22.1-8) over (5.18.2-2ubuntu1.1); then libc6:amd64 (2.21-0ubuntu6) over (2.19-0ubuntu6.7); then debconf (1.5.58ubuntu1) over (1.5.51ubuntu2)22:06
naccstefanct: ah so it's an artifact of the ordering, i guess22:06
naccstefanct: as after debconf is upgraded, the message is gone22:06
stefanctand it was from trusty22:07
naccrbasak: it seems like one suggestion is to use sed and a marker in the clean override, but that doesn't seem so much better to justify adding the complexity22:07
stefancti am not so sure about that... the message came exactly two times. for libc6 and libc-dev-bin. and actually i think it was the "unpacking" stage that produced it... it's a bit hard to tread from the log because it sees to be slightly out of order (is there any parallelism?)22:10
naccstefanct: why aren't you sure? the perl upgrade led to the deprecated warning, which is emmited by debconf Perl files when libc6 gets configured, then debconf gets upgrade and silences the warning22:12
naccs/silences/fixes/22:12
stefanctthere were lots of packages in between22:13
naccstefanct: between the perl and debconf upgrades?22:14
naccstefanct: sorry, I read the above, as the actual order and packages22:14
stefanctbetween both paris respectively22:15
naccstefanct: can you pastebin the log?22:15
stefanct*pairs :)22:15
stefanctwell, i have that information from the screenlog because it seems to be the only one containing all the information including the message - but it is rather unreadable22:16
stefanctthe apt.log might be suitable i guess?22:16
naccyeah, maybe22:17
stefanct(if you trust me on the bogus messages :)22:17
stefanctill pastebin both22:17
rharperhow does one systemd services using Type=notify and a daemon that's supposed to sd_notify ?22:22
stefanctoh well... the screenlog is almost 2MB and neither dpaste nor debian.net like that. apt.log: http://paste.debian.net/413989/22:22
naccrbasak: no need to reply, but it seems like for the univesre source packge, that i can dh_installdocs --link-doc to php7.0-common; is that ok?22:23
naccrbasak: that's per hte debian policy, i mean22:23
naccslangasek: ok, i've got a split package working with everything but php-interbase, which i think needs some extra tweaking (will work on that next). I think that will clear out a lot of the queue (as php7.0 should  migrate then)22:56
naccslangasek: so my plan is to send it in a bug as d ebdiff for php7.0 and a new pckage request for the universe source package22:56
slangaseknacc: sounds good, thanks23:08
naccslangasek: np, i think i've got interbase figured, out just need to get the right configure tweak in place; it seems like the extension is relying on something from the -common makefile that isn't run now. Sorry it's taken so long! Had to learn a bit about makefiles :)23:10
=== salem_ is now known as _salem
mwhudsoni wonder when the last time the "Package has already been uploaded to" check in dput actually helped anyone was23:56
naccmwhudson: :)23:58
mwhudsoni guess i should just alias dput='dput -f'23:58
naccmwhudson: i think dput -f for PPAs is probably fine, I got in the habit of the same myself23:59
naccalthough that wsa the result of the (bad?) habit of not inserting changelog entries for one-off builds23:59

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