[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submission from [Gaspar Bakos <bakos@konkoly.hu>] (fwd)



>From owner-rtl Sun May  6 04:13:56 2001
Received: from szombat.konkoly.hu (szombat.konkoly.hu [193.6.22.9])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f46ADtJ31003
	for <rtl-digest@rtlinux.org>; Sun, 6 May 2001 04:13:55 -0600
Received: by szombat.konkoly.hu (Postfix, from userid 199)
	id 202DA18EC7; Sun,  6 May 2001 12:09:46 +0200 (MET DST)
Received: from localhost (localhost [127.0.0.1])
	by szombat.konkoly.hu (Postfix) with ESMTP id 078F732A8E
	for <rtl-digest@rtlinux.org>; Sun,  6 May 2001 12:09:46 +0200 (MET DST)
Date: Sun, 6 May 2001 12:09:45 +0200 (MET DST)
From: Gaspar Bakos <bakos@konkoly.hu>
To: rtl-digest@rtlinux.org
Subject: psc.o, EUID problems
Message-ID: <Pine.GSO.4.21.0105061137300.10022-100000@szombat.konkoly.hu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

I am a newcomer and installed rtlinux v3.0 on a AMD-K7 600MHz PC
running redhat 7.0 with kernel 2.2.18.
Installation was straightforward by following steps in the INSTALL.

I found that when loading the psc.o module, the id() system utility gets
screwed up, returning a bad euid:

[root@hat1.konkoly.hu rtlinux-3.0]# lsmod
Module                  Size  Used by
psc                    18264   0  (unused)
rtl_fifo                8536   0  [psc]
rtl_posixio             6988   0  [rtl_fifo]
rtl_sched              26692   0  [psc]
rtl_time                4964   0  [psc rtl_posixio rtl_sched]
rtl                    17392   0  [psc rtl_fifo rtl_posixio rtl_sched
rtl_time]
mbuff                   5156   0  (unused)
tulip                  34220   1  (autoclean)
pci-scan                2808   0  (autoclean) [tulip]

[root@hat1.konkoly.hu rtlinux-3.0]# id
uid=0(root) gid=0(root) euid=4294967295 <= !!!
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

After this you can't even reboot/halt the system. First I needed to unload
psc.o:

[root@hat1.konkoly.hu rtlinux-3.0]# rmmod psc
[root@hat1.konkoly.hu rtlinux-3.0]# id   
uid=0(root) gid=0(root) 
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

I checked the FAQ, etc., but found no trace of such a problem. Can anyone
suggest something?

Regards,
Gaspar