summaryrefslogtreecommitdiff
path: root/pcr/libsemanage/libsemanage.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libsemanage/libsemanage.install')
-rw-r--r--pcr/libsemanage/libsemanage.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/libsemanage/libsemanage.install b/pcr/libsemanage/libsemanage.install
new file mode 100644
index 000000000..bf21bb203
--- /dev/null
+++ b/pcr/libsemanage/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
+}