Skip to content

Commit e4903d8

Browse files
authored
Merge pull request #6 from sfeifer/main
Allow valkey datasource and unification of bin and sbin
2 parents ae90d33 + 7473b5e commit e4903d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

grafana.fc

+6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@
33

44
/etc/grafana(/.*)? gen_context(system_u:object_r:grafana_conf_t,s0)
55

6+
# bin and sbin are unified in some distributions
7+
# define context for both bin and sbin paths
68
/usr/sbin/grafana-cli -- gen_context(system_u:object_r:grafana_exec_t,s0)
79
/usr/sbin/grafana-server -- gen_context(system_u:object_r:grafana_exec_t,s0)
810
/usr/sbin/grafana -- gen_context(system_u:object_r:grafana_exec_t,s0)
11+
/usr/bin/grafana-cli -- gen_context(system_u:object_r:grafana_exec_t,s0)
12+
/usr/bin/grafana-server -- gen_context(system_u:object_r:grafana_exec_t,s0)
13+
/usr/bin/grafana -- gen_context(system_u:object_r:grafana_exec_t,s0)
914

1015
/var/lib/grafana(/.*)? gen_context(system_u:object_r:grafana_var_lib_t,s0)
1116
#/var/lib/grafana/grafana.db -- gen_context(system_u:object_r:grafana_db_t,s0)
@@ -23,3 +28,4 @@
2328
#define context for pcp plugin
2429
#/usr/share/performancecopilot-pcp-app/datasources/redis/pcp_redis_datasource_(.*) -- gen_context(system_u:object_r:grafana_pcp_exec_t,s0)
2530
/usr/libexec/grafana-pcp/datasources/redis/pcp_redis_datasource_(.*) -- gen_context(system_u:object_r:grafana_pcp_exec_t,s0)
31+
/usr/libexec/grafana-pcp/datasources/valkey/pcp_valkey_datasource_(.*) -- gen_context(system_u:object_r:grafana_pcp_exec_t,s0)

0 commit comments

Comments
 (0)