-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0.beta
-
None
-
None
-
rhel-sst-security-selinux
-
ssg_security
-
1
-
QE ack
-
False
-
-
No
-
None
-
-
None
-
Automated
-
Release Note Not Required
-
-
All
-
None
:: [ 06:18:58 ] :: [ BEGIN ] :: Running 'mkdir policy' :: [ 06:18:58 ] :: [ PASS ] :: Command 'mkdir policy' (Expected 0, got 0) :: [ 06:18:58 ] :: [ BEGIN ] :: Running 'sepolicy generate -p policy --application /usr/bin/mysqld_safe' nm: /usr/bin/mariadbd-safe: file format not recognized Created the following files: policy/mariadbd_safe.te # Type Enforcement file policy/mariadbd_safe.if # Interface file policy/mariadbd_safe.fc # File Contexts file policy/mariadbd_safe_selinux.spec # Spec file policy/mariadbd_safe.sh # Setup Script :: [ 06:18:59 ] :: [ PASS ] :: Command 'sepolicy generate -p policy --application /usr/bin/mysqld_safe' (Expected 0, got 0) :: [ 06:18:59 ] :: [ BEGIN ] :: Running 'cat policy/*fc' /usr/bin/mariadbd-safe -- gen_context(system_u:object_r:mariadbd_safe_exec_t,s0) :: [ 06:18:59 ] :: [ PASS ] :: Command 'cat policy/*fc' (Expected 0, got 0) :: [ 06:18:59 ] :: [ BEGIN ] :: Running 'grep /var/lib/mysql policy/*.fc' :: [ 06:18:59 ] :: [ FAIL ] :: Command 'grep /var/lib/mysql policy/*.fc' (Expected 0, got 1) :: [ 06:18:59 ] :: [ BEGIN ] :: Running 'grep /var/log/mariadb policy/*.fc' :: [ 06:18:59 ] :: [ FAIL ] :: Command 'grep /var/log/mariadb policy/*.fc' (Expected 0, got 1) :: [ 06:18:59 ] :: [ BEGIN ] :: Running 'rm -rf policy' :: [ 06:18:59 ] :: [ PASS ] :: Command 'rm -rf policy' (Expected 0, got 0)
fixed in Fedora - https://github.com/fedora-selinux/selinux/commit/d925b00da35384331df9bf31935398c37117f895
What were you trying to do that didn't work?
Please provide the package NVR for which bug is seen:
policycoreutils-3.7-1.el10.x86_64
policycoreutils-devel-3.7-1.el10.x86_64
policycoreutils-python-utils-3.7-1.el10.noarch
python3-policycoreutils-3.7-1.el10.noarch
How reproducible:
always
Steps to reproduce
- get a RHEL-10.0 beta machine
- run the automated test
- look for failed checks
Expected results
Actual results
- clones
-
RHEL-15434 `sepolicy generate --application` does not detect writable locations [rhel-9]
- Closed
- links to