Hi Daniel!

On Mon, Jan 17, 2011 at 09:23:29PM -0500, Daniel Kahn Gillmor wrote:
> Running the following simple command fails (returns 1):
> 
>  openvt -e true
> 
> And it prints the following message on the allocated vt:
> 
>   ioctl TIOCSCTTY: Operation not permitted
> 
> Attached is an strace dump.
> 
> Thanks for maintaining kbd in debian!

And thank you for your report, I can confirm the problem.  The issue in
a nutshell is that without forking, openvt cannot create a session
because it already is a process group leader; this prohibits it from
using TIOCSCTTY.  I’ll have a closer look at how to fix this as soon as
I can.

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A

Attachment: signature.asc
Description: Digital signature

Reply via email to