/srv/irclogs.ubuntu.com/2015/09/04/#ubuntu-devel.txt

mdeslaurslangasek: thanks00:22
pittiGood morning05:27
pittiTJ-: we could add support for keyscripts, it's "just" a matter of doing it05:29
TJ-pitti: presumably not in the way upstream wants it done?05:30
pittiTJ-: I don't remember right now how they want it done; but at least noninteractive key scripts shouldn't be so hard05:31
pittiinteractive ones will be of course, but I suppose the purpose of keyscripts is to be not interactive?05:31
TJ-It can be either; sometimes in order to 'find' a key-file on some external device05:32
TJ-Other times it might be to avoid the default keyboard input if it isn't trusted05:32
=== Spads_ is now known as Spads
TJ-I was reading the mailing-list threads, and Lennart expressed a desire to wait until a generic API can be put in place that uses the kernel keyring, and there was mention of a FreeDesktop API for PasswordAgents. I've added a reference to that discussion to bug #145103205:52
ubottubug 1451032 in systemd (Ubuntu) "keyscript option in crypttab not implemented" [Medium,Triaged] https://launchpad.net/bugs/145103205:52
=== nhandler is now known as BirthdayHandler
dholbachgood morning07:16
alkisgHi, in Wily there's an ifup@.service which unconditionally runs ExecStop=ifdown %I.09:13
alkisgPreviously, init.d/networking and init/networking.conf cared so that ifdown wasn't run if a network file system, or a network swap, were active09:13
alkisgThis affects us in the LTSP project. I can work around it, but possibly other projects will be affected as well.09:13
alkisgSo, what would be the proper way to hanlde it? To file a bug report against systemd in Ubuntu?09:14
alkisgAlso, when systemd calls sysvinit services, it doesn't set $RUNLEVEL. Some of the Ubuntu services do use that environment variable. Should I file another bug report for that?09:16
pittialkisg: please file bugs against these services, yes; there is no concept of runlevel outside of sysvinit itself09:22
pittiI think upstart might have some emulation of it, but the whole concept has gone for a long time09:23
alkisgpitti: thanks, and what should I do about my first question?09:23
alkisgI.e. does systemd in ubuntu care about not running ifdown when the network is in use by file systems, like the networking service did?09:24
pittialkisg: no, but this is a bit backwards09:24
pittialkisg: ifup@.service gets stopped when the interface disappears09:24
pittii. e. it calls ifdown to clean up ifupdown's state after a hot-unplug event09:24
pittialkisg: but I might miss something there, can you please file a bug with the details and the journal so that we have the data there and can discuss?09:25
alkisgpitti, what I'm experiencing is, if I remove the ExecStop=ifdown line, then the interface stays around and is up and everything terminates correctly09:25
pittialkisg: ah, I guess it might also be stopped during shutdown, yes; that sounds like some missing dependencies09:25
pittialkisg: ah, so that was the previous workaround for not having proper dependencies, good to know :)09:26
alkisgAh so the desired solution there would be to fix the dependencies so that ifup doesn't stop when the network filesystem is still needed?09:26
pittino, that network-using services are stopped before tearing down the network09:27
pittiin particular, they should have After=network.target; most stuff should already have it, but it seems there are some missing bits?09:27
alkisgpitti, systemd says it supports the case of a networked root file system, as long as the network interface is brought up in the initramfs, and cleaned up there in the end09:27
alkisgThey chain back to the initramfs for clean up09:28
alkisgBut, ifdown must not be called and the network file systems must not be unmounted until the initramfs is called again09:28
pittialkisg: we don't go back to the initramfs on shutdown09:29
pittialkisg: I think dracut does that (or can do that), but we don't use that yet09:29
alkisgI know, I don't expect to have it solved properly soonish, but whatever we fix now should be in that ^ way, right?09:29
alkisgI.e., the interfaces should stay up, not be brought down...09:29
pittialkisg: ack, so please file a bug; if you already know how upstart worked around that (i. e. what it test to see whether or not to shut down stuff), please link to that, to save some searching (if not, I'll find it somewhere)09:30
alkisgSure, it's check_network_file_systems in /lib/lsb/init-functions09:30
alkisgCalled by init.d/networking and init/networking.conf09:30
pittialkisg: but then you keep processes like dhclient around which prevent proper unmounting of / and thus a clean shutdown09:30
alkisgThanks, I'll file a bug report09:30
alkisgdhclient is supposed to be ran from the initramfs, if at all needed09:31
pittiLaney: do you have any concerns about bug 1492129?10:19
ubottubug 1492129 in systemd (Ubuntu) "FFE: integrate networkd with /etc/network/if-*.d/ scripts and resolvconf" [Wishlist,New] https://launchpad.net/bugs/149212910:19
Laneypitti: I don't feel very confident in reviewing the actual change (I guess mbiebl or someone did though) but if it's genuinely opt-in then no10:23
pittiLaney: yes, it's out of the question to use this by default for wily (maybe snappy will consider it, but we haven't talked about it yet)10:24
pittiLaney: yeah, it's just a bureaucrazy, but I didn't feel like just slipping this in as it kind of is a new feature10:25
pitti(unless you consider missing integration with if-up.d/ a bug..)10:25
Laneypitti: what's the resolved integration going to be?10:34
Laneyresolvconf*10:34
sidiI'm trying to force a package in my PPA to autoreconf before it configures, or else it wont be able to build10:38
sidii've put this in my rules: http://bazaar.launchpad.net/~ucl-cs-study-devs/activityfinder/xfwm4-4.11.1-2ubuntu2/view/head:/debian/rules but it still wont call xdt-autogen10:39
sidiwhat am i doing wrong?10:39
dokoapw, not sure if you or somebody else complained about th eppc64el cross compiler. but it's not updated10:40
apwdoko, i think it was rtg who complained first, though i have noticed it is behind, and has the same -m issue that the main one did10:40
dokopitti, can we override all the gcc-5 triggered tests, to start the test rebuild?10:40
dokoapw, ahh, ok. I assume rtg is doing some +1 maintenance. please could he avoid to change 'any' packages to arch specific ones?10:42
apwdoko, i am not sure, i don't think he was fixing anything just notcing we couldn't pre-test cross10:43
=== greyback__ is now known as greyback
cjwatsonsidi: You've written "--with-autoreconf" when it should be "--with=autoreconf".11:07
cjwatsonsidi: Also I would advise against having debhelper override rules depend on anything because I think it gets rather confusing; I'd just write "override_dh_auto_configure:" rather than "override_dh_auto_configure: override_dh_autoreconf".11:08
cjwatson(You could easily end up with multiple autoreconf runs your way, because make doesn't know when override_dh_autoreconf is done unless it's part of the same make run ...)11:08
sidicjwatson, to be honest i've been testing various things at this stage... will fix the with line and see if it works!11:09
sidiif i get at least one autoreconf run i'm happy... i added dependencies and they're not picked up right now11:09
cjwatsoncyphermox: FYI I'm merging wily's grub2 into unstable11:10
=== MacSlow is now known as MacSlow|lunch
jamespagedoko, libcommons-cli-java uploaded without maven11:58
dokojamespage, cool, thanks11:59
jamespagedoko, probably a useful template for reverts going forard11:59
jamespagedoko, http://launchpadlibrarian.net/216361477/libcommons-cli-java_1.3.1-2_1.3.1-2ubuntu1.diff.gz11:59
dokojamespage, I was looking at the dovecot merge, neglected for the 18 months ... debian dropped the ssl cert support between 2.2.13-5 and 2.2.13-8. do you have any suggestion how to handle that in ubuntu?12:06
pittidoko: absolutely; I usually do, just wanted to wait a bit until the queue settles down12:09
pittidoko: hint updated12:10
* pitti hints apparmor as well, another victim of NetworkManager12:11
pittiLaney: resolvconf> I don't know yet for sure; the BP has some ideas12:12
pittiLaney: I adjusted bug 1492129, let's handle resolvconf separately then12:13
ubottubug 1492129 in systemd (Ubuntu) "FFE: integrate networkd with /etc/network/if-*.d/ scripts" [Wishlist,Confirmed] https://launchpad.net/bugs/149212912:13
Laneypitti: OK, I was going to pre-ACK but wanted some idea of what it would be first. :)12:13
tjaaltontdaitx: there's already a MIR for uid/nss-wrapper12:51
tdaitxtjaalton, I saw it, thanks =)12:51
tjaaltonand unorphaned in debian now, so moving to main should be ok12:52
tnkhanhhi where can I talk about wily?13:24
dobeytnkhanh: if you want support, #ubuntu is the channel for you13:26
tnkhanhdobey: ok thanks13:27
ogra_i think there is a special channel for support for  unreleased versions ... but the guys in #ubuntu can tell you13:28
Laney#ubuntu+113:29
ogra_ah, right13:30
=== MacSlow|lunch is now known as MacSlow
Sweet5harkstgraber: soo seb128 is on vacation and as I consider to reapply for package upload rights, I wonder if you could review and sponsor this: http://people.canonical.com/~bjoern/wily/5.0.1/libreoffice_5.0.1-0ubuntu1_source.changes and http://people.canonical.com/~bjoern/wily/5.0.1/libreoffice-l10n_5.0.1-0ubuntu1_source.changes15:47
Sweet5harkstgraber: sponsoring blocks of course on bug 1491964, but as we are late in the game and reviewing libreoffice takes a while, its probably better not to wait on the greenlight from ubuntu-release with reviewing15:47
ubottubug 1491964 in libreoffice (Ubuntu) "[FFE] LibreOffice 5.0.x for wily" [Undecided,Confirmed] https://launchpad.net/bugs/149196415:47
Sweet5harkstgraber: note that this upload needs uploads for writer2latex and nlpsolver along with it, if you would want to review those too, just tell me ...15:49
dokobarry, https://bugs.launchpad.net/ubuntu/+source/kubuntu-driver-manager/+bug/1474539 is not Python specific16:03
ubottuLaunchpad bug 1474539 in shiboken (Ubuntu Wily) "FTBFS with Python 3.5" [High,New]16:03
barrydoko: doesn't matter.  still a ftbfs, and just piggybacking on existing bug16:07
infinitypitti: Around?17:29
=== alkisg is now known as work_alkisg
smoserstgraber, around ?18:13
stgrabersmoser: yeah18:14
smoser http://paste.ubuntu.com/12275296/18:14
smoserwe're writing a /etc/network/interfaces like that.18:15
smoserand it doesnt want to come all the way up on 'auto'18:15
smoser(i'm  pretty sure that the hwaddress are not needed on the eth* but removing them d oesnt cause a problem)18:15
rharpersmoser: well, it does come all the way up; but only after quite some time18:15
smoserifupdown never thinks its up18:15
smoserthat is on trusty18:16
rharperright18:16
stgraberI'm not seeing anything wrong with this config, though I've never used active-backup...18:17
stgrabersmoser: I'd suggest you wipe /var/log/upstart/*, then reboot and look for any networking related /var/log/upstart logfile18:17
smoseryeah, there is such things there.18:18
smoserstgraber, http://paste.ubuntu.com/12275511/18:39
smosermaybe that helps a bit. after a boot, nothing touched manually18:39
smoserremember / know that cloud-init is forcing a bottleneck in boot on18:40
stgrabersmoser: so the "file exists" error usually indicates that the interface already had an IP or route on it18:40
smoser start on mounted MOUNTPOINT=/ and stopped cloud-init-local18:40
stgrabersmoser: unsure what the I/O error is though, never seen that one before18:41
stgrabersmoser: oh, of course18:41
smoserthat'd be toolate anyway though18:41
stgrabersmoser: sorry I didn't see it before, your config is wrong18:41
smoserie, 'networking' shoudlnt bring anything up18:41
stgrabersmoser: you can't have two interfaces defining a gateway18:41
smoserwhat 2 interfaces do that ?18:42
stgrabereth0 and bond018:42
smoserhm.18:43
smoserwell in that case, how would you tell dhcp to not respect the gateway that it got ?18:44
stgraberyou'd have to change /etc/dhclient.conf I suspect18:44
smoserand in the event of multipe ncs doing dhcp, how would that not be a problem. ie, i connect 2 nics to the 'usernet' in qemu18:44
smoser(or lxc if you'd rather)18:44
smoserand tell them to dhcp18:44
smoserwouldnt 'that inherently cause the same "multiple gateway" problem ?18:45
stgraberit would18:45
stgraberand there's nothing ifupdown can do about it, the kernel won't let you have two default gateway with the same priority18:45
stgraberit's also not something ifupdown can detect since whether you get a gateway or not depends on your dhcp client config and your dhcp server config18:46
smoserright.18:46
smoserrharper, ^18:46
stgraberyou could have a dozen interfaces setup with dhcp and not run into that problem if their dhcp server wasn't pushing a default gateway18:46
rharperI'm dropping the extra gateway from the configuration;  if we do support that we'll have to do it via post-up scripts18:47
rharperyou have to set metric IIUC18:48
smoserrharper, just commenting that out does solve the problem18:48
rharperyeah18:49
smoserits really quite painful18:49
rharperyes, yes it is18:49
smoserin as stgraber pointed out its an invalid config18:49
smoserbut if you plugged eth0 into adifferent network, it might not be :)18:49
rharperor if you didn't get gateway back in dhcp response18:49
smoserrharper, http://ubuntuforums.org/showthread.php?t=220811918:52
smoserwe could potentially do something in a script in /etc/dhclient/dhclient-enter-hooks.d18:52
smoserthat looked at the interfaces, and only listened to gateway if no other auto had a gateway18:53
rharperbut how do we know they want that18:53
rharperthe dhcp server configuration is out of our scope18:53
smoseror i guess since when you're rendering things, you know this.18:53
rharperit may have it one day and not another18:53
rharperwe don't know if dhcp will return a gateway18:54
rharperand we don't know which route they'd prefer (explict one)18:54
smoserrharper, well, in your case its easy18:54
smoseryour networking ocnfig that you're supplied is definitive and says that the gateway is on the bond.18:54
smoserso it should ignore anything else.18:54
rharperI don't think so18:54
smoserhow so?18:55
smoserthe config says the gateway is on that device.18:55
rharperat least it's not clear to me that we should do that; vs. saying bond has gateway is invalid when you also have a dhcp configuration18:55
rharpera gateway18:55
rharperyou can have more than one, but must supply metric information18:55
rharperI want to step back and query folks who have existing configurations and validate those;  if we need to emit some sort of dhcp ignore new gateway if we've defined one; then we can do that18:56
rharperbut it's more complicated than saying folks need to give us working input to begin with;18:56
rharperuntil today; it wasn't obvious to me that you couldn't put in more than one gateway (as I expose my lack of networking-fu to the channel)18:57
rharperretrospectively it seems obvious18:57
smoserright.18:57
smoserbut your case is very simplified.18:58
Sweet5harkstgraber: did you see the backlog?19:08
stgraberSweet5hark: oh, yeah, sorry, forgot to respond. I'm currently behind on a bunch of NEW reviews and am only around for a day or so next week due to travel, so unless you're fine waiting until after the 15th of September, I won't really be able to help you :(19:12
Sweet5harkstgraber: do you have someone in mind from the dmb who might step in with a review?19:14
stgraberSweet5hark: as far as people being around on IRC lately, I can think of Laney and cyphermox but I have honestly no idea how busy they are these days :(19:16
Sweet5harkstgraber: kk, thanks19:26
cyphermoxSweet5hark: I can do reviews of stuff but I can't help you with NEW so much if it's to review things already in the queue19:33
stgrabercyphermox: my understanding is that it's a packaging + sponsor review of libreoffice by a DMB member in preparation for Sweet5hark re-applying for PPU of libreoffice19:56
stgraber*packaging review + sponsor19:56
cyphermoxyeah, that's fine20:03
cyphermoxexcept for the obvious "omg I'm uploading libreoffice"20:03
cyphermox:)20:04
mterry_bdmurray, ~sssd has committed to caring for nss-wrapper and uid-wrapper, FYI20:09
bdmurraymterry_: that's a lot of s'es20:11
mterry_bdmurray, :)20:11
=== beisner- is now known as beisner
=== Elimin8r is now known as Elimin8er
slangasek@pilot in20:31
=== udevbot_ changed the topic of #ubuntu-devel to: Archive: feature freeze | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-vivid | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: slangasek
dokomterry_, http://people.canonical.com/~ubuntu-archive/component-mismatches-proposed.svg is your friend ;)21:15
mterry_doko, I usually use check-mir21:17
mterry_Just forgot  :(21:17
UmeaboyHi!21:30
UmeaboyAny kernel devs here?21:30
UmeaboyI know that the PPA on Launchpad is for Testing of the kernel, but I wonder when 4.1 will be released as an update to 15.04.21:31
UmeaboyI have a driver issue with nouveau that I think is fixed in 4.1.21:31
UmeaboyAnd YES I have installed nvidia-prime for my Optimus as well.21:32
UmeaboySometimes Ubuntu 15.04 won't get to boot screen.21:32
UmeaboyIt just halts.21:32
infinityUmeaboy: Never.21:32
infinityUmeaboy: We don't update to new major kernel versions in stable releases (except for hardware enablement stacks on LTSes, which 15.04 is not)21:33
Umeaboyinfinity: Right.21:33
UmeaboyCan I use the official tar from kernel.org and build the necessary packages then?21:34
infinityI wouldn't recommend it.21:34
UmeaboyI have little to no experience with building debs.21:34
Umeaboyrpms YES.21:34
infinityYou can install the wily kernel on vivid, if you really want to go that route.21:34
Umeaboyinfinity: OK. Is there a changelog for it?21:35
sarnoldthe kernel-package package provides some tools to help build debs from upstream kernels21:35
infinityYes, but upstream kernels lack all the Ubuntu sauce, which may not be what people really want.21:35
sarnold*nod*21:35
UmeaboySo, I have Hybrid Graphics.21:37
UmeaboyOne Intel and one Nvidia GeForce GTX 850M21:37
infinityUmeaboy: There's a changelog: http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_4.2.0-7.7/changelog21:37
UmeaboyThe package nvidia-prime IS installed.21:37
infinityUmeaboy: If you're experiencing an issue, though, filing a bug might be nice, too.  This isn't a support channel.21:38
infinityUmeaboy: "ubuntu-bug linux"21:38
UmeaboyDoesn't seem like it's solved.21:39
infinityUmeaboy: You installed it to test?  Or you're just guessing from the changelog?21:40
infinityUmeaboy: The changelog would be tens of thousands of lines if it listed every commit from 3.19 to 4.221:41
=== bdmurray_ is now known as bdmurray
Unit193Does apport not actually file bugs now?22:10
sarnoldUnit193: it does, but not consistently, I'm not sure when it does vs when it just submits errors to the error tracker22:26
Unit193Nice.22:26
Unit193Thanks.22:26
Unit193sarnold: Could be it was already filed (found it under a different package than I first expected.)22:36
Unit193Found two debian bugs and an Ubuntu one.22:36
sarnoldUnit193: heh, that's almost worse than finding no bugs..22:37
Unit193sarnold: Recent!  All filed today or yesterday!  There's hope still.22:38
sarnoldoh! :) hooray22:39
Unit193(To be complete, lp 1492394)22:39
ubottuLaunchpad bug 1492394 in python-service-identity (Ubuntu) "TypeError: attributes() got an unexpected keyword argument 'apply_with_init'" [Critical,Confirmed] https://launchpad.net/bugs/149239422:39
sarnoldUnit193: eww22:42
UmeaboyHi again!23:23
UmeaboyI added the PPA for the Canonical Kernel Team, but I didn't get the 4.1-kernel when updating.23:24
UmeaboyCould it be because I choose to not use Proposed Updates and Backports?23:24
infinityUmeaboy: (a) it's 4.2, not 4.1, (b) which PPA, (c) did you add wily or vivid (4.2 is only in wily).23:25
slangasekppas include neither proposed updates nor backports.  however, that ppa exists for the kernel team's internal testing, not to provide newer kernels to users on older releases, so if you want the newer kernel you have to configure it to pull from wily as infinity says23:26
Umeaboyinfinity: OK. I guess I should change to Wily then.23:31

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