=== erg is now known as ergpwned | ||
=== ergpwned is now known as erg | ||
=== JanC_ is now known as JanC | ||
wfamy | Hi | 21:00 |
---|---|---|
wfamy | I am figthing to start a dialog console script before gdm. actualy the script start and gdm too. I have to crtl alt f to show my dialog box. | 21:01 |
wfamy | any clue will welcome. | 21:01 |
mbiebl | wfamy: what is your problem? what are you trying to do? | 21:11 |
wfamy | I want my script to end before gdm start. | 21:12 |
mbiebl | start on starting gdm | 21:13 |
mbiebl | should block gdm from being started until your job is finished | 21:13 |
wfamy | I try to add in in /etc/init.d/gdm3 at the second line . My script start but gdm too. | 21:14 |
wfamy | how to block? | 21:14 |
mbiebl | init.d? that is a sysv init script | 21:17 |
wfamy | I am looking for any clue I test lot of thing and ... | 21:18 |
wfamy | still looking for. | 21:18 |
wfamy | I do not understand upstart priority | 21:18 |
mbiebl | is your script an upstart job or a sysv init script? | 21:19 |
wfamy | it is a python script. | 21:19 |
mbiebl | i give up | 21:20 |
wfamy | I am ready to create any thing | 21:20 |
mbiebl | do you actually use upstart or why are you asking in #upstart? | 21:22 |
mbiebl | which distro? | 21:22 |
wfamy | I ask upstart because I was under lenny and 8.04 ubuntu and everything work well tell in rc.3 and gdm wait. | 21:23 |
mbiebl | sorry, I don't understand you | 21:23 |
mbiebl | you need to ask more precisely | 21:23 |
wfamy | I am working to update to 10.04 and squeeze and everithing start and may script is waiting on tty1 while gdm is runing | 21:24 |
mbiebl | for Ubuntu, you best create an upstart job | 21:24 |
mbiebl | for squeeze you best stick to a simple sysv init script | 21:25 |
JanC | you need an upstart job, which goes into /etc/init/ (not init.d) | 21:26 |
JanC | see init(5) for the job file syntax | 21:26 |
mbiebl | JanC: apparenly gdm is started via an sysv init script | 21:26 |
mbiebl | wfamy: so, for ubuntu, create an upstart job and use the start on starting gdm | 21:26 |
JanC | it's not | 21:26 |
mbiebl | JanC: /etc/init.d/gdm3 | 21:27 |
mbiebl | for squeeze, create a sysv init script and add Requred-Start: gdm3 to the LSB header | 21:27 |
JanC | there is no /etc/init.d/gdm3 in a default 10.04 install AFAIK | 21:28 |
mbiebl | JanC: read the backlog | 21:28 |
mbiebl | he apparently tries to update a lenny *and* 8.04 system | 21:28 |
mbiebl | but I might have misunderstood him | 21:28 |
mbiebl | which is quite possible | 21:28 |
wfamy | there is no update my computer are install using FAI | 21:29 |
mbiebl | <wfamy> I am working to update to 10.04 and squeeze and everithing start and may script is waiting on tty1 while gdm is runing | 21:29 |
JanC | well, in 10.04 gdm is started by upstart | 21:29 |
wfamy | We are working to propose 10.04 and squeeze install | 21:29 |
mbiebl | wfamy: as I told you | 21:29 |
mbiebl | for Ubuntu 10.04 create an upstart job | 21:30 |
mbiebl | for Squeeze, use a sysv init script | 21:30 |
wfamy | I am look /etc/init/ script to understand. | 21:31 |
JanC | you may need an extra job for your dialog, or maybe you could add it to the pre-start script for the gdm job | 21:32 |
JanC | an extra job might be cleanest | 21:32 |
JanC | wfamy: and as I said, "man 5 init" will explain you how job files work | 21:33 |
wfamy | Ok I could now search. I will ask later if pb. thx | 21:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!