Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605758 - sys-apps/policycoreutils-2.6: Modifying login definitions with python3 fails with 'libsemanage.dbase_llist_query: could not query record value'
Summary: sys-apps/policycoreutils-2.6: Modifying login definitions with python3 fails ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 12:32 UTC by Sven Vermeulen (RETIRED)
Modified: 2018-04-12 04:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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