Re: v1.1.1-pre5 lookup device problems


From: Amon Ott <ao@rsbac.org>
Subject: Re: v1.1.1-pre5 lookup device problems
Date: Fri, 9 Mar 2001 12:26:12 +0100

Next Article (by Subject): Re: v1.1.1-pre5 lookup device problems Alessandro Iob
Previous Article (by Subject): v1.1.1-pre5 lookup device problems Alessandro Iob
Top of Thread: v1.1.1-pre5 lookup device problems Alessandro Iob
Next in Thread: Re: v1.1.1-pre5 lookup device problems Alessandro Iob
Articles sorted by: [Date] [Author] [Subject]


--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

On Fre, 09 Mär 2001 Alessandro Iob wrote:
> 
> I've compiled a kernel without RAID/LVM support and with DEVFS: results are
> that it still continuously emits this messages:
> 
> rsbac_get_attr(): Could not lookup device!
> rsbac_adf_request(): rsbac_get_attr() for security_level returned EINVALIDDEV!
> 
> I've included the complete boot-log with rsbac 'all' debugging option turned
> on, I hope it will help

It did. devfs gets mounted before RSBAC is initialized, so the data structures
are not yet there. rsbac_init only adds root fs. Just fixed initialization.

Could you please apply the attached patch against init/main.c, retry and report.

Amon.

--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/x-c;
  name="mainpatch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="mainpatch"

LS0tIG1haW4uY34JRnJpIEZlYiAyMyAwOTo1MToyNiAyMDAxCisrKyBtYWluLmMJRnJpIE1hciAg
OSAxMjozMDozNyAyMDAxCkBAIC03NDYsNiArNzQ2LDExIEBACiAJLyogTW91bnQgdGhlIHJvb3Qg
ZmlsZXN5c3RlbS4uICovCiAJbW91bnRfcm9vdCgpOwogCisjaWZkZWYgQ09ORklHX1JTQkFDCisg
ICAgICAgIC8qIFJTQkFDOiBPSywgYWxsIGlzIGluaXRpYWxpemVkLCByb290IGlzIG1vdW50ZWQ6
IEluaXQgUlNCQUMuICovCisgICAgICAgIHJzYmFjX2luaXQoKTsKKyNlbmRpZgorCiAJbW91bnRf
ZGV2ZnNfZnMgKCk7CiAKICNpZmRlZiBDT05GSUdfQkxLX0RFVl9JTklUUkQKQEAgLTc3NCwxMCAr
Nzc5LDYgQEAKIAlsb2NrX2tlcm5lbCgpOwogCWRvX2Jhc2ljX3NldHVwKCk7CiAKLSNpZmRlZiBD
T05GSUdfUlNCQUMKLSAgICAgICAgLyogUlNCQUM6IE9LLCBhbGwgaXMgaW5pdGlhbGl6ZWQsIHJv
b3QgaXMgbW91bnRlZDogSW5pdCBSU0JBQy4gKi8KLSAgICAgICAgcnNiYWNfaW5pdCgpOwotI2Vu
ZGlmCiAJLyoKIAkgKiBPaywgd2UgaGF2ZSBjb21wbGV0ZWQgdGhlIGluaXRpYWwgYm9vdHVwLCBh
bmQKIAkgKiB3ZSdyZSBlc3NlbnRpYWxseSB1cCBhbmQgcnVubmluZy4gR2V0IHJpZCBvZiB0aGUK


--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD--
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Subject): Re: v1.1.1-pre5 lookup device problems Alessandro Iob
Previous Article (by Subject): v1.1.1-pre5 lookup device problems Alessandro Iob
Top of Thread: v1.1.1-pre5 lookup device problems Alessandro Iob
Next in Thread: Re: v1.1.1-pre5 lookup device problems Alessandro Iob
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.