[rsbac] strange error

Bencsath Boldizsar rsbac@rsbac.org
Tue Oct 22 18:11:01 2002


On one of my computers, with my 2.4.19+pre8 kernel (rsbac 1.2.1) ;
(Debian) I tried to install a new libc6 package (2.3.1).
After installing I found strange problems, and I could not boot normally
with rsbac kernel.

Investigating for the problem I found , that every file that was updated
by the apt-get install method was created with "rc_type_fd 0" (general
file FD), no with the "inhereted" (-2) parameters, so there were no
permissions to map_exec (etc.) them.

I fixed the problem by attr_back_fd -r /lib |grep "type_fd 0" |sed "s/fd
0/fd -2/g" >/tmp/a; sh /tmp/a something...

boldi