Bug 2049728 - Add missing policy rules for latest alsactl
Summary: Add missing policy rules for latest alsactl
Keywords:
Status: CLOSED DUPLICATE of bug 1958210
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 35
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-02 15:45 UTC by Jaroslav Kysela
Modified: 2022-02-08 18:35 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-02-08 18:35:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Kysela 2022-02-02 15:45:36 UTC
The alsactl utility cannot load the requested modules (call kmod utility) and modify the sound driver configuration through sysfs:

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/100

Proposed rules:

  module alsactl 1.0;

  require {
	type sysfs_t;
	type kmod_exec_t;
	type alsa_t;
  	class file { execute write };
  }

  #============= alsa_t ==============
  allow alsa_t kmod_exec_t:file execute;
  allow alsa_t sysfs_t:file write;

Comment 1 Zdenek Pytela 2022-02-08 18:35:41 UTC

*** This bug has been marked as a duplicate of bug 1958210 ***


Note You need to log in before you can comment on or make changes to this bug.