Bug 660148
| Summary: | SELinux preventing KDM from notifying Grub of next default boot option | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Greg Martyn <greg.martyn> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-26 20:23:32 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: | |||
|
Description
Greg Martyn
2010-12-05 21:06:19 UTC
audit2allow says: #============= xdm_t ============== allow xdm_t boot_t:file write; So it completely works with the following local policy # grep xdm_t /var/log/messages | audit2allow -M mypol # semodule -i mypol.pp in enforcing mode? Which is why I hate this function. I think the tool is actually modifying /boot/grub/grub.conf I also think so and I really don't like idea to add this to the policy (to the boolean in this case). It tries to run grub-set-default, which doesn't exist in fedora, then falls back to running grub and telling it to "savedefault --default=%d --once", (where %d is the index of the boot entry selected) which requires the grub-0.97-once.patch, which fedora apparently has. The code is in svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/workspace/kdm/backend/bootman.c This bug is tangentially related: https://bugzilla.redhat.com/show_bug.cgi?id=212649 Re: comment #2 Yes. It works now that I've done that. |