search for: sepol_context_to_sid

Displaying 4 results from an estimated 4 matches for "sepol_context_to_sid".

2013 Apr 08
1
libvirt, selinux, moving images to ~/images does not work
...am running custom build 3.8 kernel and libvirt from git ("eebbb23 qemu: support URI syntax for NBD"). More detailed output is below, this is all from the host system. What do I miss? Thank you. [root at vpl2 ~]# tail /var/log/messages 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 dbus-daemon[2903]: libsepol.context_from_record: could not create context structure Apr 8 16:47:48 vpl2 dbus-d...
2012 Jan 13
1
SELinux and rsh+xauth
...: $ 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 .Xauthority -rw-------. naudin biom system_u:object_r:xauth_home_t:s0 .Xaut...
2015 Apr 01
1
SEmodule dependency hell.
...ile 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: Failed! semodule -R [root at xnet241 ~]# semanage port -d -t http_...
2007 Jun 12
1
Selinux custom policy issue - Centos 5
...-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 returned error code 1. Where file_upload_store_t is one of my custom...