Red Hat Bugzilla – Bug 502344
SELinux blocks emacs
Last modified: 2009-11-18 08:09:44 EST
Description of problem:
SELinux blocks emace
Version-Release number of selected component (if applicable):
F11 preview, emacs 22.3
Steps to Reproduce:
1. Set EDITOR, VISUAL to emacs
2. Open terminal
3. crontab -e
Display :0.0 unavailable, simulating -nw
+ Stopped crontab -e
SELinux is preventing emacs (admin_crontab_t) "connectto" xserver_t.
SELinux is preventing emacs (admin_crontab_t) "setpgid" admin_crontab_t.
SELinux is preventing gnome-terminal (admin_crontab_t) "signal" unconfined_t.
Open emacs showing crontab
since "crontab -e" invokes user-defined editor (EDITOR, VISUAL) and this editor can use X, admin_crontab_t policy should be probably modified to allow this...
or is it possible to run the editor in unconfined_t?
reassigning to selinux-policy, reassign back to me if you think this is a bug in emacs (or to cronie if you think cron owner can fix this)
Fixed in selinux-policy-3.6.12-42.fc11.noarch
I will run it in unoconfined.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here: