Load libsepol.so.1 instead of libsepol.so
PATCH 1/1 Load libsepol.so.1 instead of libsepol.so
From: Laurent Bigonville <[email protected]>
libsepol.so symlink is usually part of the development package, try to load the library directly instead.
--- libsemanage/utils/semanage_migrate_store | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libsemanage/utils/semanage_migrate_store +1 -1
@@ -10,7 +10,7 @@ from optparse import OptionParser import ctypes -sepol = ctypes.cdll.LoadLibrary('libsepol.so') +sepol = ctypes.cdll.LoadLibrary('libsepol.so.1') try: import selinux
Signature · 1 line
2.6.2
Quoted 4 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
libsepol.so symlink is usually part of the development package, try to load the library directly instead.
Thanks, applied. Next time, please remember to add your Signed-off-by and include a prefix in the subject line indicating the component affected (e.g. [PATCH] libsemanage: semanage_migrate_store: Load libsepol.so.1 instead of libsepol.so).
Quoted 18 lines
--- libsemanage/utils/semanage_migrate_store | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libsemanage/utils/semanage_migrate_store +1
-1@@ -10,7 +10,7 @@ from optparse import OptionParser import ctypes -sepol = ctypes.cdll.LoadLibrary('libsepol.so') +sepol = ctypes.cdll.LoadLibrary('libsepol.so.1') try: import selinux