Skip Menu |
 

Download (untitled) / with headers
text/plain 2.1KiB
From chi@media.mit.edu Thu Dec 23 13:55:53 1999
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id NAA04715 for <bugs@RT-11.MIT.EDU>; Thu, 23 Dec 1999 13:55:52 -0500
Received: from aleve.media.mit.edu by MIT.EDU with SMTP
id AA08345; Thu, 23 Dec 99 13:55:41 EST
Received: from mars (mars.media.mit.edu [18.85.4.231])
by aleve.media.mit.edu (8.9.3/8.9.1/+ALEVE) with SMTP id NAA25681
for <krb5-bugs@mit.edu>; Thu, 23 Dec 1999 13:55:51 -0500 (EST)
Message-Id: <001101bf4d77$916c3ce0$e7045512@media.mit.edu>
Date: Thu, 23 Dec 1999 13:57:32 -0500
From: "Chi Y. Yuen" <chi@media.mit.edu>
Reply-To: "Chi Y. Yuen" <chi@media.mit.edu>
To: <krb5-bugs@MIT.EDU>
Subject: OSF/1 5.0 revoke fails

Show quoted text
>Number: 795
>Category: pty
>Synopsis: OSF/1 5.0 revoke fails
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 23 13:56:00 EST 1999
>Last-Modified: Fri Aug 16 17:21:10 EDT 2002
>Originator: Chi Yung Yuen
>Organization:
MIT Media Lab

Show quoted text
>Release: krb5-1.1.1
>Environment:

System: OSF1 phobos.media.mit.edu V5.0 910 alpha
Machine: alpha
Show quoted text
>Description:
I received kerberos ticket but my access to the machine was
denied
and I got the following errors:
telnetd: Failed to revoke slave side of pty: Not a typewriter
telnetd: Slave failed to initialize.
Connection closed by foreign host.
I think the problem is with OSF/1 V5.0 because there is no problem using
OSF/1 V4.0.
Show quoted text
>How-To-Repeat:
telnet -x phobos.media.mit.edu from the MEDIA-LAB.MIT.EDU
domain
will reproduce the same error messages.

Show quoted text
>Fix:


-- chi

Show quoted text
>Audit-Trail:

Responsible-Changed-From-To: hartmans->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Wed Jan 24 17:55:33 2001
Responsible-Changed-Why:

refiled

State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Wed Jan 24 17:55:43 2001
State-Changed-Why:

known problem; investigating

State-Changed-From-To: analyzed-closed
State-Changed-By: tlyu
State-Changed-When: Fri Aug 16 17:20:52 2002
State-Changed-Why:

Fixed in 1.2.3.

Show quoted text
>Unformatted:
Download (untitled) / with headers
text/plain 5.3KiB
From tschroed@ml.media.mit.edu Thu Feb 10 17:43:35 2000
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
by rt-11.mit.edu (8.9.3/8.9.3) with SMTP id RAA14587
for <bugs@RT-11.MIT.EDU>; Thu, 10 Feb 2000 17:43:35 -0500 (EST)
Received: from ml.media.mit.edu by MIT.EDU with SMTP
id AA20921; Thu, 10 Feb 00 17:43:33 EST
Received: from localhost (tschroed@localhost)
by ml.media.mit.edu (8.8.8/8.8.7) with ESMTP id RAA16069
for <krb5-bugs@mit.edu>; Thu, 10 Feb 2000 17:43:34 -0500 (EST)
Message-Id: <Pine.OSF.4.05.10002101736360.10819-100000@ml.media.mit.edu>
Date: Thu, 10 Feb 2000 17:43:33 -0500 (EST)
From: Trevor Schroeder <tschroed@media.mit.edu>
To: krb5-bugs@MIT.EDU
Subject: OSF/1 5.0 revoke fails

Show quoted text
>Number: 822
>Category: pty
>Synopsis: OSF/1 5.0 revoke fails
>Confidential: yes
>Severity: serious
>Priority: high
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Feb 10 17:44:00 EST 2000
>Last-Modified: Fri Aug 16 17:21:31 EDT 2002
>Originator: Trevor Schroeder <tschroed@media.mit.edu>
>Organization:
>Release:
>Environment:
>Description:
I looked through documentation and mailing lists, but I didn't find this
anywhere.

