<br><br><div class="gmail_quote">2009/9/14 Antonio Olivares <span dir="ltr"><<a href="mailto:olivares14031@yahoo.com">olivares14031@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
--- On Mon, 9/14/09, martin tack <<a href="mailto:tack649@gmail.com">tack649@gmail.com</a>> wrote:<br>
<br>
> From: martin tack <<a href="mailto:tack649@gmail.com">tack649@gmail.com</a>><br>
> Subject: Dracut or Selinux problem with update to kernel-2.6.31-2.fc12.x86_64 ?<br>
> To: <a href="mailto:fedora-test-list@redhat.com">fedora-test-list@redhat.com</a><br>
> Date: Monday, September 14, 2009, 12:34 AM<br>
<div><div></div><div class="h5">> Reboot after update halts on gdm with black<br>
> screen .<br>
><br>
> gdm is active but not visible ,because one hit of tab and<br>
> enter reboots .<br>
><br>
> While this was the first kernel update with dracut<br>
> initramfs on my system ,I suspect a rules conflict with<br>
> selinux .<br>
><br>
><br>
> See also the avc denials in dmesg ,<br>
><br>
> snip-xorg.0.log----------------------------------------------------------------------------------------------------------------------------<br>
> (II) RADEON(0): Modeline "640x480"x60.0<br>
> 25.20  640 656 752 800  480 490 492 525 -hsync -vsync<br>
> (31.5 kHz)<br>
><br>
> (II) RADEON(0): Modeline "640x400"x70.1<br>
> 25.17  640 656 752 800  400 412 414 449 +hsync -vsync<br>
> (31.5 kHz)<br>
> (II) RADEON(0): EDID for output DVI-0<br>
> (II) RADEON(0): EDID for output S-video<br>
> (II) AIGLX: Suspending AIGLX clients for VT switch<br>
><br>
> (II) Power Button: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) Power Button: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) Sleep Button: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) HID 046a:0021: Close<br>
><br>
> (II) UnloadModule: "evdev"<br>
> (II) Logitech USB Receiver: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) Macintosh mouse button emulation: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) HID 046a:0021: Close<br>
><br>
> (II) UnloadModule: "evdev"<br>
> (II) AT Translated Set 2 keyboard: Close<br>
> (II) UnloadModule: "evdev"<br>
> (II) PS/2 Logitech Mouse: Close<br>
> (II) UnloadModule: "evdev"<br>
> (WW) xf86CloseConsole: VT_WAITACTIVE failed: Interrupted<br>
> system call<br>
><br>
> snip&end----------------------------------------------------------------------------------------------------------------------------<br>
><br>
> and in dmesg<br>
><br>
> snip-dmesg------------------------------------------------------------------------------<br>
><br>
><br>
> SELinux: initialized (dev bdev, type bdev), uses<br>
> genfs_contexts<br>
> SELinux: initialized (dev rootfs, type rootfs), uses<br>
> genfs_contexts<br>
> SELinux: initialized (dev sysfs, type sysfs), uses<br>
> genfs_contexts<br>
> type=1403 audit(1252909022.438:3): policy loaded<br>
> auid=4294967295 ses=4294967295<br>
><br>
> dracut: Switching root<br>
> udev: starting version 145<br>
> type=1400 audit(1252909025.411:7): avc:  denied  { read }<br>
> for  pid=393 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> type=1400 audit(1252909025.411:8): avc:  denied  { open }<br>
> for  pid=393 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> shpchp: Standard Hot Plug PCI Controller Driver version:<br>
> 0.4<br>
> via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald<br>
> Becker<br>
> via-rhine 0000:00:12.0: PCI INT A -> GSI 23 (level, low)<br>
> -> IRQ 23<br>
> eth0: VIA Rhine II at 0xff6ff400, 00:17:31:79:ca:4d, IRQ<br>
> 23.<br>
><br>
> eth0: MII PHY found at address 1, status 0x786d advertising<br>
> 01e1 Link 45e1.<br>
> VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level,<br>
> low) -> IRQ 22<br>
> VIA 82xx Audio 0000:00:11.5: setting latency timer to 64<br>
> type=1400 audit(1252909027.568:9): avc:  denied  { read }<br>
> for  pid=695 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> type=1400 audit(1252909027.568:10): avc:  denied  { open<br>
> } for  pid=695 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> type=1400 audit(1252909028.179:11): avc:  denied  { read<br>
> } for  pid=710 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> type=1400 audit(1252909028.179:12): avc:  denied  { open<br>
> } for  pid=710 comm="modprobe"<br>
> name="modprobe.d" dev=sda2 ino=58<br>
> scontext=system_u:system_r:insmod_t:s0<br>
> tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir<br>
><br>
> device-mapper: multipath: version 1.1.0 loaded<br>
> EXT4-fs (sda2): internal journal on sda2:8<br>
> EXT4-fs (sdc7): barriers enabled<br>
> kjournald2 starting: pid 795, dev sdc7:8, commit interval 5<br>
> seconds<br>
> EXT4-fs (sdc7): internal journal on sdc7:8<br>
><br>
> EXT4-fs (sdc7): delayed allocation enabled<br>
> EXT4-fs: file extents enabled<br>
> EXT4-fs: mballoc enabled<br>
> EXT4-fs (sdc7): mounted filesystem with ordered data mode<br>
> SELinux: initialized (dev sdc7, type ext4), uses xattr<br>
><br>
> EXT4-fs (sda6): barriers enabled<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> I've spend allot of time searching bugzilla ,fedora<br>
> forum ,dracut pages all around ,and found no related<br>
> problems.<br>
><br>
><br>
> Do I have to report this one ? And to what party ?<br>
><br>
> Sincerely ,<br>
><br>
> --<br>
> Tack Martin<br>
><br>
><br>
><br>
><br>
</div></div>> -----Inline Attachment Follows-----<br>
><br>
> --<br>
<br>
modprobe.d error/denied avc:<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=522918" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=522918</a><br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=523039" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=523039</a><br>
<br>
It is either one or both of them?<br>
<br>
BTW, have you tried booting into level 3 and then startx from there.  I encountered something similar and overcame it using this trick.  I did not report back since I was watching football :(, and apologize in advance.<br>

<br>
Regards,<br>
<br>
Antonio<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
fedora-test-list mailing list<br>
<a href="mailto:fedora-test-list@redhat.com">fedora-test-list@redhat.com</a><br>
To unsubscribe:<br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-test-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-test-list</a><br>
</font></blockquote></div><br>Well ... neither explains WHEN selinux complains. I mean  its unclear in what<br>context . <br>But the latter (your's) seems to be it.<br><br>In the meanwhile I had started the system several times with init 3 ,<br>
and sure startx works fine .<br><br> But I suppose it needs some work ,to have a "normal" graphical start.<br><br>After experimenting some reinstalls (dracut,selinux,kernel&headers&firmware ,etc)<br>I thought to simplify the initramfs making my own for this hardware                              ( #dracut -H ),doing so eliminating some possible sources of troubles.<br>
<br>It fired back ,now I have problems with dracut making a initramfs !<br><br>At this moment I'm in the process of finding out !?<br><br>Ill notice when I see the light : )<br><br>NB : Controll Alt F# didn't give me a console .Only reboot and init 3 got me to it.   <br>
<br>Regards, and thanks for the reply : )<br> <br clear="all"><br>-- <br>Tack Martin<br><br><br>