Re: Some things that break with 2.1.36. ( For me anyway. )

David S. Miller (davem@jenolan.rutgers.edu)
Sat, 26 Apr 1997 00:30:06 -0400


Date: Fri, 25 Apr 1997 20:51:02 -0700 (PDT)
From: Richard Ketchersid <ketchers@math.berkeley.edu>

5) Only tty1 - tty3 work ( mgetty ). Here is a line from the log file:

> Apr 25 20:08:58 genera login[100]: unable to change tty `/dev/tty4' for user `??????'
> Apr 25 20:09:24 genera login[239]: unable to change tty `/dev/tty4' for user `??????'
> Apr 25 20:09:33 genera login[101]: unable to change tty `/dev/tty5' for user `??????'
> Apr 25 20:09:40 genera login[241]: unable to change tty `/dev/tty5' for user `??????'

Apply this patch, which has been posted here 6 times so far:

Index: linux/fs/inode.c
===================================================================
RCS file: /vger/u4/cvs/linux/fs/inode.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- inode.c 1997/04/21 19:01:34 1.19
+++ inode.c 1997/04/23 21:01:27 1.20
@@ -288,7 +288,7 @@

((attr->ia_valid & ATTR_GID) &&
(!in_group_p(attr->ia_gid) &&
- (attr->ia_gid != inode->i_gid))) ||
+ (attr->ia_gid != inode->i_gid)) && not_fsuser) ||

((attr->ia_valid & (ATTR_ATIME_SET | ATTR_MTIME_SET)) &&
(fsuid != iuid) && not_fsuser))