Problem starting job on a udev/hotplug event

Tim Gopp alleighty at gmx.de
Tue Aug 21 13:21:41 UTC 2012


Hello list,

for a job I need the serial device ttyS1 to be ready. When just starting the 
job "on startup" it happens that ttyS1 is not (yet) available in /dev and my 
service fails

So I try to start the job with this condition:

start on tty-device-added DEVNAME=ttyS1

but it never starts.

This is the udev log for the device:
KERNEL[1345554903.692892] add      /devices/pnp0/00:07/tty/ttyS1 (tty)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pnp0/00:07/tty/ttyS1
SUBSYSTEM=tty
DEVNAME=ttyS1
SEQNUM=1253
MAJOR=4
MINOR=65


Wo what am I doing wrong?  This is upstart 0.6.5-8 from Ubuntu 10.04LTS.

regards,
Tim




More information about the upstart-devel mailing list