On Tue, Nov 22, 2005 at 10:44:15AM +0100, Francesco Paolo Lovergine wrote:

> You MUST have a /dev/tty device on your system. Using batch processing

You don't understand. Of cause I have special file /dev/tty on
every system. But there are no keyboard and display connected to
the box. This is common case for most of servers. On the system
with keyboard and display connected this error not appear.

> in your condition (i.e. without a controlling terminal). That's
> of course an update-inetd problem, not a proftpd one.

May be, but unnecessary redirections are doing by Your script.

> What's a non sense is not having a /dev/tty at all on your system.
> That's different from executing 'tty' at command prompt...

Yes, You are right and here it is present:

file /dev/tty
/dev/tty: character special (5/0)

And tty command return:

/dev/pts/1

> No, that's not the unique. It's a largerly used trick for any
> program using that crappy command.

grep -srl '/dev/tty' /var/lib/dpkg/info/*.postinst
/var/lib/dpkg/info/linux-image-2.6.14-1-686-smp.postinst
/var/lib/dpkg/info/makedev.postinst
/var/lib/dpkg/info/proftpd.postinst

First two packages do not redirect to /dev/tty. Among installed
325 packages the proftpd is only one doing so. Please, remove
it. You break my automated every night upgrade. If somebody need
to redirect anything to anywhere, everybody can do this himself.


-- 

*****************************
****  Vladimir Stavrinov  ***
*******  [EMAIL PROTECTED]  *******
*****************************


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to