FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-08-2011, 10:52 PM
Jerry James
 
Default Linux kernel 3.0 + SELinux problem

I'm having some kind of problem with SELinux on the Rawhide 3.0
kernels. The boot process gets stuck loading the SELinux policy over
and over again. I get a long series of messages like this for a few
minutes:

[ timestamp] type=1403 audit(various numbers): policy loaded
auid=4294967295 ses=4294967295

Then something times out, I think. It always scrolls by too quickly
for me to read it, but it looks like a typical stuck process kernel
backtrace. Then I get some variety, and start seeing an endless
parade of these:

[ timestamp] type=1403 audit(various numbers): policy loaded
auid=4294967295 ses=4294967295
[ timestamp] SELinux: 2048 avtab hash slots, 223865 rules.
[ timestamp] SELinux: 2048 avtab hash slots, 223865 rules.
[ timestamp] SELinux: 9 users, 13 roles, 3663 types, 193 bools, 1
sens, 1024 cats
[ timestamp] SELinux: 81 classes, 223865 rules

Well, at least I guess it's endless. I've let it go for as long as 10
minutes in the hope that something else would happen. I've tried both
kernel 3.0-0.rc1.git0.2 and kernel 3.0-0.rc2.git0.1 and have the same
problem with both. I touched /.autorelabel and rebooted with the last
2.6.39 kernel, but that didn't help. The only way I can boot these
kernels is to use "selinux=0" on the boot line.

I'm seeing this on 2 virtual machines, one x86_64 and one i686, both
with fully updated Rawhide as of today and (almost) the same set of
packages installed. Both "yum upgrade" and "package-cleanup
--orphans" show nothing to do. On both, after booting with selinux=0,
"systemctl --failed" lists 0 units. Both started life as F-14
machines, became F-15 Alpha and then F-15 Beta boxes, and were
upgraded to Rawhide after the release of F-15. It's possible some
configuration got screwed up along the way.

If anyone has a theory about what's going on, I'm all ears. Thanks,
--
Jerry James
http://www.jamezone.org/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-08-2011, 10:58 PM
Tom London
 
Default Linux kernel 3.0 + SELinux problem

On Wed, Jun 8, 2011 at 3:52 PM, Jerry James <loganjerry@gmail.com> wrote:
> I'm having some kind of problem with SELinux on the Rawhide 3.0
> kernels. *The boot process gets stuck loading the SELinux policy over
> and over again. *I get a long series of messages like this for a few
> minutes:
>
> [ timestamp] type=1403 audit(various numbers): policy loaded
> auid=4294967295 ses=4294967295
>
> Then something times out, I think. *It always scrolls by too quickly
> for me to read it, but it looks like a typical stuck process kernel
> backtrace. *Then I get some variety, and start seeing an endless
> parade of these:
>
> [ timestamp] type=1403 audit(various numbers): policy loaded
> auid=4294967295 ses=4294967295
> [ timestamp] SELinux: 2048 avtab hash slots, 223865 rules.
> [ timestamp] SELinux: 2048 avtab hash slots, 223865 rules.
> [ timestamp] SELinux: *9 users, 13 roles, 3663 types, 193 bools, 1
> sens, 1024 cats
> [ timestamp] SELinux: *81 classes, 223865 rules
>
> Well, at least I guess it's endless. *I've let it go for as long as 10
> minutes in the hope that something else would happen. *I've tried both
> kernel 3.0-0.rc1.git0.2 and kernel 3.0-0.rc2.git0.1 and have the same
> problem with both. *I touched /.autorelabel and rebooted with the last
> 2.6.39 kernel, but that didn't help. *The only way I can boot these
> kernels is to use "selinux=0" on the boot line.
>
> I'm seeing this on 2 virtual machines, one x86_64 and one i686, both
> with fully updated Rawhide as of today and (almost) the same set of
> packages installed. *Both "yum upgrade" and "package-cleanup
> --orphans" show nothing to do. *On both, after booting with selinux=0,
> "systemctl --failed" lists 0 units. *Both started life as F-14
> machines, became F-15 Alpha and then F-15 Beta boxes, and were
> upgraded to Rawhide after the release of F-15. *It's possible some
> configuration got screwed up along the way.
>
> If anyone has a theory about what's going on, I'm all ears. *Thanks,
> --
> Jerry James
> http://www.jamezone.org/

See https://bugzilla.redhat.com/show_bug.cgi?id=711015

Believe updated systemd is building.

tom

--
Tom London
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-08-2011, 11:01 PM
Jerry James
 
Default Linux kernel 3.0 + SELinux problem