In order to get Kerberos5 working on Tru64 / Digital UNIX / OSF/1 5.0,
it's necessary to change the semantics of the revoke(2) system call.
Otherwise open_pty_slave fails to revoke(). Tack

vfs:
revoke_tty_only=0

on to the end of /etc/sysconfigtab (for future system boots) and execute
the command (for the currently running system):

sysconfig -r vfs revoke_tty_only=0

If this is already documented, my apologies. (and could you tell me
where so that I'll be sure to check there in the future :)

Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Tue Feb 22 16:33:03 2000
Responsible-Changed-Why:

Reformat, fix category.

Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Wed Jan 24 17:53:59 2001
Responsible-Changed-Why:

refile

State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Wed Jan 24 17:54:12 2001
State-Changed-Why:

known problem; investigating


From: Tom Yu <tlyu@MIT.EDU>
To: Trevor Schroeder <tschroed@media.mit.edu>
Cc: krb5-bugs@MIT.EDU
Subject: Re: pty/822: OSF/1 5.0 revoke fails
Date: 24 Jan 2001 18:05:18 -0500

Show quoted text
>>>>> "tschroed" == Trevor Schroeder <tschroed@media.mit.edu> writes:

Show quoted text
tschroed> Wow... Did I submit this? Anyhow, to fix this add

Show quoted text
tschroed> vfs:
tschroed> revoke_tty_only = 0

Show quoted text
tschroed> to /etc/sysconfigtab. To update a running system, sysconfig
tschroed> -r vfs revoke_tty_only=0

Do you actually know any further details about this problem? It
smells like an OS bug... The point in the code that is calling
revoke() does so after closing the slave device received from
openpty() or equivalent. revoke() returning ENOTTY is probably a bug,
but some experimentation reveals that calling revoke() on a slave pty
file descriptor without closing it first doesn't result in ENOTTY.
It's possible that there's some bug involving various STREAMS modules
not being pushed on open of the slave pty device after it's been
closed, but if that were the case, other pty-related stuff should
fail, right?

---Tom

From: Trevor Schroeder <tschroed@media.mit.edu>
To: Tom Yu <tlyu@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: pty/822: OSF/1 5.0 revoke fails
Date: Wed, 24 Jan 2001 18:19:43 -0500

On Wed, Jan 24, 2001 at 06:05:18PM -0500, Tom Yu wrote:

Show quoted text
> Do you actually know any further details about this problem? It
> smells like an OS bug... The point in the code that is calling

sys_attrs_vfs(5) says:

* revoke_tty_only
A value that determines whether the revoke() system call can invalidate
file descriptors on block special devices. If revoke_tty_only is set to
1 (the default), the revoke() argument must be a character (tty) dev-
ice, and a block device argument results in an [ENOTTY] error. If
revoke_tty_only is set to 0, the revoke() argument can be either a
character or a block device.

Default value: 1 (character devices only)

You can modify this attribute at run time; however, the default value
is strongly recommended in a TruCluster environment.


Show quoted text
> revoke() does so after closing the slave device received from
> openpty() or equivalent. revoke() returning ENOTTY is probably a bug,
> but some experimentation reveals that calling revoke() on a slave pty
> file descriptor without closing it first doesn't result in ENOTTY.
> It's possible that there's some bug involving various STREAMS modules
> not being pushed on open of the slave pty device after it's been
> closed, but if that were the case, other pty-related stuff should
> fail, right?

In retrospect, it does seem weird that it fails on what should be a
character device. What's the path it's trying revoke? I haven't actually
looked. :)

As a general rule, I'm willing to ascribe lots of bad behavior to STREAMS
as most STREAMS code seems to be at least partially broken in very
significant ways.

State-Changed-From-To: analyzed-closed
State-Changed-By: tlyu
State-Changed-When: Fri Aug 16 17:21:18 2002
State-Changed-Why:

Fixed in 1.2.3.

Show quoted text
>Unformatted: