Skip to contentSkip to conversation

sepolgen: move interface info to var

PATCH New Karl MacMillan 1 participant 1 message Mar 21, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sepolgen: move interface info to var

This patch moves the sepolgen runtime data from /usr/share to /var/lib to facilitate a read-only /usr.

sepolgen/src/sepolgen/defaults.py +1 -1
diff -r 8e23d0938bd8 sepolgen/src/sepolgen/defaults.py
@@ -22,7 +22,7 @@ Various default settings, including file
 """
 
 def data_dir():
-    return "/usr/share/sepolgen"
+    return "/var/lib/sepolgen"
 
 def perm_map():
     return data_dir() + "/perm_map"
sepolgen/src/share/Makefile +1 -1
diff -r 8e23d0938bd8 sepolgen/src/share/Makefile
@@ -1,4 +1,4 @@ SHAREDIR ?= $(DESTDIR)/usr/share/sepolge
-SHAREDIR ?= $(DESTDIR)/usr/share/sepolgen
+SHAREDIR ?= $(DESTDIR)/var/lib/sepolgen
 
 install:
 	-mkdir -p $(SHAREDIR)

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.