Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605758

Summary: sys-apps/policycoreutils-2.6: Modifying login definitions with python3 fails with 'libsemanage.dbase_llist_query: could not query record value'
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: SELinuxAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: arthur, selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1247714
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Vermeulen (RETIRED) gentoo-dev 2017-01-15 12:32:57 UTC
When trying to modify SELinux login definitions using python3, the definition fails with an obscure error message:

~# semanage login -m -s sysadm_u root
libsemanage.dbase_llist_query: could not query record value
OSError: [Errno 0] Error

This error does not occur when using python 2.
Comment 1 Jason Zaman gentoo-dev 2017-09-23 02:31:37 UTC
fixed in 2.7 which is stable