On Wed, Jun 8, 2011 at 4:58 PM, Tom London <selinux@gmail.com> wrote:
> See https://bugzilla.redhat.com/show_bug.cgi?id=711015
>
> Believe updated systemd is building.

Would you believe I scanned the entire list of bugs against the
"kernel" component looking for this, and never thought about looking
at the "systemd" component? Thanks, Tom! I'll patiently wait for the
new systemd.
--
Jerry James
http://www.jamezone.org/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-09-2011, 02:19 AM
Bruno Wolff III
 
Default Linux kernel 3.0 + SELinux problem

On Wed, Jun 08, 2011 at 17:01:07 -0600,
Jerry James <loganjerry@gmail.com> wrote:
> On Wed, Jun 8, 2011 at 4:58 PM, Tom London <selinux@gmail.com> wrote:
> > See https://bugzilla.redhat.com/show_bug.cgi?id=711015
> >
> > Believe updated systemd is building.
>
> Would you believe I scanned the entire list of bugs against the
> "kernel" component looking for this, and never thought about looking
> at the "systemd" component? Thanks, Tom! I'll patiently wait for the
> new systemd.

You should be able to get it out of koji now. I wasn't having much luck
with the rc2 kernel though.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-09-2011, 01:23 PM
"Richard W.M. Jones"
 
Default Linux kernel 3.0 + SELinux problem

On Wed, Jun 08, 2011 at 09:19:43PM -0500, Bruno Wolff III wrote:
> On Wed, Jun 08, 2011 at 17:01:07 -0600,
> Jerry James <loganjerry@gmail.com> wrote:
> > On Wed, Jun 8, 2011 at 4:58 PM, Tom London <selinux@gmail.com> wrote:
> > > See https://bugzilla.redhat.com/show_bug.cgi?id=711015
> > >
> > > Believe updated systemd is building.
> >
> > Would you believe I scanned the entire list of bugs against the
> > "kernel" component looking for this, and never thought about looking
> > at the "systemd" component? Thanks, Tom! I'll patiently wait for the
> > new systemd.
>
> You should be able to get it out of koji now. I wasn't having much luck
> with the rc2 kernel though.

This ftrace bug prevents the Rawhide kernel from booting about 20% of
the time:

https://bugzilla.redhat.com/show_bug.cgi?id=710921

It's fixed upstream but the fix isn't in Linus's tree yet (should be
pulled shortly though).

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-09-2011, 09:20 PM
Jim Meyering
 
Default Linux kernel 3.0 + SELinux problem

Richard W.M. Jones wrote:
> On Wed, Jun 08, 2011 at 09:19:43PM -0500, Bruno Wolff III wrote:
>> On Wed, Jun 08, 2011 at 17:01:07 -0600,
>> Jerry James <loganjerry@gmail.com> wrote:
>> > On Wed, Jun 8, 2011 at 4:58 PM, Tom London <selinux@gmail.com> wrote:
>> > > See https://bugzilla.redhat.com/show_bug.cgi?id=711015
>> > >
>> > > Believe updated systemd is building.
>> >
>> > Would you believe I scanned the entire list of bugs against the
>> > "kernel" component looking for this, and never thought about looking
>> > at the "systemd" component? Thanks, Tom! I'll patiently wait for the
>> > new systemd.
>>
>> You should be able to get it out of koji now. I wasn't having much luck
>> with the rc2 kernel though.
>
> This ftrace bug prevents the Rawhide kernel from booting about 20% of
> the time:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=710921

Nice work, Rich!
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-09-2011, 09:20 PM
Jim Meyering
 
Default Linux kernel 3.0 + SELinux problem

Richard W.M. Jones wrote:
> On Wed, Jun 08, 2011 at 09:19:43PM -0500, Bruno Wolff III wrote:
>> On Wed, Jun 08, 2011 at 17:01:07 -0600,
>> Jerry James <loganjerry@gmail.com> wrote:
>> > On Wed, Jun 8, 2011 at 4:58 PM, Tom London <selinux@gmail.com> wrote:
>> > > See https://bugzilla.redhat.com/show_bug.cgi?id=711015
>> > >
>> > > Believe updated systemd is building.
>> >
>> > Would you believe I scanned the entire list of bugs against the
>> > "kernel" component looking for this, and never thought about looking
>> > at the "systemd" component? Thanks, Tom! I'll patiently wait for the
>> > new systemd.
>>
>> You should be able to get it out of koji now. I wasn't having much luck
>> with the rc2 kernel though.
>
> This ftrace bug prevents the Rawhide kernel from booting about 20% of
> the time:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=710921

Nice work, Rich!
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org