/srv/irclogs.ubuntu.com/2010/05/12/#upstart.txt

twbAt http://upstart.ubuntu.com/wiki/Debugging it talks about using a &> redirection; a bashism.08:06
twbIs that a documentation bug, or does upstart really use bash (and not dash)?08:06
plautrbatwb: upstart execs /bin/sh -e -c <your script>08:09
twbYeah, so I guess a Fedora user wrote that line08: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
plautrbatwb: it's set in init/paths.h:#define SHELL "/bin/sh"08:12
KeybukToday's UDS sessions:08:12
KeybukDesktop & Upstart 0800UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u08:12
Keybuk erver boot & Upstart 1000UTC #ubuntu-uds-cocobolo-2 http://icecast.ubuntu.com:8000/cocobolo-2.ogg.m3u08:12
Keybuk Finish Upstart 1300UTC #ubuntu-uds-delfino http://icecast.ubuntu.com:8000/delfino.ogg.m3u08:12
twbOkey dokey.08:13
Homerehello09:17
silwolhi 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
Fantechello14:56
FantecI have to rewrite an init script to adapt it to upstart14:57
Fantecthe 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
FantecI 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
wasabiThere is no such thing as an end to disk detection.16:23
wasabiAt any moment a new disk could be added.16:23
wasabiMost of that stuff is kicked off by udev, I believe.16:24
Fantecyes, I was trying to find out a way to delay some daemons16: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
Keybukhttp://blip.tv/file/360675817:31
Keybukif you missed the Upstart Q&A session17:32
sadmackomputes: 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
sadmackomputes: sorry.17:34
Keybuksadmac: I don't have an e-mail from you17:56
Keybukthat may be the answer to your question17:56
sadmacKeybuk: look at the latest news post on upstart.ubuntu.com, and the download page17:57
sadmacKeybuk: notice anything missing?17:57
komputeshi sadmac, i don't think i got your email what was it about?18:00
sadmackomputes: I meant to speak to Keybuk, I hilighted you by mistake.18:00
komputessadmac: oh, ok18:00
Keybuk0.6.6?18:03
Keybukyeah, I can't login to that box right now <g>18:03
samjamdoes 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
samjamso 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
sadmacsamjam: ....yes. That sort of feature would be far beyond the scope of upstart.18:07
sadmacsamjam: you could certainly emit events based on whatever though.18:07
samjambut what I really want is a config way to add extra trigger dependancies to existing upstart jobs18:07
sadmacKeybuk: oh fun18:08
samjamso I dont have to keep editing the uipstart file everytime I upgrade18:08
sadmacsamjam: start on starting ...18:08
samjamah, so I start when autofs is starting18:09
samjamand 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
sadmacsamjam: yes.18:10
samjamthanks sadmac, is there a hint or example I can read?18:11
sadmacsamjam: man 5 init, or whatever scripts shipped with your distro18:11
samjamcool, I was doing man upstart18:13
samjamthanks18:13
samjamsadmac, 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
sadmacsamjam: if the job fails to start autofs should not start18:19
samjamah, so I just make my job fail18:19
sadmacyes18:20
samjamgreat, thanks18:20
dekroninghi18:39
dekroningi'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
sadmacdekroning: depends on how your distro launches gdm18:40
dekroningsadmac: ok18:41
dekroningsadmac: i'll have to figure out how ubuntu 10.04 does this then18:41
sadmacdekroning: 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 ubuntu18:41
ion:-D https://groups.google.com/group/comp.lang.c/msg/e105e5d339edec01?pli=119:23
sadmacion: FLAWLESS VICTORY19:24

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