[rsbac] 1.4.0-rc3 check_comp_rc: rc_role wrong?

Amon Ott ao at rsbac.org
Wed Jan 7 12:48:33 CET 2009


Am Dingsdag 25 November 2008 schrieb Amon Ott:
> On Monday 24 November 2008 22:44, Bernhard Seibold wrote:
> > On Di, 2008-11-18 at 16:52 +0100, Amon Ott wrote:
> > > On Monday 17 November 2008 19:32, Bernhard Seibold wrote:
> > > > User 1000 is rc_role 4. No errors with 2.6.26.7 with 1.4.0-rc2
> > > > (and your one-line ipv6 patch).
> > > >
> > > > 0000009047|check_comp_rc(): pid 2299432064 (gweather-applet),
> > > > owner 1000, rc_role 0, NETOBJ rc_type 0, request CREATE ->
> > > > NOT_GRANTED!
> > >
> > > The pid is complete rubbish here. Just corrected output at
> > > several places. I have attached a patch, can you please retry
> > > with it?
> >
> > The PIDs are now ok, but of course the problem persists. This was
> > logged while starting Apache (in Softmode, by user 1000 from a
> > "sudo -s" shell), with debug_adf_auth and debug_adf_rc turned on:
> >
> > 0000002834|rsbac_set_attr(): Trying to set attribute for process 0!
> > 0000002835|rsbac_adf_set_attr_rc: rsbac_set_attr() for rc_role
> > returned error!
>
> Right. The problem is that the pid struct pointer is null here, this
> is what triggers these error messages. Now I have to find out why.
>
> All other errors you have listed are consequences of this.

Can you please retest with latest svn code? Another user reported that these 
problems are now finally gone for him.

If you still have the same problem, there should at least be additional log 
messages.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list