Displaying 4 results from an estimated 4 matches for "context_from_str".
2013 Apr 08
1
libvirt, selinux, moving images to ~/images does not work
...ystem_u:system_r:svirt_t:s0:c263,c837 to sid
Apr 8 16:47:48 vpl2 dbus-daemon[2903]: libsepol.context_from_record: user
system_u is not defined
Apr 8 16:47:48 vpl2 dbus-daemon[2903]: libsepol.context_from_record: could
not create context structure
Apr 8 16:47:48 vpl2 dbus-daemon[2903]: libsepol.context_from_string: could
not create context structure
Apr 8 16:47:48 vpl2 dbus-daemon[2903]: libsepol.sepol_context_to_sid:
could not convert system_u:system_r:svirt_t:s0:c263,c837 to sid
Apr 8 16:47:48 vpl2 dbus-daemon[2903]: libsepol.context_from_record: user
system_u is not defined
Apr 8 16:47:48 vpl2 db...
2012 Jan 13
1
SELinux and rsh+xauth
...:c0.c1023 tclass=tcp_socket
The output from audit2allow is here :
$ grep AVC /var/log/audit/audit.log | audit2allow
libsepol.context_from_record: invalid security context: "system_u:system_r:xauth_t:s0-s0:c0.c1023"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:system_r:xauth_t:s0-s0:c0.c1023 to sid
(these 4 lines are repeated 2 times)
On Server, after creating a new authority file (with rsh again, while
Server is in permissive mode), I find :
$ ls -Z .Xautho...
2015 Apr 01
1
SEmodule dependency hell.
...ibsemanage.semanage_link_sandbox: Link packages failed (No such file
or directory).
semodule: Failed!
semodule -r webalizer
semodule -r apache
libsepol.context_from_record: type httpd_openshift_script_exec_t is
not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
unconfined_u:object_r:httpd_openshift_script_exec_t:s0 to sid
invalid context unconfined_u:object_r:httpd_openshift_script_exec_t:s0
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule:...
2007 Jun 12
1
Selinux custom policy issue - Centos 5
...do:
# checkmodule -M -m -o local.mod local.te
# semodule_package -o local.pp -m local.mod -f local.fc
# semodule -i local.pp
I get the following output:
libsepol.context_from_record: MLS is enabled, but no MLS context found
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:file_upload_store_t to sid
/etc/selinux/targeted/contexts/files/file_contexts: line 537 has
invalid context system_u:object_r:file_upload_store_t
libsemanage.semanage_install_active: setfiles...