/srv/irclogs.ubuntu.com/2012/04/04/#ubuntu-devel.txt

=== dendrobates is now known as dendro-afk
cnddoko, how can I easily test gcc 4.7 in precise, so I can fix an FTBFS in debian when compiled with 4.7?01:23
cndperhaps I just need to create a sid or wheezy chroot?01:25
cjwatsoncnd: creating a sid chroot is easy with mk-sbuild (say), and I'd recommend having one available if you need to test builds on Debian01:29
cndok01:29
cndI'll try it out01:29
cjwatsonin my setup, I can type 'sbuild -Asd unstable' and the source package tree I'm in gets built in an unstable chroot and produces a .changes that's suitable for upload to Debian01:31
cjwatsonor 'sbuild -Ad unstable /path/to/foo.dsc' in a temporary directory to test-build a .dsc01:32
thestormsedgehello all :)01:44
thestormsedgeI want to get invovled with Ubuntu development (preferrably on a Python or PSQL project) and how do I do that?01:52
sconklin@pilot out01:54
=== udevbot changed the topic of #ubuntu-devel to: 12.04 Beta 2 Released! Precise: UI and feature freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
RAOFthestormsedge: Is there anything particular that you want to do?  One of the problems with people asking about getting involved is that the possible answers are huge.01:54
thestormsedgemostly simple things, probably just edits in application source code first or Ubuntu websites01:55
thestormsedgethough I don't know much C++, I would probably have to tackle some Python issue01:55
thestormsedgeI guess my biggest question is how exactly does the contribution process works, lets just say I have I figure out how to do a simple patch on my own02:03
thestormsedgedo I just haphazardly start figuring out how to code, then start submitting things, or is there a more formal process?02:04
RAOFPretty much the former.02:04
RAOFThe other thing to realise is that *almost all* of the work that goes into Ubuntu isn't done by us, and we aren't really the gatekeepers for it.02:05
RAOFIt's done by the various “upstream” projects.02:05
thestormsedgeoh ok thanks the advice RAOF. I've always wanted to work on some FOSS project and was sort of confused on how all the Wikis, intros, et al. were organized02:06
RAOFSo one of the possible endpoints of contributing to Ubuntu is to find a project that you care about and start fixing things there.02:06
thestormsedgebasically I just take the tutorials, begin coding on something of my interest, and then see if it gets accepted via Launchpad, Github etc?02:07
RAOFWe do have some process around being something of a central place for contributions - you *can* attach patches to Ubuntu bugs on Launchpad, and we'll check them out.  Much of the time we'll then prod you to submit them to the upstream project, though.02:07
thestormsedgekk thanks for the explanations ^-^ I have been super confused about FOSS development for the longest time02:09
RAOFThere are a wide variety of ways that upstreams like to receive contributions, but one common thread is that the (almost!) always have some form of mailing list for discussion, and reading the mailing list archives should give you a reasonable idea of how to submit code and what people think need fixing.02:10
thestormsedgekk cool :)02:12
=== poolie_ is now known as poolie
pittiGood morning05:50
dholbachgood morning07:03
bkerensacjwatson: ping07:27
=== smb` is now known as smb
sabdfl_how does one run a shell script so that it echoes what it's doing?08:01
gesersh -x the_script08:01
geseror bash -x if it's a bash script08:02
sabdfl_thanks geser08:03
sabdfl_geser, is there a way to turn that on inside the script?08:03
geseradd "set -x" near the top of the script (adding -x to the shebang line should work too)08:04
pittisabdfl_: you can surround the part that you want to debug with set -x and set +x08:07
pittisabdfl_: if you want to write the output into a file, put a "exec 2>/tmp/log" in front of it08:08
sabdfl_pitti, geser, thanks much08:08
=== sabdfl_ is now known as sabdfl
sabdflpitti, morning, quick question re live cd image08:50
sabdflcan the filesystem on that have a UUID?08:50
pittisabdfl: the squashfs you mean?08:58
sabdflpitti, hmm, no i meant the iso9660 one08:58
sabdfli have a peculiar interest in mounting it over iscsi08:59
pittiI don't think it can; blkid at least doesn't give an UUID for it08:59
sabdflyeah, question is whether that's intrinsic to the fs, or just something we didn't turn on when we made it08:59
pittithere do seem to be approaches to generate one, like in grub (http://www.mail-archive.com/grub-devel@gnu.org/msg07924.html)09:00
* pitti RTFS util-linux09:00
pittiabove grub patch makes one up from the timestamp09:01
pitticonfirmed, no UUID support in libblkid/src/superblocks/iso9660.c09:03
pittithat doesn't necessarily mean that iscsi doesn't support it, of course09:03
pittiblkid is just what udev etc. use09:03
cjwatsonbkerensa: hi - yep, got your mail09:25
cjwatsonsabdfl: squashfs doesn't have a UUID itself as far as I know, but we hack around that by putting a file matching .disk/casper-uuid* on the filesystem09:27
cjwatsonsabdfl: that doesn't help directly with mounting remotely - casper mounts, checks whether that file matches its own notion of what the UUID should be, unmounts if it doesn't and tries again09:28
cjwatsonoh, I should have read all of scrollback :-)09:28
sabdflah, ok, that might help09:28
cjwatsonoh actually .disk/casper-uuid* is on the ISO9660 filesystem not the squashfs, so even better09:29
dokopitti, no, no, no for your mpfr4 upload ...09:38
dokojust use -O2 for that one file09:38
pittidoko: as I said on the bug report, it's not just one file09:39
pittiI stopped after it crashed on the 7th09:39
pitti(selectively building with -O2)09:39
dokobah09:39
pittidoko: shoudl I try it with gcc-4.5, and -O3?09:42
dokopitti: no, not anymore in main09:43
pittigcc-4.5 | 4.5.3-12ubuntu1 |       precise | source, amd64, armel, armhf, i386, powerpc09:44
pittidoko: it's still in main; is it planned to drop it still?09:44
dokolooking ...09:44
dokopitti: mysql-5.5, u-boot-linaro still using it09:46
=== astraljava1 is now known as astraljava
=== hrww is now known as hrw
bdrungdoko: bug #966570 (gccgo seems to need something from the gcc-4.7 package10:43
ubottuLaunchpad bug 966570 in gccgo-4.7 (Ubuntu) "/usr/bin/ld: cannot find -lgcc_s" [Undecided,New] https://launchpad.net/bugs/96657010:43
dokobdrung, expected, use -static-libgcc10:44
azeemcan you get a newer openjdk6 than 6b20 to run on lucid, like 6b23 or 6b24?10:57
azeem(are there any backports?)10:57
=== MacSlow is now known as MacSlow|lunch
nailoraonce again a request to make a bug public: bug #93724911:10
ubottuError: Launchpad bug 937249 could not be found11:10
nailorathanks in advance11:11
penguin42cjwatson: I pushed an update to my procps fix that also fixed bug 43286111:35
ubottuLaunchpad bug 432861 in procps (Ubuntu) "kill -s crashed with SIGSEGV" [Medium,Triaged] https://launchpad.net/bugs/43286111:35
=== _salem is now known as salem_
=== ZarroBoogs is now known as Pici
=== MacSlow|lunch is now known as MacSlow
=== Guest31547 is now known as tobin
=== ogra is now known as Guest67850
=== imbrandon is now known as bholtsclaw
=== ogra_ is now known as ogry
=== ogry is now known as ogra_
=== vibhav_ is now known as vibhav
apwcjwatson, slangasek, either of you seen reports of the boot splash being ok,12:52
apwbut the shutdown splash being all odd colours ?12:53
dokopitti: https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/955898   these issues are again accumulating for the interpreter package :-(13:01
ubottuLaunchpad bug 955898 in pygtk (Ubuntu) "python2.7 crashed with SIGABRT in raise()" [Undecided,New]13:01
dobeyhey all. what's the best way to install extra files into /usr/share/doc/$package? i have override_dh_installdocs, which seems to get run, but the files aren't in the resulting binary packages it seems13:05
janimodobey, adding them in debian/docs ?13:07
janimoor debian/binary-name.docs ?13:07
dobeyjanimo: eww. those are ugly. discovered dh_installdocs -A though, which seems to do it. was looking at another package for example that was apparently last updated in 2009, which didn't use -A, so maybe that changed at some point, or that package has always been broken. :)13:36
janimodobey, I always thought d/docs is better as it is declarative, i.e less chances of messing up cp/install invocations, and keeps rules file cleaner. I do not know what the recommended way is though or whether the docs way is discouraged13:39
dobeyjanimo: well, having N .docs files which all list the same things seems bad to me. for things which should only go in the -dev package or such, i would agree those should be done with the docs files13:40
janimodobey, listing the same things? One package installs the docs and the other binaries should symlink only but I admit I don't know if that is handled by declaring them in docs13:41
cjwatsonif you want to install the same docs into lots of packages, you should consider using dh_installdocs --link-doc=some-appropriate-common-package13:42
cjwatsonyou may need some preinst code to deal with upgrades, as dpkg deliberately never replaces a directory with a symlink of its own accord13:42
dobeywell they are just license files13:43
dobeyit seems those get copied to all packages by default?13:44
cjwatsonlicensing information should go in the copyright file rather than being installed as separate files13:44
dobeythe copyright file is also installed13:45
cjwatsonlicensing information should not be installed as separate files13:45
cjwatsonif everything necessary to understand the licensing of the package isn't in copyright, that's a bug13:45
cjwatsononce you've done that, you don't need any other files13:45
dobeyfor the GPL+OpenSSL exception case where the OpenSSL license is included in the source, but openssl itself is not?13:46
cjwatsonmy statements apply regardless of the details :)13:47
dobeywhat is the "proper recommended way" to do this then? the package (hpoj) i was looking at as an example, and which was mentioned in http://lists.debian.org/debian-legal/2004/05/msg00595.html seems to install the extra files13:50
=== Darxus_ is now known as Darxus
cjwatsoncopy necessary information into the copyright file13:51
cjwatson(preferably in the new machine-readable format, although that isn't yet mandatory)13:52
cjwatsoneventually we want to be able to automatically scan copyright files for problems, and it won't fly to have to go hunting around other files as well13:53
cjwatsonthe copyright file must have everything13:53
dobeywhat is "necessary" here? it's not entirely clear13:54
cjwatsonif it isn't necessary, you don't need to install it :-P13:54
cjwatsonperhaps http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ will help, to have a fixed format13:55
cjwatsonnecessary: the package must include its copyright information and a copy of the licensing terms under which it's distributed13:55
cjwatsonso if something's part of its licensing terms, it's necessary, if not, it isn't13:56
dobeyok13:57
seb128doko, I wonder if all those segfault in __find_specmb() are not a libc issue14:10
seb128doko, like we got a bunch of those in C softwares as well, i.e bug #96644614:11
ubottuLaunchpad bug 966446 in gnome-control-center (Ubuntu) "[soundnua]: gnome-control-center crashed with SIGSEGV in __find_specmb()" [Medium,In progress] https://launchpad.net/bugs/96644614:11
dokoseb128, but there pygobject is involved too. do you see one unrelated to python?14:11
seb128doko, the one I just pointed14:11
dokoahh, control-center ...14:12
=== SpamapS_ is now known as SpamapS
cjwatsonseb128: __find_specmb calls strchrnul on the format string provided, so it will segfault in the same way that strchrnul will segfault on invalid data14:12
cjwatsoni.e. my guess is that this is an application bug for providing a non-null-terminated format string, or a pointer into invalid memory as the format string14:13
cjwatsonlibc's entitled to segfault when you do that14:13
seb128cjwatson, could well be yes14:13
seb128cjwatson, doko just reassigned a bunch of such bugs to pygobject, so I pointed we got some similar non python bugs as well14:13
cjwatsonvalgrind should find it14:14
seb128but yeah, they could well be different issues14:14
dokoyeah, that was my best guess, but maybe pygtk would be the common denominator then?14:15
seb128doko, it would be a bug in pygobject yes, I will let pitti check, I will try to get a valgrind log for the gnome-control-center one14:16
seb128cjwatson, doko: thanks14:16
=== dholbach_ is now known as dholbach
dokoslangasek, 954609, no, I'll add the python2 symlink to python-defaults, now that the pep is accepted14:25
Sweetsharkdo I need to fear someone syncing neon27? because of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667043 that would cause trouble.14:39
ubottuDebian bug 667043 in libneon27-gnutls "libneon27-gnutls: Breaks bzr-svn (via subvertpy): undefined symbol ne_ssl_context_get_flag" [Serious,Open]14:39
Sweetsharkor to put the question differently: where can I put a big fat yellow signpost saying: "If you sync neon27-0.29.6-2 you will need to fix bzr-svn, libreoffice and likely a few other!!!1!" to make sure it meets the right audience?14:41
nessitahello all! quick question, if an upstream code is released under the AGPL license, shall the ubuntu packaging distribute the AGPL license? I'm asking since I don't have the AGPL text in /usr/share/common-licenses/14:58
=== emma is now known as em
cjwatsonnessita: yes, it must15:01
nessitacjwatson: any reason why the AGPL is not already in the common-licenses folder?15:01
stgrabernessita: http://dep.debian.net/deps/dep5 describes that case (the full license needs to go in debian/copyright if not in common-licenses)15:02
cjwatsonnessita: it's insufficiently common15:04
nessitastgraber: right, thanks15:04
nessitacjwatson: ack :-)15:04
ochosikenvandine: hi again, quickly wanted to follow up on Bug #956147.15:31
ubottuLaunchpad bug 956147 in Messaging Menu "thunderbird message indicator icons" [Medium,Confirmed] https://launchpad.net/bugs/95614715:31
kenvandineochosi, it's on my list of bugs to nag tedg about :)15:32
ochosikenvandine: ok thanks! :)15:32
kenvandinetedg, or should that be larsu that i nag for that one?15:32
larsukenvandine, it's larsu :(15:33
larsukenvandine, ochosi, sitting on it right now, expect a patch in a bit15:33
* tedg hears that larsu loves GTK215:33
kenvandinelarsu, i assigned it to you :)15:33
ochosilarsu: sweet! if i can help you test it let me know15:33
ochosilarsu: i'll be around for ~another hour or so15:33
larsuochosi, cool thanks!15:34
larsutedg, can't decide if I'll hack a fix into messaging-menu or fix it correctly in libdbusmenu15:34
larsutedg, gtk2 ftw!15:35
ochosi+1 (as long as xfce isn't ported yet)15:35
kenvandinelarsu, if you get a patch that is confirmed to work, ping me and i can distro patch until we get around to doing a release15:36
larsukenvandine, cool thanks, but I think I've just decided to fix this in i-messages and get that patch into the release charles is doing today15:38
kenvandineok15:38
bdrungdoko: can you give the eclipse-* package a retry for the test rebuild?15:48
dokobdrung, done15:50
bdrungthanks15:50
larsukenvandine, ochosi, no matter what I do, I always break something else in that menu. Are you okay with me ifdef'ing a line that'll break the alignment of "Compose New Messsage" and "Contacts" for gtk216:00
ochosilarsu: define "break the alignment"16:01
larsuochosi, they'd be left-aligned instead of with the label of the app, as in the gtk3 version16:01
larsuochosi, i.e. the label floats to the left, were the broken icon is now16:01
ochosilarsu: humm, well it's not ideal, but it's better than the broken icon16:02
ochosilarsu: how is the alignment done atm?16:03
larsuochosi, setting an empty icon. For some reason, gtk2 interprets that as broken...16:04
ochosilarsu: yeah, i was mostly wondering because this kind of alignment is nothing special in gtk2 menus, i actually thought it is default behavior...16:05
larsuochosi, indicator-messages is not using the standard menu items, because it adds all kinds of stuff. If I remove the icon completely, the labels float left in gtk3 and gtk216:08
=== lool- is now known as lool
ochosilarsu: hmm, i guess i'd have to look at the indicator-messages code myself to understand the problem for real16:09
=== deryck is now known as deryck[lunch]
ochosilarsu: if you have a screenshot or something to test for me, i guess that would help in giving a real opinion. but if you say it's not fixable in any other way atm then go ahead16:12
larsuochosi, http://imgur.com/H9Ope (note the left-aligned labels under Polly and Thunderbird)16:16
ochosilarsu: yeah, it's not unreadable or anything, there are still separators and appicons to help with the structure of the menu. i'm ok with that16:17
larsuochosi, cool. Sorry, I'd have rather fixed it the right way, but i-messages has gotten quite complex (especially since it contains both the gtk2 and 3 version in the same source)16:19
ochosilarsu: thanks for fixing this so quickly! :) yeah, i'm wondering how long will you maintain the gtk2 version?16:19
ochosilarsu: one more thing: i assume that you also positioned those menuitems with empty images when thunderbird or $application wasn't running, i wonder why the bug only occurs when thunderbird is open (the action-items "compose" and "addressbook" are there before as well)16:21
larsuochosi, I'm not the maintainer of i-messages, but I'm pretty sure we'll drop gtk2 support next cycle16:22
larsuochosi, the empty icon is only set when thunderbird is running. That's a different bug which also affects the gtk3 version :-/16:23
ochosilarsu: ah ok16:24
=== infinity1 is now known as infinity
* micahg would like to know how much work the gtk2 support is for the indicators, Xfce is stuck with GTK2 until at least 13.0416:45
ochosimicahg: +116:47
=== dendro-afk is now known as dendrobates
dobeyok, can someone tell me what the heck is going on here? http://paste.ubuntu.com/914786/17:00
dobeywhy is bzr bd not using the changes i just imported/committed, correctly?17:00
dobeyjames_w: ^^ any ideas on that?17:07
james_wdobey, would you pastebin "bzr diff -c -1" please?17:09
dobeyjames_w: http://paste.ubuntu.com/914804/17:12
james_wdobey, find /home/dobey/Projects/canonical/ubuntu/ -name "rhythmbox-ubuntuone_2.99.92.orig.tar.gz"17:15
hallyndrat - can't reproduce the libvirt race in fedora.  nor do the fedora out-of-tree patches help our package.17:15
james_wI wonder if there is a rogue copy of that file around that isn't what we think it is17:15
dobeyjames_w: indeed there was a tarball that had the old version in it. how the heck would that have happened?17:17
dobeyinside build-area17:17
james_wdobey, I don't know. It can happen if you have some tags messed up17:18
james_wdobey, but if that log was all your interactions with this version then I've no idea how it happened17:18
james_wlike, if you accidentally pass it the wrong tarball once it can be hard to make it forget it17:18
james_wbut it shouldn't just decide that a tarball is actually called something different17:19
dobeyyeah. well i've tried the same thing like 10 times it wouldn't stop doing that17:19
dobeybut all the same commands17:19
dobeysame commands i've used a million times to update all the other packages i work with :-/17:19
dobeyweird17:20
=== dendrobates is now known as dendro-afk
apwslangasek, about?  i think you are the closest to an expert on plymouth splash ... i have a radeon which is showing very odd colouring during shutdown splash particularly, and when configured 'right' i think is also wrong during boot17:29
apwslangasek, seen anything like that, and any ideas how to debug this puppy ?17:29
=== dendro-afk is now known as dendrobates
slangasekapw: what sort of "very odd colouring"?  Like, 16-bit framebuffer where you'd really rather have a 32-bit one?17:30
=== deryck[lunch] is now known as deryck
apwslangasek, like the colourmap is wrong i think the bitcount is good17:31
slangasekapw: right, the colormap is wrong because you *have* a colormap ;)17:31
apwso purpleish background, but a green spray where it should be fading into the background (it == UBUNTU)17:31
slangasekapw: plymouth only actually supports truecolor, and VGA17:31
slangasekso if your video card gives you a 16-bit framebuffer, this is what you get17:32
slangasek(there's a bug open on the plymouth package; I can hunt the bug # if you like)17:32
apwslangasek, so if i see it on shutdown, seeing it on startup means my startup _isn't_ wrong :)17:32
slangasekyes... :)17:32
apwslangasek, this is in the context of the handoff bug, in fixing it, i have exposed this on my test box17:32
apwslangasek, and that lets me say ... i think its ok then17:33
slangasekapw: bug #56447117:33
ubottuLaunchpad bug 564471 in plymouth (Ubuntu Natty) "Lucid: garbled video at boot on radeon cards: bad color map due to 16-bit fb" [High,Triaged] https://launchpad.net/bugs/56447117:33
slangasekOTOH, I don't know what bit-depth the fb is supposed to be when grub hands it off to the kernel... :P17:33
slangasekthough the drm driver is probably inclined to reconfigure that regardless17:34
apwslangasek, heh well this is in the "we are not handing off" mode.  in handing off mode it happens to work ... presumably because grub didi the right thing17:34
slangasekright, ok17:34
apwso for me, fixing this handoff=true breaks things bug will regress boot on my radeon, by making it look poor like it already does on shutdown :)17:35
slangasekheh17:35
apwslangasek, did you have an affected machine ?  i forget now ?17:35
slangasekhow exactly are you "fixing" the handoff though?17:36
apwslangasek, the theory here is to pass over a handoff enable flag as well based on the gfxpayload setting17:36
apwslangasek, this has all sorts of niceties ... one its only enabled when grub says it did it, two if you change gfxpayload=xxx to =text the right thing happens17:37
apwslangasek, basically i am doing this in grub: adding 'vt.handoff_enable=$gfxpayload' to the default command line17:38
slangasekapw: I have a radeon machine for testing, I don't know if it's able to reproduce this particular bug17:38
slangasekapw: aha, that sounds perfect17:38
apwslangasek, of course we still need to tell grub that its got no hope of doing graphics when you are on encrypted disk17:38
apwslangasek, any suggestions as to the best way to figure that out17:38
slangasekapw: would it be simpler to overload vt.handoff itself, not passing it at all when gfxpayload != keep?17:39
slangaseksorry, what do you mean "no hope of doing graphics when you are on encrypted disk"?17:40
charleslarsu, wrt bug #956147, can you walk me through that proposed merge?17:40
apwslangasek, to do that we'd need something clever in grub ... here i am literally making the bit that grub includes in the command line 'vt.ha17:40
ubottuLaunchpad bug 956147 in Messaging Menu "thunderbird message indicator icons" [Medium,Confirmed] https://launchpad.net/bugs/95614717:40
apwslangasek, to do that we'd need something clever in grub ... here i am literally making the bit that grub includes in the command line 'vt.handoff=7 vt.handoff_enable=$gfxpayload'17:40
charleslarsu: in short I guess I don't understand what http://bazaar.launchpad.net/~indicator-applet-developers/indicator-messages/trunk.0.6/revision/252.2.2 was for17:40
apwslangasek, as grub fills that in with 'text' or 'keep' and i use those as special cases of true and false17:40
slangasekapw: doesn't require too much cleverness, I think we could easily toggle the vt.handoff=7 in grub17:41
apwslangasek, appearenetly the grub device drivers for graphics are in the encrypted disk17:41
apwslangasek, at least that was what i thought i was being told17:41
slangasekthat makes no sense to me :)17:41
slangasek /boot always has to be unencrypted17:42
apwslangasek, that is a good point ... hrm ... i am sure thats what cjwatson was saying17:42
slangasekI'm using cryptsetup, I have no problems with video here17:42
apwyeah now i am flummoxed as to what the heck i am doing17:43
slangasek:)17:43
apwthe underlying issue is that nouveau and psb drivers are not always happy when we handoff to them, if grub puts us in text mode, but we claim handoff so the kernel does not reset things17:43
apwso that if grub is set for text, we don't want to enable handoff, so thats really what i am aiming to fix17:44
slangasekright17:44
apwas you would do that if its broken17:44
slangasekso there are two cases you'll get text instead of keep, on any system17:44
slangasek- the recovery boot option17:44
slangasek- when the previous boot didn't complete successfully17:44
apwin recovery we don't add the handoff at all so its not relevant i think17:45
apwbut for the second one we must hit the issue yes17:45
apwslangasek, now if we can not put on handoff that is fine, i was under the impression it wasn't easy as string mangling was hard.  i have the patches to use this new enable just testing the cleaned up kernel bit now17:47
apwand the patch for grub is very small as its only 10_linux that changes17:47
slangasekapw: splitting strings is hard, concatenating them is easy... we'd just move the vt.handoff=7 bit out of the pre-generated string and append it dynamically, I think17:50
slangasekshould still only change 10_linux17:51
apwdoes that make it harder to debug should you not want it17:51
apwshould you want to test without it17:51
slangasekI don't think so17:51
apwhttp://people.canonical.com/~apw/vt-handoff-grub-precise/0001-TEST.patch17:52
apwbah not that one17:52
apwhttp://people.canonical.com/~apw/vt-handoff-grub-precise/grub-10_linux.diff17:52
apwslangasek, ^^ that is the grub change i am using17:52
* slangasek nods17:52
apwslangasek, ok ... wahts the right thing to do here.  not specificying the handoff at all will work fine kernel side17:53
slangasekapw: on a call now; give me about an hour to cook a patch for grub the way I think it should be, that won't require any extra kernel options?17:53
apwslangasek, ok .. will check back later17:54
L3mceHello. In an attempt to run our script in init.d prior to the other S99's, but after the S98's our project has always named that script beginning with a 0. I have rewritten the way this script functions and as a result noticed that it was running twice, whereas the old method masked this behavior. Throwing a $1 confirms two starts were sent, pstree indicated that rc was issuing both calls, so I read rc, and it turns out that it is18:07
L3mcevery clever in attempting to figure out runlevel, however as a result, any scripts updated there with a digit are run from rc5.d as (in our case) 99 and again as 90. Would it be appropriate for me to write a patch which counts digits and changes the nomenclature of the symlinks created?18:07
=== dendrobates is now known as dendro-afk
L3mceI guess it would be smarter to make rc count digits18:14
apwL3mce, can't you use _ or something similar ?  instead of 0, and avoid the issuue?18:16
L3mceI have renamed it a0start_avwizard I just thought that in the future if rc was not confused by digits it would be better for the product.18:16
L3mceI am solved. I just didn't know whether to file a bug and a fix.18:18
L3mceor which version to attach it to18:19
=== beuno is now known as beuno-lunch
=== bladernr_ is now known as bladernr_afk
sabdflwhat tool builds the iso? i have a squashfs from live-build and would like to make a small live iso from it19:00
=== beuno-lunch is now known as beuno
penguin42would you expect fortify to throw if you tried to snprintf into a 64byte buffer, a 40 character string, but the length you told snprintf the buffer was was 128 ?19:12
penguin42I guess snprintf might 0 term the last byte or something19:16
slangaseksabdfl: the "last mile" of ISO generation is done with ubuntu-cdimage and an internally-maintained debian-cd; both of these are private branches on nusakan19:23
keeswhat does whoopsie-daisy do that apport doesn't?19:25
JanCslangasek: why private?19:25
slangasekJanC: because, er, sabdfl didn't let cjwatson release it ;)19:25
slangasek(or something like that)19:26
sabdflyeah yeah19:26
slangasekkees: it's the crash-database client19:26
slangasekkees: so it reports to the crash database with its nosql magic data aggregation, rather than LP19:27
keesah-ha19:27
keesso it took over some of the crash reporting stuff that apport was doing?19:28
L3mcesabdfl: take a look at ubiquity/casper19:28
sabdflthanks slangasek19:28
slangaseksabdfl: sure :)19:28
slangasekkees: yes; the plan is that pre-release, it'll be reported to *both* LP and the crashdb, and post-release we'll only report to the crashdb - so not asking users difficult bug-reporting questions19:29
keesslangasek: excellent.19:30
hallynFINALLY!19:43
hallynapparmor is to blame!  but, only indirectly :)19:44
L3mcemountall?19:52
stgraberhallyn: still balming apparmor? ;)19:57
stgraberhallyn: btw, if you want to blame it some more, it looks like "ro, remount" still doesn't match (or stopped matching again, one of the two). Got some apparmor DENIED when rebooting a container today19:57
hallynstgraber: see final comment in bug 96121719:57
ubottuLaunchpad bug 961217 in libvirt (Ubuntu) "virsh start domain sometimes fail in oneiric" [High,Confirmed] https://launchpad.net/bugs/96121719:57
hallynstgraber: hm, interesting - but the noise is ok with me so long as we're refusing the remount :)19:58
stgraberhallyn: yeah, at least that part works ;)19:59
stgraberjjohansen: ^ :) not urgent but "deny mount options=(ro, remount) -> /," still doesn't match... (call "halt" in a container and look at dmesg to reproduce)20:02
jjohansenstgraber: yep, still working on part 3 of the fix, it should hopefully land friday20:03
=== vibhav is now known as Guest6358
stgraberjjohansen: hehe, ok :)20:06
slangasekapw: untested: http://paste.ubuntu.com/915139/20:26
quadrisprohi all20:27
slangasekapw: do you have a master bug # for this, btw?20:32
=== dendro-afk is now known as dendrobates
slangasekN: 1020 tags overridden (1020 errors)21:10
* slangasek fears21:10
seb128slangasek, hey21:22
slangasekseb128: hey there21:22
slangasekfreetype? :)21:22
seb128slangasek, are you subscribed to the freetype mailing list?21:22
slangasekyeah21:22
slangasekseb128: isn't Werner wrong about default dpi?21:22
seb128slangasek, I think they picked up the space discussion from my email, not the gtk underline issue21:22
slangasekmy X server says 9621:22
slangaseknot 7221:22
slangasekright21:22
seb128slangasek, 96 is default yes21:22
slangasekmaybe if we get the code right, both issues are fixed?21:22
slangasekI don't know though21:23
seb128and I'm pretty sure things in the stack hardcode 96 nowadays21:23
seb128slangasek, well, reverting fixes both21:23
seb128slangasek, but upstream doesn't seem to think it's the way forward :p21:23
slangasekyeah21:23
slangasekbut upstream may just be mistaken about what the defaults are21:24
slangasekI was going to follow up later today and point that out21:24
slangasekthough perhaps the conclusion there is still that gtk is using the wrong API call?  I don't know21:25
slangasekthe discussion is a bit too deep for me :){21:26
seb128slangasek, yeah, I didn't understand everything either but I'm pretty sure GTK enforce 96 dpi and doesn't use the xorg returned value21:27
slangasekwell, and X is spitting out 96 anyway regardless of physical dpi21:27
seb128slangasek, http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a49af89751057649034a42c511d2330d63bbfa6e21:27
slangasekfor reasons that have been well-trodden :)21:27
seb128slangasek, right21:27
seb128slangasek, well in any case I was pinging because I'm unsure their discussion is covering at all the gtk underlining issue, I don't understand why that has to do with the spacing21:28
slangasekI don't either...21:29
slangasekperhaps it's because gtk calculates the bounding box with an off-by-one error compared with what freetype returns, and the underline gets clobbered by the glyph?21:30
seb128slangasek, I pointed it to the gtk guys, behdad (pango's upstream) said he would have a look21:33
seb128<Company> it's either clipping (though we don't do that for labels)21:34
seb128 or a pango bug21:34
seb128slangasek, that's basically the replies I got, but I think I will have news tomorrow from their side21:34
seb128slangasek, I will keep you updated21:34
slangasekok21:34
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
bdrungjdstrand: re distro-info MIR, in your last comment, did "upstream is volatile" refer to liblist-compare-perl?21:44
jdstrandbdrung: no, it referred to the fact that the package is constantly being rewritten21:45
bdrungjdstrand: see my comment. it won't be rewritten again.21:45
jdstrandwell, constantly is probably strong21:45
jdstrandbut this is the 3rd time21:45
jdstrand:)21:45
bdrungjdstrand: the third rewrite wasn't necessary, but i was curious about the result21:46
jdstrandbdrung: ok. that seems reasonable I guess, but poke smoser about commenting on it21:47
bdrungtumbleweed: can you comment bug #964008 regarding liblist-compare-perl?21:48
ubottuLaunchpad bug 964008 in distro-info (Ubuntu) "[MIR] distro-info, distro-info-data, and shunit2" [Undecided,In progress] https://launchpad.net/bugs/96400821:48
apwslangasek, been using this one: https://launchpad.net/bugs/94284621:51
ubottuLaunchpad bug 942846 in linux (Ubuntu Precise) "encrypted install fails to boot as long as vt.handoff=7 is used" [High,In progress]21:51
apwslangasek, if you have something that needs testing let me know ;)21:51
slangasekapw: did you see the pastebinned patch?  I can push a bzr branch for it21:54
slangasekmy own testing here is waiting for the test system to be upgraded from oneiric21:55
slangasek(I don't boot it very often :P)21:55
slangasekapw: lp:~vorlon/ubuntu/precise/grub2/lp.94284621:58
slangasekapw: though actually, I'm wondering why the reporter's machine should have ended up with =text... that should only happen if 1) the previous boot failed, 2) the 'hwmatch' command failed in grub, or 3) the card was in the blacklist, and the last should not be the case since he's using nouveau?22:01
slangasekI think you're absolutely right that there's a bug here in our vt.handoff usage, I'm just not convinced fixing it will help this bug submitter22:01
slangasekoh, maybe he has GRUB_GFXPAYLOAD_LINUX=text in his /e/defaults/grub22:03
slangasekwhich means I have a bug in my patch as well, let's fix that22:04
=== dendrobates is now known as dendro-afk
=== yofel_ is now known as yofel
=== bladernr_afk is now known as bladernr_
=== salem_ is now known as _salem
slangasekstgraber: how do graphics work/not work in containers?23:31
slangasekstgraber: I'm considering /etc/init/udevtrigger.conf at the moment, which moved from an 'exec' to a 'script' for container support... and I'm pondering whether it can be switched back by dropping the 'container' condition, but want to be sure I understand the knock-on effects for other services23:32
slangasekstgraber: we could make udev-fallback-graphics start immediately on 'container', or we could make it not run at all when in a container... I don't know which would be better23:33
infinityroaksoax: Where's my feature freeze request for that maas upload with all the new features? :P23:36
infinityroaksoax: (Your standing freeze exception was until Beta 2, and we're well past that now)23:38
roaksoaxinfinity: heh, well i was told I have until FinalFreeze :)23:38
stgraberslangasek: right, so the problem is that we don't have a separate device namespace yet, so the reason why we prevented udevtrigger from starting in a container is that if run, it'd re-trigger everything in all containers and outside the container, which we certainly don't want23:39
infinityhttps://bugs.launchpad.net/ubuntu/+source/maas/+bug/937121 disagrees23:39
ubottuLaunchpad bug 937121 in maas (Ubuntu) "Standing feature freeze exception for maas in Precise" [Undecided,Triaged]23:39
stgraberslangasek: but to answer your question, a container usually doesn't have direct access to graphic hardware23:39
infinityroaksoax: And even if the bug didn't disagree, common sense probably does. :P23:39
roaksoaxinfinity: well, could you please raise this issue with Daviey23:40
infinityroaksoax: ...?23:41
roaksoaxinfinity: the FFe only standing to Beta223:41
infinityIt's right there...23:42
infinityAgreed to by Francis even.23:42
roaksoaxinfinity: yes I know, that's why I'm saying. Could you please raise it to Daviey ? Because, Daviey himself I can freely upload until Final Freeze23:42
slangasekstgraber: so the bits that chain off of udevtrigger currently are udev-fallback-graphics, networking, cryptsetup, and, er, cups.  cups almost certainly needs fixed in that case to be 'or container' (or to just drop it completely).  Do you think we can generalize about the right thing to do with the others?23:43
stgraberslangasek: in general 'or container' should be safe for these23:45
slangasekstgraber: safe yes, but is it *correct*?  I don't want to change all of them if I don't have to :)23:45
stgraberslangasek: it's unlikely we'll ever need udev-fallback-graphics or cryptsetup in a container but at the same time, if I want, I can make you a container using these, so it's not impossible someone would actually need these for something useful23:46
slangasekstgraber: you would 'modprobe vesafb' in a container?23:47
slangasekhmm, what's 'netscript-2.4-upstart'?23:48
slangasek(archive-grepping)23:48
stgraberslangasek: you can get 'modprobe vesafb' to work in a container but I really don't see a case where you'd want that job to trigger and where it'd be useful (didn't trigger outside of the container first)23:49
slangasekright23:50
stgraberslangasek: so you can probably keep that one as it's23:50
slangasekstgraber: well, I guess the reason to *try* to run u-f-t in a container is that the DMs have a start condition that's udev-fallback-graphics, ORed with drm-device-added... and that's a udev event so would never be seen in the container, right?23:51
stgrabercurrently containers see all events, so I could in theory allow a container access to a displaylink device, then plug it post-boot and the container will get that event and the container's udev will react on it23:53
stgraberbut as we don't re-trigger existing events, that only applies to devices appearing post-boot and only if the container is then allowed to access it (device cgroup restrictions)23:53
slangasekand if the video device you're plugging in comes up as card0, which is not likely23:54
stgraberindeed23:54
slangasekok, so I think u-f-g should be 'or container'23:54
stgraberyeah, I think it's best to consistently have 'or container' so these weird people copy/pasting without reading will get it for sure and we won't get stuff not starting in container in later releases because of bad copy/paste :)23:55

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