su, scripts and distributed-net
I've been working on updating distributed-net to the new versions of
the clients, and have run into a snag:
When the distributed-net-config script is run, distributed-net (or
dnetc as it calls itself in the ps listing) locks up hard. An strace
of the process from the su comes up with this:
ioctl(0, SNDCTL_TMR_START, {B38400 opost isig -icanon -echo ...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) ---
--- SIGTTOU (Stopped (tty output)) ---
repeated over and over.
An strace attached to the process itself comes up with this:
gettimeofday({946949783, 688322}, NULL) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START, {B38400 opost isig -icanon -echo ...}) = -1 EIO (Input/output error)
read(0, 0x40015000, 1024) = -1 EIO (Input/output error)
ioctl(0, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo ...}) = -1 EIO (Input/output error)
nanosleep({0, 50000000}, NULL) = 0
again, repeated over and over.
The exact su command, on the command-line, works perfectly.
If anyone can help, the .deb, .diff and .orig.tar.gz are available at
http://gemini.woot.net/~hosehead/packages/distributed-net .
Reply to: