/srv/irclogs.ubuntu.com/2008/04/28/#ubuntu-devel.txt

StFSHello. I'm trying to figure out a way to create an ISO with a setup for a specific laptop type. I'd like the end user only to have to supply his username and password, everything else (network, xorg.conf etc) should be configured already. Can you point me towards some reading material?00:23
TheMusoStFS: Have you considered installinv via OEM mode?00:23
TheMusoinstalling00:24
StFSTheMuso: hmm... not quite sure what you mean by that?00:24
TheMusoStFS: You can install Ubuntu, and when it gets booted for the first time, it will ask the user information like their username, timezone, etc.00:25
TheMusoStFS: I think you activate it by pressing F4 at the CD boot menu to choose OEM installer.00:25
TheMusoWHich brings up a menu with that as one of the options.00:25
StFSTheMuso: ok... that's pretty much what I had in mind... except it would be great if I could answer as many questions like that as I could... for example, the timezone would be the same for everyone00:26
StFSTheMuso: ok... well I'll definately take a look at this :) thanks so much!00:26
TheMusoYou're welcome, hope it helps.00:26
StFSoh I'm sure it will00:27
mohbanahow do i pack something in .deb?00:38
=== RAOF_ is now known as RAOF
emmaHi02:01
emmaHi astro7602:11
=== shadowxp2 is now known as shadowxp
=== gnomefre1k is now known as gnomefreak
emmahm.03:21
=== happinessturtle is now known as nenolod
=== thegodfather is now known as fabbione
RigonnHello05:44
Rigonni need some help05:44
pittiGood morning06:22
dholbachgood morning06:23
emgentmorning06:27
dholbachhey thekorn07:08
dholbachthekorn: are you planning to work on  five-a-day/gettext.applet  today? if not I'd look into fixing bug 220187 (comment 2)07:13
ubotuLaunchpad bug 220187 in five-a-day "add gettext support to the applet" [Undecided,In progress] https://launchpad.net/bugs/22018707:13
thekorngood morning dholbach,07:18
thekornno, I think I will not work on it for the next two or three days, so please go on:)07:18
dholbachthekorn: ok great - will let you know how it goes07:19
pittiRiddell, slangasek: can either of you please peer-review/ack my hardy-proposed hal upload? (in the queue already, and bug 25931)07:20
ubotuLaunchpad bug 25931 in hal "Failed to initalize HAL." [High,In progress] https://launchpad.net/bugs/2593107:20
dholbachhi pitti07:20
* pitti hugs dholbachq07:20
pittiand dholbach, too07:20
dholbach:)07:20
thekorndholbach, do you know why I don't get notification emails when you subscribe me to a five-a-day bugreport07:23
thekornhello pitti07:23
dholbachthekorn: that's because of a LP bug :-/07:24
pittihey thekorn, wie gehts?07:24
thekornpitti, Alles super!07:25
thekorndholbach, I see07:26
thekorndholbach, recompiling files in /usr/lib/python2.5/site-packages/fiveadayapplet/ fixes bug 222829, the .pyc files are old07:45
ubotuLaunchpad bug 222829 in five-a-day "5-a-day-applet crashed with AttributeError in do_tags_show()" [Undecided,New] https://launchpad.net/bugs/22282907:45
thekornI don't know if this is a packaging issue and how to fix this07:46
dholbachthekorn: that's really weird07:47
dholbachdoko: what do you think about the bug mentioned above?07:47
mdkeseb128: do you know anything about rarian? I wonder if it is in a fit state to replace scrollkeeper for intrepid?08:23
dokothekorn, dholbach: can't find a fiveadayapplet directory08:24
seb128mdke: upstream doesn't to be really active on it but the compat layer should be usuable instead of scrollkeeper, I didn't really try though08:24
dholbachdoko: you can run   bzr branch lp:five-a-day   to get the source - or check the five-a-day-applet binary package08:25
mdkeseb128: I'll have a chat with Don. Scrollkeeper is a real pain08:25
seb128mdke: why? because you need to list locales?08:26
pittihey seb12808:26
seb128guten tag pitti ;-)08:27
dholbachthekorn: I merged your translation changes and did a huge bunch of changes but it doesn't quite work yet :)08:27
mdkeseb128: well, yes; but also because it takes a long time to do the update process for each package that uses it (ubuntu-docs takes several minutes). Also most of the crash reports I see for ubuntu-docs seem to be scrollkeeper related08:27
mdkeseb128: afaik yelp doesn't use scrollkeeper now, so I think it is superfluous08:28
seb128mdke: right, there is one crasher but we have difficulties to track it, would require a valgrind log from somebody having the issue08:28
seb128mdke: I'm not sure that the rarian compat tools are faster though08:28
mdkeseb128: I heard that rarian doesn't require -update to be run each time a package is installed; but I don't know enough about it to talk confidentialy on the subject :)08:29
mdkeseb128: perhaps I'll send him an email with copy to you, would that be ok?08:29
seb128sure08:29
mdkethanks08:29
* Hobbsee waves08:30
seb128mdke: that's the goal, but all the upstream tarball always run scrollkeeper-update so I think there is still some changes required08:30
pittihey Hobbsee!08:30
seb128mdke: I think the omf need to be changed to rarian indexes or something in the source08:30
Hobbseepitti08:30
* Hobbsee hugs pitti08:30
mdkeseb128: ok08:32
dokothekorn: what to you mean by "old"?08:39
thekorndoko, they are outdated, from the last version of the package08:40
mvopitti: should we milestone #32906 for 8.04.1? I've seen a bunch of reports that have it as a side effect08:40
dokothekorn: are the timestamps older?08:40
thekorndoko, let me check this with a fresh install of the package08:42
pittimvo: I've been meaning to look into that anyway, milestoned08:44
pittimvo: I just cannot reproduce it on my production systems, but it seems to work on a live CD08:44
mvopitti: ok, thanks08:45
=== stdin_ is now known as stdin
dokoseb128: any reason for the assignment of #223449?09:08
seb128doko: python segfault in the log09:12
thekorndoko, the timestamp seems to be ok, http://paste.ubuntu.com/8466/09:12
seb128doko: ah, I typed "python" as product, should have use python2.5 I guess, right?09:12
dokoseb128: did you look at ProcMaps?09:13
dokothekorn: what does ls -lL say?09:14
seb128doko: the guy ran apport on gnome-system-log apparently so the apport datas are for this one09:14
seb128doko: which is not revelant since the issue is describe is gdesklet crashing due to a python segfault09:14
thekorndoko, http://paste.ubuntu.com/8471/09:15
pittiseb128: I'm a bit unsure how to further debug bug 211625; any idea?09:17
ubotuLaunchpad bug 211625 in gnome-vfs2 "Disk mounter lists internal hard disk partitions" [Undecided,Incomplete] https://launchpad.net/bugs/21162509:17
dokothekorn: hmm, this looks good as well09:18
seb128pitti: the applet has not been ported to gvfs, it's still using gnome-vfs, I would not bother spending efforts on it09:21
pittiseb128: I'm just interested in how it's supposed to behave; showing internal partitions is not a bug per se IMHO (since you can mount them)09:22
seb128pitti: that's weird though because neither gnome-vfs nor the applet really changed this cycle, maybe his fstab changed and stopped listing the partition or something09:22
emgentheya tseliot09:24
tseliotemgent: hi ;)09:25
seb128pitti: I'm not sure now, I didn't read the gnome-vfs code for a while, it was supposed to list volume which don't have an ignore property no?09:29
seb128pitti: gnomevfs-ls computer: should list the same things09:33
pittiseb128: ok, thanks; let's call it a feature for now :), I don't think it's actually wrong09:33
seb128right09:34
=== spacey is now known as hbos
davmor2Hey guys I noticed something but I'm not sure if it's a bug or simply not implemented yet.  if you connect to a bluetooth device that has photo's (like most phones) you can't view the images.  However you can transfer them across and then view them.  Is this a gvfs issue or an obex one?09:37
amitkogra: could you make sure that cmpc is picking up the new kernel in the PPA?09:39
kristian42Hi! I'm decided to get involved with tracking bugs in ubuntu. Unfortunately its more than 10 years since I touched C/C++. In the 10 years that have passed I have gotten addicted to IDE's (in java), and I need this for linux too. Any suggestions as to which ide to use?09:44
Robot101kristian42: not necessarily a devel question, but take a look at eclipse w/ the C plugin, and anjuta maybe. if you're doing c#, monodevelop?09:49
=== azeem_ is now known as azeem
kristian42Robot101: Thanks. I'll bother you gous later.09:51
kristian42Robot101: When I learn to type properly.09:51
ograamitk, oh, cool, did i386 build ? (i went to bed when lpia was there :) )09:52
=== smarter_ is now known as smarte
=== smarte is now known as smarter
=== hunger_t is now known as hunger
* cjwatson runs the necessary Big Scary Commands to publish intrepid10:56
dholbachyooohoo10:57
Hobbseeargh!10:57
Hobbseeit's going to break on you.10:57
emgent:D10:58
cjwatsonno evidence of breakage so far, touch wood10:58
Ngis that intrepid trepidation? ;)10:58
Hobbseehah10:58
Hobbseei guess it had it's share of breakage over the weekend.11:00
Hobbseepity11:00
cjwatson... what broke over the weekend?11:01
pittimvo: hm, bug 222182 -- isn't that supposed to have a DpkgTerminalLog attachment?11:01
ubotuLaunchpad bug 222182 in apport "package apport 0.108 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/22218211:01
Hobbseecjwatson: when do people upload bits of the toolchain, which bits, and when, can be accepted?11:01
Hobbseecjwatson: oh, last weekend, sorry.  LP went down for 14+ hours.11:01
cjwatsonHobbsee: I have warned doko already and he's ready to go, but note that I haven't yet contacted infinity to get buildds going11:01
* Hobbsee forgot that there's just been a weekend.11:01
cjwatsonso don't get too excited just yet :)11:01
cjwatsonah11:01
Hobbseecjwatson: right.  kiko just wants me to accept some packages, to test if the bugs have actually been fixed.11:02
* calc holds finger over update button ;-)11:02
Hobbseecalc: NO NEW OO.O FOR YOU!11:02
Hobbsee:)11:02
calcOOo 3.0 Beta, yea! ;-)11:02
cjwatsonaccept> err, in what release?11:02
* Hobbsee beats calc with a big stick11:02
calcif it is released on time it will be on wed11:02
Hobbseecjwatson: whichever.11:02
Hobbseecjwatson: i was assuming intrepid11:02
cjwatsongcc-4.3 is likely to be first, but doko is more authoritative than I11:02
calcof course then i start actually working on packaging which will probably take a little while11:03
cjwatsonthere'll probably be an early base-files upload which is fairly safe11:03
* Hobbsee nods11:03
Hobbseeit'll be accepting multiple uploads in tandem, i think11:03
Hobbseeseeing as that was the problem lsat time11:03
cjwatsonit would be better to wait for that kind of test until the toolchain is sorted, I think11:03
dokocjwatson: libffi, binutils, gcc-4.3, gcc-4.2, gcj-4.3, gcj-4.2, glibc, done11:04
* calc looked a bit at the load cycle mess over the weekend, but doesn't have anything conclusive yet11:04
dokoahh, java-gcj-compat missing, and gcc-defaults11:04
cjwatsonso you mean simultaneously accepting >1 package through the web UI?11:04
cjwatsondoko: aha, thanks11:04
Hobbseecjwatson: perhaps.  the worst that will happen is LP times out, and someone else has to accept the package.11:04
Hobbseecjwatson: yes11:04
cjwatsonthe toolchain probably needs to go in strict order, or at least it's often safer to do so11:04
calcare we moving openjdk into main as well? 8-)11:05
pittimvo: is that log still present anywhere, so that I could ask for it?11:05
Hobbseecjwatson: oh, i thought bits of toolchain happened in tandem, in a strict order.11:05
cjwatsonso I wouldn't be comfortable with simultaneous accepts there, unless they're ones that doko says are OK to build simultaneously11:05
Hobbseefair enough11:05
Hobbseeyeah, of course11:05
dokoHobbsee: accept what?11:05
cjwatsonbut we can leave the archive frozen for a bit after the toolchain's done, to allow testing11:05
Hobbseecjwatson: that would be good, thanks11:05
Hobbseedoko: NEW CRACK!11:06
Hobbseedoko: (packages for intrepid)11:06
cjwatsoncalc: it's certainly a good possibility11:06
cjwatsoncalc: (you're up early)11:06
mvopitti: yeah, that log should be available in /var/log/apt/term.log11:07
ln-why is there a zero-width no-break space in the topic?11:07
pittimvo: ah, thanks11:08
Hobbseeln-: where?11:08
calccjwatson: couldn't sleep :\11:09
* calc thinks he managed to sleep ~ 1hr last night :\11:09
pitticalc: ugh, why not?11:14
ln-Hobbsee: in the very begin.11:16
cjwatsondoes that help? I couldn't see where it was11:17
=== chand is now known as chand[aw]
wgrant.win 1011:34
wgrantDamn.11:34
cjwatsonKeybuk: could you point merge-o-matic at intrepid, please? it will exist on archive.ubuntu.com after the next publisher run11:52
sorenWoo!11:54
emgent:)11:55
cjwatsonIntrepid created, frozen for toolchain | /topic Ubuntu 8.04 LTS released! | Development of Ubuntu (not support, not application development on Ubuntu) | #ubuntu for support and general discussion for dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs11:56
cjwatsonoops11:56
=== cjwatson changed the topic of #ubuntu-devel to: Intrepid created, frozen for toolchain | Ubuntu 8.04 LTS released! | Development of Ubuntu (not support, not application development on Ubuntu) | #ubuntu for support and general discussion for dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs
* soren goes to dist-upgrade :)11:56
sorenThere. All done :)11:56
cjwatsonit'll 404 right now11:56
cjwatsonlike I say, needs a publisher run to trigger the mirrors. :)11:57
pitticjwatson: will the publisher run in 6 minutes?11:57
ln-there are still several zero-width spaces in the topic.11:57
cjwatsonpitti: as usual11:57
* pitti eagerly waits for all the -proposed changes to actually turn up11:57
cjwatsonln-: where exactly?11:57
cjwatsonmy client doesn't show them so it's tedious to check11:57
cjwatsonln-: actually, you can change the topic yourself, why not just do it11:58
ln-oh, i didn't notice there's no mode +t here.11:58
=== ln- changed the topic of #ubuntu-devel to: Intrepid created, frozen for toolchain | Ubuntu 8.04 LTS released! | Development of Ubuntu (not support, not dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs
ln-now the spaces are gone.12:00
sorenEr...12:00
sorenYeah, and a lot of other stuff, too.12:01
cjwatsonthat's as may be, but you deleted a big chunk12:01
=== cjwatson changed the topic of #ubuntu-devel to: Intrepid created, frozen for toolchain | Ubuntu 8.04 LTS released! | Development of Ubuntu (not support, not application development on Ubuntu) | #ubuntu for support and general discussion for dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs
cjwatsonshould be better now12:01
ln-sorry, had to copy-paste manually because the spaces-or-whatever-characters were confusing irssi. missed a line.12:04
ln-this is what happens when non-critical bugs are fixed.12:09
james_wKeybuk: I'd love it if patches.ubuntu.com started updating again as well, I find it invaluable during merging. Thanks.12:11
pochucjwatson: hi, there's no intrepid-changes list created yet, will there be one once intrepid is opened so that uploads to intrepid are recorded there?12:14
pochucjwatson: nevermind, I missed it :/12:14
sistpoty|workpitti: thanks for fixing hardy-proposed :)12:14
pochuhttps://lists.ubuntu.com/mailman/listinfo/Intrepid-changes12:14
Ng./win 5212:14
Nggar12:14
cjwatson(should work lower-case too)12:15
pittisistpoty|work: wasn't me, thank cprov; now the publisher actually needs to run, then we shuold be ready to go12:15
sistpoty|workthanks cprov ^^ :)12:15
cjwatsonpochu: the -changes list is a prerequisite for getting the distroseries created properly in Launchpad, so it's always there first, FYI12:15
calcpitti: sorry was away12:29
calcpitti: family matters were bothering me which has since been mostly resolved :)12:30
calccombined with the fact that i have been feeling ill for the past several days12:30
calcnot sure why i have been having trouble sleeping the past week though, before sat i wasn't feeling sick12:31
calcmaybe due to the weird hours getting ready for the release, heh12:31
* calc bbiab going to get breakfast12:32
=== Tonio__ is now known as Tonio_
=== davmor2 is now known as davmor2_lunch
* pitti hugs calc, all the best then!13:23
pitticprov: hm, publisher should long be done now, but http://archive.ubuntu.com/ubuntu/dists/hardy-proposed/main/binary-i386/Packages.gz is still empty :(13:24
calcyummy that was good :)13:25
pitticprov: argh, apparently pinging you helped -- after that very second it worked13:25
pitticprov: i. e. the indexes are now non-empty, but packages themselves are still 40413:26
cprovpitti: in drescher ?13:26
pitticprov: but I guess that's just the normal mirroring delay (although they could really mirror /pool first, and then /dists)13:26
pitticprov: no, on archive.u.c.13:26
pitticprov: drescher was ok since Friday13:26
pittiaah, it caught up now13:27
pittihappy hardy-proposed upgrading, everyone!13:27
cprovpitti: :)13:27
\shgood bye edgy-changes , welcome intrepid-changes13:29
emgent:)13:31
=== chand[aw] is now known as chand
Hobbseeslangasek: so, why is there no obvious way to get a dvd version of ubuntu?13:52
MithrandirHobbsee: because bandwidth is expensive.13:52
HobbseeMithrandir: i realise that, but i would have expected it to be listed in a corner somewhere, or something.13:53
MithrandirHobbsee: or you could go for the alternative that we hate freedom.13:53
cjwatsonI think it goes with bug 122229; added a comment13:54
ubotuLaunchpad bug 122229 in ubuntu-cdimage "add pointers on cdimage.u.c to releases.u.c" [Medium,Confirmed] https://launchpad.net/bugs/12222913:54
cjwatson(http://cdimage.ubuntu.com/releases/8.04/release/ FWIW)13:54
Hobbseecjwatson: ah, thanks13:57
=== davmor2_lunch is now known as davmor2
=== asac_ is now known as asac
_lemsx1_I'm sure you guys are happy with the release of Hardy. I just wanted to say Thanks to all of you who make this distribution possible! Hopefully by now you are sober ;-)14:49
Hobbseenever!14:51
Hobbseeat least, for those who actually drink.14:51
ScottKDoesn't really matter.  There's nothing I'll do drunk that I won't also do sober.14:51
_lemsx1_good one! LOL ... well, after you get better, there is always work to be done ;-)14:52
_lemsx1_ScottK: not even driving?14:52
ScottKThere are things I won't do drunk and there are things that I will do sober that I won't do drunk, but AFAIK there is nothing I'll do drunk that I won't also do sober.14:53
ScottKThis is a challenge to live up to sometimes.14:53
_lemsx1_well, always make sure that you drink the finest and that you keep your livers healthy14:53
=== greeneggsnospam is now known as jsgotangco
=== Tonio__ is now known as Tonio_
calcdo we ask users for disk labels when creating filesystems during install?15:29
calcer not disk labels, but names for the filesystems15:30
cjwatsoncalc: not by default, no15:30
calccjwatson: ok15:30
cjwatsonyou can set them in the alternate installer if you work at it15:30
cjwatsonubiquity doesn't expose UI for that at the moment15:30
calcthat might be useful in that it displays the label instead of the "XX.X GB Media" if you do label it15:30
calci noticed that and then saw reference to it in that install report on the mailing list from earlier today15:31
cjwatsonaye15:31
calcof course that doesn't help the users who didn't label their windows partitions, but at least the linux ones will be good :)15:31
calcsynaptic doesn't remove users dotfiles does it?15:36
Amaranthno15:36
calcok wanted to make sure before i told a user that15:36
* calc never uses synaptic15:37
ograpackagemanagers generally dont do that :)15:37
AmaranthIf a package ever touches anything in ~ the packager needs to be shot :)15:37
ogra++15:37
mvocalc: its just a fancy apt frontend, it behaves pretty much like apt15:37
calcAmaranth: yep :)15:37
calcmvo: thats what i thought :)15:37
cjwatsonI'd actually like there to be a standard way for a package to declare which dotfiles it creates, so that it could in theory be cleaned up, although that absolutely mustn't happen without explicit acknowledgement15:37
mvo:)15:37
calcmvo: a user was claiming a complete uninstall via synaptic would remove the dotfiles and so i told him it does not15:38
cjwatsonif it were in the control metadata then you could write a UI that did it15:38
AmaranthI have wished a few times I could wipe out some compiz settings :)15:38
cjwatsonthough it might have to declare things like gconf paths as well as simple $HOME-relative dotfiles15:38
mvoAmaranth: indeed :)15:39
cjwatsonit would be very much preferable for it to be declarative rather than imperative though15:39
* calc wants the awesome crack of xdg dirs to be used :-)15:39
calcthen just rm -rf ~/.config15:39
cjwatsonaside from it being crack, that doesn't help when you only want to clean up configuration from certain packages, rather than blowing the whole lot away15:39
cjwatsonso only fulfils a very specific use case15:40
* ogra thinks ~/.config is just a lame way of hiding configs from your homedir15:40
cjwatsonI don't think most people want to blow away their mail configuration when their problem is just that OOo is misbehaving (for example)15:40
Keybukogra: that's what the "." is for15:40
calccjwatson: it still helps in that only general config stuff would be under .config, eg things like huge .evolution dir would be more sanely split up15:40
seb128Amaranth: I think we should get some user configuration cleaner for updates15:41
ograKeybuk, well, but it contains stuff that would otherwise sit in ~15:41
cjwatsonI have no objection to .cache or whatever it was, but (as argued before at length) I think .config is silly15:41
calcso configuration pertinent to accounts would not be under .config15:41
ograKeybuk, it just moves them down one level15:41
seb128calc: there is a blueprint about allowing renaming volumes in nautilus which would update the label15:41
seb128calc: pitti didn't manage to work on that this cycle but maybe next one15:41
calccjwatson: actual mail account configuration would be considered data which wouldn't go under .config, but individual settings that aren't important (overall) for evolution would go under .config15:42
calcseb128: ah ok :)15:42
cjwatsoncalc: that's a bizarre definition of configuration15:42
seb128upstream has also some discussion about allowing the customize the display name15:42
calcseb128: that would be better than being in the installer anyway15:42
seb128ie, having a field in the .mount for that15:42
cjwatson"configuration is data, other stuff goes into .config" eh?15:42
ograheh15:42
calccjwatson: account specific configuration would be considered data, iirc it was discussed in the evolution xdg bug upstream already15:43
cjwatsonI think this just goes to show how broken the xdg home directory specification is15:43
calceverything not specific to the way the account was setup would go under .config15:43
=== ogasawara__ is now known as ogasawara
cjwatsonthe problem is that the contrary viewpoint is hard to express in a specification because it amounts to "dotfiles are fine just the way they are, please leave them alone" which doesn't make for a good XDG spec ;-)15:44
calcmost apps configuration can be blow away without any long term consequence, blowing away email account setup information is different15:44
KeybukI don't even understand _why_ we need the xdg home directory specification15:44
cjwatsonit seems totally bizarre to me that configuration would be regarded as something you might want to blow away as a matter of routine15:45
cjwatsonwe go to such lengths to preserve it15:45
calcwe didn't really need FHS either, but it made things a lot cleaner and easier to deal with15:45
calcthings like OOo still don't care about FHS (argh)15:45
Keybukcalc: FHS documented existing practice15:45
calcKeybuk: /srv ?15:45
Keybukwhereas the XDG thingy invents something totally new and contrary15:45
calcthere are bits of FHS that were invented15:45
Keybukcalc: 99% of the FHS concerns things like /usr15:45
ScottKand Windows like (xdg)15:45
calc /srv being a prime example15:45
cjwatsonrm -rf .config is little different from rm -rf ~/.[A-Za-z]*; nothing in one's dotfiles is more valuable than configuration15:46
Keybukimagine if the FHS suddenly, one day, said we needed /Programs and /Libraries15:46
Keybukinstead of /usr15:46
cjwatson(cached data, for example, is less valuable)15:46
Keybukthat's the level of change the XDG stuff introduces15:46
Keybukfor less discernible benefit15:46
calccjwatson: all email in evolution is in a dotdir15:46
cjwatsonI think that is also a bug :-)15:46
calccjwatson: unless you use imap (like me)15:46
persia(and a world-readable dotdir by default)15:46
cjwatsonmy mail lives in ~/mail15:46
calcKeybuk: it said we need lib32 on ia64 and lib64 on amd64, equally insane things ;-)15:47
Keybukcalc: no, the LSB said that15:47
calcoh yea i got the two confused, sorry15:47
cjwatsonthe FHS makes it easier to share files among machines, at least in theory (hence the /usr/share thing)15:47
Keybukand I have quite negative feelings towards the LSB :)15:47
Keybukbut I get told off for sharing them15:47
calcok :)15:48
* calc thinks we should get multiarch done and into LSB15:48
calccjwatson: though we have no arch indep configuration dir :\15:48
cjwatsonXDG homedir makes it impossible to NFS-share your home directory among machines, because if applications ever start gradually transitioning towards XDG homedir then each application in turn will break depending on relative versions of applications between operating systems15:48
cjwatsoncalc: in the past, I have successfully shared home directories between wildly variant operating systems, including completely different variants of Unix and completely different architectures15:49
cjwatsonit really isn't difficult15:49
cjwatsonthe only thing that required any work at all was .bashrc (for terminal setup) and a couple of C programs in ~/bin which could easily be dealt with by an ad-hoc architecture-dependent directory15:49
calcok15:50
cjwatsonas far as I can see, the XDG home directory specification was written by folks who had never done this or considered it valuable15:50
calcapplications do change their files around (esp KDE at least used to be like this) often enough that sharing between versions was hard15:50
cjwatsonand certainly there are some applications that are quite sensitive about the contents of /home, but it's easy enough to control those and generally you only run those on the machine that's running your X server and/or desktop environment15:51
cjwatsonmost applications do not suffer from this problem, in my experience15:51
cjwatsonbut XDG homedir proposes moving all their configuration files anyway, thus *forcing* them to break in order to comply, even if they've otherwise been stable for a decade15:51
cjwatsonif you're sharing a home directory, many of the applications you run on the machines other than the one hosting your desktop environment are in fact ones that have been stable for years15:52
cjwatsonI don't see KDE as an issue, because you don't ssh to that server over there and start a KDE program :)15:52
calcheh :)15:53
cjwatsonbut you do start a shell, a revision control tool, an editor, maybe a command-line mail client, etc., all of which have dotfiles15:54
cjwatsonso it probably doesn't matter if the desktop environments decide to move to .config (because as you say it was hard to share things like gconf anyway), but I think we need to oppose the whole operating system following suit15:55
calcif they properly support upgrades it shouldn't be an issue(?)15:55
cjwatson"they"?15:56
calcwhere they use the old files if they exist otherwise create new ones in the xdg location?15:56
calcthey being whatever app transitions to xdg15:56
cjwatsonit is an issue because if you're sharing a home directory among lots of machines you do not upgrade them all at once15:56
cjwatsonusually it is completely infeasible to do so15:56
calcassuming the file exists in the home dir it would not get recreated/removed unless the user deleted the dotfiles?15:56
cjwatsonnow suddenly you have to keep two versions of the file in sync15:57
calcthere wouldn't be two versions of the file in the NFS homedir case, afaict15:57
cjwatsonwhy not?15:57
ograindeed you want your settings to be the same on all machines you mount your home on :)15:57
cjwatsonalso, this is fairly complex code that you have to introduce into every application with a dotfile15:58
calcold app uses old file location, new app sees old file location and uses that, doesn't write new file since it has no need15:58
cjwatsonmore lines of code == more bugs15:58
ogracalc, but both apps should have the same settings15:58
calcit would at minimum have to move the file to be upgradable though, so not too much more code15:58
ogrameaning that "new app" needs to maintain duplication15:58
calcogra: they would be using the same file so would be15:58
cjwatsonunacceptable new code15:58
cjwatsonseriously15:58
cjwatsonmoving the file would break old versions of the application15:59
calccjwatson: code to check what path to use for the configuration, thats a couple lines at most15:59
ogracalc, that doesnt guarantee that a setting i change in "new app" is used by "old app"15:59
cjwatsoncalc: why put the effort in to add that code to thousands of different applications?15:59
calccjwatson: the moving bit would be assuming they would transition to xdg at all and decided not to support multiple versions using the same config file15:59
cjwatsonif you're talking about this at an operating system level, that's what's involved15:59
ograthe new one needs to adjust the old settings in the dotfile as well as the xdg config to achieve that15:59
cjwatsonit's a completely unacceptable amount of work to invest across the board15:59
calccjwatson: i'm just talking about what it would take for an individual developer to port their own app, not doing at an os level16:00
* calc doesn't think OS people should be doing this work themselves16:00
calcchanging large amounts of code without upstream support for anything not just this is a bad idea, unless you want to maintain huge patches forever16:01
cjwatsoncalc: people manage to introduce security bugs due to string concatenation in C; I see no reason why checking multiple file locations (involving querying an environment variable for the location and falling back to the default, then concatenating strings) wouldn't introduce bugs16:01
cjwatsonthere has to be a serious benefit that's more than just aesthetic16:02
cjwatsonnow, that cache directory tagging standard was good16:02
ScottKSo far the only benifit I've realized from the XDG changes is I have to reset a bunch of apps to point back to where I want them to point (where they were before).16:02
cjwatsonhttp://www.brynosaurus.com/cachedir/16:02
calcoh btw do you happen to know if we are going to be supporting the new deb source formats soon?16:02
calcapparently they now (or will soon?) support different source formats than just diff.gz16:03
cjwatsonI'd like to, but haven't spoken with the Soyuz guys yet16:03
cjwatsonI don't think we should dive in straight away though, they're still explicitly experimental16:03
calcwe probably need Soyuz support by the time lenny ships16:03
calcsince aiui dd's will be allowed to use them at that point16:03
ografor 9.04 then ?16:03
cjwatsonI don't think the Debian archive will permit them for lenny; have you heard something to the contrary?16:03
calccjwatson: lenny+1 which will be later this year(?)16:04
cjwatsonthe Debian archive team aren't usually notably neophilic :)16:04
calcwell lenny releases later this year is what i mean, at which point i think dd's will be allowed to use the new format for lenny+116:05
cjwatsonoh, I see16:05
calcso if we sync from sid after lenny we will need to support the new format16:05
cjwatsonright16:05
cjwatsonI don't think the Soyuz changes are likely to be particularly hard16:05
cjwatsonthough I suspect it would involve database changes16:05
calcso we probably need to get soyuz people to get it working as soon as the new format is stable (if it isn't already)16:05
cjwatson(there's an enum type in there that has .dsc, .diff.gz, etc.)16:05
cjwatsonI don't think it's stable yet, no16:06
cjwatson(I wrote the 3.0 (bzr) format and have been vaguely keeping an eye on it)16:06
calcok16:06
cjwatsonthough I know buxy is pushing 3.0 (quilt) pretty hard16:07
calcso will there be multiple final formats (bzr/quilt/etc) or just one that will be picked?16:07
* calc hasn't read that much about it yet16:08
buxythere's no answer for that yet16:08
buxyit depends on ftpmasters16:08
buxyajt wanted to allow multiple formats (he's fond of the git one in particular) but he's no more ftpmasters16:09
calcyea i saw that :-\16:09
buxyI would prefer if we started by only allowing the quilt (which is really wig&pen enhanced) + native16:09
buxyones16:09
cjwatsonI'd obviously prefer to be able to use any of them (eventually) ;-)16:10
=== Sebast1an is now known as Sebastian
buxyI would prefer to keep the .dsc as a snapshot of sources, but I'd like to have official centralized repositories that can be used to maintain packages16:11
calcis there a page that explains how the new formats work?16:11
buxywhere we can release just by pointing to a tag or something like that16:11
buxycalc: man dpkg-source with a recent dpkg-dev16:12
buxy(1.14.17/18)16:12
buxyhttp://people.debian.org/~hertzog/dpkg-source.html16:12
calcah hardy is too old16:12
cjwatsonbuxy: certainly what we'd like to have in Ubuntu, by way of active importing of the world into bzr16:12
calcthanks for the url16:12
calcam i wrong in intrepeting format 3.0 as just allowing eg diff.lzma diff.bz2 and turning on the -I options for vcs?16:15
buxythere's no .diff in 3.016:15
calcoh16:16
buxythere's a debian tarball in 3.0 (quilt)16:16
calcer 3.0 native i mean then16:16
calcsorry dropped the native part16:16
calcof native means debian native (eg 1.0 not 1.0-1)16:16
calcs/of/oh/16:16
buxynative is like native right now, a single tarball16:16
calcok i see :)16:16
buxybut yes it's native like now except that you can use tar.bz2  and .tar.lzma16:17
buxyand that it will ignore some files by default16:17
calcso this component bit, why was it decided to extract them into subdirs based on name instead of just in the top level of the tree?16:18
calcseems component orig's have been made less useful that way16:18
seb128buxy: no diff means that you have to upload the whole source every time?16:19
buxyI simply took the wig&pen specification for that part, but I don't see it as a big problem16:19
buxycalc: what use case do you see?16:19
buxyseb128: of course not, you upload only the debian tarball (ie the content of the debian directory)16:19
calcwell it probably couldn't be used for OOo anyway, but in OOo's case we have multiple tarballs that all extract into the same top level build dir16:20
cjwatsonseb128: it's a diff, just not a .diff ;-)16:20
seb128ah :-)16:20
calccurrently we put them all in one .orig and then unpack them during build16:20
calci'm just not sure of what use cases having separate component origs that are named after the component is actually useful, but i'm sure there are at least use cases :)16:21
buxycalc: what do they contain those tarballs? multiple directories each?16:21
calcbuxy: yes16:21
calcOOo is gross don't worry about it too much ;-)16:22
calcsome of the tarballs unpack all over the place into existing dirs from other tarballs as well, eg the i18n one16:22
buxywell, not many software use multiple tarballs, if the feature doesn't work for them, it's a bit sad :)16:22
calcfor git/bzr formats does that mean the tarball is the entire repository?16:24
calc"The tarball is unpacked and then the VCS is used to checkout the current branch. "16:24
buxycurrently yes16:24
calcwouldn't that make really HUGE orig's ?16:24
buxyit depends on the software of course, it's one of the problems with those formats16:25
* calc imagines doing this with OOo and having terabyte orig files ;-)16:25
buxyand the other problem is that you have no .orig and thus reupload everything each time16:25
calci'm not sure if the exceedingly large size of the bzr/git tarballs would make them ever really a good idea16:26
* calc probably is missing something though16:26
jdongcalc: it probably shouldn't have to be completely transferred each time16:26
jdongcalc: and git/bzr both are working on "partial history horizons"16:27
buxyuntil we have "shallow clones" in bzr (like in git)16:27
Mithrandirjdong: nuking history in git is simple enough.16:27
jdongcalc: not to mention at some times the git/bzr storage format for complete history is not much larger than a full checkout16:27
buxyjdong: but nobody implemented the code in dpkg to generate such partial repositories yet16:27
calcjdong: ah very shallow history would be useful yea :)16:28
=== beuno_ is now known as beuno
sistpoty|workany archive admin around, who could copy xmms-crossfade to hardy-updates from hardy-proposed (bug #208666)?16:38
ubotuLaunchpad bug 208666 in xmms-crossfade "audacious crashed with SIGSEGV in g_type_check_instance_cast()" [Medium,Fix committed] https://launchpad.net/bugs/20866616:38
xhakerjdong: updates on transmission? it seems you haven't found the time to upload the menu fix16:49
hwildeKeybuk, time for a udev question?16:53
Keybukhwilde: of course?16:53
hwildeKeybuk, can I do udevs for the usb inputs?  the ttyUSB?  switches every reboot    http://pastebin.com/m750bddea16:54
hwildeit's like udevinfo doesn't get enough info to make distinct rules16:54
Keybukpersistent names?16:54
Keybukyeah you could use udev to do that16:54
hwildeon reboot it re-enumerates /dev/ttyUSB0 through USB6 to different places16:54
hwildeudevinfo only sees USB_BUS and USB_DEV and this is not persistent16:55
Keybukwhat does udevinfo -a -n ttyUSB0 give you?16:55
Keybuk(nopaste)16:55
hwildethe way I do it now is I run readlink -fn and then I parse the physical mapping16:56
DB42will mono 1.9.1 get into ubuntu 8.04 ? is so, when, if not, why ?16:56
KeybukDB42: ubuntu 8.04 is released already16:56
persiaHow does udev differentiate equipment with the same vendor:model string and same characteristics?16:56
Keybukpersia: example?16:56
DB42Keybuk: so it's a version freeze till 8.10 ?16:56
KeybukDB42: exactly16:56
persiaKeybuk: Two identical serial converters.16:56
DB42that totally sux :(16:57
Keybukpersia: probably no way to distinguish them then16:57
hwildepersia, Keybuk, yeah check my pastebin that is my question I guess16:57
persiaKeybuk: Thanks for the confirmation.16:57
Keybukhwilde: can you provide the output of that command?16:57
KeybukDB42: that's the _whole_point_of a release?16:57
hwildeKeybuk, it doesn't work are you sure that is th right syntax16:57
KeybukDB42: it represents the end of work on a particular version, and when we begin on the next16:57
Keybukhwilde: what does it say?16:57
hwildeKeybuk, attribute walk on device chain needs path(-p) specified16:58
DB42will there be a backport or so ?16:58
Keybukhwilde: ? which version of udev/ubuntu?16:58
KeybukDB42: maybe, if you ask someone on the backports team16:58
persiahwilde: It worked for my serial device.  Are you sure you typed `udevinfo -a -n ttyUSB0`?16:58
hwildeah this is an older system16:58
hwildegrub defualt :/16:58
Keybukhwilde: try -a -p /class/tty/ttyUSB0 instead16:58
hwildeKeybuk, http://pastebin.com/m5bb726d617:01
Keybukhwilde: a rule to match that exact device and call it "beetroot" would look like:17:02
Keybuk  SUBSYSTEM=="tty", SUBSYSTEM=="usb", SYSFS{serial}=="FTDD9V1Q", SYMLINK+="beetroot"17:02
Keybukor on a modern system:17:02
Keybuk  SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{serial}=="FTDD9V1Q", SYMLINK+="beetroot"17:03
hwildeoooo unique sysfs17:03
hwildehold on i'm rebooting into 8.0417:03
hwilde  /devices/pci0000:00/0000:00:0f.5/usb2/2-2/2-2.1/  [2-2.1:1.0]  /ttyUSB0     I was doing it by parsing the readlink part in [brackets] to get the physical mapping, then making symlinks :)17:04
=== DktrKran12 is now known as DktrKranz2
hwildeKeybuk, here is "udevinfo -a -n ttyUSB0-3" on 8.04   http://pastebin.com/m40b01e9417:07
hwildeATTRS{serial} are all the same  ATTRS{serial}=="0000:00:0f.4"17:08
hwildethat's the usb hub address17:08
Keybukright17:08
Keybukthere's no serial number on that one17:08
Keybukso just start from the top down adding attributes until you're happy17:09
Keybukyou'll want one from the top since you want to match the ttyUSBx device17:09
Keybuk    SUBSYSTEM=="tty"17:09
hwildeit is the same device tho17:09
hwilde[   93.464265] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB017:09
Keybukskip down a few until you get to the actual usb device (ones in the usb subsystem)17:09
Keybuk#17:09
Keybuk    ATTRS{idVendor}=="0403"17:09
Keybuk#17:09
Keybuk    ATTRS{idProduct}=="6010"17:09
Keybuk#17:09
Keybukthose are usually good17:10
Keybukyeah you're looking at the serial of the usb hub17:10
Keybukfor whatever reason, that device doesn't have a serial number or it isn't being picked up17:10
Keybukhmm17:11
Keybukyour main problem is going to be that you have three identical ftdi's :p17:11
hwildeyes17:12
hwildehere is all 617:12
hwildehttp://pastebin.com/m388fc48917:12
ograseb128, fyi http://bugzilla.gnome.org/show_bug.cgi?id=53037917:12
ubotuGnome bug 530379 in gio "Inaccessible mount points appear on other user's desktops" [Normal,Unconfirmed]17:12
seb128ogra: thanks17:12
KeybukttyUSB0 and ttyUSB1 are the same _physical_ device?17:12
ogra(i was just hunted down by warren for it)17:13
ograseb128, it seems josselin never forwarded the old patch for gnome-vfs :(17:13
hwildeKeybuk, nope there are six distinct devices17:13
ograelse it would have taken into account before already17:13
Keybukhwilde: I'm not sure I believe you :p17:13
Keybuk#17:14
hwildeKeybuk, hold I will show you the readlinks... that's the only way I am parsing the phsyical inputs17:14
Keybuk    KERNELS=="1-1:1.0"17:14
Keybuk#17:14
Keybuk    ATTRS{bInterfaceNumber}=="00"17:14
Keybuk(^ ttyUSB0)17:14
seb128ogra: what gnomevfs is doing would not have made a difference on gvfs, they didn't try to copy gnomevfs17:14
Keybuk#17:14
Keybuk    KERNELS=="1-1:1.1"17:14
Keybuk#17:14
Keybuk    ATTRS{bInterfaceNumber}=="01"17:14
Keybuk(^ ttyUSB1)17:14
Keybukthat to me says one device, with two interfaces ;)17:14
ograseb128, but they try to get on par with features17:14
hwildewell yeah, that one is the hub17:14
hwildethere are two hubs17:14
seb128ogra: no, they try to fix all the issues they can17:14
ograif it would have been fixed in gnome-vfs chances would have been greater that they implemented it from the begining17:15
Keybukhwilde: hub with a USB serial converter?17:15
seb128ogra: might be, anyway that's a detail17:16
ograyeah17:16
ograthey just ranted at me thyt they didnt know about it17:16
ogra(davidz specifically)17:16
hwildeKeybuk, hold on hold on I can only pastebin so fast17:17
hwildeKeybuk, http://pastebin.com/m56069e0417:17
hwildeKeybuk, see the readlink outputs?  and the MAP= part?  That much is consistent so I parse it in rc.local on boot.  but the ttyUSB? are re-assigned randomly every reboot17:17
hwildeKeybuk, so back to my original question, can I use udev to do this?  It seems like udev doesn't get enough (unique) info to make rules17:18
seb128ogra: http://bugzilla.gnome.org/show_bug.cgi?id=352381, they should read bugzilla17:18
ubotuGnome bug 352381 in Volume and drive handling "do not show inaccessible volumes" [Normal,Unconfirmed]17:18
hwildeor maybe somebody understand how the ttyUSB? are enumerated and I could fix that part ?17:18
Keybukhwilde: right, those should be consistent17:18
Keybuksince that's the USB tree17:18
ograseb128, yeah, just noticed you had duplicated17:18
Keybuk6 hanging off one hub17:18
ograheh17:18
Keybuk1 on the other hub17:18
hwildeKeybuk, yes it's disgusting...17:19
Keybukstill looks like you have four physical devices there17:19
hwildeKeybuk, here is one with 7 http://pastebin.com/m750bddea17:20
seb128ogra: I also added a comment to point to the gnome-vfs bug17:20
ograseb128, thanks, youre a hero17:20
seb128np17:20
Keybukhwilde: that's the same system?17:20
seb128ogra: and if you davidz online tell him that the gnome-vfs patch is in bugzilla for some years17:20
Keybuklooks like you just added another device on the second hub17:20
hwildeKeybuk, similar but not identical...17:20
hwildeKeybuk, same idea17:20
Keybukhwilde: match on the kernel name then17:21
Keybuk    KERNELS=="1-1:1.0"17:21
ograseb128, i'm proxying through warren (from which i hear once a week at least that ubuntu never sends stuff upstream) thanks for giving me ammo :)17:22
xhakerjdong: I'm doing a merge from debian unstable, they use quilt in the packaging now.17:22
seb128ogra: yeah, they like to complain about that17:23
hwildeKeybuk, ATTRS{serial} plus the KERNELS woudl basically give me the mapping "mastermodule" "0000:00:0f.4/.*/1-3:1.0"17:23
ograseb128, which is quite funny in #ltsp ... since they just steal all my stuff into fc917:23
hwildeKeybuk, should I make this 50 because it's user defined or 60 because i'm making symlinks17:27
Keybukwhichever suits your fancy17:27
Keybukhwilde: right17:27
KeybukPCI name of the USB bus will be constant given no hardware change (the 0000: bit)17:28
Keybukand the USB device name will be constant given no recabling17:28
seb128pitti: when will you update the language packs in hardy?17:29
hwildeKeybuk, so in this example http://pastebin.com/m56069e04, to match     "laser" "0000:00:0f.5/.*/2-2.2:1.0"   it would be17:30
hwildeKeybuk,    SUBSYSTEM=="tty", SUBSYSTEM=="usb",  KERNELS=="2-2:1.0",    ATTRS{serial}=="0000:00:0f.4"17:30
hwildeSYMLINK+="laser"17:31
hwildef.4/f.5  typo17:31
KeybukSUBSYSTEMS on the second one17:32
Keybukactually17:32
hwildemundane detail :)17:32
Keybukare you writing this rule for 8.0417:32
Keybukor some other version?17:32
Keybukno, VERY IMPORTANT detail17:32
hwildenot an office space fan I see17:33
hwildeyes that was for the old pastebin17:33
Keybuknot sure I know what the rule for non-8.04 would look like17:33
Keybuksomething like that though, yes17:33
jdongxhaker: (1) Cool that they use quilt, I will pull that in then (2) I'm not core-dev so I can't upload packaging of transmission anyway17:35
hwildewell I can still get   SYSFS{serial}=="0000:00:0f.5"17:35
jdongxhaker: I put the debdiff on the bug report in plenty of time to release with the proper teams subscribed and it failed to be noticed17:35
hwildebut it doesn't have the other half17:36
jdongI'm afraid at the time I did all that was in my ability to do :(17:36
Keybukhwilde: don't use {serial} like that17:36
Keybukuse KERNELS17:36
Keybuk  SUBSYSTEM=="tty", SUBSYSTEMS=="usb", KERNELS=="1-1:1.0", KERNELS=="0000:00:0f.4", SYMLINK+="beetroot"17:37
hwildeKeybuk, ok in this example which is 8.04  http://pastebin.com/m56069e04    SUBSYSTEM=="tty",  SUBSYSTEMS=="usb",  KERNELS=="1-1:1.0",  ATTRS{serial}=="0000:00:0f.4"17:38
hwildeKeybuk, in this example which is 7.04 http://pastebin.com/m5bb726d6      SUBSYSTEM=="tty"   SYSFS{serial}=="0000:00:0f.5"     but I don't see how to get the last part?  I have to go through every machine and use unique SYSFS{serial}=="FTDW5K4C"  ?17:41
Keybukhwilde: replace ATTRS{serial} in the last part with KERNEL17:42
KeybukKERNELS, sorry17:42
hwildeoh ok then I can just use ID=="2-2.2:1.0"17:42
hwildeKeybuk,  8.04  http://pastebin.com/m56069e04    SUBSYSTEM=="tty",  SUBSYSTEMS=="usb",  KERNELS=="1-1:1.0",  KERNELS=="0000:00:0f.4"17:43
hwildeKeybuk,  7.04 http://pastebin.com/m5bb726d6      SUBSYSTEM=="tty"   SYSFS{serial}=="0000:00:0f.5",  ID=="2-2.2:1.0"17:43
Keybukagain, replace SYSFS{serial} with ID in that last one17:45
hwildewhat's the difference ?17:46
pittiseb128: not sure; next week maybe? too soon doesn't make sense17:46
hwildeKeybuk,  7.04 http://pastebin.com/m5bb726d6      SUBSYSTEM=="tty"   ID=="0000:00:0f.5",  ID=="2-2.2:1.0"17:46
Keybukright17:46
hwildethat's ok without SUBSYSTEMS=="usb"   ?17:46
Keybukyeah17:46
KeybukI'd still stick BUS=="usb" in there17:46
Keybukfor safet17:46
seb128pitti: ok, that's because of bug #197224, nautilus crashing in spanish locale when trying to duplicate a file or when you get a file conflict due to bad translations17:47
ubotuLaunchpad bug 197224 in language-pack-gnome-es "nautilus crashed with SIGSEGV in g_file_query_info()" [Medium,Fix committed] https://launchpad.net/bugs/19722417:47
hwildeKeybuk,  7.04 http://pastebin.com/m5bb726d6      SUBSYSTEM=="tty",  BUS=="usb", ID=="0000:00:0f.5",  ID=="2-2.2:1.0"17:47
pittiseb128: tomorrow we should get daily packages in the PPA, which should be tested for that bug17:47
pittiseb128: (today's failed to build, I fixed that)17:47
seb128pitti: ok, thanks17:47
Keybukhwilde: yup17:48
pittiseb128: and I'd wait until we fixed the Firefox translations (currently discussing with asac)17:48
seb128pitti: is that still your ppa or do you have a translations one now?17:48
Keybukhwilde: you see that all you've done is pick lines from the udevinfo output17:48
pittiseb128: it has been ~ubuntu-langpack PPA for quite a while17:48
seb128pitti: otherwise maybe we can consider a manual sru for the spanish gnome language pack maybe?17:48
pittiseb128: if the daily one is tested successfully, we can copy just that, instead of the entire lot17:48
pitti(easier, IMHO)17:49
hwildeKeybuk,  umm all YOU did was pick lines from udevinfo :)17:49
seb128pitti: ok, thanks17:49
Keybukhwilde: yes, but you can now pick the same lines for other devices ;)17:49
hwildeKeybuk, yes I can associate lol17:49
hwildeKeybuk, my serial finder script works, i'm sure I can handle doing it the *right* way now17:50
Keybukhwilde: the reason I'm shying away from that {serial} thing is that I suspect it's a bug it's there at all ;)17:50
hwildefair enough17:50
Keybukthat should be the hardware serial number17:50
Keybuknot the PCI ID :p17:50
hwildeKeybuk, I have 174 systems to test this on... i'll get back to you with the results17:51
hwildeKeybuk, just to be clear... the symlink is created like /dev/beetroot   right ?17:55
Keybukhwilde: right17:58
hwildeKeybuk, could I change it to SYMLINK+="usb_serial/beetroot"  and it would make /dev/usb_serial/beetroot?  my programs are looking there already18:00
Keybukyes18:01
Keybukassumedly your programs aren't looking for beetroot though ;)18:01
mathiazseb128: do we usually ship the latest gnome version in Beta ?18:11
rod0009bryce18:12
rod0009you there?18:12
jdongbryce: I've been working with rod0009 for a while on diagnosing an intel driver issue18:12
jdongbryce: no DRI devices seem to be created for his GMA95018:12
hwildeKeybuk, can I just make a new /etc/udev/rules.d/61-beetroot.rules     and it will run automagically?  I can't find any reference to what runs these18:12
jdongall config looks right18:12
jdongbryce: possibly manifestation of bug 20476218:12
ubotuLaunchpad bug 204762 in linux "[Hardy] No DRI with Intel GMA 950 (aka 945GM)" [Unknown,Fix released] https://launchpad.net/bugs/20476218:12
rod0009:-$18:13
rod0009yeah all he said18:13
rod0009^^18:13
bryceheya18:13
rod0009hey18:13
* jdong watches suspensefully as our xserver-xorg-video-intel deity does his magic18:13
rod0009lol18:14
hwildedemideity18:14
brycerod0009: can you post your Xorg.0.log and xorg.conf someplace?18:14
jdongbryce: http://pastebin.ca/1000561 xorg.0.log18:14
Keybukhwilde: it will be used, yes18:14
Keybuk(next time the devices are inserted)18:14
Keybukif you want to force them, run udevplug/udevtrigger/udevadm trigger18:14
hwildenice18:15
jdongbryce: line 647 catches my eye, /dev/dri/* is empty18:15
hwildewhat about the whitespace, does it have to be tab before SYMLINK18:15
rod0009http://pastebin.ca/1000556 there is the xorg.conf18:15
bryceok xorg.conf looks good... still reviewing log18:16
rod0009sure take your time :)18:17
brycehmm, well one thought is that if those devices are missing, it may be a kernel problem18:18
bryceI'm fairly sure xorg doesn't create anything under /dev...  I think that's all kernel business18:19
rod0009uhm what should ido?18:19
jdongbryce: see the bug I referenced, it seems relevant. Linked there is an upstream  linus-2.6 git changset for the DRM subsystem18:19
jdonghttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3bf48468fe84468a148e4f19465e0a725c0f977b18:19
jdongthat commit18:19
seb128mathiaz: what do you mean in beta? we ship the current unstable GNOME as soon as it's available during the unstable cycle and then the stable one and updates18:20
looldoko: Hey, openjdk-6-jre-headless seems broken on lpia; /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory18:20
hwildeKeybuk, ah udev is freakin beautiful!!!  I can take my script out of rc.local ahahahaahahaaa18:20
looldoko: I think you specialized these dirs for amd64/i386; under lpia, it sees i38618:20
seb128mathiaz: hardy beta had 2.22.0 and hardy has 2.22.118:20
looldoko: Do you want a bug?18:20
brycejdong: yeah that looks on the right track18:20
jdongbryce: with that said I think fix released is the wrong status for the Ubuntu bug, should be reassigned to kernel and on the queue for the next kernel update18:21
bryceogasawara_: you about?18:22
jdongrod0009: roughly stated, the kernel module responsible for 3D acceleration doesn't know about your flavor of the GMA950 chip18:22
ogasawara_bryce: yah, what's up18:22
jdongrod0009: we need to pull in a kernel change that introduces support for your card18:22
rod0009sounds ugly18:22
rod0009pulling stuff around18:23
jdongrod0009: can you pastebin a lspci -vvv?18:23
rod0009sure all will do all u want18:23
rod0009i*18:23
bryceogasawara_: bug 204762 has been marked fixed, but I think there may still be work to do in the kernel to solve it18:23
ubotuLaunchpad bug 204762 in linux "[Hardy] No DRI with Intel GMA 950 (aka 945GM)" [Unknown,Fix released] https://launchpad.net/bugs/20476218:23
dokolool: don't think so, the libjli.so not found thing seems to be something else, never did see this myself.18:23
bryceogasawara_: the fix was identified and one guy confirmed it, however jdong and rod0009 are having the same problem still18:23
dokois this a live CD?18:23
rod0009jdong wheres that file18:23
looldoko: Happens during postinst18:24
looldoko: No, on a live system18:24
jdongrod0009: it's a command18:24
looldoko: NB: I do have the lib in this package though openjdk-6-jre-headless: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so18:24
* bryce rereads bug18:24
bryceohhh, got it - it's marked fixed upstream now, but the patch hasn't been applied to Ubuntu18:25
rod0009like this? rodrigo@rodrigo-laptop:~$ lspci-vvv18:25
rod0009bash: lspci-vvv: orden no encontrada18:25
jdongrod0009: space18:25
rod0009ok will bin paste18:25
bryceogasawara_: so I think this one may be an easy bug - if you can get the kernel team to incorporate that patch, it should solve it18:25
looldoko: + /usr/lib/jvm/java-6-openjdk/bin/java -client -Xshare:dump18:26
jdongrod0009: nvm I got it.18:26
loolIs what fails18:26
jdongfrom his Xorg.0.log:18:26
jdong#18:26
jdong(II) PCI: 00:02:0: chip 8086,27ae card 103c,30d5 rev 03 class 03,00,00 hdr 8018:26
jdong0x27AE is the ID we need18:26
jdongand it *exactly* the ID that git changeset http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=drivers/char/drm/i915_drv.h;h=675d88bda066312f5092a8e9b5443b31e76910d4;hp=c10d128e34dbd08beb949eef706d3ab11cee3a71;hb=3bf48468fe84468a148e4f19465e0a725c0f977b;hpb=164fc5dcd6a1026fc713f5c63fad899aa484888c adds.18:26
ogasawara_bryce: sure, I'll milestone it for 8.04.118:26
jdongogasawara_: thanks, you rock! :)18:26
bryceogasawara_: excellent thanks18:27
ogasawara_jdong: care to post a quick comment to the lp bug report18:27
jdongrod0009: I'd recommend to subscribe to that Ubuntu bug for e-mail updates18:27
jdongogasawara_: will do18:27
dokolool: how much memory do you have?18:27
loolMemTotal:      1025840 kB18:27
doko+s swap18:27
dokoand FreeMem?18:28
looldoko: -/+ buffers/cache:     211812     81402818:28
rod0009sowhat i should do now guys18:28
loolSo 800 MB18:28
dokolool: can you rerun this without directing the output to /dev/null?18:29
jdongrod0009: unfortunately at this time, wait for a kernel update or see if any kernel folks would be kind enough to spin a PPA kernel for you18:29
mathiazseb128: nv - I've found the answer18:29
rod0009what is a ppa¿?18:30
jdongrod0009: an APT repository system hosted on Launchpad18:30
rod0009:'(18:31
rod0009how long does the kernel updates take?18:32
looldoko: Same thing18:32
looldoko: You have IPv6?18:32
looldoko: I can give you access to the device18:32
jdongrod0009: well the 8.04.1 release is scheduled early june AFAIK18:33
rod0009oh so theres no way im getting visual effects lol18:34
jdongrod0009: unless you rebuild a kernel with that patch18:34
rod0009i see18:34
rod0009bad luck18:34
seb128jdong: early july rather18:34
jdongrod0009: unfortunately that's not something I have the time to do right now for you18:34
rod0009maybe i should try a older version?18:34
seb128jdong: or that's what the wiki says, you might have better informations ;-)18:34
jdongrod0009: but if you catch me some other day I might feel in the mood..18:34
rod00097.0?18:34
jdongseb128: I heard June today, I never checked myself :D18:35
rod0009jdong and if i change to 7.0?18:35
rod0009would it be fixed?18:35
jdongrod0009: trying 7.10 might be worth your time18:35
rod0009uhm18:35
jdongrod0009: I recall reading that this is a regression from our last release18:35
jdong"I dont know where the problem is, because in 7.10 it was allright."18:35
jdongrod0009: yeah; confirmed, it will work in the Gutsy Gibbon release18:36
=== Amaranth_ is now known as Amaranth
rod0009can i damage any hardware working like this?18:37
rod0009i dont feel like formating again18:37
jdongrod0009: no18:37
jdongrod0009: you just lack the ability to use 3D acceleration until this bug is fixed in Hardy18:37
jdongrod0009: people have lived through worse handicaps ;-)18:37
rod0009lol18:38
rod0009this only happens to me lol18:38
rod0009me and my luck18:39
looldoko: Hmm I recall StevenK changed something with our unionfs for java now18:44
loolStevenK: Hey, is your ume-config-common change for squashfs related to the bug I'm seeing?18:45
loolStevenK: /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory18:45
=== fta_ is now known as fta
=== gnomefre1k is now known as gnomefreak
=== __max_ is now known as _max_
ted1How could a python program segfault?18:58
mathiazseb128: gah - there are 51 pages on the ubuntuforums thread "HOWTO: Setup Samba peer-to-peer with Windows"19:02
persiated1: Any of a segfault in the underlying library, in python, or the program trying to be lower level than it ought.19:02
=== gnomefre1k is now known as gnomefreak
mathiazseb128: actually - 58 pages19:03
ted1persia: Hmm, that's not good.  I'm using d-feet, which is basically DBUS and GTK+... not good libraries to have problems.19:05
Mithrandirthe python bindings might be busted too19:06
persiaBy "segfault in the underlying library", I don't mean to imply a bug.  It may be that you're passing a function by reference as a callback that doesn't meet the needs of the callback in some way, etc19:08
lamontubuntu sighting: http://xkcd.com/416/19:21
ompaulMithrandir http://xkcd.com/413/  you said python   - you can import fix non? ;-)19:26
Mithrandirheh19:27
ion_from __future__ import ruby19:29
=== gnomefre1k is now known as gnomefreak
r1ddl3rHello, i need to ask a question about serial I/O on Ubutu19:45
r1ddl3rcan any1 help ?19:45
jdongthis isn't the channel to ask random development questions19:45
jdongserial IO on Ubuntu is furthemore no different than doing so on any Linux OS19:46
r1ddl3rwell oke, but i havent used I/O on Linux generaly, so i simply ask if there is some1 here to answer some of my questions or not19:46
r1ddl3rif i'm on the wrong channel sry19:47
jdongr1ddl3r: as I said, that's unfortunately off topic for this channel .This channel is for Ubuntu developers to coordinate development activity pertaining to Ubuntu itself19:47
r1ddl3roh kk, can you point me to some other channel?19:48
r1ddl3ranyway i get the point, farewell people19:49
seb128mathiaz: what is that about?19:49
dnearyHi19:52
dnearymjg59: About?19:52
tzafrirhi, any idea where can I find a reference to the chane SYSFS -> ATTR in udev rules?19:54
tzafrirJust got bitten by it, and found nothing about it in the changelogs19:54
dnearyI have a major problem with my upgraded laptop - resume doesn't work19:54
dnearyI suspend fine, but the screen doesn't wake up when I resume19:55
dnearyI'd love to know what causes it, and how to fix it19:55
dnearyWorked fine with 7.10 and 7.04 (in fact, 7.04 was when it worked best)19:55
ted1dneary: Unfortunately things changed between all of those releases :)20:00
dnearyted1: Indeed20:00
ted1dneary: It's probably that you need some quirks that aren't configured for your laptop now.20:00
dnearyI'll admit, some stuff got fixed too20:00
dnearyBut I've tried to stay as close as possible to vanilla20:00
ted1dneary: Do you know if there is an fdi file for your laptop?  (/usr/share/hal/fdi)20:01
dnearyWith 7.04 (or was it 6.10?) I had to install xrandr and get the xrandr applet working to give presentations, in 7.10 I had to reboot to windows :(20:01
dnearyted1: I'll look20:01
dnearyted1: It's a directory20:01
ted1dneary: yes, there are a bunch of files in that hierarchy.  Probably most interesting is ./information/*/*video-quirk*20:02
dnearyA DTD file and three subdirectories, information, policy, preprobe20:03
dnearyOK - 10freedesktop/*video-quirk20:03
dnearyMy model is in there20:05
dnearyvbe_post and vbemode_restore are set to true20:05
ted1Hmm, then probably the quirks are wrong?20:06
ted1You can try removing your model, which goes to a default set.20:06
ted1Which is probably relatively close to what happened in previous releases.20:06
ted1It's unfortunately a little bit of trial and error right now (atleast at the level I understand it)20:06
dnearyted1: OK, thanks20:07
dnearyI do know someone with the same model, maybe he's had more luch20:07
dnearyluck, even20:07
ted1dneary: Steal his FDI file ;)20:08
* ted1 can't wait for the day when laptop manufactures ship freedesktop.org their FDI files at design time.20:08
dnearyted1: At least now I know what the Magic File is20:08
mjg59dneary: Hi20:14
Keybukted1: I can't wait for the day that udev uses FDI files20:17
dnearymjg59: Hi there20:17
dnearyResume doesn't work for me, and I don't know how to find out what's wrong, or fix it :(20:18
dnearyYou wouldn't happen to have a Latitude D420 lying around the house, would you?20:18
mjg59dneary: Not a 420, nope20:18
mjg59dneary: But running what?20:18
ScottKdneary: I have a 430 that works fine (with Kubuntu anyway).20:18
dneary8.04, since this afternoon20:18
ted1Keybuk: I'm transferring my e-mail over to being embedded in FDI files ;)20:19
mjg59dneary: What graphics chipset?20:19
dnearyIntel20:19
ted1Joking aside, they are a good thing though.20:19
dnearyi91520:19
dnearyScottK: This worked fine before upgrading :}20:19
dnearyI suspect I will end up doing a fresh install, but I don't wanna...20:19
mjg59dneary: Any chance you can test from the livecd?20:20
* ScottK isn't sure what the difference between a 420 and a 430 is, but it might be something to look into.20:20
dnearydon't have one20:20
dnearyCould start downloading it20:20
dnearySuspend/resume works from the livecd?20:20
\shguys, the mails on post-hardy-changes ;) is it only toolchain uploads to get things for intrepid in order, or are the archives really open ?20:20
mjg59dneary: To RAM should do, yeah20:20
mjg59\sh: Topic20:21
dnearymjg59: OK - will try that tomorrow. Download underway20:21
\shmjg59, oh well, topic handling in xchat is evil...it shows the end, but not the beginning when you join ;)20:21
dnearyYour servers are getting pretty heavily battered20:21
dneary\sh: I see it all on xchat-gnome20:22
mjg59dneary: Thans20:22
dnearyThat contact problem's really annoying too20:22
\shdneary, looks like I have to resize gnome to a non-readable-fontset-for-blind-people-like-me :)20:22
dnearyChanging your schema between releases without a migration path... bold developers20:22
dnearyI see the start with an expander20:23
dnearySo let's say it works on the LiveCD, what can I do after that?20:24
mario_limonciellwhy are both acpi-support and pm-utils present on hardy?  are both actually used?20:28
mario_limonciellor more particularly;  why is the suspend and resume support in acpi-support still present, the other scripts for ACPI stuff clearly are still necessary20:30
scorcher7Hi, over the weekend I posted a patch to launchpad bug #173772 in atomix. The wiki said to come here and get a dev. to review the patch.20:40
ubotuLaunchpad bug 173772 in atomix "about dialog won't close" [Undecided,Confirmed] https://launchpad.net/bugs/17377220:40
scorcher7This is the first patch I have ever written. Is there someone who can help me?20:40
scorcher7It is a really simple bug/patch.20:40
johanbrmario_limonciell: The suspend/resume scripts in acpi-support don't seem to be used at all.20:41
mario_limoncielljohanbr, then that definitely makes for confusion20:43
mario_limoncielli personally think they shouldn't have been shipped then20:43
johanbrI noticed when I tried to make some customizations and nothing seemed to happen. :)20:43
mario_limonciellmjg59, could you comment on them at all?  Is there a reason that they are still around rather than sticking to pm-utils?20:44
mario_limoncielljohanbr, so you ended up customizing in /etc/pm instead then i take it?20:44
johanbrmario_limonciell: Well, /usr/lib/pm-utils .20:45
mario_limoncielljohanbr, well i suppose it depends on whether you are intending to make end system customizations or distro customizations.  /etc/pm seems like the better place to be putting them20:46
johanbrAnyway, got to go...20:46
seb128scorcher7: what wiki page says that? you should subscribe ubuntu-universe-sponsors if you have a patch, this one is not correct though20:47
scorcher7seb128: This one: https://wiki.ubuntu.com/Bugs/HowToFix20:49
scorcher7seb128: atomix is in main. do I still go to universe-sponsors?20:50
seb128scorcher7: no, ubuntu-main-sponsors in this case, still the change is not correct20:51
scorcher7seb128: my patch is incorrect? I would like to fix it. Can you tell me what is wrong?20:51
seb128scorcher7: look in gtk-demo for some example or use google maybe, I'm not sure right now but there is no reason to change the api used there, you might just need to connect a callback or something20:57
mjg59mario_limonciell: Nobody got round to deleting the20:57
mjg59m20:58
mario_limonciellconsidering the LTSness, perhaps doing something for the point release would be worthwhile then so this question isn't raised all the time20:59
scorcher7seb128: thank you for reading my patch and giving me advice. I had changed the api because it is what other gnome apps use (like gnome-terminal) and it made the about dialog work like the other gnome apps.21:04
seb128scorcher7: they call 10 functions rather than one? that's weird21:05
scorcher7seb128: Now I see what you mean. I made the patch in reverse by accident. Sorry.21:06
scorcher7seb128: the orginal called ten functions mine calls 1.21:06
seb128scorcher7: ah, now it makes sense then ;-) just subscribe the main sponsors then and somebody will review it, it might take some time because the archive is still frozen right now21:07
scorcher7seb128: so after I upload the correct patch I just subscribe to that mailing list and send an email to it asking for someone to sponsor the patch?21:09
seb128no21:09
seb128that's a launchpad team name, you subscribe the team and do nothing else21:09
scorcher7seb128: Okay. Thank you very much for taking the time to help me.21:10
seb128you are welcome21:10
seb128ogra: around?21:26
nosrednaekimjcastro: hey...i'm interested in doing an openweek session.21:26
jcastronosrednaekim: I have one open session left on saturday21:27
nosrednaekimjcastro: how about a  quick tutorial on hardware debugging...how to properly use lspci, lshw, lsmod, etc.....21:28
jcastrothat sounds excellent, 2000 UTC this saturday?21:28
nosrednaekimyeah...saturday's are good for me21:28
jcastrosweet, fill yourself in: https://wiki.ubuntu.com/UbuntuOpenWeek21:28
jcastroand thanks!21:28
crimsunnosrednaekim: ping me later for some notes, please.21:28
nosrednaekimcrimsun: ok21:29
nosrednaekimcrimsun: yeah, I don;t know the audio stuff all that well21:29
rod0009hey can anyone help me to fix a bug?21:49
sladenrod0009: yes, if you raise it https://bugs.launchpad.net/ubuntu/+filebug21:51
alex-weejseb128: got a min to chat about trackpads?22:00
seb128alex-weej: sure, though I don't know anything about those22:02
alex-weejseb128: ok so re https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/22317022:02
alex-weejbasically i figure gtk has support for mouse scrolling via interpreting buttons 4 and 5 as "scroll up" and "scroll down" instructions22:02
alex-weejwhich are the discrete movements we already have22:03
alex-weejwhich are quite large22:03
alex-weeji'm thinking gtk AND xorg-input-synaptics need support for delta-based scrolling22:04
seb128ah ok, I've no idea about that22:04
alex-weejso synaptics needs to generate a hypothetical "scroll dx=16,dy=23" event kind of thing22:04
alex-weejand gtk needs to interpret it22:04
seb128for me mouse cursor movements are purely an xorg thing22:04
alex-weejyeah cursor movements are22:05
alex-weejbut scrolling is different right?22:05
seb128I don't use a trackpad and I guess I don't understand the feature request22:05
alex-weejoh ok22:05
seb128well, scrolling is just a reaction to xorg events no?22:05
alex-weejyeah22:05
seb128so for me what you want there is xorg to react differently to some action22:06
seb128that will impact on events generated22:06
seb128and on how gtk will react22:06
seb128no?22:06
seb128I'm not sure what gtk hacks you want there22:06
alex-weejthe code that runs when i scroll a window some amount is in gtk, not xorg, right?22:07
seb128right22:07
seb128but this code doesn't know what a trackpad is22:07
seb128it just reacts to xorg events22:07
seb128no?22:07
alex-weejso if xorg is firing these new fancy scroll dx=15,dy=-23 events22:08
alex-weej25 times a second22:08
alex-weejgtk needs to deal with it22:08
spenseranyone know when help.ubuntu.com will be updated for hardy?22:08
alex-weejseb128: i think, i mean i have no clue. my choice of gtk and synaptics as tasks was just an educated guess22:09
alex-weejbryce: maybe you can add some info?22:09
seb128alex-weej: ok, so as said I don't know better about this so we are just both doing educated guess ;-)22:09
alex-weejok, well i'll copy this chat onto the bug if that's OK22:09
alex-weejand chase up some more X/GTK people22:09
seb128alex-weej: might be better to take than upstream directly, maybe there is somebody reading bugzilla and knowing better ;-)22:09
seb128alex-weej: sure22:10
alex-weejseb128: thing is, it needs cooperation with xorg stuff so taking it to either X or GTK independently is gonna be pain22:10
seb128alex-weej: ok, maybe bryce has a better idea about that22:10
brycealex-weej, seb128: sorry no better ideas offhand, but I plan on working on input devices a lot during Intrepid, so if you point me at the bug I'll add it to my todo list22:15
brycealex-weej: fwiw, iirc synaptics is slated for being replaced by evdev in the not distant future22:16
alex-weejbryce: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/22317022:19
alex-weejkeep me in the loop man, i'd like to get it working as well as it is on Mac OS22:19
alex-weejbtw am i right about how cursor movement events are done?22:19
alex-weejby an update interval with deltas?22:20
bryceyup (afaik)22:22
alex-weejmaybe i should hammer out a blueprint?22:23
brycethat could definitely help22:23
psusianyone here familiar with the sysv init system?  I'm very confused because there are no corresponding K scripts to shut down services like there should be, and /etc/init.d/rc looks like it runs the kill scripts for the NEW level rather than the previous level22:40
jdongpsusi: it's an "optimization" introduced like gutsy-ish?22:42
jdongpsusi: where non-important K-scripts were simply removed to save shutdown time22:42
jdongedgy actually22:42
psusiwell, aren't they ALL important?  I mean when you switch from runlevel 3 to say, 4, then all the daemons should be stopped no?22:43
jdongpsusi: IMO yes, but apparently that's not a well-tested usecase22:43
psusiand shouldn't the K scripts for the CURRENT level ( the one being changed FROM ) be run?  not the ones for the NEW level?22:43
jdongpsusi: the optimization should really only apply to runlevels 0 and 622:43
jdongpsusi: no, the K-scripts for the new level runs22:44
jdongpsusi: the K-scripts are defined to run at the beginning of a runlevel22:44
psusihuh?  S should start, and K should kill no?22:44
jdongpsusi: for the current runlevel22:44
psusiso if you are LEAVING a level, shouldn't those services be stopped before starting the ones for the new level?22:44
jdongpsusi: S means invoke with the "start" argument, K means invoke with the "stop" argument22:45
jdongpsusi: you're thinking at one level too high of logical abstraction22:45
jdongpsusi: see, what your'e saying would actually make sense ;-)22:45
psusilol22:45
jdongfrom an event-based runlevel switching mechanism's standpoint22:45
psusiit has been years since I looked at this stuff but I could have sworn it was supposed to run the K scripts for the current level to shut everything down, then run the S scripts for the new level to start up whatever should be running there22:46
psusibut this code I'm looking at now looks like things like sshd should continue running if I do a telinit S22:46
psusiwhich clearly should not occur22:47
jdongpsusi: well I believe it's always been that when you switch to runlevel Y, it runs Y's K scritps, then Y's S scripts22:48
jdongI don't recall that being the case22:48
jdongnot being the case rather22:48
jdongpsusi: now the problem with Ubuntu cutting corners in placing K-scripts IMO is a problem.22:48
psusiI am sure that when you switch back to single user mode, sshd and X are supposed to stop ;)22:48
jdongpsusi: RHEL4 here has like 30 K-scripts in runlevel S :)22:49
psusiand if sshd is only meant to run in runlevel 3, I don't recall it needing a K script in runlevel S to properly shutdown when you switch22:49
psusihrm...22:49
psusithat totally makes my brain hurt22:49
psusiso every runlevel is responsible for killing everything that every other runlevel could have possibly left running?  wtf?22:50
jdongpsusi: yeah if you literally only want it in RL3 you need to K it n RL 0,1,2,4,5,6,S22:50
jdongpsusi: welcome to the world of sysvinit!22:50
psusiomg, can we please kill it?22:50
psusi;)22:50
jdongpsusi: I believe we are killing it this release cycle22:50
psusiweee!22:50
jdongsysvinit: stop on starting Intrepid ;-)22:50
jdong(I think that's my first upstart pun of the cycle)22:51
psusiwell, there are no K scripts in rcS.d so that means if I do a telinit S, sshd and apache keep running then eh?  ick22:51
psusisay, I was trying to find some good syntax documentation for the upstart control files22:52
psusicould you point me to some?22:52
psusioh wait... my bad... that's right... single user mode is rc1.d, rcS.d is system startup... looks like it does have K scripts for all the daemons22:53
psusiwhew... that saves me some sanity...22:53
bryceogasawara_: fyi - https://wiki.ubuntu.com/X/KernelWishlist22:55
ogasawara_bryce:  we'll probably want to discuss that at UDS with the kernel team22:57
xivulonlamont, ping23:22

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