Bug 482924
| Summary: | ppc64 X crash: "Fatal server error: SELinux: Failed to set up security class mapping" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||
| Component: | libselinux | Assignee: | Daniel Walsh <dwalsh> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | ajax, dwalsh, eparis, jwboyer, mcepl, mgrepl, xgl-maint | ||||
| Target Milestone: | --- | Keywords: | SELinux | ||||
| Target Release: | --- | ||||||
| Hardware: | ppc64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-03-03 20:04:48 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 446452 | ||||||
| Attachments: |
|
||||||
|
Description
Will Woods
2009-01-28 20:40:23 UTC
Thanks for the bug report. We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue. Please attach your X server config file (/etc/X11/xorg.conf, if available) and X server log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link below. Could you please also try to run without any /etc/X11/xorg.conf (if you have one) whatsoever and let X11 autodetect your display and video card? Attach to this bug /var/log/Xorg.0.log from this attempt as well, please. We will review this issue again once you've had a chance to attach this information. Thanks in advance. Created attachment 330393 [details]
Xorg.0.log showing crash
There is no xorg.conf. Interesting dmesg lines:
PCI: Non-PCI map for f0000000, prot: 32b
ioctl32(Xorg:2472): Unknown cmd fd(0) cmd(80086408){t:'d';sz:8} arg(ffc57768) on
/var/log/Xorg.0.log
ioctl32(Xorg:2472): Unknown cmd fd(0) cmd(80086408){t:'d';sz:8} arg(ffc57768) on
/var/log/Xorg.0.log
This happens outside of anaconda as well, so it's not specific to the installer environment. Haven't tried 32-bit ppc, but this problem doesn't manifest on x86_64 or i386. Judging by the ioctl() messages in dmesg, it's possible that Xorg is doing the right thing and this is a kernel problem with SELinux on ppc. After talking to dwalsh I'm pretty sure this is a problem with Xorg's SELinux extension.
Creating an xorg.conf that contains:
Section "Extensions"
Option "SELinux" "Disable"
EndSection
lets X start up normally.
Will, can you try again with xorg-x11-server-1.5.99.902-4.fc11 once it's built? That was needlessly terse. -4 includes a strerror() dump at the point where that fails, so hopefully we'll get some better idea of why it hates us. Unfortunately, no: SELinux: Failed to set up security class mapping, Success By which I mean: no, strerror() is unhelpfully giving an error of "Success". Changed summary since this happens outside of anaconda. I still see this on a dual G5 with: xorg-x11-server-Xorg-1.5.99.903-3.fc11.ppc xorg-x11-server-common-1.5.99.903-3.fc11.ppc xorg-x11-drv-evdev-2.1.99-1.20090219.fc11.ppc xorg-x11-drv-ati-6.10.0-3.fc11.ppc http://userspace.selinuxproject.org/trac/changeset/b27ff3397dcef05a4a22343dccf18f3a29b7de90 Lets me start Xvfb on a ppc64 machine. dwalsh can you integrate and build a new libselinux ? Fixed in libselinux-2.0.78-1.fc11 |