Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some domains miss the map permission #201

Closed
bachradsusi opened this issue Sep 11, 2017 · 6 comments
Closed

some domains miss the map permission #201

bachradsusi opened this issue Sep 11, 2017 · 6 comments

Comments

@bachradsusi
Copy link
Member

# ausearch -m avc,user_avc,selinux_err | grep " map " | audit2allow         


#============= auditctl_t ==============
allow auditctl_t auditd_etc_t:file map;

#============= gpg_pinentry_t ==============
allow gpg_pinentry_t user_tmp_t:file map;

#============= insmod_t ==============
allow insmod_t modules_object_t:file map;

#============= lvm_t ==============
allow lvm_t lvm_etc_t:file map;

#============= pulseaudio_t ==============
allow pulseaudio_t pulseaudio_home_t:file map;
allow pulseaudio_t user_tmp_t:file map;

#============= staff_t ==============
allow staff_t cert_t:file map;
allow staff_t v4l_device_t:chr_file map;

#============= sysadm_t ==============
allow sysadm_t auditd_etc_t:file map;
allow sysadm_t auditd_log_t:file map;

#============= xserver_t ==============
allow xserver_t dri_device_t:chr_file map;
allow xserver_t user_tmp_t:file map;
allow xserver_t xserver_tmpfs_t:file map;
@bachradsusi
Copy link
Member Author

allow semanage_t user_tmp_t:file map;

@bachradsusi
Copy link
Member Author

allow staff_t mandb_cache_t:file map;

@wrabcak
Copy link
Member

wrabcak commented Sep 12, 2017

All AVCs should be fixed in the latest f27 build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=969161

@bachradsusi
Copy link
Member Author

Thanks! There's a missing rule for pulseaudio_t:

^_^ rpm -q selinux-policy                                                           
selinux-policy-3.13.1-282.fc27.noarch

^_^ ausearch -i -m avc -ts recent | grep " map " | audit2allow                      
#============= pulseaudio_t ==============     
allow pulseaudio_t user_tmp_t:file map;        

@wrabcak
Copy link
Member

wrabcak commented Sep 12, 2017

@wrabcak
Copy link
Member

wrabcak commented Oct 9, 2017

Looks like this issue is fixed. Closing...

@wrabcak wrabcak closed this as completed Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants