Skip to contentSkip to conversation

usrmerge: Add missed /usr fcontexts

PATCH New Jason Zaman 2 participants 2 messages Feb 5, 2017 – Feb 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usrmerge: Add missed /usr fcontexts

---
 dphysswapfile.fc | 2 +-
 fakehwclock.fc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
dphysswapfile.fc +1 -1
index 1b2bfcc..3cf1968 100644
@@ -1,5 +1,5 @@
 /etc/dphys-swapfile             --      gen_context(system_u:object_r:dphysswapfile_conf_t,s0)
 
-/sbin/dphys-swapfile            --      gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
+/usr/sbin/dphys-swapfile            --      gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
 
 /var/swap                       --      gen_context(system_u:object_r:dphysswapfile_swap_t,s0)
fakehwclock.fc +1 -1
index d83c628..b0a55f6 100644
@@ -1,5 +1,5 @@
 /etc/fake-hwclock\.data				--	gen_context(system_u:object_r:fakehwclock_backup_t,s0)
 
-/sbin/fake-hwclock				--	gen_context(system_u:object_r:fakehwclock_exec_t,s0)
+/usr/sbin/fake-hwclock				--	gen_context(system_u:object_r:fakehwclock_exec_t,s0)
 
 /usr/lib/systemd/system/fake-hwclock\.service	--	gen_context(system_u:object_r:fakehwclock_unit_t,s0)
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/1 usrmerge: Add missed /usr fcontexts

Quoted 21 lines · Jason Zaman
---
 dphysswapfile.fc | 2 +-
 fakehwclock.fc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
dphysswapfile.fc +1 -1
index 1b2bfcc..3cf1968 100644
@@ -1,5 +1,5 @@
 /etc/dphys-swapfile             --      gen_context(system_u:object_r:dphysswapfile_conf_t,s0)
 
-/sbin/dphys-swapfile            --      gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
+/usr/sbin/dphys-swapfile            --      gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
 
 /var/swap                       --      gen_context(system_u:object_r:dphysswapfile_swap_t,s0)
fakehwclock.fc +0 -0
index d83c628..b0a55f6 100644

fakehwclock.fc line 5

Quoted 6 lines
fakehwclock.fc +1 -1
@@ -1,5 +1,5 @@
 /etc/fake-hwclock\.data				--	gen_context(system_u:object_r:fakehwclock_backup_t,s0)
 
-/sbin/fake-hwclock				--	gen_context(system_u:object_r:fakehwclock_exec_t,s0)
+/usr/sbin/fake-hwclock				--	gen_context(system_u:object_r:fakehwclock_exec_t,s0)
 
 /usr/lib/systemd/system/fake-hwclock\.service	--	gen_context(system_u:object_r:fakehwclock_unit_t,s0)

Merged.

Signature · 1 line
Chris PeBenito