/srv/irclogs.ubuntu.com/2011/02/23/#upstart.txt

ralfgro_JanC: you mean a mirror hostname? we have a local mirror in our LAN, other mirrors in the internet are not reachable because of proxies.07:18
ralfgro_morning08:50
ralfgro_I've tried to add some test code to the kdm.conf script08:50
ralfgro_http://pastebin.com/i3hXt4L408:50
ralfgro_just a simple test to see if user interaction works08:51
ralfgro_the problem is that I see the pre-script output but the console does not responds on a pressed key08:52
ralfgro_kdm start/pre-start, process 70608:53
ralfgro_the console screen doesn not accept any key, neither j/n or ctrl-c08:53
ralfgro_so kdm is in a dead lock because the pre-scrip never finishs08:54
ralfgro_and... is there somewhere a more complete documentation? I was looking for the task stanza on http://upstart.ubuntu.com/wiki/Stanzas08:55
ralfgro_task is not mentioned there, but on http://upstart.ubuntu.com/wiki/Stanzas_for_0.5.108:56
ralfgro_but without description08:56
ralfgro_ok, I can read the line with ""read foo <  /dev/tty710:06
ralfgro_"10:06
JanCralfgro_: stanza documentation for the version of upstart you use is in the init(5) manpage13:34
ralfgro_JanC: ah, ok15:25
ralfgro_can I create a dependancy in script/service A that prevents script/service B from beeing started?15:27
JanCralfgro_: prevent it from being started at all or make it wait until A is finished?15:29
ralfgro_I have a script that should run when the ttys start, so I depend on tty1. And it should run before kdm/gdm starts (if they are installed at all)15:29
ralfgro_but I would prefere to not change gdm.conf15:30
ralfgro_so all this should be handelt in our new script15:30
ralfgro_wait until A is finished, but I want not to add an additional "started xxx" line to script B15:31
JanC"start on starting gdm" in your new job will make gdm wait until the new job is started, and a job marked as a "task" is not started until it's finished running15:31
ralfgro_what if gdm is not installed at all?15:32
ralfgro_we have systems with kdm/gdm and without15:32
ralfgro_therefor I added "start on starting tty1"15:32
ralfgro_a tty is there in any case15:34
ralfgro_the scrip has a bit user interaction and should run before anyone is logged in. I described it a bit her yesterday.15:35
ralfgro_I'll try a bit more and see what happens, anyway team meeting now15:36
=== _Getty is now known as Getty
=== robinsmidsrod is now known as 15SAAAHTE
=== Md is now known as Guest36306
=== Guest36306 is now known as Md
=== Keybuk_ is now known as Keybuk

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