/srv/irclogs.ubuntu.com/2009/12/16/#ubuntu-devel.txt

=== akgraner_ is now known as JayFo
ccheneyanyone happen to know the name of the dd program in the archive that shows status while writing?00:23
* ccheney heard about it a while back but can't find it when searching apt-cache00:23
slangaseklamont: ta00:24
cjwatsonccheney: grep-aptavail turns up a few possible candidates - dcfldd? pcopy? sdd?00:26
cjwatsonI suspect this problem has been solved a few different times:)00:27
ccheneycjwatson: ah yea dcfldd00:28
ccheneycjwatson: thanks, i searched for dd and somehow managed to overlook that one00:28
cjwatsonI did: grep-aptavail -e '\<dd\>'00:29
ccheneyok00:33
=== dendrobates is now known as dendro-afk
smoseranyone know how to tell init(upstart) to work in debug or verbose mode in /etc/init.conf ?  ie, the same effect that running 'initctl log-priority debug'01:40
slangaseksmoser: there's no /etc/init.conf; but you get the effect of running 'initctl log-priority debug' by adding an upstart job that runs 'initctl log-priority debug'01:42
slangasek(or adding it to the start of whatever job you're currently debugging)01:42
smoserthe man page says there is a /etc/init.conf and the code and daemon seem to at least acknowledge it01:42
slangasekwell, ok01:43
smoserslangasek, in ec2, i can't pass --verbose or --debug on kernel cmdline, but i wanted it to be turned on as soon as possible01:43
slangasekI've never heard of init.conf before, and it obviously doesn't exist by default :)01:43
smoserhaving a job run asap and doing initclt is what i think i have to do01:43
smoserright. it doesn't exist, but man 8 init mentions it01:43
slangasekcat >> /etc/init/debug.conf01:44
slangasekdescription "debug me"01:44
slangasekstart on startup01:44
slangasektask01:44
slangasekexec initctl log-priority debug01:44
slangasek^D01:44
smoserthank you01:44
smoseri tried 'log-priority debug' in /etc/init.conf and it complained of unknown stanza. maybe i'm just supposed to put things like "normal jobs" there.01:46
=== nxvl_ is now known as nxvl
crypt-0-anyone awake?03:36
crypt-0-i have my root partition pointing to the wrong one, even though fstab is pointing to the right one.03:38
crypt-0-it asks for "cryptoroot" when fstab clearly tells it to ask for "cryptroot" (along with crypttab)03:38
ScottKcrypt-0-: Help is in #ubuntu or #ubuntu+1 if you are on Lucid.03:42
* crypt-0- knows, the answers are usually much more accurate here. So i will just lurk here in case someone answers it :)03:44
crypt-0-I did just narrow the problem down, but now i just have a very simple question. "Where does GRUB2 ask for the root device?"03:46
=== dendro-afk is now known as dendrobates
Chipzz_ccheney: did you mean pv?04:21
JanChm, seems like the Tracker people intend to release a non-developer version of tracker 0.7.x after the xmas/newyear period04:42
LucidFoxJanC> I take it tracker was removed from the default install at some point?05:06
LucidFoxWhy, by the way?05:06
LucidFoxEep.05:08
=== asac_ is now known as asac
ScottKStevenK_: If you do the sync in Bug #497289, then boost1.39 can die.05:48
ubottuLaunchpad bug 497289 in python-visual "Sync python-visual 1:5.12-1.1 (universe) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/49728905:48
SandGorgonjust wanted to point you guys to a very interesting study of an alternative Linux driver architecture - Dingo (http://ertos.nicta.com.au/publications/papers/Ryzhyk_CKH_09.pdf). The paper is good in itself for the part where it studies the %age root-cause for driver problems06:26
=== elky is now known as elky`
=== elky` is now known as elky
tseliotslangasek, Keybuk: what is it that should call  'plymouth ask-for-password --prompt="my prompt string" when unencrypting your disk?07:40
tseliotbug #49676507:41
ubottuLaunchpad bug 496765 in plymouth "plymouth ask-for-password doesn't display --prompt argument" [High,Triaged] https://launchpad.net/bugs/49676507:41
slangasektseliot: the cryptsetup upstart job07:41
slangasek(implemented in lucid, as of a few hours ago)07:41
slangasekalternatively, the cryptsetup initramfs script, in the crypted-root case07:41
Keybuktseliot: 'wot 'e said07:41
tseliotplymouth is not in the initramfs therefore the upstart job should be the right place to do it07:42
Keybuktseliot: installing cryptsetup puts plymouth in the initramfs07:42
tseliotah07:42
tseliotok, I'll have to play with it then07:43
Keybukbecause if you have to type a passphrase to boot, you don't care about boot speed07:43
Keybukespecially not if you're james_w07:43
slangasektseliot: "the right place to do it" is always the initramfs, in the case of a crypted root system ;)07:43
tseliot:-D07:43
* tseliot has never tried disk encryption07:43
Keybuktseliot: careful, you know what they say07:44
Keybukthe first disk is free07:44
slangasekif you have a spare disk partition, I can add a test case for you to the bug... but I guess it's a bit easier to debug this if you can start plymouthd manually outside of the boot sequence and e.g., attach remotely with ssh?07:44
tseliotslangasek: also, about bug #496782, shall I simply not display any additional bullet?07:44
ubottuLaunchpad bug 496782 in plymouth "plymouth password dialog lets you type off the end of the box" [Low,Triaged] https://launchpad.net/bugs/49678207:44
Keybukprobably much easier to debug in X :p07:45
Keybukjust start plymouthd and plymouth --show-splash from an xterm07:45
tseliotslangasek: yes, I use X and ssh for debugging07:45
tseliotas Keybuk said07:45
dholbachgood morning07:46
* tseliot needs to check how gdm deals with long passwords07:46
tseliotgood morning dholbach07:47
dholbachhey tseliot07:47
slangasektseliot: not displaying additional bullets is ok, though in that case I think it's best if bug #497115 can be fixed first :)07:47
ubottuLaunchpad bug 497115 in plymouth "plymouth ask-for-password doesn't register all of my keypresses when typing passphrase" [Undecided,New] https://launchpad.net/bugs/49711507:47
Keybukslangasek: you didn't rise to my joke! :'(07:48
slangasek:-)07:48
tseliotslangasek: I think I've noticed that too. I should bug upstream about it07:49
slangasekKeybuk: sure I did, I let you know there are lower case letters in my passphrase07:49
Keybuktseliot: it might be because something else is reading from the console and plymouth isn't getting the characters?07:49
Keybukworth checking file descriptors in ssh07:49
Keybukit could also be plymouth sucking07:49
slangasekKeybuk: it's reproducible for me even in the initramfs07:49
KeybukI've only tested stuff like that in X so far07:50
Keybukthat'd be an interesting thing - does doing it in X work fine?07:50
tseliotit sounds more like a plymouth issue. I managed to reproduce the problem in X07:50
Keybukcool, sounds like you're on top of that one :p07:50
slangasekand cf. the comment I've just added to the bug - I think whatever event loop it has for processing input characters has no support for queuing :)07:50
tseliotyes, more or less :-P07:50
Keybuktseliot: while you're in there, I have a theme/script improvement that'd be nice07:50
Keybuktseliot: I'd like to be able to display two different messages on screen07:51
Keybukplymouth message should go in the usual place07:51
Keybukbut I'd like to do something like plymouth message "keys:..."07:51
tseliotslangasek: I think I can improve that07:51
Keybukwhich goes along the bottom of the screen instead07:51
Keybukand not have the two cancel each other out07:51
Keybuktseliot: that's theme rather than code, right?07:51
tseliotKeybuk: well, a theme *is* a program ;)07:52
Keybukyou know what I mean <g>07:52
tseliotyes, no C code would be involved07:52
dholbachhow far did we get with dropping lpia from lucid?07:52
dholbachI'm looking at bug 48879707:52
ubottuLaunchpad bug 488797 in gnu-efi "Please merge gnu-efi 3.0i-2(main) from debian squeeze(main)" [Undecided,Confirmed] https://launchpad.net/bugs/48879707:52
dholbachwhich still lists lpia in the changes07:53
tseliotKeybuk: currently the text from message and the one from ask-for-password will appear on different lines. Is this what you need or just an additional message text?07:53
tseliottext message07:54
Keybuktseliot: additional message text07:54
Keybuke.g.07:54
Keybuk"Errors were found while checking /home"07:54
slangasekdholbach: we're at the point where if lpia is the only diff in a package, it's reasonable to make it a sync instead07:54
Keybukthen along the bottom07:54
dholbachslangasek: it wouldn't be the only change :)07:54
Keybuk"[F]ix them, [I]gnore errors, [S]kip mountpoint, [A]bort"07:54
slangasekdholbach: then IMHO we should hang on to it for now07:55
dholbachalrightie07:55
persiadholbach: Last I heard, we planned to not spend time trying to maintain it, but there's some installer stuff that relies on EFI, so it might be more work to track it down and pull it out than port the patch.07:55
dholbachgood good, thanks guys07:55
slangasekwe seem to still have Packages files for lpia, though I know some of the archive admin tools no longer see it07:55
StevenK_slangasek: Last I heard from lamont is that is going to require more DB hackery to kill them07:56
tseliotKeybuk: ok, and what happens when you want to show another message? Do you overwrite the one at the top or the one at the bottom? And what happens to the other one?07:56
Keybuktseliot: if it's prefixed, it overwrites the one at the bottom07:57
Keybukif not, it overwrites the one at the top07:57
Keybukneither clears each other07:57
Keybukie. to clear both, I'd have to send message "" and message "keys:"07:57
tseliotKeybuk: ok, sounds good. Can you file a bug report about it with all these details, please?07:58
=== StevenK_ is now known as StevenK
Keybuknp07:58
tseliotthanks07:58
Keybukslangasek: I really don't have any time to work on the bootwait problem08:13
KeybukI get dozens of mails *A DAY* of people complaining about it08:13
Keybukso I'm going to revert back to the jaunty behaviour08:13
Keybukif you want to try and make it work, be my guest08:13
slangasekrevert back to the jaunty behavior - the jaunty behavior is that any filesystem that isn't available at the time rcS runs is skipped08:14
Keybukno it isn't08:14
Keybukit's that any filesystem not available causes the script to fail08:14
Keybukand gives you a root shell08:14
Keybuk(afaict)08:14
slangasekwell, that wasn't the case for network filesystems, at least08:15
persiaThat wasn't my experience: the boot seemed to hang for a bit of extra wait with no response, and only bounce to a shell after 5 sec or so.08:15
Keybukpersia: that's because there was a sleep 5 in there, asking you if you'd rather reboot instead08:15
slangasekfor those, the behavior was "try in rcS; try again when the network comes up"08:15
Keybukbut we helpfully hid that message08:15
Keybukslangasek: right, network are a more special case08:15
Keybukeither way, I think the friendlier recovery stuff already helps this08:16
Keybukmountall won't bomb out08:16
Keybukit'll prettily say "I can't find your /porn, shall I skip it?"08:16
slangasekwell, and if I say yes there and then the network comes up, does mountall try again?08:17
Keybuknot if mountall has exited08:17
slangasekand if I say "no", mountall never signals the boot to proceed, so gdm never starts, so the user can't log in and the network interface never comes up?08:18
slangasekin which case that's a false choice; I don't want either of those things, I want the sensible behavior that the filesystem will be automatically mounted when the network comes up :)08:19
Keybukas I've already said, network mounts are treated specially08:19
Keybukyou can't have that special behaviour :p08:19
Keybukunless you implement a way to have filesystem checks and cryptsetup prompts in X :p08:19
slangasekoh, you said network /is/ special, you didn't actually say it was /treated/ specially ;)08:19
persiacryptsetup is the tricky one, because there's all sorts of things that can go oddly.08:20
Keybukit doesn't "see" network devices until a network interface comes up08:20
Keybukthough, that being said, NM brings up wired connections before gdm ;)08:23
Keybukand is deliberately started on local-filesystems08:23
slangaseksure; wireless / vpn is the use case there08:23
Keybukyes...08:23
=== ara_ is now known as ara
Keybukbut that's *never* worked08:23
Keybuk(that I can tell)08:23
slangasekyuh-huh08:23
slangasek:)08:23
Keybukfirst I have to not break things for everyone who has a working setup ;)08:23
Keybukespecially since this is an LTS08:23
slangasekI have a working setup that fits the above description08:24
slangaseklaptop; wireless; NFS mounts configured in /etc/fstab to automount08:24
Keybukthen please help make it work08:24
slangasekwith jaunty, karmic, and lucid w/ current mountall, it works08:24
KeybukI've run out of ideas08:24
Keybukit won't work in lucid with the new mountall08:25
slangasekWhat are the nature of the complaints about bootwait?  Because aside from having to introduce a new option in /etc/fstab that util-linux doesn't know about yet, it does actually seem to be the Right Thing08:27
Keybukthat's the complaint08:27
Keybukpeople keep refusing to add the new option saying things worked before08:27
slangasekhmm08:27
Keybukand I am required to be a bug contact for their bugs08:27
Keybukand I'm required to read every single one08:27
Keybukand I'm required to reply to them08:27
Keybukeven the ones that say they're going to write to sabdfl and try and have me fired for incompetence08:28
Keybukand that kind of thing wears you down08:28
slangasekwell, if backwards-compatibility is the goal, I think blocking the filesystem signal on local filesystems + network filesystems w/ FHS mountpoints would do it08:29
slangasekand have mountall hang around to wait for network filesystems w/ non-FHS mountpoints?08:29
Keybukmountall can't hang around once gdm starts08:29
Keybukit has to exit08:30
slangasekwhy, if it's only going to process network mounts after that?08:30
Keybukbecause network mounts can have loop mounts on them08:30
Keybukwhich can require fsck08:30
Keybukand can require cryptseutp08:30
slangasekwell, *that* has never worked08:30
Keybukyes08:30
Keybukbut before it didn't crash gdm ;)08:31
Keybukand X08:31
Keybukmountall likes to do that08:31
Keybukif plymouth exits, then we lose the ability to communicate with users08:31
persiaCan mountall emit something that starts a separate asynchonous job to handle the oddities?08:31
Keybuknot really08:32
slangasekI think you either treat those as blockers for the filesystem signal, so gdm isn't started until they're all there; or you ignore them as "crazy thing that depends on a network mount and isn't my problem"08:32
slangasekI think either way of handling them is acceptable08:32
Keybukslangasek: that's kind of what I want to go towards08:32
KeybukNFS on systemy places will cause a wait08:33
Keybukanything with pass != 0 requires a wait08:33
Keybukthat doesn't solve "I have /home/joe on NFS" though08:34
Keybukbut then I can't see that that worked before08:34
Keybukexcept by luck08:34
slangasekright, it was always racy08:34
slangasek"always" - "as long as we've been bringing up interfaces with udev"08:35
Keybukthat's pretty much ever in ubuntu08:35
Keybukwe used to bring them up with hotplug ;)08:35
Keybukthe real problem is that this whole thing is a *mess* of corner cases08:36
Keybukand the kinds of people with the corner cases don't test08:36
Keybukthey just upgrade to the final release08:37
Keybukthen cry, and start spouting rubbish like "where do I send the bill to Canonical for all the downtime?"08:37
Keybukand when I, not unreasonably, tell them to fuck off and die (politely) - I get e-mails from Millbank telling me off because they complained <g>08:38
* slangasek hehs08:38
* Keybuk is a bit emo, really08:38
slangasekwell, as long as my system doesn't end up with a dependency loop between /home/random and gdm and network-manager because I'm roaming on an ESSID I've never seen before, I'm happy08:40
slangasek:)08:40
KeybukI'll notice too ;)08:40
Keybukmost of my home directory is an NFS mount08:40
Keybukwell, symlinks to an invented directory on the root08:43
Keybuk/home/scott/Music -> /zelda/Music etc.08:43
Keybukso that's even more corner-y08:43
* slangasek punches NFSv4 in the face08:46
slangasekbad packet storm08:46
chrisccoulsonsiretart - i just saw the last few comments on bug 428884. i think the issue with updating xdg-screensaver to use the new API is that the inhibitors only remain for the life of the process that registered them09:06
ubottuLaunchpad bug 428884 in gnome-screensaver "gnome-screensaver-command --poke no longer inhibits screensaver" [Unknown,Confirmed] https://launchpad.net/bugs/42888409:06
chrisccoulsonif i can get an ACK for a SRU, then i'm just going to patch gnome-screensaver to make the old method work again09:07
* Keybuk stumbles across Ian Jackson's wikipedia entry again and chuckles at the quote09:17
dholbachcould anybody imagine giving a session about reading stack traces and fixing crashes at Ubuntu Developer Week? https://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep still has some empty slots09:22
dholbach(any other development- or packaging-related topic would be welcome too)09:22
persiadholbach: I can do the stack trace one, or, I'd prefer to give an update to PackagingWithoutCompiling: the dh7 way.09:28
dholbachpersia: both would be MUCH appreciated :)09:28
joaopintomvo, it seems that the apt's http redirect handling code does not woek when you have an http proxy set, once I have some time to reproduce I will file a bug report09:28
joaopintos/woek/work :P09:28
joaopintoit's just returning the 302 response09:29
persiadholbach: At those hours, both is unlikely (all the sessions are scheduled for the times I try hardest to be asleep)09:29
dholbachI know09:29
persiaBut pick one, and stick me in the 20:00 slot of your choice.09:30
persia(Except Wednesday)09:30
dholbachpersia: just pick the one that suits you best09:30
persiaAnyone else up for doing stacktraces?09:31
* persia thinks stacktraces are more important, but doesn't really want to do it *again*09:32
siretart`chrisccoulson: AFAIUI, the point of xdg-util is to provide a proper abstraction for applications against the used screensaver implementation. I agree that this is difficult to implement in a shell script, so I propose to rewrite xdg-screensaver after revisiting the various used screensaver implementations09:40
cjwatsondholbach: 488797's submitter should be asked why he didn't contact the person who touched the package last, as instructed on merges.ubuntu.com :P09:41
dholbachcjwatson: you strike me as a good person who could give a developer week session about how to do merges right! :-)09:42
siretart`chrisccoulson: as for the semantic change in the API, right, the rewrite would probably need to implement some kind of timeout and guesswork to fit into the new gnome-screensaver system09:42
dholbachcjwatson: I can offer you a couple of different session slots, no problem: https://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep :-)09:42
siretart`chrisccoulson: btw, do you know if xdg-utils upstream, the portland initiative, is still active? it looks pretty abandoned to me TBH09:42
cjwatsonI suppose I asked for tyhat09:43
cjwatson-y09:43
dholbachcjwatson: but you're right, it's a valid question to ask :)09:43
chrisccoulsonsiretart` - i'm not too sure if it's still active or not09:44
bryceI wrote the original xdg-screensaver in xdg-utils09:45
siretart`chrisccoulson: in any case, the idea of that initiavtive is great!09:45
cjwatsondholbach: I can probably do Fri 17:0009:46
siretart`bryce: ah, cool! what's the current upstream status of it?09:46
dholbachcjwatson: that'd be fantastic - can I pencil you in?09:46
brycethe original version I did had a timeout functionality, but it got lost in a rewrite09:46
cjwatsondholbach: go ahead09:46
dholbachawesome09:46
dholbachcjwatson: done, muchas gracias! :)09:47
mvojoaopinto: oh, do you have a example repo? i have a squid runing here09:47
brycesiretart, waldo was the last guy actively working on xdg-utils last I checked09:47
brycedunno if he's still working on it, probably not09:47
siretart`bryce: it seems to me that xdg-utils is one of the last freedesktop projects that still use CVS. and the last commits are years ago, so I'm unsure about its status09:48
siretart`perhaps I should just go ahead and fork it in some git or bzr branch09:48
joaopintomvo, now that I think on it, the person is using apt-cacher-ng as the proxy, it could be an apt-cacher-ng issue09:48
joaopintomvo, deb http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/ karmic-getdeb apps09:48
joaopintoops, that's a directly link sorry09:49
brycesiretart, go for it09:49
joaopintomvo, deb http://archive.getdeb.net/ubuntu karmic-getdeb games09:49
brycesiretart, if you need help understanding how it works or the design I'd be happy to field questions09:49
bryceit's been quite a few years since I looked at it, but might be of some use09:50
joaopintomvo, it's an apt-cacher-ng issue, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556234, sorry :P09:51
ubottuDebian bug 556234 in apt-cacher-ng "apt-cacher-ng: cannot handle HTTP redirection (e.g. 302 Found)" [Important,Fixed]09:51
siretart`bryce: don't expect results from me on xdg-utils this year. I'm already pretty busy at work and with implementing symbol versioning in ffmpeg upstream and debian.09:51
mvojoaopinto: thanks, ok09:51
siretart`I guess I could start working on that in january of february09:51
siretart`bryce: but thanks for the offer!09:52
bryceyep, I suppose we're all going to turn into pumpkins within a week or so ;-)09:52
joaopintomvo, btw, we are using apt with http redirect on playdeb/getdeb in a large scale, it has been reliable09:53
mvojoaopinto: sweet, I'm happy to hear that09:55
dholbachcould anybody give a session about setting up daily builds at  https://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep ?09:58
=== steini1234 is now known as sandmann
joaopintodholbach, hey, hard job this week, heads hunting :)10:00
dholbachjoaopinto: so far things are looking quite good :)10:00
=== warp10_ is now known as warp10
mathiazsoren: hi!10:12
mathiazsoren: are you looking after https://wiki.ubuntu.com/AutomatedServerTestingSpec?10:12
=== tkamppeter_ is now known as tkamppeter
=== korn_ is now known as c_korn
=== Keybuk_ is now known as Keybuk
=== pedro is now known as pedro_
=== steveire_ is now known as steveire
gphello my laptop Mother board just went off ...how do i recover my data11:31
gpmy home directory was encrypted11:31
jpdsgp: User support in #ubuntu.11:32
=== Lutin is now known as Guest60093
=== jelmer_ is now known as jelmer
jb-laptopI need to do a sync request for several packages that have newer versions in Debian. Would an archive admin require them as single bugs, one for each package, or one bug for all packages?12:37
cjwatsonjb-laptop: it's easier as single bugs because then our scripts can take care of more of it for us12:40
cjwatsonjb-laptop: we have a script to which we feed bug numbers (after manual verification) and it does the sync and closes the bug; this doesn't work with multiple syncs in one bug12:41
jb-laptopcjwatson: thanks for the clarification12:42
sorenmathiaz: That's the idea, yes.12:44
mathiazsoren: ok - thanks12:44
=== pbn_ is now known as pbn
=== jb-laptop is now known as JamieBennett
apwcjwatson, who looks after the .ddeb magic ?13:36
dholbachapw: pitti :)13:38
apwthanks ... seems they have been found, all is well13:38
qenseBug 486024 looks a bit like a duplicate of bug 466575 , but the error message in the first says the device is busy, the latter that it can't be found. Anyone here who knows a lot of devicekit and could help?13:40
ubottuLaunchpad bug 486024 in devicekit-disks "Safely remove drive fails to unmount if data was written to drive." [Undecided,Incomplete] https://launchpad.net/bugs/48602413:40
ubottuLaunchpad bug 466575 in devicekit "secure remove of external USB-HDD produces error" [Unknown,Confirmed] https://launchpad.net/bugs/46657513:40
seb128qense, try asking to pitti when he's around he might know but he's not there today13:41
qenseok, thx13:42
persiaI wouldn't think they are duplicates.13:43
persiaI get the symptoms of 486024 all the time just because I forget to stop programs, etc.13:43
persiaBut 466575 looks like some issue with the device13:44
qenseIt does have a duplicate13:44
=== zul_ is now known as zul
qensewhich is bug 49546213:44
ubottuLaunchpad bug 495462 in devicekit-disks "Safely remove 16 GB USB Flash drive - "Unable to stop" (dup-of: 466575)" [Undecided,New] https://launchpad.net/bugs/49546213:44
ubottuLaunchpad bug 466575 in devicekit "secure remove of external USB-HDD produces error" [Unknown,Confirmed] https://launchpad.net/bugs/46657513:44
Whoopiepitti: Hi, how can we proceed with bug 481448?14:16
ubottuLaunchpad bug 481448 in vlc "VLC lacks build-dep on libupnp3-dev" [Undecided,New] https://launchpad.net/bugs/48144814:16
Whoopiepitti: I got the ACK from jdong14:17
smoserKeybuk, is there a way in 'init.conf' to have the same effect as '--verbose' or '--debug' on kernel command line?14:22
smoserslangasek, gave me a job that ran on 'starting' that did 'initctl' which was basically good enough, but now i'm just wondering what exactly init.conf expects in it. is it "just another job" ?14:23
jdstrandKeybuk: hi, I want ufw to be running before any network devices start receiving packets. I had "start on net-device-added INTERFACE=lo", but lo may start after eth0. Is "start on net-device-added" what I want instead? (since upstart won't keep starting a started job)14:28
jdstrandKeybuk: I thought I wanted "start on starting network interface", but that didn't work (on karmic anyway)14:29
* jdstrand tries "start on starting network interface"14:31
* jdstrand tries "start on starting network-interface"14:31
Keybuksmoser: there is no init.conf14:34
smoserinit.conf is mentioned by the man page, and the upstart daemon in lucid acknowledges it, complaining about bad syntax14:35
smoserthere is no default file, no14:35
jdstranda '-' seems to make all the difference14:36
smoserKeybuk, what did you mean by "there is no init.conf" ?14:36
Keybuksmoser: there's no such thing14:36
jdstrandKeybuk: revised question: is "start on starting network-interface" ok to do in ufw.conf to achieve my goal and generally not screw things up?14:37
smoser$ dpkg-query --show upstart14:37
smoserupstart 0.6.3-1114:37
smoser$ man init | grep init.conf14:37
smoser       /etc/init.conf14:37
Keybukjdstrand: as long as that's *all* you have14:38
smoser$ echo "foo bar" | sudo tee /etc/init.conf14:38
smoserfoo bar14:38
Keybukjdstrand: and as long as you do things in pre-start like network-interface-security14:38
smoser$ tail -n 1 /var/log/daemon.log14:38
smoserDec 16 14:37:57 ubuntu init: /etc/init.conf:1: Unknown stanza14:38
Keybukotherwise your script will be run *every*single*time* a network interface comes up14:38
smosermaybe i'm way off base ? but it sure looks like init is responding to an init.conf14:38
jdstrandKeybuk: my pre-start is: pre-start exec /lib/ufw/ufw-init start14:38
Keybuksmoser: it's kinda lying :p14:38
jdstrandKeybuk: that's it14:38
Keybukjdstrand: that should be fine - no "task" in the job?14:39
jdstrandKeybuk: there is no task in the job, no14:39
Keybukcool14:39
Keybukshould work then14:39
Keybukyou might want or starting networking or starting network-manager in there too14:39
Keybuklike the n-i-s one14:39
jdstrandKeybuk: ok, I'll test that here on systems with and without nm, and upload if it works ok14:40
jdstrandKeybuk: thanks14:40
smoserso, the gist of the above is that 'init.conf' is undefined behavior, and if i want to enable debug early, i should do a 'start on startup' task with initctl exec. is that right, Keybuk ?14:41
Keybuksmoser: initctl log-priority you mean?14:42
smoserright14:42
Keybukyou may as well just add --verbose to your kernel command-line though ? :)14:42
smoseron ec2 you can't change kernel params14:43
smoserbut i can write a file and reboot14:43
Keybuksmoser: there's increasing numbers of justifications for having init.conf do something useful14:46
Keybuklog priority being one14:46
Keybukdefault environment another14:46
SEJeffjcastro, ping15:26
=== c0p3rn1c is now known as copernic
jcastroSEJeff: pong15:30
SEJeffjcastro, Can you move the ip of gnomejournal.org? Redhat relocated all of the gnome infrastructure to a new colo15:31
jcastroSEJeff: already did it just now, paul got ahold of me15:32
SEJeffjcastro, If you just make it a cname to window.gnome.org you won't have to update it the next time something like this happens. Otherwise, the new ip is 209.132.180.16715:32
SEJeffjcastro, Ah sorry for bothering you then.15:32
jcastrono worries, doublechecking is always appreciated!15:32
SEJeffthanks15:32
=== ghostcube_ is now known as ghostcube
=== dendrobates is now known as dendro-afk
=== ghostcube_ is now known as ghostcube
=== nixternal is now known as Guest25223
=== dmart is now known as Guest63651
=== dmart_ is now known as dmart
=== Lutin is now known as Guest79668
=== dmart is now known as Guest38535
=== dendro-afk is now known as dendrobates
=== elky is now known as Guest8433
seb128is there anybody who feel like reviewing a short patch to fix a libdvdnav locking issue on this channel?16:22
seb128bug #46638916:23
ubottuLaunchpad bug 466389 in gstreamer0.10 "totem hangs when try to play DVD" [Low,New] https://launchpad.net/bugs/46638916:23
seb128comment #21 on the bug16:23
=== Guest79668 is now known as Lutin
seb128hum16:30
seb128slangasek, ^? ;-)16:30
seb128mterry, hey16:30
seb128mterry, dunno if you read alex comment but the nautilus patch you submitted recently had an annoying bug16:30
seb128mterry, just in case you were shipping it somewhere you might want to fix it16:31
slangasekseb128: dvdnav_clear() tries to call pthread_mutex_lock() a second time; trivially correct16:40
seb128slangasek, ok thanks16:40
seb128slangasek, want to sponsor it since you reviewed the change? ;-)16:40
slangasekKeybuk: confused by the initramfs-tools 0.92bubuntu56 changelog - surely anything that would interrupt the initramfs and cause you to need to type should use the correct keymap, with or without fb?16:41
slangasekseb128: tricksy!16:41
slangasekseb128: yeah, I can do that16:42
seb128lol16:42
seb128slangasek, thank you ;-)16:42
* seb128 is trying clean a bit the sponsoring queue before holidays16:42
Keybukslangasek: that's a hell of an edge case16:42
slangasekseb128: oh, except that patch has already been accepted into lucid via unstable :)16:43
Keybukit's not like anything in the initramfs understands chinese ;)16:43
slangasekKeybuk: but it understands azerty quite well16:44
seb128slangasek, oh, good, I should have checked that first16:44
seb128slangasek, thanks ;-)16:44
Keybukslangasek: that should still work once I've finished these changes16:44
Keybukall I've done is removed the script that sets the keymap in the normal sequence16:44
Keybuknot the code that does it in the failure case16:45
=== dmart is now known as Guest13907
slangasekKeybuk: ok16:45
Keybukthere's some joining-up to do still16:45
Keybukbut you shouldn't need to type, unless you get the panic shell, right?16:45
* Keybuk checking he hasn't missed something16:45
slangasekKeybuk: well, I will need to type, with or without splash, to type my passphrase; but I guess I'm guaranteed to always have the fb there, even with nosplash set?16:46
slangasek--> with splash not set16:46
Keybukslangasek: correct16:46
Keybukand splash not set doesn't mean plymouth won't start16:46
Keybukit just means plymouth will use a text renderer instead of a graphical one16:46
slangasekthat's the only non-failure case I know of when you need to type in the initramfs, then16:47
slangasekassuming break=foo is treated as "failure"16:47
Keybukyeah it is16:47
Keybukbasically idea is anything that calls panic() will set up the keymap16:47
Keybukactually it does run_scripts /scripts/panic16:48
Keybukbecause that's where I'm putting the plymouth quit thing16:48
Keybukrather than hardcoding in the initramfs16:48
=== jam1 is now known as jam
Keybukso the keymap stuff will be in there too16:48
slangasekcool16:48
stgraberbtw, I was wondering, is the plymouth from yesterday supposed to stop and prompt for the passphrase (it doesn't here, it simply continues booting without the encrypted partition)16:49
slangasekstgraber: if you also have the cryptsetup from yesterday?16:49
stgraberyeah, I basically updated everything this morning16:50
stgraberI see it's showing some cryptsetup thing on top of the plymouth splash but boots without prompting for the key, then I get gdm and no /home mounted ;)16:50
slangasekstgraber: bug report wanted, then - please attach /etc/crypttab and /etc/fstab, and tell me which device (if there's more than one) fails to decrypt16:50
stgraberok, will do16:51
slangasekeh, really?16:51
slangasekgdm was always supposed to wait on /home, per mountall16:51
slangasekKeybuk: ^^ did that change recently?16:51
Keybukslangasek: no16:52
slangasekfunfun16:52
Keybukplymouth doesn't go in until I'm happy it won't regress our boot speed16:53
Keybukso the mountall that deps on it won't go in either16:54
* slangasek nods16:54
Keybukwant to make sure the whole cryptsetup and friendly recovery stuff works nicely too obviously16:56
=== dmart is now known as Guest57921
=== elky is now known as Guest7704
* Ng taps finger at grub-probe. my disks haven't changed since the last kernel postinst you ran in a few seconds ago, but you go nuts and eat all my CPU17:21
=== beuno-lunch is now known as beuno
=== elmo__ is now known as elmo
slangasekstgraber: um... you have /home marked 'noauto' in /etc/fstab? :)17:29
stgraberslangasek: that'd explain some things ... ;)17:31
slangasekfollowed up on the bug... thanks for sending me an easy one ;)17:31
stgraberslangasek: hehe, rebooting now, there can still be an actual bug (other than a user one ;))17:32
firatcanHeadphone jack detection doesn't work on my mbp. I am trying to write a script to change mixer levels when the headphone is plugged. How can I detect the HPs are plugged in?17:38
stgraberslangasek: sorry, looks like I have an actual bug :)17:38
stgrabernow it justs get stuck at the ubuntu splash logo and does nothing17:38
slangasekdoh!17:38
stgraberif I start without the splash, it prompts for the key but doesn't seem to take the input17:39
stgraberso I had to press ESC and set it to noauto again so I'd be able to boot (that's probably I had it commented already ;))17:39
slangasekstgraber: what version of cryptsetup?17:39
stgraber2:1.1.0~rc2-1ubuntu517:39
slangasekok17:40
slangasekcan you send me /var/log/udev.log?17:40
stgrabermaybe something has a different behavior when the root isn't encrypted ?17:40
stgrabersure, want that attached to the bug ?17:40
slangasekyes, please17:40
slangasekhmm, so without splash you see the prompt17:41
slangasekif you hit ESC at the splash logo, what do you see?17:41
zulkees: when you get a chance can you review libcap-ng?17:43
stgraberI'll need to reboot for that, IIRC I saw a sda2_crypt (failed) and then the bash prompt but I'm not 100% sure17:44
keeszul: still slogging through email backlog.17:44
stgraberI also remember the shell being broken so I had to "reset" it so I'd see what I'm typing17:44
keeszul: but yeah, if it's been assigned to me, I'll hit it.17:44
zulkees: ok17:44
stgraberYeah !! Just received my N900 :)17:45
jjardonhello, the VCS imports of GTK is suspended: https://code.launchpad.net/~vcs-imports/gtk/head. I tried to change the location of the sources from http://svn.gnome.org/svn/gtk+/trunk to git://git.gnome.org/gtk+ but I don't have the required permissions, Could someone fix this?17:51
beunojjardon, git:// branches aren't allowed17:54
beunothey need to be http/https17:54
beuno(I can update it for you)17:54
=== Chipzz_ is now known as Chipzz
=== fta_ is now known as fta
jjardonhello beuno, I think git:// directions worked well for other projects I've imported. But anyway, It'd be great if you update the gtk+ project (also, I think a lot of gnome project need and update to point to the new git repos)17:58
=== deryck is now known as deryck[lunch]
=== mbarnett` is now known as mbarnett
beunojjardon, I get: The URI scheme "git" is not allowed. Only URIs with the following schemes may be used: http, https, svn18:06
beunojelmer, would you know anything about this?18:06
beunoI'll try http://git.gnome.org/gtk+18:07
jjardonbeuno, I've used this form: https://code.launchpad.net/+code-imports/+new18:07
jelmerbeuno: you need to switch to git18:07
jelmerbeuno: It sounds like the import is still set to svn18:07
beunojelmer, you should have access to change tehat now18:08
beunocould you take a peak?18:08
beunomaybe there isn't anything on the web UI to specify svn/git?18:08
beuno(or it can't be changed)18:09
jelmerdoesn't look like there is a way to change the kind of the import18:10
jelmerI'll have to remove the existing one and create a new import18:10
jelmerjjardon: is it ok if I remove the existing import18:12
=== jcastro_ is now known as jcastro
jelmerjjardon: ?18:14
jjardonjelmer, https://code.launchpad.net/~jjardon/gtk/trunk ? sure18:14
jjardonhttps://code.launchpad.net/~vcs-imports/gtk/head is already suspended18:15
jelmerjjardon, the error for your import failing seems different18:15
jjardonjelmer, Anyway, I didn't want have my own branch, I only wanted to update the main repo to the new git sources18:16
jelmerjjardon: ok18:18
=== dendrobates is now known as dendro-afk
jjardonAlso, I'd like to help to move all the existing Gnome projects to the new git repos18:19
ionOnly allowing http:// in preference to git:// is pessimal. For Git, http is greatly inferior.18:20
jjardonjelmer, so, If you need help, please ping me ;)18:21
beunoion, we do offer git://, I got confused by the UI  :)18:22
jelmerion: in fact, we don't support imports over http for git repos18:23
beunoheh18:23
=== rmcbride_ is now known as rmcbride
=== dendro-afk is now known as dendrobates
ionOk, good18:25
=== yofel_ is now known as yofel
james_wacpi-support is a native package?18:31
james_wi.e. lp:~ubuntu-core-dev/acpi-support/trunk is the canonical upstream trunk?18:32
=== markus_ is now known as thekorn
=== azeem_ is now known as azeem
=== deryck[lunch] is now known as deryck
bigonhi, any reasons the locales files have been split out of eglibc pkg? the file are not in sync and this lead to some issues like bug #49749719:12
ubottuLaunchpad bug 497497 in langpack-locales "Wrong first day of week in fr_BE" [Undecided,New] https://launchpad.net/bugs/49749719:13
=== akgraner` is now known as akgraner
malevHi, is Steve Langasek here?19:32
malev... or maybe: Steve Langasek is here? :D19:32
ScottKmalev: He's slangasek19:33
malevScottK, thanks.19:33
ScottKYou're welcome19:33
malevslangasek, hi, I'm malev from the bugsquad. You've reported a bug some days ago, and I'm watching it. I've asked about it in the channel, but we are not sure about it.19:34
=== rickspencer3_ is now known as rickspencer3
bdmurraymalev: I've updated the bug with what I've discovered.19:39
malevcheckin it19:39
bdmurrayI believe that slangasek was checking very early19:39
malevbdmurray, nice research!!19:40
malevawesome19:40
=== korn_ is now known as c_korn
=== maco2 is now known as MsMaco
=== MsMaco is now known as maco2
=== mthaddon changed the topic of #ubuntu-devel to: Launchpad will be down/in read-only from 22:00 UTC until 23:00 UTC for a code update | Lucid Alpha 1 released | Archive: open | MoM running (but use bzr!) | Development of Ubuntu (not support, not app development on Ubuntu) | #ubuntu for support and general discussion for dapper-karmic | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBu
ebroderHow does DEP-3 interact with the "## DP:" comments in dpatches?20:20
ebroder(Is there an example of a dpatch that follows DEP-3 somewhere?)20:21
=== Krzysztof is now known as kklimonda
=== NCommander is now known as Guest36380
=== Guest36380 is now known as NCommander
=== elky is now known as Guest16843
=== jussio1 is now known as jussi01
=== YDdraigGoch is now known as Guest48784
=== qense_ is now known as qense
ionkeybuk: http://launchpadlibrarian.net/36876612/initramfs-tools_0.92bubuntu56_0.92bubuntu57.diff.gz +rm "${DESTDIR}/lib/modules/${version}/modules.*map"20:55
ionkeybuk: Probably shouldn’t have "" around the *20:56
Keybukoh good point20:56
Keybukmeant to close them before the "20:56
Keybukwill fix that tomorrow20:56
* Keybuk finally made a big step towards figuring out why gdm won't start sometimes20:56
ionWhat seems to be the problem?20:57
Keybukthe local-filesystems event gets blocked20:57
Keybuknot sure by which yet20:57
Keybukbut it won't complete20:57
Keybukso mountall is still waiting for it20:57
ionOk20:57
=== ubott2 is now known as ubottu
smoseranyone able to suggest kvm invocation of lucid guest that will avoid going into graphics mode , so i can use '-curses' ?21:03
smoseri'm trying: -append "root=/dev/sda ec2init=0 nomodeset" -nographic -curses21:04
=== ikonia_ is now known as ikonia
=== Epitato is now known as Epiglottis
slangasekpitti: "fix daemon.log to not be written synchronously" - er, no?21:30
slangasekpitti: if things are triggering writes to daemon.log during normal operation, /that/'s a bug that we should fix; but daemon.log is the Secure Record of People Doing Stuff To The System, it's synchronous intentionally and this shouldn't be changed to save a µW :)21:33
slangasekKeybuk: why would you expect "recreating" the lvm device in the real system (bug #456274) to require re-entering a passphrase?21:35
ubottuLaunchpad bug 456274 in usplash "mountall 0.2.5 and cryptsetup fail to boot when using usplash" [Undecided,Confirmed] https://launchpad.net/bugs/45627421:35
slangasek(which is the only part that cryptsetup is responsible for)21:35
Keybukslangasek: I wouldn't, but I'm guessing that cryptsetup is blocking udev's operation somehow21:36
Keybukie. when udev says the underlying block device is ready, cryptsetup will be run21:37
Keybukand normally that would create the /dev/mapper device21:37
Keybukbut I'm guessing that because it already exists (because it was created in the initramfs), things don't work out that way21:37
Keybukand that somehow blocks the uevent for the mapper device too21:37
slangasekKeybuk: there's also no "when udev says the underlying block device is ready" in karmic21:37
Keybukin the old days, waiting 3 minutes tended to work21:37
Keybukslangasek: huh?21:38
Keybukthere is21:38
Keybukit's called a uevent21:38
slangaseka uevent that cryptsetup pays no attention to21:38
Keybukthat's where the whole thing gets confusing21:39
Keybukthe fact is that this works on every dm device *except* cryptsetup ones21:39
Keybukso the problem must be with cryptsetup21:39
Keybukeven if it's somewhere else21:39
slangasekit works for dm devices *including* cryptsetup ones21:40
Keybukbut please do debug21:40
slangasekI have the exact setup the submitter describes21:40
Keybukand it works for you?21:40
slangasekand it works for me21:40
KeybukI have an LVM kees-approved setup21:40
Keybukand it works for me there too21:40
slangasekI really think the problem he's having is that he has a broken / line in /etc/fstab21:40
Keybukthat shouldn't matter21:40
Keybukmountinfo overrides fstab21:40
slangasekthere've been other me-tooers on the bug that don't even use cryptsetup21:41
Keybukso what was mounted when the initramfs exits is what mountall really uses21:41
Keybukmountall gets me-tooers from just about everyone :(21:41
slangasekhum; then surely mountall is wrong regardless, because in that case it should never be waiting for /?21:41
* kees snickers21:41
* kees imagines running around with a rubber "approved" stamp for VG configs21:42
Keybukslangasek: yes21:42
Keybukit has to wait for the device to exist and be probed before it can remount it read/write21:42
Keybukotherwise if blkid is running, and it's on lvm, etc. you end up with "device in use" issues21:42
slangasekah21:42
Keybukyou can't just mount it read/write willy nilly21:42
Keybukand you can't leave it read/only :)21:42
Keybukif you don't have an initramfs (which we support)21:43
Keybukthan you also have the issue where the kernel may have mounted the root device21:43
Keybukbut it doesn't actually exist in /dev yet21:43
slangasekright21:43
Keybukit's all a bit confusing really21:45
Keybukthis is stuff that should just work21:46
Keybukall mountall is waiting for is the uevent from udev to say the device is made21:46
Keybuk(and no helpers are running on it anymore)21:46
Keybukif that doesn't happen, it means udev doesn't know about the device21:46
Keybukwhich means it shouldn't exist in /dev :p21:46
slangasekwell, I don't see how what cryptsetup is doing could break that21:47
Keybukcausing pain21:47
ebroderCan anybody point me at a dpatch that follows DEP-3?22:23
Keybukebroder: any in gdm22:25
ebroderKeybuk: Huh? gdm's patches appear to be simple-patchsys, not dpatch22:27
Keybukso? they still have patch tags at the top22:30
james_webroder: "For patch-systems like dpatch that require the patch to be a standalone script, the shebang line is ignored and it is possible to put those fields in comments. The line should then follow the format “# <field>”. For multi-line fields, the subsequent lines should start with “#  ” (hash followed by two spaces) so that they start with a space once “# ” (hash followed by a space) has been stripped from the beginning."22:36
ebroderRight, I saw that - I wasn't sure how that interacts with dpatch's support for "## DP:" and such, though22:36
=== mbarnett changed the topic of #ubuntu-devel to: Launchpad will be down/in read-only from 22:00 UTC until 23:59 UTC for a code update | Lucid Alpha 1 released | Archive: open | MoM running (but use bzr!) | Development of Ubuntu (not support, not app development on Ubuntu) | #ubuntu for support and general discussion for dapper-karmic | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithB
=== SWAT__ is now known as SWAT
kirklandslangasek: Keybuk: I have a upstart question that I'm sure I will phrase poorly23:30
slangasekkirkland: "turquoise"23:32
syn-ackslangasek: What if he likes "lavender" better? ;) /me runs23:34
kirklandslangasek: so there's a general "eucalyptus" upstart script23:34
kirklandslangasek: the other controllers start on started eucalyptus23:34
slangaseksyn-ack: sorry, not supported23:34
syn-ackslangasek: I merely kid. :P23:35
kirklandslangasek: and in all of the current cases (sans node-controller), there's an exec of eucalyptus-cloud, which daemonizes, and the eucalyptus upstart script starts happily23:35
kirklandslangasek: i've ported the eucalyptus-nc init script to upstart now23:35
kirklandslangasek: and have it set to start on started eucalyptus23:35
kirklandslangasek: however, in this case there is no eucalyptus-cloud daemon23:35
kirklandslangasek: so i'm conditionally execing sleep 999999999d23:36
kirklandslangasek: which works23:36
kirklandslangasek: but I'm guessing it ain't pretty23:36
kirklandslangasek: i figure there's got to be a better upstarty way of doing this23:36
kirklandslangasek: or "must" upstart daemonize something to consider the job "started" ?23:36
slangasekwhat is it that's execing sleep?23:36
kirklandslangasek: the upstart job23:37
slangasek/which/ upstart job?23:37
kirklandslangasek: eucalyptus23:37
kirklandslangasek: lemme pastebin23:37
slangasekok23:37
kirklandubuntu@beagle:/etc/init$ pastebinit eucalyptus.conf23:38
kirklandhttp://pastebin.com/f6c05156f23:38
kirklandubuntu@beagle:/etc/init$ pastebinit eucalyptus-nc.conf23:38
kirklandhttp://pastebin.com/f2657fc5e23:38
kirklandubuntu@beagle:/etc/init$ pastebinit eucalyptus-nc-publication.conf23:38
kirklandhttp://pastebin.com/fad4541123:38
* kirkland crosses his arms, taps his foot, and stares coldly at Launchpad23:39
syn-ackkirkland: I'm still getting remarks that it's in ro mode23:40
kirklandsyn-ack: hence my look of consternation23:40
syn-ackhah23:40
slangasekkirkland: so let me see if I understand the reason for this kludge23:41
zuljames_w: when you get a chance can you import samba into bzr23:41
slangasekyou have a eucalyptus job, on which the other jobs depend; but when eucalyptus-nc is installed, the eucalyptus job should be a no-op, but you still want all the other jobs that depend on it (including eucalyptus-nc) to start?23:41
james_wzul: queued23:43
zuljames_w: meric23:43
kirklandslangasek: sort of ...23:43
zuljames_w: thanks even :)23:43
kirklandslangasek: its more that the eucalyptus job is provided by the eucalyptus-common package23:44
kirklandslangasek: on which all other eucalyptus parts depend23:44
kirklandslangasek: thus it's installed everywhere23:44
kirklandslangasek: and makes for one stop shopping when you want to start/stop/restart/status your eucalyptus setup23:44
kirklandslangasek: so far that's fine and dandy for cloud/walrus/sc/cc23:44
kirklandslangasek: and today i'm adding support for nc23:45
kirklandslangasek: which doesn't really actually need the eucalyptus job to start any real daemons23:45
kirklandslangasek: but for the consistency with the other bits, i added the kludge23:45
kirklandslangasek: alternatively, i could have eucalyptus-nc start on [23]23:45
slangasekkirkland: does the eucalyptus job do anything that eucalyptus-nc needs to have happen before it starts?23:46
kirklandslangasek: but it would make for some inconsistency with the rest of the start/stop/restart eucalyptus which is used everywhere else23:46
kirklandslangasek: make /var/run/eucalyptus?23:46
kirklandslangasek: nothing terribly important23:46
slangasekso you can do one of two things23:46
slangasekrefactor eucalyptus into a eucalyptus-base job and a eucalyptus job, with eucalytpus-nc and eucalyptus both depending on the -base job (which I guess just does the setup at that point, i.e., /var/run/eucalyptus)23:47
slangasekor get rid of the 'start on starting eucalyptus' from eucalyptus-nc, use something more correct (such as a runlevel start condition, yes) and mkdir -p /var/run/eucalyptus23:47
kirklandslangasek: hmm, okay23:48
kirklandslangasek: i have the latter working23:48
slangasekin any event, I'm sure you don't want to be adding artificial dependencies on things you don't actually need running in order to start the node controller :)23:48
slangasekand if you don't do that, the sleep is irrelevant23:49
slangasekbtw, your new job will whine when the eucalyptus-nc package is removed but not purged23:49
kirklandslangasek: do i need "respawn" if i start on runlevel?23:49
slangasekKeybuk is eventually going to give us magic state to take care of that, but in the meantime I've been writing my jobs to key off a non-conffile shipped in the package23:50
slangasekkirkland: only if respawn is the behavior you want23:50
slangasekif the daemon dies, what do you want to have happen?23:50
kirklandslangasek: hmm, sure, respawn, i like it23:50
kirklandslangasek: okay, so about the package purging ....23:51
kirklandslangasek: i'm dropping the changes to the eucalyptus package23:52
kirklandslangasek: going with your runlevel start on suggestion23:52
kirklandslangasek: where am i keying on a conf file now?23:52
slangasekhttp://pastebin.com/f2657fc5e23:53
Keybukyeah23:53
slangasekactually, I guess that job doesn't whine23:53
Keybukbasically I intend to work the xmas break on things like that23:53
slangasekit just /runs/, even when the package is removed :)23:53
* Keybuk remembers when he had a life23:53
slangasekkirkland: actually, the job will get as far as trying to run euca_test_nc before it fails23:54
slangasekand then 'exit 1', meaning the job will show as failed instead of administratively stopped23:55
slangasekoh, and if you mark it respawn, upstart is going to try running it several times before giving up23:55
kirklandslangasek: so i should check $(which euca_test_nc) ?23:55
slangasekI'd write it as [ -x /usr/sbin/euca_test_nc ] || { stop; exit 0; }23:56
slangasekalternatively, you can wait for Keybuk's Christmas present23:56
kirklandslangasek: got it23:56
kirklandslangasek: i added that to the top of pre-start23:56
Keybukho ho ho23:56
slangasek(I myself have not been consistent about handling this case in the jobs I've written, fwiw)23:56
kirklandslangasek: any other feedback?23:57
kirklandKeybuk: i saw your note about wanting to look at new upstart scripts23:57
slangasekwell, let me read the whole job then :)23:57
kirklandKeybuk: shall i paste them for you?23:57
Keybukkirkland: e-mail them23:57
=== mbarnett changed the topic of #ubuntu-devel to: Launchpad will be down/in read-only from 22:00 UTC until 01:00 UTC for a code update | Lucid Alpha 1 released | Archive: open | MoM running (but use bzr!) | Development of Ubuntu (not support, not app development on Ubuntu) | #ubuntu for support and general discussion for dapper-karmic | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithB
Keybukfor new ones, go ahead and upload23:57
Keybukand I'll do post-review23:58
Keybukit was more changing existing ones that was going badly wrong :p23:58
Keybukbecause I suck at coding23:58
slangasekkirkland: "modprobe aoe" - nothing else does this for us?23:58
Keybukaoe is one of those silly devices23:59
Keybukyou load the module when you want them23:59
Keybuklike ppp and tun23:59
* slangasek nods23:59
slangasek#23:59
slangasek        echo -n 1 > /proc/sys/net/ipv4/ip_forward23:59
slangaseknot /etc/sysctl.d?23:59
kirklandKeybuk: yeah, these are for eucalyptus, so shouldn't affect your boot speed stuff23:59

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