summarylogtreecommitdiffstats
path: root/libsemanage.install
diff options
context:
space:
mode:
Diffstat (limited to 'libsemanage.install')
-rw-r--r--libsemanage.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsemanage.install b/libsemanage.install
new file mode 100644
index 000000000000..bf21bb20378c
--- /dev/null
+++ b/libsemanage.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "$(vercmp 2.4 "$2")" -eq 1 ]; then
+ echo "The policy storage location changed in SELinux Userspace Project 2.4 from /etc/selinux to /var/lib/selinux."
+ echo "Run /usr/lib/selinux/semanage_migrate_store to migrate your policy files to the new location."
+ fi
+}