twb | At http://upstart.ubuntu.com/wiki/Debugging it talks about using a &> redirection; a bashism. | 08:06 |
---|---|---|
twb | Is that a documentation bug, or does upstart really use bash (and not dash)? | 08:06 |
plautrba | twb: upstart execs /bin/sh -e -c <your script> | 08:09 |
twb | Yeah, so I guess a Fedora user wrote that line | 08:09 |
=== Keybuk changed the topic of #upstart to: Upstart 0.6.6 "No, she's dead, this is her son" | http://upstart.ubuntu.com/ | Desktop & Upstart 0800UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u | Server boot & Upstart 1000UTC #ubuntu-uds-cocobolo-2 http://icecast.ubuntu.com:8000/cocobolo-2.ogg.m3u | see http://summit.ubuntu.com/uds-m/ | ||
=== Keybuk changed the topic of #upstart to: Upstart 0.6.6 "No, she's dead, this is her son" | http://upstart.ubuntu.com/ | Desktop & Upstart 0800UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u | Server boot & Upstart 1000UTC #ubuntu-uds-cocobolo-2 http://icecast.ubuntu.com:8000/cocobolo-2.ogg.m3u | Finish Upstart 1300UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u | see http://summit.u | ||
plautrba | twb: it's set in init/paths.h:#define SHELL "/bin/sh" | 08:12 |
Keybuk | Today's UDS sessions: | 08:12 |
Keybuk | Desktop & Upstart 0800UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u | 08:12 |
Keybuk | erver boot & Upstart 1000UTC #ubuntu-uds-cocobolo-2 http://icecast.ubuntu.com:8000/cocobolo-2.ogg.m3u | 08:12 |
Keybuk | Finish Upstart 1300UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u | 08:12 |
twb | Okey dokey. | 08:13 |
Homere | hello | 09:17 |
silwol | hi all. is there a default way to go when I want to run my upstart task as non-root user? I found no useful documentation for that on the net. | 11:46 |
Fantec | hello | 14:56 |
Fantec | I have to rewrite an init script to adapt it to upstart | 14:57 |
Fantec | the daemon needs disks to be detected but the number of disks and the device names may change (not all servers have exactly the same hardware) | 14:58 |
Fantec | I presume there is no event like "disk detection is ended" and that I have to wait for a specific delay after the system has started ? | 14:59 |
wasabi | There is no such thing as an end to disk detection. | 16:23 |
wasabi | At any moment a new disk could be added. | 16:23 |
wasabi | Most of that stuff is kicked off by udev, I believe. | 16:24 |
Fantec | yes, I was trying to find out a way to delay some daemons | 16:34 |
=== Keybuk changed the topic of #upstart to: Upstart 0.6.6 "No, she's dead, this is her son" | http://upstart.ubuntu.com/ | Upstart Q&A Session Video http://blip.tv/file/3606758 | see http://summit.ubuntu.com/uds-m | ||
Keybuk | http://blip.tv/file/3606758 | 17:31 |
Keybuk | if you missed the Upstart Q&A session | 17:32 |
sadmac | komputes: did you get my email? (did I in fact send you an email? I may have just imagined it). | 17:34 |
sadmac | * Keybuk ^^ | 17:34 |
sadmac | komputes: sorry. | 17:34 |
Keybuk | sadmac: I don't have an e-mail from you | 17:56 |
Keybuk | that may be the answer to your question | 17:56 |
sadmac | Keybuk: look at the latest news post on upstart.ubuntu.com, and the download page | 17:57 |
sadmac | Keybuk: notice anything missing? | 17:57 |
komputes | hi sadmac, i don't think i got your email what was it about? | 18:00 |
sadmac | komputes: I meant to speak to Keybuk, I hilighted you by mistake. | 18:00 |
komputes | sadmac: oh, ok | 18:00 |
Keybuk | 0.6.6? | 18:03 |
Keybuk | yeah, I can't login to that box right now <g> | 18:03 |
samjam | does upstart of location aware events? Or do I just invent one. Frinstance I dont want autofs to start if I'm not at home because it will hang my login. | 18:06 |
samjam | so do I just invent a process that emits the home event if it finds out I am at home? | 18:06 |
samjam | (based on a result of examining the network) | 18:07 |
sadmac | samjam: ....yes. That sort of feature would be far beyond the scope of upstart. | 18:07 |
sadmac | samjam: you could certainly emit events based on whatever though. | 18:07 |
samjam | but what I really want is a config way to add extra trigger dependancies to existing upstart jobs | 18:07 |
sadmac | Keybuk: oh fun | 18:08 |
samjam | so I dont have to keep editing the uipstart file everytime I upgrade | 18:08 |
sadmac | samjam: start on starting ... | 18:08 |
samjam | ah, so I start when autofs is starting | 18:09 |
samjam | and can I stop autofs from starting? | 18:09 |
samjam | (I haven't found any detailed up too date docs even on the ubuntu upstart wiki) | 18:10 |
sadmac | samjam: yes. | 18:10 |
samjam | thanks sadmac, is there a hint or example I can read? | 18:11 |
sadmac | samjam: man 5 init, or whatever scripts shipped with your distro | 18:11 |
samjam | cool, I was doing man upstart | 18:13 |
samjam | thanks | 18:13 |
samjam | sadmac, so the man page doesn't explain how a job that starts on something else starting can make it abort instead; do I just "stop autofs" which prevents it from starting? | 18:18 |
sadmac | samjam: if the job fails to start autofs should not start | 18:19 |
samjam | ah, so I just make my job fail | 18:19 |
sadmac | yes | 18:20 |
samjam | great, thanks | 18:20 |
dekroning | hi | 18:39 |
dekroning | i've got a touchscreen driver that needs to be loaded before Xorg is started, how can i make sure this driver is fully loaded before upstart launches GDM ? | 18:40 |
sadmac | dekroning: depends on how your distro launches gdm | 18:40 |
dekroning | sadmac: ok | 18:41 |
dekroning | sadmac: i'll have to figure out how ubuntu 10.04 does this then | 18:41 |
sadmac | dekroning: but in general loading the driver in a job with start on starting gdm-job will do it, where gdm-job is prefdm on fedora and something else on ubuntu | 18:41 |
ion | :-D https://groups.google.com/group/comp.lang.c/msg/e105e5d339edec01?pli=1 | 19:23 |
sadmac | ion: FLAWLESS VICTORY | 19:24 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!