Skip to content

Commit

Permalink
Revert "Attempt to fix rhbz#2186996 rhbz#2221433 rhbz#2245705"
Browse files Browse the repository at this point in the history
This reverts commit de84778.

I made a mistake and the rules were not valid:
| Compiling targeted mysql module
| mysql.te:80:ERROR 'unknown type sysctl_net_t' at token ';' on line 5659:
| allow mysqld_t proc_net_t:file { read getattr open };
| allow mysqld_t sysctl_net_t:dir search;
| /usr/bin/checkmodule:  error(s) encountered while parsing configuration

Reverting until I find a way to implement the rules correctly
  • Loading branch information
FaramosCZ committed Nov 17, 2023
1 parent d4b14cd commit 2d5769f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mysql.te
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ allow mysqld_t self:unix_stream_socket create_stream_socket_perms;
allow mysqld_t self:tcp_socket create_stream_socket_perms;
allow mysqld_t self:udp_socket create_socket_perms;

allow mysqld_t proc_net_t:file { read getattr open };
allow mysqld_t sysctl_net_t:dir search;
allow mysqld_t sysctl_net_t:file { read getattr open };

manage_dirs_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
manage_files_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
manage_sock_files_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
Expand Down

0 comments on commit 2d5769f

Please sign in to comment.