Bug 456930 - can not run dtach from cron
Summary: can not run dtach from cron
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dtach
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-28 17:58 UTC by Doncho Gunchev
Modified: 2008-07-29 13:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-29 13:59:55 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 438335 0 None None None Never

Description Doncho Gunchev 2008-07-28 17:58:33 UTC
Description of problem:
Running for example
/usr/bin/dtach -n /tmp/sleep.sock bash -c "sleep 10"
from a cron script results in:
tcgetattr: Inappropriate ioctl for device

Version-Release number of selected component (if applicable):
dtach-0.7-3

How reproducible:
always

Steps to Reproduce:
1. dtach -n test.sock sleep 10 < /dev/null
  
Actual results:
dtach: tcgetattr: Inappropriate ioctl for device

Additional info:
I have the same problem with FC8 and RHEL 5 (RackSpace). Updating to 0.8 helped.
I used the info from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438335

Comment 1 Lon Hohberger 2008-07-28 20:07:40 UTC
I have pushed 0.8-1 to rawhide.

Comment 2 Lon Hohberger 2008-07-28 20:07:56 UTC
Or rather, built it for rawhide.  I will backport at a later time.

Comment 4 Lon Hohberger 2008-07-29 13:59:55 UTC
Since this was filed as a low priority bug, I'm closing this.  0.8-1 is
available in rawhide.




Note You need to log in before you can comment on or make changes to this bug.