/srv/irclogs.ubuntu.com/2010/03/16/#ubuntu-devel.txt

=== cpplogger is now known as apachelogger
psusihrm.. I'm a bit out of my realm here with all this dbus and gconf stuff, but it looks to me like the cpufreq panel is already broken up into two components where the cpufreq-selector-servervice is supposed to be run as root and called on by the panel00:38
psusithere's an xml file in here that looks like it's supposed to define some sort of control interface methods at /org/gnome/CPUFreqSelector00:40
psusiit doesn't look like it's actually getting installed though00:40
persiakees: The point of the way mk-sbuild does things is that you don't need to start a VM: just `schroot -c` or `sbuild -d` as usual.  Plus what lool said.00:41
persiakees: also, both armel and powerpc are known to work (armel works better).  I believe the rest of the architectures are untested (but bugs against qemu-kvm-extras-static would be nice if they don't)00:43
ccheneyanyone know of a simple code snippet for debian/rules to do patching if it isn't using cdbs?01:09
ccheneyor an example package that i can look at for it01:09
cjwatsonuse dpkg-source v3, and then you can just leave the patches applied and not have to worry about junk in debian/rules01:10
persiaccheney: there are a bundle of them.  What's your debian/rules look like now?01:10
ccheneypersia: i'm adding a patch to karmic webkit in particular for backport to hardy01:11
ccheneycjwatson: hmm sounds cool but can't do that for hardy :)01:12
cjwatsonrun what-patch to see what system it's using now01:12
cjwatsonyou should always stay in line with that01:12
ccheneycjwatson: good idea for lucid and neweer though :)01:12
ccheneycjwatson: ok01:12
cjwatsonif it isn't using any patch system, just apply the patch directly01:12
ccheneycjwatson: as best as i can tell it isn't using any patches at the moment01:12
* persia avoids repeating the obviously correct advice01:12
cjwatsonI must get round to finishing that blog post about my experiences with 3.0 (quilt)01:13
ccheneyok so i'll have it applied directly along with a copy of the patches in debian/patches for anyone who wants to pull them out separately (if ever)01:13
cjwatsonoh, at best semi-relatedly but while I think about it, my current projection is that dh will overtake cdbs in unstable sometime in July01:14
ccheneycjwatson: dh 7?01:14
cjwatsonthe dh command in debhelper 7, yes01:14
ccheneyah i see01:15
ccheneycjwatson: is there a doc on how deb 3.0 works?01:15
ccheneycjwatson: other than man dpkg-source i mean01:15
cjwatsonthat was what I was going to recommend01:15
ccheneyso does it automatically create the debian tarball for you or do you do that yourself?01:16
micahgcjwatson: any chance you can approve thunderbird and ubufox in the queue?01:16
ccheneyi didn't notice where it mentioned how that happens, i might have missed it01:16
cjwatsonit automatically creates it the same way as it automatically creates .diff.gz01:16
cjwatsonmicahg: sorry, I'm just about to go to bed01:16
micahgcjwatson: k01:16
cjwatsonmicahg: poke on #ubuntu-release if you need to01:16
ccheneycjwatson: ok, so you just need premade other tar.gz's but the debian one is automatically made?01:16
micahgcjwatson: thanks01:16
cjwatsonccheney: yes01:16
ccheneycjwatson: ok thanks that helps a lot :)01:16
cjwatsonccheney: oh, there's http://wiki.debian.org/Projects/DebSrc3.0 too01:18
ccheneycjwatson: thanks01:18
ccheneycjwatson: are we going to get xz support anytime soon (lucid/lucid+1 ?)01:19
cjwatsonlucid+101:19
ccheneyok01:19
cjwatsonI believe anyway, haven't paid terribly close attention but I saw some commits go by01:20
* ccheney will do the testing for that with OOo for lucid+1, aiui it works better than lzma01:20
ccheneyok01:20
psusibug #356208 mentions: The reason appears to be that in order to work, the CPU applet (and a whole bunch of other things) attempt to validate that the "Desktop User" is a user who can perform administration. They look for the user who was setup during installation and not finding that user, they don't do anything. But, they also provide no errors, nor do they they attempt to use the "root" user.02:02
ubottuLaunchpad bug 356208 in gnome-applets "CPU Frequency Scaling Monitor Applet does not allow me to change CPU Frequency (Ubuntu 8.10)" [Low,New] https://launchpad.net/bugs/35620802:02
psusihow exactly does the policy kit decide who is the admin?  or where can I start tracing that process?02:02
psusihrm.... here's a question... it seems that the default upstream policy is for the cpufreq applet to admin_auth_keep, so you have to type your password the first time it needs it...02:42
psusibug #455694 people are complaining about the password prompt... it seems like no harm can be caused by allowing admin users to set their cpu frequency without entering their password first02:43
ubottuLaunchpad bug 455694 in gnome-applets "CPU Frequency Scaling Monitor asks for authentication all the time" [Low,New] https://launchpad.net/bugs/45569402:43
psusiif I were to attach a debdiff adding a patch changing it to just be allowed, would this be accepted?02:43
persiapsusi: How do you detect "admin user" then, if not by authentication?02:44
lifelesspersia: group membership ?02:44
psusipersia, hrm... actually I guess just setting it to yes allows anyone to do it...02:44
persialifeless: Wasn't pitti trying to drop the "admin" group?02:45
lifelesspersia: so don't use that group :)02:45
psusithe policy kit now has auth_admin_keep set... so you have to type your password the first time you try to change the frequency02:45
lifelesspersonally I'd say the 'local' bit is policy kit should be enough02:45
psusisome users on the forums have suggested editing it to just yes so it doesn't annoy you02:45
RAOFlifeless: at_console?  Yeah, that's what I was thinking.02:45
psusieh?  at_console?  that a group or polkit rule?02:46
lifelessRAOF: yah, if thats what its called.02:46
persiapsusi: That's the "stick it under the rug" solution.  Dig into policykit a bit more, and see if you can't determine whether the current user should be able to do that by other means, and only ask for authentication when this fails.02:46
persia(at_console seems reasonable for most use cases)02:46
psusihrm... yea, I guess that's the question... is there something between allow_active=auth_admin_keep and yes02:47
psusioh wait, no... it sounds like allow_inactive lets anyone do it, and allow_active=yes means anyone on the local console can do it02:48
persia"anyone at the local console" breaks the use case of doing something, opening a guest account, and handing it to the person next to you, but I'd hope that's a rare use case.02:49
lifelesspersia: for cpu frequency setting02:50
lifelesspersia: I don't think it matters02:50
psusiyes, the guest would also be able to use it, but the most harm they can do is slow down the cpu, so...02:50
psusiyea, don't think it really matters....02:50
lifelesspersia: because they can also take the machine and walk away :)02:50
persiaAgreed, hence my contrived use case : we generally don't care if a long-running job takes a little longer when *someone else* is currently at console.02:50
lifelesspersia: ok, now I understand. your description was a little opaque02:51
psusiso I can change it to yes and attach the debdiff to the bug and request a sponsor upload and it should be accepted?02:51
persiapsusi: None of the folks in this conversation so far can upload it, so the answer is "maybe".02:52
persiaBut if it does something sensible, and is still relatively secure, likely.02:52
psusiit looks like there is no option to require admin, but NOT require them to enter their password again, shame...02:54
persiaMaybe it doesn't really require admin.02:55
persiaI think the lack of behaviour you see is to support things like computer labs, where most active users are *not* admins.02:55
psusiwait, what was the magic phrase to put in the change log to auto close the lp bug?02:58
persia(LP: #nnnnn)02:59
psusito allow the interactive user to set the cpu frequency without first authenticating as an admin.  Closes (LP: #455694).03:01
psusithat look good?03:01
ScottKYou don't need closes03:01
persiapsusi: debuild -S -us -uc to get a source.changes : check for the launchpad-fixes-bugs header (or whatever it's called)03:01
psusihrm... ok03:01
psusiso just "authenticating as an admin (LP: #455694)."?03:02
maco"Closes: #12345" is Debian BTS syntax03:02
psusihrm... seems the existing quilt patches here all start with two digits... how should I choose a number for mine?03:03
psusior do I have to even?03:03
maconumber tells what order they were added to the package, usually03:09
psusiohh, it looks like it uses bzr... should I instead create a branch on lp and modify that, then link to the branch in the bug?  hrm...03:16
micahgor what order they need to be applied sometimes03:18
micahgnm,not for quilt03:19
psusiI'm confused... why is it using quilt, if it already uses bzr?03:20
=== sconklin is now known as sconklin-gone
keeslool: do we have kernels for anything besides versatileab from the list in  qemu-system-arm -M help04:09
kees(I actually get _no_ output from qemu-system-arm when booting them)04:13
pittiGood morning06:58
persiakees: What are you trying to do at a higher level.06:59
pittipersia, lifeless: CPU freq scaling admin group> I'll answer in the bug report; I have a plan for the similar problem in udisks06:59
persiapitti: Excellent.  Thanks.07:00
=== MacSlow is now known as MacSlow|afk
dholbachgood morning07:21
jiboumansTheMuso, crimsun: pitti says you might know about this; karmic + dell vostro + built in mic; any known issues with the mic not actually working?07:27
=== jelmer_ is now known as jelmer
loolkees: No, only versatilepb and ab (I think the kernel is configured for both)07:54
loolkees: There's a qemu branch for OMAP3 and an OMAP3 kernel is pending, that might be a new combination in the future07:54
loolkees: Make sure you pass -cpu cortex-a8 to qemu-system-arm07:54
loolkees: The default for versatile is an older CPU, but our userspace needs armv7+07:55
lool(cortex-a8 is v7; we also patched the versatile Kconfig to select v7)07:55
=== sabdfl1 is now known as sabdfl
=== MacSlow|afk is now known as MacSlow
=== tkamppeter_ is now known as tkamppeter
evmdz: would you be so kind as to file a bug for the usb-creator umount issue you ran into?09:32
evlifeless: I think that's perfectly reasonable as a command line option.  If you file a bug, I'll put it on my list for lucid+1.09:33
lifelessev: ok, I'll double check my facts and put a bug up for you09:35
evmuch appreciated09:35
lifelessde nada09:35
mvoRiddell: if you could have a look at #538522 that would be much appreciated09:36
Riddellmvo: where do I look for the error in the test case logs? http://people.ubuntu.com/~mvo/automatic-upgrade-testing/current/kubuntu/10:21
mvoRiddell: I pasted the relevant bits in the bugreport I think, its in http://people.ubuntu.com/~mvo/automatic-upgrade-testing/current/kubuntu/apt-term.log10:21
mvoRiddell: if you search for "dpkg: error" there10:22
mvoRiddell: you will find the file overwrite problem10:22
mvoRiddell: sorry, its not entirely user-friendly yet the output :/10:22
Riddelloh aye there it is10:23
=== jelmer_ is now known as jelmer
smbpitti, Do you know off your head whether something from userspace already touches /sys/power/disk. I am looking at a bug for one system that requires the "shutdown" instead of the default "platform" method and I am wondering whether this justifies a new quirking method in the kernel or is much simpler done in user-space...10:35
pittismb: the only thing I know of is pm-utils' hibernate command, which writes a "hibernate mode" to /sys/power/disk (and then "disk" to /sys/power/state)10:37
pittiI don't think we touch it anywhere else10:37
pittismb: I think this $HIBERNATE_MODE might be what you are looking for10:38
pittiit can be overridden by hooks, I figure10:38
smbpitti, Well mode would probably be what I am looking for. Right10:38
pittipm/defaults:# HIBERNATE_MODE="shutdown"10:38
pittiah, that's just a comment10:39
pittismb: our actual default is ""10:39
smbpitti, Ok. But its a place to investigate further10:39
pittismb: in other words, we don't write /sys/power/disk by default10:39
pittismb: but if a suspend.d script would set it, it should respect it10:40
smbpitti, Ok. Thanks. I think thats a starting point10:40
directhexhm. i guess glxinfo shouldn't segfault, right?11:08
peciskright11:10
pecisk:)11:10
peciskdirecthex: Xorg driver?11:10
directhexpecisk, intel11:11
peciskdirecthex: bug reported?11:11
directhexpecisk, doing it now11:11
directhexeh? i appear to have nvidia libglx.so11:16
peciskwow11:18
peciskdirecthex: isn't some kind of new hardware you got there?11:18
directhexpecisk, dell laptop.11:18
peciskdirecthex: brand new?11:18
directhexpecisk, nope11:18
directhexworked with karmic. wonder what happened11:19
peciskdirecthex: pastebin.ca lspci please11:19
directhexhttp://paste.ubuntu.com/396106/11:22
peciskdirecthex: there is no Nvidia. Do you have nvidia-glx installed? Maybe remove it, restart and try again.11:23
directhexwait a sec, this xorg.0.log is ancient.11:23
peciskahh :)11:23
directhexno, my mistake, was reading the Release Date line11:24
directhexi really don't get it. md5sums for libglx.so match the xserver-xorg-core.md5sums file, yet Xorg.0.log says vendor="NVIDIA Corporation" on the module11:25
directhexhuh? strings says it's not nvidia's11:26
directhexwtf is going on -_-11:27
peciskdirecthex: 'dpkg -l | grep nvidia' >> pastebin.ca :)11:27
directhexwait a sec, it's this "nvidia-current". bleh @ constant renaming of nvidia packages. also, wtf did it come from?11:28
peciskdirecthex: nvidia-current I think is newest nvidia-glx driver, just so you don't have to remember which version of nvidia driver you have to install11:30
peciskjust remove it and reboot machine11:30
peciskfaulty dependencies I think11:30
peciskdirecthex: how did you installed Lucid?11:30
directhexwhere is the log from an update-manager upgrade?11:30
peciskhave no idea11:31
directhex2010-03-09 14:19:10 install nvidia-current <none> 195.36.08-0ubuntu111:32
directhexcame in with my upgrade, i think11:32
pecisksomething pulled it in11:33
directhexwobbly windows are back11:34
peciskyay \w/11:35
=== MacSlow is now known as MacSlow|lunch
mvodirecthex: /var/log/dist-upgrade12:03
directhexmvo, right. definitely came with the upgrade12:06
directhexaha! libmyth-0.22-012:07
directhexso if you had mythtv on karmic, upgrading to lucid will break non-nvidia 3d12:07
directhexthat's probably a bug12:08
=== jcarter is now known as highvoltage
=== MacSlow|lunch is now known as MacSlow
radoehm, I wonder if I did something wrong with bug #535090? It is marked as security vulnerability (although of lower impact). I grabbed it last week, linked branches with fixes from intrepid up to lucid and debdiffs for easier review. I think I subscribed the right groups, but nothing seems to happen about it.13:08
ubottuLaunchpad bug 535090 in erlang "CVE-2008-2371 (outer level option with alternatives caused crash)" [Low,Confirmed] https://launchpad.net/bugs/53509013:08
highvoltagehas anyone had any weird sudo behavior on the live cds? the first time I use sudo on the edubuntu livecd it kills gdm and shows some weird characters while it's restarting. after that it works fine13:24
persiaradoe: Everything looks right for that bug.  In the most recent secuirty team meeting, there was talk of a backlog: I suspect you've just hit that.13:25
superm1directhex, mvo i'm not sure why libmyth-0.22-0 was even kept/upgraded during the upgrade though, nothing should be depending on it, and there is a 0.23-0 in the archive that should have pulled in libvdpau1 rather than anything nvidia13:26
directhexsuperm1, well, that's the only culprit i can find for why it was there o_o13:26
radoepersia: well, thx for this info.13:27
=== doko_ is now known as doko
psusipitti: I see you got involved with the cpufreq polkit bug... last night I chanced the source code policy for gnome-applets to fix the policy file, then installed the new package, but the policy file on my system remained unchanged, and it doesn't look like the binary package contains that file... what gives?13:30
seb128psusi, what file?13:30
psusialso the package seems to be using both quilt and bzr, so which should I use?  make a quilt patch?  make a bzr branch?  make a quilt patch IN a bzr branch?13:30
seb128psusi, the later option13:30
psusiugh, really?  use one vcs to change control another?13:31
seb128psusi, quilt is used by the packaging, bzr is just where we store the changes13:31
psusithat just seems.... wrong...13:31
seb128psusi, quilt is used as a patch system not a vcs13:31
psusithat seems like saying something is a car, not a vehicle ;)13:31
diwicpsusi: which then gets into a diff.gz, so in practice you have at least three indirection layers for a patch.13:32
seb128psusi, the policy is in the -data binary btw, not sure if that reply to your question13:32
psusiwhat is the purpose of continuing to use quilt IN bzr?  bzr should be providing you with everything quilt does and more13:32
seb128psusi, the usecase we have usually is to drop a git commit from upstream in the patches dir13:32
seb128psusi, we don't have the full source in bzr just the debian dir13:33
psusiohh13:33
seb128psusi, and we keep upstream changes in the debian dir not in the diff.gz13:33
seb128upstream -> distro13:33
psusiI see13:33
diwicpsusi: People who gets the built source package don't necessarily have bzr13:34
psusias for what file, it was the polkit file... I can't recall exactly now but it was something like /usr/polkit-1/actions/org.freedesktop.cpufreq-selector13:34
psusiI found where that file was in the source and changed the auth_admin_keep line to yes, and rebuilt... but that file does not seem to make it into the binary paackage13:35
seb128psusi, the -data binary has it as said before13:36
diwicpsusi: It would be cool to make a system which uses git/bzr and created quilt patches directly from the commits instead of having yet another indirection layer13:36
seb128psusi, did you install that one too?13:36
psusihrm... I didn't notice an additional .deb in the pbuilder directory... maybe I missed it13:37
psusithat reminds me, isn't pbuiolder supposed to allow non root users to build packages via fakeroot?  so why do I always have to sudo it?13:37
psusiohh, and is there something wrong with dpkg these days?  it seemed to be taking AGES to install the dep packages last night in pbuilder... I noticed a thread about a massive slowdown on debian-dpkg, but it seems to be talking about a newer version that is in lucid13:39
persiapsusi: Yes.  A fix has been uploaded.13:39
persia(for lucid)13:40
psusiohh... got a bug #?13:40
psusior I can go search for it...13:40
seb128psusi, #53724113:40
psusiohh, so we DID backport the damn fsync patch to dpkg13:46
cjwatsonyes, because there was a bug with 200 duplicates fixed by it13:46
psusireally?  what is that?  seems like the underlying bug is the default mount options for ext4 are dangerous13:49
pittiugh, that reinstall of my laptop took ages; now I mean what cjwatson meant with "dpkg performance regression"..13:49
psusiyea, it's like a 10-50x slow down13:49
pittipsusi: hm, I can't say without seeing your changes, I'm afraid13:49
pittipsusi: ah, seems you already discussed that; but please don't change it in gnome-applets13:50
psusipitti: why is that?  I seem to be missing something about how that file gets from gnome-applets to /usr/polkit-1/actions.. I don't really understand polkit13:51
psusion the dpkg thing, last night when I had pbuilder build gnome-applets, it took like 5-10 minutes to install the dep packages, then only like 20 seconds to actually build gnome-applets... ssd = very nice, that dpkg sync patch = very bad13:52
pittipsusi: there's no magic; it's just a file put into the .deb, which is built by the source13:52
psusipitti: I would have thuoght, but it iddn't get updated when I installed the new package, and when I did a dpkg -L, the file was not listed as belonging to the package... so I did a dpkg -x and sure enoguh, the file was not in there13:53
pitti$ dpkg -S /usr/share/polkit-1/actions/org.gnome.cpufreqselector.policy13:53
pittignome-applets-data: /usr/share/polkit-1/actions/org.gnome.cpufreqselector.policy13:53
pittiworks here13:53
psusiahh... ok, I must have missed the -data binary13:54
psusiohh, in fact, I know why I did... I was only looking for amd64, it's probably an _all13:54
cjwatsonpsusi: please see debian-dpkg, I'm not going to repeat myself at that kind of length here :)13:54
cjwatsonanyway, the relevant small part of the patch has been reverted, so there's no need to continue to rant about how dreadful it is13:55
psusinow you seem to not want to change it in the source because a server might not want that change?  but the change only allows INTERACTIVE users access, so for a server the only interactive user ever there shuold be the admin13:55
pittipsusi: yes, it's Arch: all (as most of the -data packages, otherwise having them wouldn't make sense)13:55
pittipsusi: you might also want to not have those policies in a business environment; having a separate package (1) is more flexible, and (2) avoids delta to Debian/upstream13:56
psusihrm... why is debconf hardly ever used?  it seems like this is the sort of thing that debconf should ask you when yuo install or reconfigure it, at least if you use the correct question priority level13:57
psusicouldn't you set up debconf to have a low priority question to override it, and otherwise default to auth for server and yes for desktop?14:01
pittipsusi: you'd have to debconfize many packages then, though14:02
psusiwhat do you mean?14:02
pittiand (1) we don't show debconf by default, and (2) most desktops are installed with the desktop CD, where pacakges don't get "installed" in teh dpkg/debconf sense14:02
pittipsusi: you'd have to apply this to udisks, gnome-applets, gnome-panel (for the time setting), etc.14:03
psusiI thought 1) the default was to ask only high priority questions at install, medium at manual instal, and low only get asked when you explicitly say so at install or reconfigure, and 2) since it would be a low priority that wouldn't really matter since they would need to explicitly dpkg-reconfigure and ask for low priority questions14:04
pittibut if most people don't see it at all, why bother?14:04
psusiohh, right, because you're trying to bundle up changes to all of them at once...14:04
pittiI think we should just configure servers and desktops with sane default permissions14:04
psusibecause isn't this kind of the purpose of debconf?  so that when I as a user go, why is this thing not set up the way I want?  let me see what debconf options I can tweek...14:05
pittidebconf has never been really entailed by ubuntu, though14:06
pittierm, "adopted"14:06
psusiyea... I've noticed, and find it kind of disappoiinting14:06
cjwatsonyes it has, just in contexts other than the default desktop14:07
psusiwell I know there have been a few times I've installed daemons on servers and wondered why I get no configuration options even on low priority debconf ;)14:08
pittipsusi: on servers you'll see a few, for example mysql14:08
pittior web apps asking for an admin password or so14:08
cjwatsonobviously there are going to be exceptions, but we have not in general ripped out debconf questions that are in place in Debian14:08
psusiyea, I've seen one or two high priority questiosn, but never medium or low14:08
pittipsusi: right, our default priority is "high"; everything else below that isn't shown by default14:09
psusiright, but even if I do a dpkg-reconfigure and ask it to show me low, nothing new shows up14:09
psusiseems nobody bothers writing medium or low priority questions, probably because they assume nobody will ever see them14:10
psusicjwatson: rename() resulting in a file size of 0 after a crash problem that the sync patch seems to try to fix seems to have an ext4 mount option to fix: auto_da_alloc14:13
mdeslaursiretart`: take a look at bug #53955514:35
ubottuLaunchpad bug 539555 in ogmrip "mencoder crashed with SIGSEGV in x264_nal_encode()" [Undecided,New] https://launchpad.net/bugs/53955514:35
mdeslaursiretart`: mplayer in lucid isn't compatible with the x264 version in lucid it appears14:35
siretart`mdeslaur: seems I need to backport more if not all of libmpcodecs/ve_x264.c. thanks for notifying me14:36
siretart`mdeslaur: btw, any news on the ffmpeg patches?14:37
mdeslaursiretart`: nobody assigned additional CVE numbers for the other issues. There were a couple of those CVEs that didn't seem to have patches associated to them in lucid...I was waiting to see what you thought of that14:38
mdeslaursiretart`: did you get a chance to look at the CVEs that didn't seem to have patches in my email?14:39
mdeslaursiretart`: ie: issue 16, 21 and 22?14:39
siretart`oh right, the ball was in my camp. sorry, I didn't find time to look up the CVE numbers.14:40
siretart`that time, I rather focused on roundup issue numbers and svn commits14:40
siretart`now I have to match theses to your issues, which is terribly time consuming :(14:40
mdeslaursiretart`: yeah, thanks for that14:40
mdeslaursiretart`: actually, I gave you the list with everything already matched up14:41
mdeslaursiretart`: the quoted part at the bottom of the email has the upstream commits, and the top part in my email has your corresponding patches in lucid14:41
siretart`that list didn't contain svn commits in trunk, did it?14:41
mdeslaursiretart`: yes! take a look at the quoted part at the bottom14:41
mdeslaursiretart`: well, it's from upstream trunk, not your repo14:42
siretart`yes, your mail links to mans git-svn import, that's at least straight forward to map14:43
siretart`yes, I'll see that I can tackle this tonight14:43
mdeslaurso, if we can decide what to do with the 2-3 missing patches, I'll then release updates for hardy-karmic14:44
siretart`great!14:44
mdeslaurwith the existing list of CVE numbers14:44
mdeslaursiretart`: again, thanks for your excellent work in pulling out all the patches :)14:44
jibelpsusi, from the tests I've done the auto_da_alloc doesn't prevent the 0 length problem, at least with dpkg14:52
psusijibel: really?  with data=ordered?14:54
psusibecause the man page specifically says: This provides roughly the same level of guarantees as ext3, and avoids the "zero-length" problem that  can happen  when  a  system  crashes  before  the delayed allocation blocks are forced to disk.14:57
jibelpsusi, yes with data=ordered14:59
psusihrm... sounds like a kernel bug then...15:00
jibelpsusi, it's written in the man page but it doesn't in the case of dpkg.15:00
cjwatsonthere's no way dpkg can rely on kernel options anyway.15:01
jibelpsusi, no necessarily , you'd better talk with dpkg dev who knows dpkg's code path better than me.15:01
psusiit should be able to rely on the filesystem not being broken though...15:01
cjwatson"broken" is, apparently, a matter of opinion.  (yes, I know, and I have *my* opinion, but it apparently isn't shared by e.g. POSIX.)15:02
cjwatsonthis was discussed at enormously tedious length last year ...15:02
jibelpsusi, you'll encounter this problem with all fs supporting delayed allocation.15:02
cjwatsonI agree that enabling auto_da_alloc by default would be sane, if it isn't already15:03
cjwatsonbut if it doesn't entirely fix things for some arcane reason ... wewll15:03
cjwatson*well15:03
psusithen they are all broken... historically many applications have relied on rename() to provide an atomic replace... hell, even Microsoft wrote NTFS to detect this and make sure it worked properly15:04
cjwatsonI agree that any filesystem that does not treat rename() this way is *at best* wilfully ignoring 40 years of Unix history15:04
ScottKWillfully ignoring history seems to be the order of the day (thus the KibiByte).15:05
cjwatsonand is only useful for specially written applications15:05
cjwatsonnoting that e.g. shell scripts can't do the fsync thing15:05
psusiindeed... and the read only mount flag no longer meaning read ONLY15:05
cjwatsonanyway, I stated my opinion on debian-dpkg.  dpkg should do its best to mitigate these issues up to some point that doesn't kill performance too badly, but there's a point where it becomes a kernel configuration problem.15:07
psusiindeed15:07
jibelcjwatson, I totally agree15:07
psusibut if that mount option does not fix it then it seems it should be reported upstream as a kernel bug since it says it should15:07
stgrabergeser: ping, DMB meeting15:08
cjwatsonsure, somebody who has something more resembling a test case should push it upstream :)15:08
cjwatsonI just want to make it not suck for lucid15:08
directhexmmm, i like the bootsplash i'm seeing on the laptop right now. the fsck message is rather more slick than it was in karmic15:08
psusiI guess the unfortunate thing is that relying on rename() being a barrier is itself just a workaround to the filesystem apis lacking means to control barriers15:10
jcastrodirecthex: yeah I just ran into a fsck the other day, it's quite lovely15:11
dokoseb128: http://blogs.gnome.org/alexl/2009/09/21/archer-gdb-macros-for-glib/  are these packaged?15:21
directhexjcastro, haven't updated today, mind... it's a bit less pretty on the nvidia-based desktop15:22
seb128doko, no15:22
jcastrodirecthex: it's a tradeoff, do I want pretty boot or vdpau ... :)15:23
seb128doko, debian don't install those because they "need an experimental gdb version"15:23
seb128doko, I can change that in the next upload if we want those now15:23
dokoseb128: that would be nice15:23
seb128doko, ok, will do after beta115:24
amitkKeybuk: have you had a change to look at bug 527666?15:30
ubottuLaunchpad bug 527666 in lvm2 "LVM Not mounting in Lucid" [High,Confirmed] https://launchpad.net/bugs/52766615:30
Keybukamitk: I don't look at LVM bugs generally15:30
amitkKeybuk: it contains mountall with --debug info15:31
Keybukso?15:31
Keybukit's unlikely to be a mountall issue15:31
Keybukit's more likely it's in fstab wrong, or LVM is configured wrong15:31
amitkKeybuk: errm, you asked for it last time it was reported on ubunt-devel15:31
Keybukusually to prove it's not a mountall issue ;)15:32
highvoltageKeybuk: the text plymouth theme is awesome!15:32
amitkKeybuk: heh, ok. But 3-4 people are seeing this bug consistently. I guess I need to find someone who will look at LVM.15:32
Keybukamitk: sadly, without cloning, I'm just not able to look at all of the bugs that I'm a perfect person to look at15:33
Keybukthere are too many bugs, and I'm the perfect person to look at too many different things15:33
Keybukand I'm not sure cloning would help, I'd just end up making out with myself :p15:33
=== jamie is now known as Guest93964
Keybukhighvoltage: I love how many people it's confusing15:34
cjwatsonnarcissist15:34
=== beuno is now known as beuno-lunch
jcastroplus every subsequent clone would be worse, so after 3 or 4 you'd start creating more bugs I'd guess15:34
KeybukI actually had someone try and debug why the logo filename wasn't being picked up - they hadn't realised it was entirely faked :)15:34
highvoltageKeybuk: hah! so they thought it was like an alt="" in an <img15:35
Keybukhighvoltage: yes ;)15:35
highvoltageawesome.15:35
Keybukexacty that in fact15:35
KeybukI do have the VGA 16 theme working now too15:36
Keybukthat looks kinda neat15:36
Keybukthough I can't decide whether it looks better with Flloyd-Steinberg or without15:37
* highvoltage racks brain to remember closest colour in aubergine to VGA1615:37
highvoltageto aubergine, even15:37
Keybukhighvoltage: just reprogram the VGA to know about aubergine15:37
highvoltageah, ok.15:37
Keybukthough it looks quite fetching in MAGENTA http://twitpic.com/18nmqr15:37
highvoltageKeybuk: but that won't work on EGA displays will it!?15:38
highvoltage(sorry I shouldn't try to be ironic)15:38
directhexi get a text-only boot :(15:38
Keybukhighvoltage: I don't think they've ever made a 386 with EGA15:39
highvoltageKeybuk: I've seen some, but I'm not sure whether they were sold like that15:39
Keybukfor a start, I haven't seen any monitor with an old EGA connector in decades15:39
highvoltageyes they died out quite quickly.15:41
ccheneywell VGA apparently came out in apr 1987 so some really old 386 had them but probably not too many15:41
tseliotKeybuk: maybe you can try with purple? #80008015:42
tselioti.e. 128,0,12815:42
amitkkirkland: bug 52766615:43
ubottuLaunchpad bug 527666 in lvm2 "LVM Not mounting in Lucid" [High,Confirmed] https://launchpad.net/bugs/52766615:43
Keybuktseliot: for the vga16 stuff, I just reprogram the palette now15:43
Keybukso it's ubuntu aubergine15:43
xhakerbdrung_: hi. is Eclipse 3.5.2 in the plan for inclusion in lucid? (noticed the merge in git)15:43
bdrung_xhaker: yes15:43
tseliotKeybuk: ah, nice. Does the logo look ok now?15:44
bdrung_xhaker: we try to release 3.5.2-1 to debian really soon and sync it then15:44
Keybuktseliot: mostly, still fiddling with it15:44
Keybuktseliot: haven't released it yet because there are bugs with text mode I want to fix first ;)15:44
ccheneyanyone know how to modify a symbols file to work on multiple architectures? i backported webkit and it builds fine on amd64 but fails on i386 due to missing symbols, can i just add the i386 symbols (i would think it would then complain on amd64)?15:45
tseliotKeybuk: good idea ;)15:45
siretart`ccheney: depends :-)15:45
cjwatsonyou can put architecture tags in the symbols files if that's appropriate.  see man dpkg-gensymbols15:46
ccheneycjwatson: thanks, guess i need to look at each arch to see what it complains about to determine what to add to its specific symbol file15:48
siretart`ccheney: for some libs it might be worth first checking if it really only exports symbols that are supposed to be exported15:51
xhakerbdrung_: thanks15:52
ccheneysiretart`: ok15:52
tkamppeterpitti, hi15:56
tkamppeterrickspencer3, hi15:56
rickspencer3hi tkamppeter15:57
pittihi tkamppeter16:02
=== seb128_ is now known as seb128
tseliotdirecthex: do you know anything about #536925 ?16:07
tkamppeterpitti, I have seen you have worked on SRUs (moving verified packages to -updates), did you forget bug 293832?16:08
ubottuLaunchpad bug 293832 in poppler "printer prints page at wrong position, page cut" [High,Fix committed] https://launchpad.net/bugs/29383216:08
directhexbug 536925 ?16:09
ubottuLaunchpad bug 536925 in mono "docky gmail checker is unable to connect to gnome-keyring" [Undecided,Confirmed] https://launchpad.net/bugs/53692516:09
directhextseliot, i don't know anything about it. i could take a look. the docky bug report seems entirely unhelpful16:10
tseliotdirecthex: basically it doesn't seem to be able to access gnome-keyring. Is there anything else that you need to debug it?16:11
directhextseliot, running it from a console might help give some diagnostic output, but as i said, the developers seem actively unhelpful. "broken" as a term should be banned from launchpad16:16
directhextseliot, i can believe that there's an incompatible change to gnome-keyring, since adobe air apps are broken, but i see no evidence of any commits to g-k-s's svn repo for about a year16:18
pittitkamppeter: hm, there is no poppler upload in the queue16:20
tseliotdirecthex: the console output is here: https://bugs.launchpad.net/docky/+bug/456166/comments/1216:21
ubottuLaunchpad bug 456166 in docky "gmail applet doesn't work" [Low,Fix released]16:21
tseliotdirecthex: are you sure that libgnome-keyring1.0-cil hasn't changed recently?16:21
tseliotrecently = since karmic16:22
Laneynot substantively16:22
directhextseliot, only a build fix.16:22
tseliotok16:23
directhexhttp://changelogs.ubuntu.com/changelogs/pool/main/g/gnome-keyring-sharp/gnome-keyring-sharp_1.0.0-2/changelog16:23
mathiazzul: hi - do you have any idea why ubuntu-server is a bug contact for the beautifulsoup package?16:25
zulmathiaz: because it was apart of the lucid mir spec16:25
directhexeek, and g-k-s is hand-rolled, not just gapi16:26
tkamppeterpitti, there is a debdiff of poppler, as I cannot upload poppler.16:29
directhextseliot, it looks an awful lot like g-k-s 2.29 is incompatible with earlier versions, yet upstream didn't touch the soname. i.e. a big fat dollop of stupid.16:31
tseliotdirecthex: ouch16:32
pittitkamppeter: ok, I'll sponsor in a bit16:35
Keybukbryceh, tjaalton: can you think of any hardware that nouveau actually works on OOI?16:36
mvojames_w: moving to here because of the meeting in #ubuntu-desktop -- yes, I tested it a couple of times and it seems to work. I have not been able to reproduce the race so I can not say if it really fixes it, but from looking at it it appears it will16:36
tjaaltonKeybuk: my 8600gt works16:43
Keybuktjaalton: what hardware?16:43
Keybukthis Dell Latitude D620, with nVidia G72M (7300?) just gets corrupt screen16:44
directhextseliot, developer resources will need to be spent cleaning up the g-k-s mess. but, i repeat, it's not unique to g-k-s, since adobe air apps no longer function either (as air cannot talk to the new gnome-keyring either)16:44
tjaaltonKeybuk: it's a desktop16:45
tjaaltonsome intel chipset16:45
tjaaltoncore duo16:45
tseliotdirecthex: ok, I hope we don't release Lucid with this problem (unfortunately I wouldn't know where to begin with this bug)16:48
tjaaltonKeybuk: try without splash, that helps some people16:49
directhextseliot, assuming gnome-keyring isn't going to revert its incompatible changes, and nobody cares about the false soname it uses, then someone needs to port gnome-keyring-sharp to the new api16:49
Keybuktjaalton: I'm trying to *debug* the splash! :D16:49
tseliotdirecthex: do we have a bug report filed upstream?16:50
directhextseliot, which upstream?16:50
Keybuktjaalton: I need to find something that nouveau modeset works on, so I can figure out why plymouth is having issues16:50
tseliotdirecthex: gnome-keyring perhaps? Or whoever works on the bindings16:51
tjaaltonKeybuk: hah, of course :s16:51
seb128hum16:51
seb128Keybuk, cjwatson, slangasek: the check disk item from the livecd doesn't reboot on key press as it should, is that a known issue?16:52
seb128is that a plymouth bug?16:52
Keybukthere's one open about that16:53
cjwatsonit would either be plymouth or casper.  there's an open bug about casper not rebooting properly at the end of installation, but I'm not sure about after CD checking16:53
KeybukI think it doesn't get space or enter or something16:53
Keybukbut gets random other keys16:53
seb128well the text says "press any key"16:54
seb128or it seems to work with random keys16:54
seb128Keybuk, cjwatson: ok thanks16:54
cjwatsonI don't suppose it's in raw mode and failing to do scancode->keycode translation?16:54
cjwatsonthat's the sort of thing that could appear to permute the keymap bizarrely16:55
Keybukplymouth always has the keymap in raw mode I think16:55
dokoseb128: the glib integration should only require gdb-7.0, which is in testing as well16:55
seb128doko, ok thanks16:56
Keybukcjwatson, apw: so I talked to Ted about the O_PONIES, fsync, dpkg thing17:00
Keybukhe can think of no reason that we need an fsync() in that path, except for crash-safe-ness17:00
Keybukthere is absolutely no race if the power stays on17:00
cjwatsonright, I backed out that fsync already17:00
Keybukwhich makes sense17:00
tkamppetermvo, hi17:01
apwKeybuk, good i was starting to think unix semantics were rubbish17:01
cjwatsonand I mailed a long semi-rant to debian-dpkg trying to clarify the desired semantics17:01
Keybukapw: I was confusing wiht the following17:01
Keybukopen file, write, write ... other process doesn't see anything yet17:01
cjwatsonhttp://lists.debian.org/debian-dpkg/2010/03/msg00041.html17:01
apwyeah that makes sense17:01
Keybukit might see a zero-byte file, but no data17:01
Keybukbut that's different17:01
Keybukcjwatson: only one thing is wrong in that post17:07
Keybuksince Essential packages are required17:07
Keybukto work at all times, even when semi-unpacked17:07
Keybuk--17:07
Keybukno they bloody well are not ;)17:07
Keybukthey are required to work when unpacked17:07
Keybuknot semi-unpacked17:07
cjwatsonI wasn't sure about the exact requirement, but I know from things Ian has said in the past that the intention was to make sure that dpkg itself didn't do anything that could render your system unbootable if you had a power failure in the middle of dealing with an Essential package17:09
cjwatsonpolicy says "must be available and usable on the system at all times"17:09
cjwatson(and qualifies that with "unconfigured (but unpacked) state", but that's the main body of the requirement)17:09
=== deryck is now known as deryck[lunch]
Keybukif you're semi-unpacked, you have different versions of files for the package over the filesystem17:11
cjwatsonI didn't say it was easy, or that everything got it right :)17:11
Keybukjust seems a mad requirement to me17:11
Keybukand since I know for a fact that dpkg itself could never survive that ... ;P17:11
Keybuk(dpkg and dpkg-deb tend to need to be the same version <g>)17:12
cjwatsonmost essential packages are relatively simple packages with self-contained binaries.  there are a few things that are harder17:12
Keybukcompletely aside for a moment17:12
Keybukmy installed cmdline was17:12
Keybuk        append initrd=desktop/initrd.lz boot=casper netboot=nfs nfsroot=10.15.0.192:/var/lib/nfsroot/desktop only-ubiquity automatic-ubiquity debug-ubiquity ubiquity-debug file=/cdrom/daily/mario.seed quiet splash -- nouveau.modeset=017:12
Keybukbut after install, it hasn't copied nouveau.modeset=017:13
Keybukthat's a bug, right?17:13
cjwatsonyeah, that's odd17:13
cjwatsondefinitely a bug17:13
cjwatsonhmm, I seem to have forgotten to make that change to grub-installer17:13
cjwatsonI think there's a bug about this already, it sounds familiar17:13
* hyperair is looking for a kind archive admin to take care of a sync..17:13
Keybukhyperair: we're in beta freeze17:14
hyperairKeybuk: does that mean no syncs?17:14
seb128hyperair, syncs bypass the queue17:14
hyperairseb128: what queue?17:14
seb128so no sync if not really required no17:14
Keybukhyperair: it means follow the procedure and request through the usual channels17:14
seb128hyperair, the freeze one17:14
hyperairah17:14
seb128hyperair, during freeze uploads go in a moderation queue17:15
hyperairit's banshee17:15
cjwatsonKeybuk: I can't find the bug for this, so if you could file it on grub-installer, make it lucid/beta-2 and assign it to me, that would be good17:17
Keybuksure17:17
cjwatsonthank17:17
cjwatsons17:17
Keybuktjaalton: so, with this card, I boot with mode setting enabled - and I just get a very pretty corrupt screen17:18
Keybuktjaalton: how would I debug this?17:18
sebnerhyperair: banshee \o/17:18
=== zanoi_ is now known as zanoi
hyperair=)17:20
=== sabdfl1 is now known as sabdfl
tkamppeterpitti, hi17:45
pittihi tkamppeter17:49
tkamppeterAny dbus expert around?17:51
pittitkamppeter: what's the actual problem?17:53
tkamppeterpitti, I am sending a D-Bus signal:18:02
tkamppeterdbus-send --system --dest=com.hp.hplip --type=signal /com/hp/hplip com.hp.hplip.NeedPlugin18:02
tkamppeterupdate-notifier should catch it and start a program. This does not happen.18:03
tkamppeterpitti, for you to test it, do "sudo -s", then "echo /usr/bin/gedit > /usr/bin/hplip-plugin-ubuntu" and then "exit"/18:04
tkamppeterand sudo chmod +x /usr/bin/hplip-plugin-ubuntu18:05
pittitkamppeter: why would u-n catch a signal  sent to hplip?18:05
tkamppeterpitti, update notifier has the following code: http://pastebin.ubuntu.com/396286/18:07
tkamppeterAFAI understand, the hplip_init() function, which is called when update-notifier starts, makes a D-Bus Listener out of update-notifgier.18:08
seb128tkamppeter, hi18:08
seb128tkamppeter, have you seen bug #530218?18:08
tkamppeterupdate-notifier runs as a daemon, with my user rights.18:08
tkamppeterSeems that ubottu has left for the day ...18:09
ubottuLaunchpad bug 530218 in system-config-printer "PrinterDriversInstaller service: AccessDenied error" [Low,Confirmed] https://launchpad.net/bugs/53021818:10
tkamppeterseb128, I did not change anything on the DBus mechanisms of s-c-p, seems that some policies of our distro have changed.18:10
tkamppeterpitti, is this D-Bus code correct?18:10
mdeslaura|wen: I was just building the mediawiki packages :)18:11
mdeslaura|wen: is only hardy and intrepid affected by the regression?18:11
tkamppeterAnd also the command?18:11
tkamppeterpitti, I have also tried18:11
tkamppeterdbus-send --system --dest=com.hp.hplip --print-reply --type=signal /com/hp/hplip com.hp.hplip.NeedPlugin18:12
tkamppeterand then dbus-send hangs until a timeout happens.18:12
=== deryck[lunch] is now known as deryck
a|wenmdeslaur: cool :) the fix was introduced by the CVE-2009-0737 fix present in hardy, intrepid and jaunty ... i'm looking into jaunty now18:13
ubottuMultiple cross-site scripting (XSS) vulnerabilities in the web-based installer (config/index.php) in MediaWiki 1.6 before 1.6.12, 1.12 before 1.12.4, and 1.13 before 1.13.4, when the installer is in active use, allow remote attackers to inject arbitrary web script or HTML via unspecified vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0737)18:13
mterryslangasek, in recent cryptsetup, you added a hard dependency on plymouth.  To reduce extra messages to the console, apparently.  Can that not be done in a less plymouth-inducing way?18:17
mdeslaura|wen: hmm...the part of the patch you are removing is present in karmic and lucid...do you not need to encode $conf->DBtype?18:18
cjwatsonmterry: plymouth doesn't necessarily mean splash screen.  its purpose is in part to be a multiplexer for user interaction during boot, and we don't want to have multiple paths for that since it tends to create bugs18:26
mterrycjwatson, understood.  I'm working on a project that doesn't want plymouth, so I was curious why the decidedly non-dependency was listed as such.  Seems like an issue for seeds, not fake Depends18:27
jdongit's not a fake Depend if the upstart job / init script logs startup items via plymouth...18:28
Keybukmterry: why don't you want plymouth?18:29
mterryjdong, oh, I didn't notice it doing that18:29
persiamterry: Can you just use a text theme and pretend?18:29
mterryIdeally I'd use plymouth.  But for the nonce I'm not.  And was curious why cryptsetup was requiring it.  Regardless of why I don't want plymouth, I think the critique stands18:30
tkamppeterpitti, still there?18:30
a|wenmdeslaur: the variable is already being quoted in config/index.php in hardy/intrepid while it isn't in the newer versions; looks like the handling has changed between 1.12 and 1.13... removing the quoting could work as well afaict; maybe that indeed is a better approach18:31
Keybukmterry: because we use plymouth to marshal input and output of the console during boot18:31
Keybukcryptsetup is run asynchronously on block device detection18:31
Keybukso you may need to ask for the passphrase for two different devices at the same time18:31
Keybukmeanwhile mountall might be running fsck on a third block device18:31
Keybukso needs to display progress18:31
Keybukor may even need to tell you fsck failed, and ask whether you'd like to try again with --fix18:32
a|wenmdeslaur: just tested; jaunty isn't affected18:32
Keybukplymouth deals with that for us18:32
Keybukwe ask plymouth to ask18:32
Keybukit queues up the things wanting input18:32
Keybukand ensures things are displayed at different points on the screen18:32
Keybukit's one of the *main* reasons we're using it18:32
mterryKeybuk, yar.  I agree those are all good arguments for why I should be using plymouth.  But not quite for why cryptsetup should hard-depend it18:32
mterryKeybuk, vs, say the seed18:33
directhextseliot, i have a VERY full timetable this evening, but i'll try to look at g-k-s later18:33
mterryKeybuk, unless asking for input just doesn't work at all without plymouth?18:33
Keybukmterry: because cryptsetup hard-depends on it18:33
Keybukall of the methods of asking for input without plymouth *cause* bugs18:34
Keybukso we've removed them18:34
Keybukie. "crash your X server" bugs18:34
mterryKeybuk, oh.  my quick grepping indicated it was always careful to [ -x /usr/bin/plymouth ]18:34
mterryKeybuk, i see18:34
Keybukso you want plymouth :p18:36
highvoltageKeybuk: any chance you could smack together some documentation or quick notes so that we can get the plymouth (and text-based plymouth) right for Edubuntu?18:38
mdeslaura|wen: I can't seem to locate where you say it's already being quoted in intrepid...18:38
* directhex is on text-based. sniff.18:38
Keybukhighvoltage: see the log of this chanel18:38
Keybukearlier today18:38
highvoltageKeybuk: ok, will do18:38
Keybukor the log of -desktop within the last hour18:39
a|wenmdeslaur: in toggleDBarea('<?php echo Xml::encodeJsVar( $conf->DBtype ); ?>', ...  Xml::encodeJsVar( $conf->DBtype ) does in itself quote the variable18:40
mdeslaura|wen: but, that's the part your updated patch is removing18:41
JFopitti, had another bug reporter send me an odd error when trying apport-collect. I just sent it out via our e-mail thread from the other day.18:41
mdeslaura|wen: you're changing it back to: toggleDBarea('<?php echo $conf->DBtype; ?>'18:42
* psusi wonders why /etc/init/failsafe-x.conf is installed on server with no x or gdm18:43
a|wenmdeslaur: true; there is two options to fixing the regression ... either we should skip the Xml::encodeJsVar or we should skip the quoting (in jaunty onwards the quoting is gone) ... currently i prepared the first option, but i'm considering if the second might be better18:43
=== yofel_ is now known as yofel
a|wenmdeslaur: i'll prepare a new set of patches using the second option and test them18:47
mdeslaura|wen: ok, cool.18:47
geniiIs there any plan to configure IRC default channel by way of localisation? eg: spanish install goes to #ubuntu-es     etc etc ?18:49
kklimondaI use Linux at work, and have a Mac at home, and there is a lightyear sized gap between the two in useability. Example - I'm trying to set up an IRC chat program for a friend. I click on an "import accounts" button to transfer accoutns from another chat app already on the system. Nothing happens. No message, no indication that there was a problem, nothing.18:52
zygamvo: hi18:52
kklimondaoh crap..18:52
kklimondasorry18:52
zygamvo: do you have the time to help me with the UVF exception process we talked about last time?18:53
pittiev: I'm not quite sure what bug 537986 is about -- what is the "superfluous help text"? isn't that a label as well?19:02
ubottuLaunchpad bug 537986 in ubiquity "Freeze exception request: inactive labels on the user setup page." [Undecided,New] https://launchpad.net/bugs/53798619:02
tjaaltonKeybuk: I haven't done much kms debugging, but unless it's completely hung maybe a sysrq-trace might give some ideas?19:03
pittiev: and since the screenshot also has a label with an explanatory text, how does it differ in practice?19:03
tseliotdirecthex: thanks a lot19:03
pittiev: oh, nevermind, I understand19:04
a|wenmdeslaur: new version of the regression fixes uploaded to bug 53797419:05
ubottuLaunchpad bug 537974 in mediawiki "1.15.2 security update released; CSS validation issue" [Undecided,Confirmed] https://launchpad.net/bugs/53797419:05
tjaaltonpsusi: because it's installed by x11-common, which belongs to the standard task19:05
Keybuktjaalton: bryce thinks it's a modeline isasue19:05
tjaaltonKeybuk: but if kms works without plymouth?19:05
mdeslaurthanks a|wen19:06
Keybuktjaalton: kms does not work at all19:06
tjaaltonKeybuk: ok then :)19:06
Keybukbug #539730 fwiw19:06
ubottuLaunchpad bug 539730 in xserver-xorg-video-nouveau "[G72M] Screen corruption when using KMS. Dell Latitude D620 / Quadro NVS 110M/GeForce Go 7300" [Undecided,New] https://launchpad.net/bugs/53973019:06
mvozyga: yes, let me quickly check the bug reference again19:08
tkamppetermvo, hi19:11
mvotkamppeter: hello19:11
zygamvo: thanks! it's bug 53830619:11
ubottuLaunchpad bug 538306 in command-not-found "[ffe] command-not-found 0.2.41" [Wishlist,New] https://launchpad.net/bugs/53830619:11
persiagenii: It would need a patch to each IRC client.  Needs a bug for discussion.19:12
zygamvo: BTW if it's too late today we can postpone this, I understand, people have life apart from their fun/work/etc :-)19:12
mvozyga: no worries, should be ok now. I think the outstanding items are "does it build, install/upgrade, not break"19:13
mvozyga: the later one is a non-issue because command-not-found has no rdepends19:14
zygamvo: right, okay, should I put a link to the ppa?19:14
mvozyga: yes19:14
zygathe upgrade process could do one more thing though19:14
mvozyga: and maybe a script(1) log of installing it19:14
mvoand that it does not fail then19:14
zygait could move the barely used .command-not-found.blacklist to XDG_CONF_DIR/commant-not-found/blacklist.conf19:15
zygabut the old path is still supported19:15
zygaso this step is not required, just it could be a tiny bit better19:15
zygahmm, I'll check out script19:15
zygawhat about pbuilder?19:15
tjaaltonKeybuk: yeah the timings are probably wrong19:17
tkamppetermvo, I have a problem with update-notifier, it does not react to the D-0Bus signal of HPLIP.19:18
Keybuktjaalton: that's just trial-and-error to get right though isn't it? :-/19:18
mvozyga: script would just create a "log" that installing from the PPA works just fine, pbuilder is not needed, the ppa builds it already in a pbuilder like environment19:19
tjaaltonKeybuk: well the devs probably know best.. too bad it's hard to test mainline .34rc1 because the api changed so you'd need to update libdrm and -nouveau too19:20
zygamvo: ok, I'll post a apt-get dist-upgrade session with to ppa package and point to the archive, do you think that is all I should add>19:20
mvotkamppeter: hm, I think it needs a slightly different way to send the singal from hplip. did you had a chance to discuss this with upstrema yet?19:20
mvotkamppeter: are they fine with us adding a "official" signal?19:20
mvozyga: I think that should be enough19:21
mvozyga: let me know when its there, I will add a note too19:21
zygaok thanks, let me add those changes now19:21
slangasekmterry: short of a plymouth magic patch to capture and eat all console messages, no, it can't19:21
tjaaltonKeybuk: (noticed you were asking for it on #u-k)19:22
Keybuktjaalton: yeah, even .33 would be nice19:22
Keybukbut apparently we don't build our mainline kernels against the lucid config19:23
Keybukwhich I keep forgetting19:23
Keybukslangasek: there is that magic, I just haven't turned it on yet19:23
tjaaltonwhy does it matter?19:23
tjaalton.33 mainline should work fine19:23
Keybuktjaalton: because karmic's config doesn't enable nouveau, amongst other things19:23
tjaaltonkarmic?19:23
slangasekah, didn't know it was written19:23
tjaaltonKeybuk: oh, the mainline config doesn't, yes19:24
Keybukslangasek: yeah, it redirects console output into /var/log/boot.log19:24
tkamppetermvo, I think I should get the full chain working and then I send a patch to upstream.19:26
tjaaltonKeybuk: just to make sure; it's the same without splash?19:27
tkamppetermvo, currently I send the signal via19:27
tkamppetermvo: dbus-send --system --dest=com.hp.hplip --type=signal /com/hp/hplip com.hp.hplip.NeedPlugin19:27
tkamppeterThe command runs as root.19:27
psusihrm... is there no way to query init for what events a job is waiting for?  or do you just have to read the conf file?19:28
tkamppetermvo: To avoid adding another library dependency, I let HPLIP run this command line.19:28
mvotkamppeter: right, I think the best way is to run it via the existing dbus service that hplip already ships, but that needs a bit of work on the hplip code. I'm currently looking at bug #516727, but when I finished with that I can have another look19:30
ubottuLaunchpad bug 516727 in apt "breaks dist-upgrade: E: Couldn't configure pre-depend openoffice.org-core for openoffice.org-filter-binfilter, probably a dependency cycle." [Critical,Triaged] https://launchpad.net/bugs/51672719:30
=== radoe_ is now known as radoe
=== beuno-lunch is now known as beuno
Caesarslangasek: what do you think about bug 539814 in terms of severity?19:36
ubottuLaunchpad bug 539814 in tar "Impossible to bootstrap Lucid on Dapper" [Undecided,New] https://launchpad.net/bugs/53981419:36
Keybuktjaalton:  yes ;p19:37
slangasekCaesar: middling19:37
slangasekCaesar: certainly not a beta-1 blocker19:37
CaesarI'm chatting to bdale now to see if it can get fixed in sid19:37
slangasekpitti: bug #539742 seems to be the same as the earlier "plymouthd still running" apport reports, except it didn't match the bug pattern and also doesn't include the new information from the updated hook?19:38
ubottuLaunchpad bug 539742 in plymouth "does not terminate at computer shutdown" [Undecided,New] https://launchpad.net/bugs/53974219:38
CaesarActually, it might be fixed in sid already19:38
zygamvo: as for c-n-f if the freeze exception works and we get 0.2.41 in the beta this will be a good way of checking if my choice of having auto-install option default to 'ask' was a good idea19:39
slangasekCaesar: from lamont, I recall that there are other bits of lucid that are unhappy on a dapper kernel, fwiw19:39
slangasekI think the solution there was "go through a lot of pain to get a hardy kernel running on the powerpc buildds"19:39
CaesarFun19:39
tjaaltonKeybuk: ok.. but did kms ever work with these?19:40
Keybuktjaalton: with this machine?  not that I know of19:41
tjaaltonKeybuk: what about the ati?19:41
Keybuktjaalton: likewise, not that I know of19:41
Keybukboth worked in karmic19:41
tjaaltonok19:41
Keybukbut in lucid, neither works19:41
lamontslangasek: karmic, actually19:42
slangaseklamont: mmk19:42
lamontamusingly, the only machine that hates that kernel is davis19:42
NCommanderlamont: what was the problem with karmic/lucid on davis? Oops?19:42
Caesarslangasek: I think this particular issue is fixed in sid's tar (1.23)19:43
lamontNCommander: yep.  and if you can tell me how to get a serial console on the box, I'll capture the oops output for you19:43
NCommanderlamont: is the serial port seen in dmesg? (or is /dev/ttyS0 exist?)19:43
lamontyep19:44
tjaaltonKeybuk: you can try .33 mainline with ati though19:44
Keybuktjaalton: I can ;)19:45
NCommanderlamont: https://help.ubuntu.com/community/SerialConsoleHowto19:45
kklimondahas the UnitsPolicy been discussed with other distributions and is a coordinated plan or are we doing that alone?19:48
lamontNCommander: that's great.  now answer the question for yaboot19:48
NCommanderlamont: you want the bootloader on serial? That requires a trip to OpenFirmware land19:48
NCommanderlamont: power cycle the machine and hold down option-command-o-f to get to the 0 > prompt19:49
Keybuktjaalton: though I have to share a power supply between the two boxes19:49
Keybukso I wanted to drain debugging on this one at least first19:49
Caesarslangasek: I plonked tar 1.23-1 into the chroot and that worked19:49
lamontNCommander: I don't recall all the iterations I went through trying to get there.  I do recall that it's annoying needing to wait for someone to get back to the data center to boot it because you can't adequately recover from just a remote console over kvm19:49
tjaaltonKeybuk: you can ask darktama on #dri-devel about the nouveau if you like19:49
NCommanderlamont: you have to set the output-device in openfirmware to ttya I believe on xserves19:49
Keybuktjaalton: I asked on #nouveau - no reply yet19:50
Keybuk(not directly at darktama)19:50
CaesarSo I guess I should turn bug 539814 into a sync request for tar?19:50
ubottuLaunchpad bug 539814 in tar "Impossible to bootstrap Lucid on Dapper" [Undecided,New] https://launchpad.net/bugs/53981419:50
tjaaltonKeybuk: ah ok, yeah I asked on #dri-devel and airlied pinged darktama, think he's away atm19:50
NCommanderlamont: actually, you don't need OF access19:51
lamontNCommander: it's a bit below my radar since the buildds have been surviving just fine with it.19:52
NCommanderlamont: well with OF and yaboot over serial (which a google search confirmed works properly on xserves), you shouldn't ever need anyone to remotely manage unless the battery goes dead :-/19:53
lamontor the case is opened.. or... :-(19:54
lamontbut yeah, some specific education in that regard would not be amiss19:54
lamontand I might even make time to test taht19:55
lamontesp if we can get the thing to oops again19:55
pittislangasek: hm, that's strange indeed -- I'll investigate the pattern failure first19:57
pittislangasek: hm, weird; it seems to work for me here; I guess one could workaround that check by collecting information on an offline system, and reporting the .crash file from another one20:04
pittibut that's not very likely20:04
pittiI'll ask in the bug20:04
keeslool, persia: either of you around and got a running qemu armel image?  nothing I try works.  :(20:13
superm1pitti, re bug 537986, i believe it's to remove the really wordy labels that accompany the dialogs in exchange for labels that only show up in gray on the text boxes when the text boxes are empty20:19
ubottuLaunchpad bug 537986 in ubiquity "Freeze exception request: inactive labels on the user setup page." [Undecided,New] https://launchpad.net/bugs/53798620:19
pittisuperm1: right, I figured that out 30 secs after pinging ev.. but thanks for confirming20:20
NCommanderlamont: maybe during UDS if there isn't a rush to force something newer on that box20:33
lamontit'll almost certainly have lucid by that point20:35
psusiwhy are there multiple ttyX.conf files in /etc/init?  can't a single conf file manage multiple instances?20:38
Keybukyes20:39
Keybukhysterical raisins mostly20:39
psusilol... Mmm... raisins...20:39
psusiKeybuk: there's no secret switch to initctl status to list exactly what the events are that the job is waiting for is there? ;)20:41
Keybukpsusi: no, but I do intend to write one20:41
KeybukI can tell you how to find out20:41
psusiheheh, would be nice ;)20:41
Keybukas long as you promise to tell *nobody*20:41
Keybukespecially not kees20:42
psusilol20:42
psusiok?20:42
Keybukwhat you need to is write an upstart .conf file20:42
Keybukthat crashes upstart20:42
Keybukbut crashes it in the child when you try and run it20:42
Keybukthen you have a core file with all the init daemon state in it <g>20:42
psusirofl20:42
Keybukexec a path that doesn't exist seems to work well atm20:42
Keybukyou may need "expect fork" in there, depending on the version of upstart20:43
psusikill -ABORT, heh20:43
Keybukexactly20:43
Keybukor just drive it against an assertion20:43
Keybukif you can predict the pids, it's even better20:44
Keybukyou can attach gdb to it20:44
Keybukand then you have a live process you can do things like20:44
Keybuk(gdb) p job_hash_lookup (...)20:44
Keybukagainst20:44
* kees looks around for target of great vengence and furious anger20:44
Keybukthat's what I tend to do20:44
psusihrm... I'm a bit confused... I thought an event was implemented internally as a job with no main process, so once an event has fired, it should still show up as a job in the started/running state?20:44
Keybukno20:44
Keybukyou're confusing events and jobs20:45
Keybukthey're completely different20:45
psusiahh, yep, that explains it...20:45
* kees doesn't know why he'd be upset about init children dumping core.20:45
lamontkees: because root could pwn the box?20:46
lamontoh wait.  nm. :-D20:46
kees'zactly20:47
Keybukkees: I'm just invoking you20:53
Keybukbecause you seemed to like it so much yesterday :p20:53
Keybukit's fun20:53
\shhmmm...I hope I didn't blow up our production environment right now with my puppet script20:54
keesKeybuk: yup, I just need to formalize my strike-from-above phrases21:02
loolkees: Sure21:03
keeslool: what is the magic?  I'm ready to learn21:03
Keybukkees: I have a manual override built into the ion cannon control21:04
Keybukit's linked to my foursquare account21:04
loolkees: https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap21:04
keesKeybuk: haha21:04
Keybukyou can't fire it within 5 miles of my current location21:04
loolkees: rootstock does basically that behind the scenes21:04
loolkees: I start my rootfs with qemu-system-arm -m 256  -drive file=lucid.img,media=disk -M versatilepb -cpu cortex-a8 -kernel linux-image-2.6.32-16-versatile_2.6.32-16.24/boot/vmlinuz-2.6.32-16-versatile -append 'root=/dev/sda rootwait'21:04
keesKeybuk: I guess I'll use "beam weapon charging" for now21:04
loolkees: I can upload the rootfs, but will take me a whilke21:04
looland it has installed crap in it21:04
* lool starts rsync21:05
keeslool: I think it's the kernel that isn't working for me.21:05
loolkees: just qemu-system-arm -m 256 -kernel <versatile-vmlinuz-from-lucid> -cpu cortex-a8 should work21:06
loolkees: It might help to use serial console mode to see some debug messages, but really that should give you a SDL window with the fb output21:06
keeslool: so not wget http://people.canonical.com/~lool/versatile-cortex-a8-zImage ?21:06
loolkees: Oh no21:07
loolkees: Well that might work21:07
keesit's what the wiki says?21:07
keeslool: which kernel image URL should I use?21:07
loolkees: Sorry, it might work, not sure, but it's best to use the lucid one21:07
loolhttp://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/21:07
psusiKeybuk: rc-sysinit.conf tests for FROM_SINGLE_USER_MODE... it looks like that's how rcS tells rc that the system has already been initialized, but I can't see any way for rc-sysinit to run with FROM_SINGLE_USER_MODE=y21:07
loolkees: Will update wiki, thanks21:07
loolkees: image wasn't available back then21:07
Keybukpsusi: did you read rcS.conf ?21:08
keeslool: okay21:08
loolkees: updated, thanks21:08
psusiKeybuk: yes... it sets it when it switches to another mode, but AFAICS, switching to another mode invokes rc.conf, not rc-sysinit.conf21:08
keeslool: how does the initrd figure in?21:08
loolkees: You can also unpack the vmlinuz from the linux-image-versatile.deb obviously, and you'll find modules in there as well21:08
loolkees: Sadly, initrds are borken (help welcome!) as well as initramfs21:09
loolkees: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/52489321:09
ubottuUbuntu bug 524893 in qemu-kvm "versatile: Can't boot initramfses" [Low,In progress]21:09
Keybukpsusi: could you read the line out to the class?21:09
loolI suspect our kernel is too big for the memory map assumptions, or something like that21:09
keeslool: so what's the right way to boot a live environment?21:10
lool(but I looked at the memory map and it seemed to leave plenty of space)21:10
slangasekpitti: well, bug #539869 is another one21:10
ubottuLaunchpad bug 539869 in plymouth "does not terminate at computer shutdown (dup-of: 537262)" [Undecided,New] https://launchpad.net/bugs/53986921:10
loolkees: Currently none, you could try with kexec though21:10
ubottuLaunchpad bug 537262 in plymouth "plymouth pid missing from OMITPIDS and terminated by sendsigs" [High,Confirmed] https://launchpad.net/bugs/53726221:10
slangasekpitti: oh, you already triaged that ;)21:10
loolkees: Do you mean a live env as in casper, or just a real system?21:10
loolkees: Cause the kernel can boot a real system just fine, even without initrd21:10
psusiKeybuk: which line?  you mean start --no-wait rc-sysinit FROM_SINGLE_USER_MODE=y21:10
pittislangasek: that one at least has Processes.txt and InitctlList.txt21:10
keeslool: either, preferrably a real system21:10
loolkees: casper does need initrd though21:11
pittislangasek: I was looking at https://bugs.edge.launchpad.net/ubuntu/+bugs?field.tag=shutdown-hang&orderby=targetname and duplicating a few21:11
loolkees: Oh just as I wrote with lucid.img earlier21:11
keeslool: okay, so convert a debootstrapped system into an image, and boot that?21:11
* psusi facepalms21:11
pittislangasek: but it seems this is now going from a little bug fix to a major project..21:11
loolkees: exactly21:11
* kees attempts to trick qemu-nbd into working...21:11
loolkees: The page has the low level instructions, rootstock does the same thing as a script and outputs either an img or a tgz21:11
pittislangasek: I think we should probably disable this hook again after beta; it helped us to discover the plymouth issue (which really makes things worse), but the others are just too many; I've seen a couple of frozen mount processes or blkid, etc. (in "D" state)21:12
loolkees: I'm uploading my fs, but will take a long while21:12
slangasekpitti: huh, yes - and the initctllist.txt and process.txt there show the correct behavior21:12
loolkees: Do you get fb output with the lucid kernels?21:12
slangasekpitti: yep - hung mount processes are probably a network teardown issue21:12
slangaseknot something we need every user hitting it to be bothered with21:12
keeslool: I did this time finally.21:12
psusiohh, I see.... it fires back to rc-sysinit so it can figure out what the runlevel should transition to21:13
pittislangasek: right, plymouth is running, but it fails to get added to $OMITPIDS21:13
slangasekpitti: yes, but *not* because of a bug in 'initctl list', according to this output21:13
loolkees: Great; sorry about the link to an obsolete kernel which was on this page I pointed at21:13
pittislangasek: hm, indeed; so it seems it's not a duplicate after all21:14
keeslool: does qemu-nbd work for you?21:14
loolkees: Happy to hear if you're stuck on any subsequent part of the install21:14
loolkees: I'm not using it; I think I heard mention of it recently, but I don't remember in which context21:14
loolkees: I think virtio could technically work for qemu disks, but my attempts at forcing it into arm kernels resulted in OOPSes21:15
keeskirkland: have you used nbd recently?  it seems to just hang for me?21:15
slangasekpitti: no, I think it is a duplicate, it just doesn't appear to be an upstart or plymouth bug :)21:15
loolI'm not much of a kernel developer I'm afraid21:15
Keybukpsusi: the one that says how rc-sysinit is started, and how that environment variable is passed to it, yes21:15
Keybukpitti: I've had reports of that from lots of things now21:15
pittislangasek: OTOH that initctl list is not the same as the sendsigs script is calling, but a new call from the apport hook21:15
Keybukpitti: there's one on udev for example21:15
pittiKeybuk: yes, and I saw a hung blkid, etc.21:15
keeskirkland: nevermind, PEBKAC21:16
Keybukbut I do also see plymouth getting SIGKILL'd by sendsigs21:16
pittiKeybuk: I'll do a round of triaging on those after beta-1; I guess we should disable the apport hook soon again, too21:16
loolkees: ogra mentionned qemu-nbd on #ubuntu-arm recently, but had some issues as well; perhaps check with him21:16
slangasekpitti: uh, grr then - I think we need it to be the same call to have reliable bug reports21:16
Keybukso sabdfl's slow shut down one evening has led us to finding a whole undiscovered nest of bugs under a rock21:16
slangasekpitti: because if there *is* an initctl bug, it's almost certainly racy21:16
KeybukI doubt it's an initctl bug per se, that's just talking d-bus21:17
pittislangasek: well, OmitPids is by and large the output from it, too21:17
psusiKeybuk: is the event case sensitive?  i.e. is start on runlevel S the same as start on runlevel s?21:17
Keybuksounds more like an upstart bug21:17
Keybukpsusi: yes21:17
psusiKeybuk: then it looks like runlevel s and runlevel S are handled slightly differnetly...21:17
slangasekpitti: yes, but the question is, why is it *different* between the two runs21:17
slangasekpitti: if it's a race, then showing that it *is* different between two runs doesn't help us debug21:18
pitti*nod*21:18
pittiwhat might help is a set -x output from sendsigs itself21:18
pittiI used that a lot for debugging21:19
Keybukpsusi: no21:19
keeslool: I, uh, forgot to partition the lucid.img so my nbd devices didn't have any partitions.  *hang head*21:19
Keybukpsusi: there is no runlevel s only zuul21:19
Keybukerr, I mean runlevel S21:19
pittibut even that wouldn't give us new info about a potential race21:19
psusiKeybuk: it looks to me like rcS.conf only runs for runlevel S, which you get either by passing the kernel S or single, or -s21:19
psusibut if you pass s then rcS.conf won't run?21:20
Keybukpsusi: no...21:20
Keybukpsusi: seriously, do you bother reading any code before you assume bugs? :p21:20
psusilol... I'm reading and trying to follow along, but it isn't easy ;)21:21
Keybukgo read util/telinit.c in upstart21:21
Keybuk        case 'S':21:21
Keybuk        case 's':21:21
Keybuk                ret = sysv_change_runlevel ('S', extra_env, NULL, NULL);21:21
Keybuk                break;21:21
Keybuk^ that bit specifically21:21
psusiahh, ok... so telinit forces it to uppercase21:21
loolkees: bah I don't partition my drives either21:22
loolhence root=/dev/sda21:22
Keybukslangasek: I'm not sure where this bug lies21:22
Keybukit sounds like it could be upstart forgetting pids21:22
* psusi wonders if he could do it with initctl emit runlevel s ;)21:23
Keybukbut it also sounds like it could be sendsigs not parsing initctl output right, so killing them anyway21:23
Keybukpsusi: you can do that, but it won't get converted to uppercase21:23
Keybukpsusi: and you're missing the environment21:23
slangasekKeybuk: well, we know upstart hasn't forgotten them permanently, because when apport calls 'initctl list' again, the PID is there :)21:23
Keybukpsusi: initctl emit runlevel RUNLEVEL=S PREVLEVEL=  is basically all "telinit S" does21:23
psusiKeybuk: that's what I'm trying to do... get into runlevel 's' not 'S', hehe21:23
Keybukerr21:23
Keybukpsusi: initctl emit runlevel RUNLEVEL=S PREVLEVEL=$RUNLEVEL21:23
Keybukpsusi: there is no 's'21:23
Keybukslangasek: oh, now that's more interesting - I hadn't got that bit21:24
slangasekKeybuk: another possibility is that it's a race condition where plymouth has started *after* sendsigs has called initctl list21:24
Keybukslangasek: possible, but then it's starting very late21:24
slangasekthen calls ps, at which point plymouthd is there21:24
Keybukslangasek: and that wouldn't explain the udev bug ;-)21:24
Keybukwhich is certainly not started on shutdown <g>21:24
slangasekah, hadn't seen the udev bug21:24
Keybukyeah udevd -> didn't close on shutdown21:24
psusiKeybuk: well, yea that's one way of looking at it... but an emit runlevel s would get you into runlevel s, just no jobs run in runlevel s, right?21:25
* kees stabs qemu-nbd in the face21:25
Keybukpsusi: there is no runlevel 's'21:27
Keybukit would cause some events to be emitted21:27
Keybukbut since System V doesn't define such a runlevel, nothing would be run21:27
psusiinsofar as there are no jobs defined for it... but manually emitting runlevel s would get runlevel to be s, which would effectively be a zombie runlevel no?21:27
Keybukyou couldn't add an /etc/rcs.d and expect it to work, for example21:27
psusiright... zombie runlevel ;)21:27
Keybukactually, that's not true, system v defines "s" to mean "I couldn't be bothered to hold down shift when I typed S"21:27
Keybukwell21:28
Keybukyou can do21:28
Keybuk  initctl emit runlevel RUNLEVEL=allegro PREVLEVEL=$RUNLEVEL21:28
Keybukyou can do whatever you want ;)21:29
Keybukbut don't expect the system to play along21:29
Keybukfor a start, those things won't end up in utmp/wtmp21:29
Keybukslangasek: bug #53940221:29
ubottuLaunchpad bug 539402 in udev "does not terminate at computer shutdown" [Undecided,New] https://launchpad.net/bugs/53940221:29
slangasekKeybuk: neato21:31
Keybukthough that one is also somewhat odd21:31
unggnuhi all21:35
unggnuIs the boot splash for Lucid final or are there still changes planned? I mean it looks great but I think the animation looks too much like a progress bar which is misleading imho.21:37
Keybukunggnu: I'm not aware of any changes planned21:40
Keybukit happens that 5s is the average time it's actually visible anyway ;-)21:40
Keybukso it's probably not an issue if it looks too much like a progress bar <g>21:40
unggnuKeybuk: it depends on the system :)21:40
Keybuknot really, splash shows after ureadahead, so even on HDD you're mostly just waiting for X to init21:41
unggnuKeybuk: It wouldn't matter if it wouldn't already look so professionel :)21:41
Keybukif you feel your concerns are particularly strong - talk to the Design team21:41
Keybukthey would need to approve any changes21:41
Keybuk(filing a bug on plymouth is not a way of talking to them)21:41
unggnuI guess I am now on the artwork channel21:41
Keybuksure21:41
directhexi think i'm finding why docky doesn't work... and AIR... it's not a pretty issue if it's what i think21:42
unggnuIt seems that the start time is really fast through the "progress bar" and then suddenly it starts again.21:42
unggnu(the animation)21:42
Keybukunggnu: huh, it if starts again, you have an old plymouth21:45
Keybukthe current theme draws orange dots from left to right21:45
Keybukthen replaces them with white dots from left to right21:45
Keybukand then repeats21:45
unggnuKeybuk: this is what I meant with again :)21:45
Keybukonly older versions fill from left-to-right then go back to five white21:45
unggnuuntil the reds get replaced again you might think it is a progress bar21:45
KeybukI iz not designer21:46
Keybukwhen I last did a splash screen theme, it had a dancing monkey on it21:46
Keybukyou need to talk to them :p21:46
unggnuKeybuk: I am, but they are not there or not replying :D21:48
Keybukthat's because it's close to 10pm in the UK21:48
directhexwhat happened to the gnome-keyring socket?21:48
Keybukthey're probably at home with their husbands, wives and dogs21:48
Keybukor down the pub21:48
unggnuor in some fancy art gallery ;)21:49
directhexthere's no GNOME_KEYRING_SOCKET environment anymore, and no /tmp/keyring-foo32d987h273ry/socket file21:49
directhexseb128, ^21:49
seb128directhex, right21:50
* sebner waves at directhex :)21:50
KeybukWhere does the +-sign come from?21:50
KeybukAs far as I know, Ubuntu does not use ACL by default.21:50
Keybukheh, ... you iz wrong!21:50
seb128directhex, you are supposed to use libgnome-keyring not hack other software sockets21:50
Keybuk(/me catches up on ML for a few minutes)21:50
directhexseb128, and the seemingly empty dbus interface?21:51
seb128directhex, the dbus interface is the next generation way21:52
seb128until now it had libgnome-keyring only21:52
seb128it's being turned in a freedesktop.org dbus interface for GNOME321:53
seb128but that's work in progress started this cycle21:53
seb128libgnome-keyring is still what is used by GNOME21:53
seb128you can play with the dbus interface if you want though21:53
directhexthere doesn't seem to be anything exported via the dbus interface, if dbus-explorer is to be believed21:53
Keybukthat just means the dbus server doesn't do introspection21:54
Keybukit's kinda optional21:54
Keybukyou tend to add it the first time you have to debug your own d-bus interface, and wish you didn't have to keep writing client stuff and could just use d-feet :p21:55
Keybukthe trick is to avoid writing the client as long as possible21:55
Keybukthough then you end up with upstart 0.5 - where the server has a wonderfully rich d-bus interface, with full introspection21:55
Keybukand initctl had never caught up - cause I could do all my testing with dbus-send and d-feet :p21:56
directhexhm. seems i have a rather short period of time to rewrite gnome-keyring-sharp from scratch then21:56
keeslool: okay, so booting my debootstrap'd image, I get as far as mountall: Could not connect to Plymouth21:57
keesKeybuk: if I'm starting a crazy arm image without an initrd, what do I have to do to trick mountall into starting plymouth on its own (instead of the initrd doing it)?21:59
directhexis it an upstream change or an ubuntu change to remove the socket?21:59
Keybukkees: it doesn't22:00
Keybukkees: upstart should start mountall and plymouth ?22:00
keesKeybuk: weird, I'm getting "mountall: Could not connect to Plymouth"22:00
Keybukimplies plymouth isn't running22:00
keesprecisely.  :)22:00
Keybukyou sure it's on that image?22:01
seb128directhex, upstream, we don't have ubuntu changes to gnome-keyring22:01
* kees checks22:01
directhexit seems to break any keyring usage in mono apps. which means f-spot can no longer store passwords, presumably. it also kills other things like bbc iplayer (or any adobe air app, really)22:01
seb128directhex, you can a /tmp/keyring-nnnnn/control22:02
keesKeybuk: neato, the debootstrap missed it.22:02
seb128not sure what it's used for22:02
keesis it part of -minimal?22:02
seb128directhex, but it might be useful for what you need22:02
loolkees: make sure you setup the network22:02
keeslool: yup22:02
loolkees: /etc/network/interfaces or network-manager22:02
loolkees: the plymouth thing is just a warning22:02
keeslool: yeah, I'm updating it via my schroot first, then will re-sync to the disk image.22:02
directhexseb128, control appears not to be the same thing22:03
keeslool: just a warning?  it didn't do anything after that.  :(22:03
Keybukpitti: maybe check http://websvn.kde.org/trunk/KDE/kdebase/workspace/ for blame?22:03
Keybukwhat file is the vt8 appearing in ?22:03
RAOFKeybuk: You wanted to know if the lbm_nouveau patches can be dropped?  They can be.  It'll make the upstream nouveau testing PPA slightly harder to keep current, as it'll need to pull in patched plymouth & such, but Lucid doesn't need any of those patches.22:03
loolkees: presumably it was waiting for some event to launch the ttys22:03
KeybukRAOF: so we still intend to support lbm-nouveau for lucid onwards?22:03
KeybukRAOF: what's in the "upstream nouveau testing PPA" ?22:04
loolkees: Usually for me it's the network22:04
loolkees: You can confirm things work by running /bin/sh22:04
keeslool: yeah, init=/bin/sh worked22:04
loolkees: You did the second stage part of your debootstrap already I guess22:04
Keybukpitti: I can't find vt8 grepping through the source22:04
loolkees: You want your rootfs in /etc/fstab too22:04
keeslool: I did the debootstrap via mk-sbuild22:04
Keybukpitti: ah, I can find vt%d22:04
loolkees: Or you want to pass rw on the kernel cmdline22:04
keeslool: oh, I bet I missed that.22:04
loolkees: I think I filed that one against mountall, not sure22:05
loolkees: https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/52721622:05
ubottuUbuntu bug 527216 in mountall "Boot hangs waiting for local filesystems if / isn't in fstab and / is only mounted ro" [Medium,Triaged]22:05
Keybukyeah we debugged that one22:06
loolkees: I personally like loop mounting my rootfs quite often; I use a wrapper to launch a shell in the mount and umount on exit22:06
loolkees: http://people.canonical.com/~lool/loop-mnt-do22:06
Keybukis caused by mountinfo having /dev/root in it22:06
loolkees: (You might find this useful when changing the rootfs between boots)22:07
RAOFKeybuk: The upstream nouveau testing PPA contains packages for bleeding edge upstream; the DDX, libdrm, and nouveau's linux branch.22:07
KeybukRAOF: -> kernel22:08
directhexfound it. Stef Walter broke the socket on 2009-12-1722:11
keeslool: yup, missing fstab entry was it.22:11
loolkees: Cool; so I guess you're working on the security features for ARM?22:11
keeslool: no, just making a list of what's missing.22:11
loolok22:12
pittiKeybuk: yeah, I already grepped code for ->serverVT, but didn't complete that yet (didn't see something obvious after 3 minuts)22:13
Keybukpitti: thinking about this now for a moment22:13
Keybukpitti: where is kdm pulling that 8 from?  have you found out?22:13
Riddellpitti: amd6422:14
pittiKeybuk: I'll look in a bit22:14
pittiRiddell: if you are  on amd64, I can toss you the binary22:14
Keybukpitti: cause me thinking22:14
pittiRiddell: great architecture that22:14
Keybukif kdm is guaranteed to always use 8, we don't need the patch "for the first server"22:14
Keybukthat's there not to use plymouth's vt, but to make sure we don't use 1-6 right22:15
pittiKeybuk: I'll check in a bit22:15
Keybukso all we really want is if plymouth-is-running use the currently active vt, whatever that might be22:15
pittiRiddell: http://people.canonical.com/~pitti/tmp/kdm22:15
pittiRiddell: copy that to /usr/bin, and restart22:15
pittiKeybuk: ah, it seems to call get_active_vt()22:17
pittiKeybuk: VT_GETSTATE on /dev/tty022:17
pittiKeybuk: which is a bit weird, I called kdm from tty322:18
Keybukpitti: active vt will be 7 though ...22:18
pittiKeybuk: ah, no, sorry; that was from the broken 104_kubuntu patch22:18
pittithat code path won't be active22:18
pittinothing ever writes that stamp file22:19
* pitti searches further22:19
slangasekKeybuk: plymouth is stopped on starting kdm, so what would "if plymouth-is-running" check?22:19
Keybukslangasek: huh?22:19
KeybukECONTEXT22:19
slangasek15:15 < Keybuk> so all we really want is if plymouth-is-running use the currently active vt, whatever that might be22:19
Keybukah22:19
Keybukright22:19
Keybuksorry22:19
Keybukif pitti is right, kdm is always pushing X to vt822:20
Keybukit seems to be very insistent on always passing vtX22:20
Riddellpitti: seems to do the job22:20
Keybukif that's true, kdm *is not* vulnerable to the getty-and-X-on-vt1 bug22:20
Keybukbecause kdm likes vt822:20
Keybukif we can prove it's not vulnerable, we don't need this patch22:20
slangasekso dropping the --retain-splash solves all the races/conflicts, and the remainder is just getting the X transition pretty?22:20
Keybukyes22:21
pittiKeybuk: I looked through all instacnes of serverVT and reqSrvVT again, and I still don't find the code which sets those to 822:23
* pitti searches harder22:23
Riddellusing pitti's KDM binary is much nicer than dropping --retain-splash, it doesn't drop me to a terminal for several seconds22:23
KeybukRiddell: it will though22:24
Keybukonce we lose the --retain-splash22:24
pittiRiddell: can you check user switching, with a second X? that should land on vt8 then22:24
pittiI tested that here as well, but just to make sure22:24
keeslool: what do you use for qemu networking?  i.e. how do you get your arm VM talking on the network?22:26
pittiKeybuk: ah, it's in allocateVT() in kdm/backend/dm.c22:26
pittiI don't see reqSrvVT being set anywhere, so it must be dynamic22:27
Keybukit's from config22:27
Riddellpitti: user switching seems to work, I have one user on control-alt-F7 and one on control-alt-F922:31
pittihm, and serverVTs starts with 7, so why doesn't it actually _pick_ 7 initially?22:31
Keybukbecause it queries whether each one is allocated in turn22:31
Keybuksees VT7 is in use22:31
pittiand vt7 is allocated?22:31
Keybukso ++22:31
Keybukyes22:31
Keybukplymouth had it22:31
RiddellF8 is blank with a cursor22:31
pittiah, ok22:31
Riddellfirst user is on vt 8 second on vt 922:31
Keybukplymouth didn't VT_DEALLOCATE22:32
Keybukit left it for X to find22:32
pittiKeybuk: ok, so it seems that forcing it to vt7 is about as ugly/working as in gdm then22:32
Keybukright22:32
Keybukso this code is largely good22:32
Keybukit's safe from death by getty after all22:32
pittiat least for beta-1 it's probably good enough22:32
Keybukyup22:32
pittiI really hate those two patches, but *shrug*22:32
Keybukfor beta-2, we want to include plymouthness in there, and use the current vt whatever that is, whether allocated or not22:33
pittiworking > beauty this close to release22:33
Keybukbut beta-1 no need to change kdm22:33
pittioh?22:33
Keybukwell, kdm works right?22:33
pittiso we're going with the --retain-splash thing?22:33
Keybukit will use the first free vt from 7 onwards22:33
Keybukno, we're dropping --retain-splash22:33
Keybuksteve and I talked about that separately22:33
pittiok, fine for me22:33
Keybukit introduces too many issues22:33
Keybukand a fix for the vt1 issue makes it harder to keep22:33
Keybuk(login: for people)22:34
pittiso you don't actually want me to upload that kdm patch then?22:34
tkamppetermvo, pitti, did one of you have another look at the D-Bus problem.22:34
pittitkamppeter: sorry, -EBUSY22:34
Keybukpitti: nope, but thanks very much for doing the work to figure out how kdm gets its vt22:34
Keybukthat's useful knowledge!22:34
pittiKeybuk: at least we have a patch on the shelf now, should we still need it22:34
pittibrb, booting into an X session again22:35
keeslool: ah, got it, was missing dhclient. har har22:35
pittiRiddell, Keybuk: so the h4ck is on http://people.canonical.com/~pitti/tmp/kdm.firstserver-force-vt7.patch (that corresponds to http://people.canonical.com/~pitti/tmp/kdm)22:38
pittiI won't delete it just yet :)22:38
pittiRiddell, Keybuk: do you still need anything from me now for this issue?22:45
Keybukpitti: nope, thanks!22:46
pittiKeybuk: thanks to you!22:46
* pitti cd /bed22:46
RiddellKeybuk: so resolution is to drop --retain-splash and that's us sorted for beta?22:46
pittiRiddell: current kdm won't at least run into the "start on vt1" problem, so it will look a bit ugly, but should work22:47
KeybukRiddell: yes22:47
RiddellKeybuk: so you'll upload that tonight and have slangasek get us a new set of CDs to test tomorrow?22:48
Keybukyes22:50
RiddellKeybuk: should I e-mail tseliot to tell him it's sorted for beta but the smooth transition patch is still needed if he is in a KDM patching mood?22:50
KeybukRiddell: yup22:52
RiddellKeybuk: groovy, thanks for giving over your evening to this22:52
Keybukthat's quite ok, thanks for your help22:54
Keybukgood to get to the bottom of it22:54
Guest36494kees, qemu-nbd definately had issues for me uin it from scripts, i had to call it twce to work23:47
Guest36494s/uin/running/23:48

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