/srv/irclogs.ubuntu.com/2013/10/07/#ubuntu-devel.txt

=== ryukafalz_ is now known as ryukafalz
pittiGood morning04:55
TripSecpitti, Good morning04:57
TripSecsudo apt-get install git, how do I access the dl?04:57
pitti"dl"?04:58
mingI added a comment when I use "gpg --gen-key", so should I add the comment in the ~/.bashrc when I export the DEBFULLNAME  ? I always need to add the comment to the changelog when I ues "dch".05:24
mingby myself.05:25
slangasekming: well, consider this article - maybe you want to add a UID to your keyring that doesn't have the comment: http://www.debian-administration.org/users/dkg/weblog/9705:49
dholbachgood morning06:30
=== doko_ is now known as doko
dokobarry, given back and it did build08:08
cjwatsonming: Or you could add DEBSIGN_KEYID=<whatever your key ID is> to ~/.devscripts so that small mismatches don't matter, though the debian-administration.org post above is very sensible too08:32
pittixnox, slangasek: is there some special sauce which gets poured over the install images on releases for EFI/secureboot?08:37
pittixnox, slangasek: I tried to install my new x230 with saucy beta 1 and saucy daily, and they both are unbootable; /boot/efi/ is completely empty08:37
pittixnox, slangasek: installing raring and dist-upgrade worked without a hitch, and I have a working /boot/efi/08:37
xnoxpitti: it should just work, signed shim is uploaded in the archive and should be identical / present on all daily images.08:38
pittiis that a bug, or expected due to some "special sauce"?08:38
xnoxpitti: i'd be expecting it to be a bug.08:38
pittixnox: I don't think that shim was the problem actually; I disabled TPM/SecureBoot/CSM etc. in the setup and it still didn't work; empty EFI partition doesn't sound good, right?08:38
xnoxpitti: good thing to test, is if booting saucy image, actually boots it in EFI mode.08:38
pittixnox: it did08:39
pittiI set it up for "EFI only boot", got the grub-like start screen, and had /sys/firmware/efi, and dmesg babbled about EFI stuff08:39
pittiubiquity created an efi partition, but it was empty08:39
cjwatsonThat suggests that the installation wasn't as successful as it thought it was.  There are probably errors somewhere in syslog08:40
xnoxpitti: if in the logs (can you mount and check them?) grub-installer failed, you probably want cjwatson.08:40
pittiok; I remembered too late to chroot in and save logs, will do that at a test reinstall08:41
pittiI guess I could make a backup of the EFI partition, dd it to zero, run the saucy installer, collect logs08:42
pittiI guess it's somehow possible to fix up the install manually, but the only recipes I found were rather complicated (and simple install-grub failed in chroot under live system with "cannot map BIOS drive" or so)08:43
cjwatsonpitti: you should be able to retrieve the logs from a live CD or equivalent08:50
pitti*nod*08:51
cjwatsonthe partman log would be useful as well since it's possible it didn't create/mount an EFI partition08:51
pitticjwatson: I meant after I did that it's certainly possible to manually create the EFI partition, so that I don't have to go back and install raring+upgrade08:51
cjwatsondepends on the failure08:51
=== psivaa-afk is now known as psivaa
mlankhorstI hope mesa 9.2.1 gets accepted :) it fixes only updating the 1024x1024 topleft corner correctly in the tf2/hl2 games with nouveau drivers. \o/09:23
seb128xnox, hey, just checking fur that apturl/update-manager issue is still on your todolist right?09:25
xnoxseb128: yes.09:25
seb128xnox, great09:25
=== ritz is now known as ritz|away
=== oSoMoN_ is now known as oSoMoN
infinitymlankhorst: Lemme have a look.09:37
infinitysmartboyhw: Did you really mean to add ardour3 to ubuntustudio-audio and not remove ardour?09:52
smartboyhwinfinity, yes we do09:54
smartboyhwArdour 2 sessions can't be opened again in Ardour 2 if they are opened in Ardour 3 once.09:54
smartboyhwSo, no.09:54
smartboyhwNo removal of Ardour 2.09:54
smartboyhw(Until after 14.04, that is)09:54
infinitysmartboyhw: Kay.  Just looks a bit weird to have both, but your call.09:56
=== freeflying_away is now known as freeflying
seb128mardy, hey, did you receive any bug/are you aware of any issue with uoa/google account? mine keeps asking me to reauth (well, "keeps", I saw that basically once a day for a week, where it used to be weeks before I have to reauth again)10:27
seb128pitti, ^10:27
mardyseb128: are you using evolution?10:28
pittimardy: for me it's worse now, asking every few hours10:28
pittibut I just installed a new computer yesterday, so it could be that my old gsettings or whatnot (I didn't move them to the new computer) kept the thing alive10:28
seb128mardy, no, but I've an e-d-s account configure for calendar10:28
pittimardy: not using evo here (as in the application)10:29
seb128configured*10:29
mardyseb128: that's it :-(10:29
pittibut I enabled evo in the online accounts settings10:29
seb128mardy, that was not happening until recently, do you know what changed?10:29
mardypitti: yep, so it's EDS10:29
mardyseb128: I didn't have a chance to investigate it yet, it's https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/121086610:31
ubottuUbuntu bug 1210866 in evolution (Ubuntu) "Ubuntu Online Accounts integration broken in Saucy" [Undecided,Confirmed]10:31
mardypitti: ^10:31
pittimardy: ah, thanks! /me subscribes10:31
mardyseb128, pitti: it's due to an EDS upgrade10:31
seb128mardy, 3.6 to 3.8?10:32
pittimardy: I'll try disabling the three EDS options for the google account in the account settings10:32
seb128well 3.6 didn't have uoa integration10:32
mardyseb128: most likely that10:32
seb128I wonder if we should turn off uoa in eds, for saucy, then10:33
seb128Laney, pitti, mardy: ^10:33
mardyseb128: what EDS version was there in raring?10:33
seb1283.6.410:34
seb128that didn't have uoa support yet10:34
LaneyI've been avoiding using it because it was so flaky10:34
Laneywith 2fa anyway, think it's ok without that10:34
mardyLaney: right, it's most likely due to 2fa10:35
mardyupstream has fixed the issue in 3.9.something, by switching to Oauth10:35
Laneyyeah10:35
Laneyso I'd be in favour of turning it off10:35
seb128shrug10:36
seb128mardy, we are not sure we are going to update to 3.9 for the LTS btw :/10:36
seb128is there any way to fix that issue on 3.8?10:36
mardyseb128: not even if we start testing it very early?10:36
mardyseb128: well, the immediate solution I think would be not installing evolution-data-server-uoa10:37
seb128mardy, well, I'm suggesting staying on 3.8 (still being discussed), it's likely the version the next RHEL is going to use and it would be nice to align with them, since that's liking going to get more fixes than other series10:37
seb128mardy, would you suggest installing the goa support then?10:39
seb128or none of those?10:39
mardyseb128: backporting the fix might be possible, but it will be a lot of code10:39
mardyseb128: I'd say none10:39
seb128mardy, ok, let's see next cycle, I need to look at how much changes in eds 3.10 and it depends on e.g gtk 3.10 (which we are not likely going to have)10:40
LaneyYeah, we could probably selectively take stuff if it's worth it10:40
seb128Laney, do you have some spare cycles today? Want to test building e-d-s without the depends on uoa/goa (or just force removal) and test if evolution works correctly/can add a calendar?10:41
* seb128 already has a long todo for the day10:42
Laneymmm, ok10:42
seb128Laney, thanks10:42
seb128Laney, basically I think we agree on dropping uoa from the default install, I just wonder if we need to keep goa or not (it might be that some of the files in there are needed for calendaring, it already turned out that uoa was not working without the goa binary)10:43
Laneydid we have g before?10:43
seb128yes10:43
Laneyprobably just go back to that situation10:44
seb128raring didn't have uoa yet (that got added to 3.810:44
seb128so we were just building with goa and not splitting binaries10:44
seb128Laney, well, one of the things we wanted to avoid was to have goa-daemon running in Unity session10:44
=== MacSlow is now known as MacSlow|lunch
rbasakpitti: I filed bug 1235189 the other day. I think your stdout/err pipe thing regressed all non-null drivers.11:46
ubottubug 1235189 in autopkgtest (Ubuntu) "adt-run broken except when used with adt-virt-null" [Undecided,New] https://launchpad.net/bugs/123518911:46
pittirbasak: ah, thanks; adding to my bug fix pipeline12:02
pittiI ought to write some test cases for at least the chroot runner12:04
rbasakI'm hoping to land adt-virt-lxc soon, and also adt-virt-kvm. With uvtool in Saucy now together with your pass-through of the cloud image, this should be much easier. Then I imagine a dep8 test for the kvm runner would be relatively straightforward to do (the lxc one will still have an external dependency on the lxc rootfs image)12:07
=== psivaa is now known as psivaa-afk
=== MacSlow|lunch is now known as MacSlow
mlankhorstcan someone kill the mesa-9.1.7-1ubuntu1 upload to raring-proposed? I forgot to open a sru bug for it :)12:19
pittimlankhorst: it's not in https://launchpad.net/ubuntu/raring/+queue?queue_state=1&queue_text=12:23
infinity(I may have beaten you to it)12:23
mlankhorstah ty12:23
=== _salem is now known as salem_
=== psivaa-afk is now known as psivaa
tvoss_pitti, ping12:39
pittihello tvoss_12:39
mlankhorstok any sru admin can approve the new mesa I uploaded to raring then? :P13:09
smoserinfinity, i did commit sane lp:software-properties and re-upload. re-review would be appreciated.13:24
smoserthanks.13:24
cjwatsonroaksoax: Do you know what's happening with getting pacemaker rebuilt against current libraries?  (cf. http://people.canonical.com/~ubuntu-archive/nbs.html)13:28
cjwatsonWe're running out of time13:28
roaksoaxcjwatson: ill take a look13:40
=== pete-woods is now known as pete-woods-back-
roaksoaxcjwatson: you mean pacemaker-mgmt?13:45
cjwatsonroaksoax: Yeah13:47
=== kentb-out is now known as kentb
Laneywhat do I need to make the release upgrader happy to remove a package? ISTR that versioned C&R isn't enough to avoid partial upgrades13:56
cjwatsonC+R is fine13:56
cjwatsonsee update-manager 1:0.18413:56
Laneyah, good13:58
Laneyta13:58
argeshallyn: hi13:59
hallynarges: hi (mtg about to start)13:59
argeshallyn: ok real quick is there a wiki/pointer to some qemu tests I can run before i submit my sru to qemu-kvm ?14:00
argesor should i just use upstream tests14:00
hallynarges: lp:qa-regression-testing  cd scripts; sudo python test-qemu.py14:01
argeshallyn: perfect! thanks14:01
=== freeflying is now known as freeflying_away
TJ-According to bazaar importer system "usbutils" has failed to import since July 2012, which means the bzr branch is OUT-OF-DATE. What is the procedure for getting this fixed?15:06
stokachuis there a public repo for code used to create launchpad builders?15:21
stokachui know sbuild mimics it but i thought launchpad has some special adjustments15:21
smoserstgraber, if i file a FFE for software-properties , can i have it re-evaluated please?15:22
stgrabersmoser: once the FFe is accepted, sure, we can even accept it from the Rejected queue then15:23
smoserok.15:23
cjwatsonstokachu: lp:launchpad-buildd15:25
smoserstgraber, can i just turn bug 1233486 into a FFE bug ?15:25
ubottubug 1233486 in software-properties (Ubuntu) "add support for 'cloud-archive:' like 'ppa:' but for cloud archive" [Medium,In progress] https://launchpad.net/bugs/123348615:25
cjwatsonstokachu: I don't think it's worth trying to set up locally though - the cases where sbuild in the archive isn't close enough are very rare15:25
stgrabersmoser: yep, add [FFe] to the title and subscribe ~ubuntu-release15:25
cjwatson(Unless you're actually hacking on the builders)15:26
smoserthank you15:26
stgrabercjwatson: that reminds me I need to publish my sbuild-launchpad-chroot script at some point (schroot hook that makes you use the Launchpad buildd chroots and keep them up to date as they change on the server side)15:27
stokachucjwatson: ok cool, im trying to figure out why mysql fails to build due to unittests but builds in launchpad just fine15:27
stokachume and another engineer ran into the same build issue locally15:27
cjwatsonstokachu: The one case that bites people from time to time is that LP builders are blocked from accessing network resources other than ftpmaster.internal and archive-team.internal15:28
cjwatson(I don't know exactly how - that isn't in lp:launchpad-buildd)15:28
stokachuah maybe thats it then15:28
cjwatsonstokachu: So in the unusual case that a package tries to access something on the network and falls back to some other behaviour if it fails ... bit of a long shot though15:29
cjwatsonstokachu: Is this PPAs or the primary archive?15:29
smoserstgraber, done. thanks.15:29
stokachucjwatson: primary archive15:29
stokachuand its just a couple of unittests that fail causing the whole build to error15:29
stokachuthe code builds fine15:29
stokachuchiluk: do you have a log of those unittests that failed locally still?15:30
chiluklet me check15:30
cjwatsonstokachu: Different kernel version?  The primary archive builders will be on precise.15:31
cjwatson(The base system, that is.)15:31
stokachuthe host was precise that i was on when it happened15:31
stokachunot sure about chiluk's environment15:31
chilukmine is precise + 3.11 (eek)15:31
cjwatsonThe buildds are on 3.215:33
chilukI have two different logs, but they fail in two different spots.15:34
cjwatsonIf it's racy then maybe the buildds just got lucky.15:34
chiluknot sure..15:36
chilukso the end of my logs say to look at /tmp/buildd/mysql-5.5-5.5.32/builddir/mysql-test/var/log/warnings15:36
chilukbut I failed at getting those out of pbuidler before it cleaned things up.15:37
chilukhttp://paste.ubuntu.com/6205439/15:39
chilukhttp://paste.ubuntu.com/6205443/15:39
chilukcjwatson stokachu ^^ those are the output from my builds... Unfortunately they are not the error logs.15:40
chilukinfinity says he was able to build just fine though..15:40
cjwatsonDon't use pbuilder to reproduce Launchpad failures15:40
cjwatsonUse sbuild15:40
cjwatsonYou might as well at least *try* to be accurate :)15:40
chilukcjwatson understood.15:40
chilukyou asked for logs15:40
chilukand that's all I had..15:40
chilukmy sbuild env is a bit fubar..15:41
chilukactually my whole system is a bit fubar at the moment.15:41
rbasakI do my builds and dev work on a cloud instance, with a script to set one up.15:41
rbasakMakes stuff reproduciable.15:41
chilukI was planning on re-installing today, since so many things are wrong with it... *(too many broken cross dependencies between ppas)15:41
chilukcjwatson, stokachu was using sbuild.15:42
rbasakI have had issues with mysql. I suspect it's a race.15:42
chilukmy machine must be winning that race!15:43
rbasakISTR there being some recent commits to debian vcs to fix some stuff related to that.15:43
cjwatsonThat failure looks like a DNS argument15:43
cjwatson-mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect15:43
cjwatson+mysqlcheck: Got error: 2003: Can't connect to MySQL server on 'not_existing_host' (errno) when trying to connect15:43
chilukthe first one looks like that.15:43
chilukthe second one does not.15:43
chilukI eventually just ended pushing it up to a launchpad ppa15:44
cjwatsonok, don't know enough about mysql to help further15:44
roaksoaxcjwatson: bug #123641415:45
ubottubug 1236414 in pacemaker-mgmt (Ubuntu) "[FFe] New Upstream Release (2.1.2) to support pacemaker 1.1.10" [Undecided,New] https://launchpad.net/bugs/123641415:45
jodhogra_: to rule out gcc attribute issues, it would be helpful to run the nih tests on mako/maguro.15:55
ogra_what are the nih tests ?15:55
jodhogra_: "make check" for the libnih package.15:55
jodhogra_: I can now recreate the problem, so don't bother with that.16:12
ogra_oh !16:12
ogra_on grouper ? great !16:12
ogra_now that i trashed my beautiful image with all these build deps ...16:13
ogra_:)16:14
jodhogra_: there are 2 problems - I can't recreate the udev kernel issue, but I can recreate the issue whereby the session init doesn't release memory.16:14
ogra_yay16:14
ogra_do you use Mir ?16:15
ogra_i would expect it to grab the vsync events too on nvidia16:15
ogra_jodh, touch /home/phablet/.display-mir ... and reboot ...  to switch it on16:17
jodhogra_: I'll concentrate on the session init bug; the udev issue is not an upstart bug.16:18
ogra_jodh, btw, the test build i had started before you told me not to just failed three tests16:19
jodhogra_: please raise a bug and one of the upstart devs will review :)16:20
=== MacSlow is now known as MacSlow|afk
ogra_jodh, well, i'm building on a writable made phone fs ... not sure how valid this actually is16:20
jodhogra_: as long as /tmp is writeable and you aren't using overlayfs, should be valid.16:22
ogra_ok16:23
slangasekpitti: any luck figuring out that EFI install issue?16:25
pittislangasek: no, not yet; that'll take a few hours as I'll have to trash/reinstall my machine, and I had a lot of post-holiday catch-up to do today16:25
slangasekpitti: ok16:27
=== pete-woods-back- is now known as pete-woods
cjwatsonroaksoax: Thanks for the pacemaker-mgmt upload.  I'm a bit concerned that you've dropped all the changes from debian/changelog (and possibly the rest of debian/?) in favour of whatever was upstream.  Was that intentional?16:38
cjwatsonroaksoax: "bzr di -c12 lp:ubuntu/saucy-proposed/pacemaker-mgmt" to see what I mean16:39
cjwatsonroaksoax: In particular you have reintroduced python-central which is a regression16:43
cjwatsonroaksoax: (But please don't just fix that on its own - the whole previous packaging should be restored and merged back in)16:43
roaksoaxcjwatson: yeah so the changes to debian/changelog were unintentional16:44
cjwatsonLooks like debian/copyright has been de-UTF-8-ed as well16:44
roaksoaxcjwatson: yeah. I'll fix that16:44
cjwatsonroaksoax: It looks like a symptom of unpacking the new upstream tarball and not restoring the previous packaging over the top of the debian/ directory it shipped16:44
iraycdHi16:45
iraycdI'm new to development16:45
roaksoaxcjwatson: so I did uupdate ../<pkg>.orig.tar.gz16:45
iraycdI'm a web developer16:45
cjwatsonroaksoax: It's possible uupdate got very confused by the (anomalous) presence of an upstream debian/ directory16:45
iraycdWhich is the best book to learn ubuntu development16:45
iraycd:)16:46
iraycd??16:46
roaksoaxcjwatson: that's probably what happened. I'll get that fixed16:46
sarnoldJackYu: ah, thanks for the chinese-calendar explanation :)16:46
cjwatsonroaksoax: Still, lots of tasty NBS removals16:46
cjwatsoniraycd: Ubuntu development isn't really geared towards having books that are even slightly up to date.  It's probably better to start somewhere like https://wiki.ubuntu.com/UbuntuDevelopment16:46
iraycdcjwatson: I know that. But it's difficult for me to follow. Can you tell me few keywords that I need to be familiar16:48
cjwatsonI don't do the web development end of things, so I probably can't give you much more specific advice16:49
=== tvoss_ is now known as tvoss|quick_dinn
iraycdcjwatson:  :-) . Nice answer. What version control do most of the ubuntu developers workon? where do I need to host the project?16:51
iraycdcjwatson: Can I use python for developing an app?16:52
cjwatsonbzr, though git is also popular.  Wherever you like, though we offer launchpad.net for hosting (which supports bzr).  yes.16:53
sarnoldiraycd: this seems popular for python-based web applications: http://en.wikipedia.org/wiki/Django_(web_framework)16:53
iraycdDjango is a web framework. How can I use it in native application development?16:54
sarnoldiraycd: ah, sorry, I thought you wanted to do web development stuff on ubuntu. :)16:54
iraycd:P16:54
iraycdI use ubuntu for web development. :P16:55
iraycdI want to develop native apps16:55
iraycdI want to make a music player16:55
iraycdI like clementine. But it isn't so user friendly16:56
ogra_iraycd, i bet you want to be in #ubuntu-appp-devel then ;)16:56
ogra_(as the channel topic here suggests)16:56
dobey-p16:56
sarnoldhow many 'p's in that?16:56
ogra_dunno, want some more ? i have a bag full :)16:57
sarnoldhehe :)16:57
iraycdogra_: Okay. Cool. This is IRC for Core OS development? :P16:58
ogra_yeah :)16:58
iraycdCool16:59
iraycdI will get updated from you guys16:59
iraycd:)16:59
iraycdbedrocklinux.org17:00
iraycdI hope this is useful to you guys17:00
iraycd:)17:00
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
stokachucjwatson: did vlan support ever make it into the debian installer?17:07
stokachuive seen some references to vconfig but not actual configuring the vlan17:07
cjwatsonstokachu: not AFAIK17:14
stokachucjwatson: ok thanks17:14
roaksoaxcjwatson: ok so this is the diff between the older debian/ and the fixed package: http://pastebin.ubuntu.com/6205805/17:19
cjwatsonroaksoax: I expected to see the removed debian/changelog entries back17:21
cjwatsonroaksoax: oh I misunderstood, sorry, disregard17:21
cjwatsonroaksoax: yep, that looks much cleaner, thanks17:22
roaksoaxcjwatson: and this is with what is currently in archive: http://paste.ubuntu.com/6205816/17:22
roaksoaxcjwatson: np! sorry about that!17:22
sarnoldseb128,pitti, the retracers look dead again17:22
cjwatsondoko: Could you please merge libapache2-mod-perl2 from unstable (or tell me I can)?  All the changes look appropriate, and we need the -D APACHE24 change to get at least one other package to build (libapache2-authcookie-perl)17:58
=== MacSlow|afk is now known as MacSlow
dokocjwatson, ok, looking18:07
=== tvoss|quick_dinn is now known as tvoss_
dokocjwatson, uploaded18:28
zygaslangasek: hey18:41
zygaslangasek: I'm on saucy mountall18:41
slangasekzyga: ok?18:41
zygaslangasek: I've added a comment with all the details18:41
zygaslangasek: not really, I'll do a few more reboot cycles18:41
* sarnold read "I'm on a saucy meatball", which sounded pretty good..18:41
zygaslangasek: I'll test with static IP18:41
slangasekon top of spaghetti, all covered with cheese18:42
zygaslangasek: it all smells like UDP packets going to /dev/null to me + a timeout on top18:42
zygaslangasek: quick question:18:42
slangasekzyga: cute, ok18:42
zygaslangasek: should the 'S - skip M - manual' prompt show up all the time?18:42
zygaslangasek: when is it being displayed?18:42
zygaslangasek: is it time based or some event based?18:42
slangasekzyga: time based; if mountall waits for the mount for 3 seconds, it pops the prompt18:43
zygaok18:43
zygaslangasek: after my network is working normally mount -a finishes in <1s18:43
slangasekzyga: so your mountall.log has two boot runs in it; in one, /home is 'remote', in the other it's 'nowait'.  Are these both from mountal 2.51, and did you change /etc/fstab in between?18:44
zygaslangasek: yes, no18:44
slangasekhmm18:44
slangasek*very* strange18:44
zygaslangasek: I didn't touch fstab all day18:44
zygaslangasek: all I did is reboot twice18:44
zygaslangasek: (now)18:45
slangasekso mountall parsed /etc/fstab differently each time(!)18:45
zygaslangasek: I rm -f the log file before doing that18:45
zygaslangasek: huh!!18:45
zygaslangasek: I'll reboot and make sure I was doing that18:45
* zyga would like to rewrite mountall in python, with unit tests and such...18:45
slangasekwould not be accepted in python18:46
zygaok, brb18:46
slangasekunit tests welcome, though18:46
zygayeah I know18:46
zygain C that's crap though (writing tests)18:46
zygaslangasek: maybe rust? :D18:46
zygaanyway, brb - rebooting18:46
zygareboot, stuck, I'll poke around18:48
zygaslangasek: ok, I'm in the recovery shell, all filesystems are mounted, mountall doesn't see that18:51
zygaslangasek: I take that back, /home/zyga/source isn't mounted18:52
zygaslangasek: another hint, the log file I'm looking at shows that /home/zyga/source waits for /home18:52
zygaslangasek: then /home gets mounted18:53
zygaslangasek: but /home/zyga/source is never mentioned again18:53
slangasekhmm18:53
zygaslangasek: does mountall support that scenario?18:53
slangasekit's certainly meant to :)18:53
zygaslangasek: yeah, try_mount: /home/zyga/source waiting for /home18:53
zygaslangasek: then I see stuff like: run_mount: /home: already mounted18:54
zygaslangasek: as if mountall tried to mount home again18:54
slangasekzyga: also, this is not the first time that I've seen evidence of NM declaring interfaces "up" before they're up.  Is there any chance you could try dumping ifconfig state to a log file at the point of /etc/network/if-up.d/upstart being run?18:54
zygaslangasek: absolutely!18:55
* zyga mutters something about network manager being ready for servers 18:55
slangasekzyga: what's the context of these 'already mounted' messages?  You said you're in recovery shell; so is this from mountall running before you entered the recovery shell?18:55
zygaslangasek: I'm in tty6 that I've changed to show up early18:56
zygaslangasek: and I'm looking at mountall.log with less18:56
slangasekok18:56
zygaslangasek: I didn't run the recovery shell this time, sorry for being inprecise18:57
zygaslangasek: so before net-device-up gets sent -- you want me to dump ifconfig, right?18:57
slangasekyes18:57
zygaslangasek: is /tmp mounted at that time?18:58
zygaslangasek: should be, right?18:58
slangasekzyga: not guaranteed; just write it out under /run18:58
slangasek(which is guaranteed)18:58
zygaslangasek: ok, thanks18:58
zygaslangasek: ok rebooting18:58
zygaslangasek: ok, looking at the new eth0.log -- it seems to be fine, I see my address and mask ok19:00
zygaslangasek: anything you want to look for in particular?19:00
zygaslangasek: if you want I can allow you to ssh into this box -- it's driving me nuts really :)19:00
zygaslangasek: http://pastebin.com/JT3FN8eY19:01
zygaslangasek: that's my mountall.log19:01
zygaslangasek: http://pastebin.com/XGEj7Zn019:02
zygaslangasek: that's mount19:02
slangasekzyga: so address and mask are there, but nfs still didn't mount right on this boot?19:02
zygaslangasek: note that mountall says 3/8 remote while all remotes are mounted now19:02
slangasekhmm19:02
zygaslangasek: it's mounted after a moment19:02
zygaslangasek: not when I initially log in via tty619:02
zygaslangasek: as my home is set to /19:03
zygaslangasek: I can patch/build mountall if you give me hints as to what we could try19:03
zygaslangasek: also please tell me if I should upgrade any of the packages that got affected by libc6 upgrade19:03
zygaslangasek: I'll add ping silverbox before that event gets sent19:04
slangasekreplied on the bug, I think you probably want to rebuild mountall against precise to drop the deps (should build fine without changes)19:05
zygaok19:05
slangasekcurrently reviewing this log to see if I an spot anything19:05
slangasekI do know we get duplicate 'mounting' events for network mounts that are in progress when another network device comes up, but that's just a nuisance that shouldn't have any impact in this case19:05
zygaok19:06
zygaI'll reboot and rebuild mountall19:06
zygaslangasek: ping and ifconfig look ok, I'm sending one packet and it's working19:09
zygaslangasek: maybe name resolver fails? my fstab uses names, not IPs19:09
slangasekzyga: so what I don't understand (and can't reproduce here) is, why, when 'mount -tnfs' is called before the interface is up, does mount not fail immediately with an error?19:09
slangasekzyga: do you have your names in /etc/hosts?19:09
zygaslangasek: nope19:09
slangasekhmm19:10
zygaslangasek: my local DNS knows about those though19:10
slangasekhow local is local?  loopback?19:10
zygaslangasek: well LAN, not local19:10
slangasekok19:10
zygaslangasek: ah wait19:10
zygaslangasek: I have silverbox (the NFS server) in /etc/hosts19:10
zygaslangasek: so it's fully static, sorry, I forgot I did that19:10
slangasekright19:10
slangasekso I bet the difference between my config and yours is that mount.nfs behaves differently on a name resolution failure vs. server unavailable19:11
stokachuanyone familiar with gns3 and if I have to actually pay to get a IOS to emulate a network configuration?19:11
zygaslangasek: server unavailable is what? packet loss? NACK reply from the server?19:11
stokachui just need to test some vlan functionality19:11
slangasekin fact, it's probably because mount itself handles network issues gracefully with an immediate error, whereas once we know the address and have passed it to the kernel, the kernel's nfs mounter code does something irritating19:12
slangasekzyga: "server unavailable" being "no response" or "no route to host"19:12
zygaa19:12
zygaah19:12
slangasekin this case, it should actually be "no route to host"19:12
slangasekbecause the first time through, we're trying to mount your NFS shares before *any* network is up19:13
zygaslangasek: why is that (why do we try)? isn't that mountall-net.conf?19:13
slangasekzyga: well, in theory we could have network interfaces that are up before mountall, and which never trigger retries via mountall-net19:14
slangasekso we always try all the mounts immediately19:14
zygaslangasek: ah, I see19:14
slangasekbut that runs us into problems when the mount helpers (or the kernel) misbehave, like this19:14
zygaslangasek: ok, just confirmed that before net-device-up eth0 I have working DNS and ifconfig19:15
slangasekzyga: anyway, workaround: drop silverbox from /etc/hosts, see if that doesn't fix it for you ;)19:15
zygaok19:15
zygaslangasek: some hairy code I suspect!19:15
zygaslangasek: there's a lot of bugs on nfs and mounting on launchpad19:15
* zyga reboots without any LAN entries in /etc/hosts19:16
zyga!!!19:16
zygaI think it worked, not sure yet :)19:16
slangasekexpected behavior: you'll have errors in mountall.log that say 'mount.nfs: failed to resolve server silverbox: No address associated with hostname" // "mountall: mount /nas/foo [pid] terminated with status 32", but as soon as eth0 is up they'll mount correctly19:16
zygaslangasek: the S/M prompt showed up for split second then went away19:16
slangasekok19:16
zygaslangasek: still looking at plymouth-text though19:16
zygaslangasek: ok it's stuck, looking at log files19:17
slangasekcould be the /home/zyga/source again19:17
slangasekthat sounds like a bug in mountall that I haven't heard about before19:17
zygaslangasek: oddly source is mounted now, still reading logs19:17
zygaslangasek: last line in mountall log is remote 3/8 again19:18
zygaslangasek: reading earlier to see what's up19:18
slangasekyuck19:18
slangasekI would like this log :)19:18
zygaslangasek: http://paste.ubuntu.com/620629719:18
zygaslangasek: I'll rm and reboot to make sure I don't read stale stuff19:19
zygaslangasek: same situation, looking at logs again19:21
zygaslangasek: log from ONLY the last boot http://paste.ubuntu.com/620630919:22
zygaslangasek: question -- why does mountall say we have 8 remote fs? -- mounta | grep silverbox19:22
zygaslangasek: question -- why does mountall say we have 8 remote fs? -- mounta | grep silverbox | wc -l prints 919:22
slangasekzyga: because one of them wasn't marked bootwait19:23
zygaah19:23
slangasek(/nas/archive)19:23
zygaslangasek: ok, I'll rebuild mountall now, unless you want me to do something else19:25
slangasekzyga: still reading logs, go ahead :)19:25
slangasekzyga: ok, done reading logs and grr. I'm going to have to think for a bit about how to catch this bug19:26
* zyga downgraded all packages to precise19:30
* zyga calls it a day19:32
zygaslangasek: I'll rebuild and test more in the morning, thanks for the help slangasek!19:32
slangasekzyga: sure thing19:34
halfieI was wondering how you guys invoke "libfaketime" during the build process? is there a package / script which is responsible for this?19:35
slangasekhalfie: we don't19:35
slangasekhowever, if one were to do so, you'd use the 'faketime' wrapper command19:35
halfieslangasek, oh, weren't some of you guys working on doing Reproducible Builds thing?19:36
slangasekthere certainly may be people working on that, but nothing is currently being done for the Ubuntu archive in that capacity19:36
halfieI see. thanks!19:37
cjwatsondoko: thanks!19:46
cjwatsondoko: um, don't see it though19:46
cjwatsonhalfie: work on that is mostly happening in Debian19:47
halfiecjwatson, oh, yes, they are the "upstream" in this case. but I don't have access to there devel channel ;(19:48
=== hatch is now known as lbox
=== lbox is now known as hatch
cjwatsonhalfie: eh, sure you do19:48
cjwatsonhalfie: it's on OFTC.  But you might be better off with mailing lists anyway ...19:49
halfiethat is pretty weird. they seem to have #debian on freenode which is active.19:49
halfiewill go to oftc one19:50
cjwatsonI think that's to collect people who don't bother checking what network it's on :)19:50
* halfie is guilty!19:50
cjwatsonI mean, IRC channels exist as soon as somebody joins them19:50
halfieright, but you mean 1500 people are wrong at the same time :P ?19:51
cjwatsonI wouldn't expect #debian to be a developer channel19:52
cjwatsonit'll be way too noisy19:52
cjwatsonand yes, I don't see how that's an implausible statement :)19:52
cjwatsonhttps://wiki.debian.org/IRC19:52
halfieheh, will try my questions on oftc. I want to do my home-work before I start posting on the mailing list.19:53
tarpmanhalfie: spoiler: cjwatson is going to troll you by also being the person who answers you there :)19:54
halfieLOL19:54
halfieI am struggling with a hex diffing tool here ;( .. trying to figure out the differences in builds.19:55
slangasekzyga: hey, you don't have any custom jobs keying on 'mounted' events, do you?20:05
cjwatsondoko: ah, sorry, I see it in unapproved now21:01
smosersomeone able to just reject cloud-init https://launchpad.net/ubuntu/saucy/+queue?queue_state=1&queue_text=cloud-init21:08
smoserutlemming found an issue that we'll have to fix, so no need to waste resources on reviewing it.21:08
cjwatsonsmoser: done21:09
smoserthanks cjwatson21:10
slangasekcjwatson: so I'm seeing strange behavior with grub under SecureBoot on saucy; it seems 'recordfail' is being set somewhere, even though it's not in /boot/grub/grubenv (according to 'grub-editenv /boot/grub/grubenv list'), and I get the boot menu with no timeout for the first option21:22
slangasek('set'/'echo $timeout' show no timeout value set)21:22
slangasekcjwatson: does this sound familiar at all21:22
slangasek?21:22
slangasekcjwatson: also, I'm very confused by the usage of make_timeout() in /etc/grub.d/00_header... which seems to take two arguments, ignoring the first21:24
bdmurraydoko: could you have a look at bug 1234218?21:50
ubottubug 1234218 in gcc-4.8 (Ubuntu) "4.8 doesn't throw -Wreturn-type anymore for wrong returns in macros" [Undecided,New] https://launchpad.net/bugs/123421821:50
brainwashwhich system application/daemon tells network-manager to change its state (awake/sleep) when suspending or resuming?21:54
cjwatsonslangasek: you mean timeout is set to -1?21:54
cjwatsonslangasek: make_timeout> I think that was to try to reduce the delta against upstream21:55
slangasekcjwatson: I mean 'echo $timeout' returns an empty string, and the grub menu behaves as if it's set to -121:59
cjwatsonThat's not recordfail then22:01
cjwatsonrecordfail sets it to -122:01
slangasekok22:02
cjwatsonpastebin /boot/grub/grub.cfg?  (though may not be able to look right now, getting late)22:02
slangasekany idea why recordfail itself is set?22:02
slangaseksure, one sec22:02
slangasekcjwatson: http://paste.ubuntu.com/6206949/22:03
cjwatsonrecordfail?  Depends when you're checking22:05
cjwatsonIt's *always* set on exit from GRUB22:05
cjwatsonThe point of it is that it's set on boot loader exit and cleared on successful boot22:05
cjwatsonI can't see why timeout would be empty here; again, seems to depend when you're making your observations22:06
cjwatsonOh, are you making your observations from a command prompt accessed via 'c'?  The menu code has probably modified $timeout before you got to look at it, in that case22:08
cjwatsonIf recordfail is set in such a command prompt, then it must be being loaded from a grubenv file somewhere; you might like to check whether $prefix/grubenv is actually the one you checked earlier22:08
slangasekcjwatson: I was checking from within the grub shell, 'recordfail=1' showed up in 'set'22:10
=== _salem is now known as salem_
slangasekand yeah, I just realized I have two disks in this machine... and /boot/efi/efi/ubuntu/grub.cfg is pointing to the wrong one22:11
slangasekI wonder how that could be22:12
slangasekhrm, no, it is the right disk22:14
slangasekor rather, it's a partition *on* the right disk, but not actually the one that's used as the rootfs or /boot or /boot/efi :P22:15
cjwatsoncan't remember how that works right now - maybe try sh -x'ing grub-mkconfig22:16
slangasekack22:17
cjwatson(big hammer but it's what I usually do unless I know exactly what I'm looking for)22:17
slangasekanyway, seems like a tractable bug now, I just need to figure out where grub got the bright idea to look at a partition that's not mounted... and why that partition isn't in my fstab22:17
slangasekthanks for orienting me :)22:17
slangasekwow, this partition is special, tune2fs -l doesn't even list a creation date for the filesystem22:20
cjwatsonmaybe there are clashing uuids or something22:21
slangaseknot that I see22:21
slangasekthis uuid didn't show up anywhere except on this partition I didn't know I had22:21
slangasekwhat's crazy is that it has a full complement of kernels on it, that something must have copied over there22:22
slangasekstgraber: would you mind taking a look at bug #1234132 and let me know if you agree with the analysis there?22:24
ubottubug 1234132 in dnsmasq (Ubuntu) "dnsmasq needs to trigger mountall rescan of network mounts" [Undecided,Triaged] https://launchpad.net/bugs/123413222:24
=== RAOF_ is now known as RAOF
stgraberslangasek: sounds right, dnsmasq itself is a universe package that IIRC doesn't even ship an upstart job. People installing that package usually get into a lot of weird issues which we sometimes try to accomodate (as was done in lxc, libvirt and NM) but it's not something we should be investing a lot of effort on (since we don't have any product shipping with that package)22:27
slangasekstgraber: right - do you agree that this is something the dnsmasq package should handle, though, by signalling mountall?22:28
stgraberslangasek: I'm not aware of how mountall works in that regard but if SIGUSR1 is the usual way of telling it network is ready, then I guess it'd be appropriate22:29
slangasekok22:29
slangasek(yeah, it is)22:29
slangasekthanks :)22:29
stgraberassuming dnsmasq starts after the network is ready and can actually resolve stuff by that time (which I doubt it reliably is at the moment)22:30
slangasekdnsmasq always starts unconditionally *after* the network is up, since it's only started in runlevel 222:31
slangasekso the network comes up, mountall very quickly tries to mount, and (in this config) gets a dns failure22:31
stgraberand doesn't retry?22:32
slangasekno, because mountall only retries when there's a network event telling it that it should22:32
=== salem_ is now known as _salem
stgraberah right, and you'll get the network event once ifupdown is done but that'll be slightly before dnsmasq actually starts22:32
slangasekyes22:33
stgraberdnsmasq should actually be starting as early as it can and have an if-up.d hook to get it to reload whenever a new interface is brought up, that'd fix the problem in a sane way22:33
slangasekno, we can't start dnsmasq earlier, it'll just fall over for use cases where e.g. /var is a separate partition22:34
stgraberah and since /var is not guaranteed to be a mountpoint it can't depend on that...22:34
slangasekthe current configuration, which is 'start dnsmasq after the filesystem is up', is the only reasonable default behavior.  If someone then both wants to use dnsmasq as their only resolver, *and* has network mounts that will block the filesystem event, that's their problem to disambiguate locally :P22:35
stgraberwell, or we could have dnsmasq start on local-filesystem and if dnsmasq depends on a network filesystem to work, then that's clearly their bad :)22:37
slangasekis it?  today, that works22:37
slangasekwhy should you be disallowed to run dnsmasq as a server with /var on nfs?22:38
stgraberdidn't you just say it doesn't? dnsmasq when installed ensures its the only DNS server, so based on what you said above, that currently doesn't work22:38
slangasek"ensures it's the only DNS server" - that's only the case once dnsmasq has started though, I think?22:39
stgraber(if 127.0.0.1 is registered in resolvconf, everything else gets ignored)22:39
slangasekyes, but it's not registered in resolvconf until dnsmasq starts, right?22:39
slangasekso before dnsmasq starts, this all still works, using the DHCP-provided settings22:39
stgraberyou're indeed correct about dnsmasq/resolvconf. It still won't quite work because the DHCP client also needs /var, so networked /var is bound to be a problem :)22:41
=== JanC_ is now known as JanC
stgraberunless someone made dhclient less stupid lately and it now survives not being able to write its lease file22:41
slangasekstgraber: ok, so not DHCP; but /var on NFS, static interfaces in /e/n/i with dns server info, and dnsmasq installed -> works22:42
stgraberright, that should work22:42
slangasekright.  so to preserve that (admittedly marginal) use case while supporting Klaus's use case, we have to not move dnsmasq up in the boot order, but instead retrigger mountall once dnsmasq is available22:43
slangasekcjwatson: ok, looks like this is a problem with grub-install that's in some way specific to lvm.  This system was installed with ubuntu-server and custom LVM; under those conditions, grub-install skips all the load.cfg handling, but apparently doesn't clean up any existing /boot/grub/efi/EFI/ubuntu/grub.cfg (which I presume was there from a previous install attempt)22:46
slangasekoops, that path is not quite right22:46
cjwatsonslangasek: OK, I can believe that22:52
slangasekcjwatson: bug #1236625 filed23:01
ubottubug 1236625 in grub2 (Ubuntu) "grub-install fails to set up /boot/efi/EFI/ubuntu/grub.cfg with UEFI and LVM root" [Undecided,New] https://launchpad.net/bugs/123662523:01

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