On Mon, Oct 02, 2006 at 12:13:45PM -0400, James Morris ([EMAIL PROTECTED])
wrote:
> On Mon, 2 Oct 2006, Evgeniy Polyakov wrote:
>
> > On Mon, Oct 02, 2006 at 10:27:13AM -0400, James Morris ([EMAIL PROTECTED])
> > wrote:
> > > Updated version of the patch, which return directly after a flow cache
> > > lookup error in xfrm_lookup rather than returing via the cleanup path
> > > (which was causing a spurious dst_release).
> > >
> > > This works for me, although I never saw the oops with the old patch.
> > >
> > > Evgeniy, let me know if this fixes the oops you're seeing.
> >
> > With enabled selinux in enforcing mode I can not even get messages to
> > racoon, i.e. tcpdump sees first message of the daemon, but racoon log
> > (with a lot of -d) is not changed.
> > With permissive mode everything works fine.
>
> I think this could be your security policy denying access (which is a
> strong suspicion, becuase you hit the problem easily and it requires a
> policy denial).
>
> Can you look in /var/log/audit/audit.log ? (especially grep for
> 'association' )
Indeed.
type=AVC msg=audit(1159804556.391:21): avc: denied { polmatch } for
pid=2213 comm="racoon" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=association
But then it is quite strange why FC5 2.6.17-1.2187_FC5smp works,
are there some bindings to the kernel version?
(my knowledge about selinux changes related to xfrm are somewhere
between zero and void).
> What version of SELinux policy are you using?
>
> i.e. $ rpm -q selinux-policy-targeted
selinux-policy-targeted-2.3.7-2.fc5
> If it's not very recent, like 2.3.16-9 or better, you may need to run a
> yum update.
I run it every day in cron and there are no updates at
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/
behind my version.
>
> - James
> --
> James Morris
> <[EMAIL PROTECTED]>
--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html