Re: stdout and stdin in udev rule

On 2012-04-30 17:15:25 +0200, Anonymous Remailer (austria) said:

exec 2>/tmp/debug.output; set -x

the debug and key file are empty. This is a little bit strange

My udev rule shows:
SUBSYSTEMS=="usb", ATTRS{serial}=="the serial", ACTION=="add", SYMLINK+="luksdev", RUN+="/usr/local/bin/lukscmd openvolume"
and the script runs the dd command and the cryptsetup call with the pipe sign |.

Can the symbolic link or the device not be exists? So the script is run, before the device exists and dd returns in this case no values?