Re: [PATCH] Load libsepol.so.1 instead of libsepol.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/27/2015 06:41 PM, Laurent Bigonville wrote:
From: Laurent Bigonville <l.bigonville@xxxxxxxxx>

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).

---
  libsemanage/utils/semanage_migrate_store | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
index b5eefaa..0ebd285 100755
--- a/libsemanage/utils/semanage_migrate_store
+++ b/libsemanage/utils/semanage_migrate_store
@@ -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


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux