Skip to content

Commit

Permalink
Label /usr/lib/NetworkManager/dispatcher as NetworkManager_initrc_exec_t
Browse files Browse the repository at this point in the history
With NetworkManager 1.20 the dispatcher scripts are moved out of /etc to /usr/lib.
https://src.fedoraproject.org/rpms/dhcp/c/b25b19a69ea76e9d11b188a153b4d7214e36b017?branch=master

Fixed Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1764485
  • Loading branch information
5umm3r15 authored and wrabcak committed Nov 25, 2019
1 parent d5761e2 commit 11a7e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions networkmanager.fc
Expand Up @@ -13,6 +13,7 @@
/etc/wicd/wireless-settings.conf -- gen_context(system_u:object_r:NetworkManager_var_lib_t, s0)
/etc/wicd/wired-settings.conf -- gen_context(system_u:object_r:NetworkManager_var_lib_t, s0)

/usr/lib/NetworkManager/dispatcher\.d(/.*)? gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
/usr/lib/systemd/system/NetworkManager.* -- gen_context(system_u:object_r:NetworkManager_unit_file_t,s0)

/usr/libexec/nm-dispatcher.* -- gen_context(system_u:object_r:NetworkManager_exec_t,s0)
Expand Down

0 comments on commit 11a7e05

Please sign in to comment.