On 03/13/2014 01:09 PM, Paul Cartwright wrote:
I just rebooted, and got another error with selinux. The error says:
if you want to allow python to have execte access on the file-
You need to change the label on $FIX_TARGET_PATH
# semanage fcontext -a -t FILE_TYPE '$FIX_TARGET_PATH'
where FILE_TYPE is one of the following: abrt_helper_exec_t, bin_t,
boot_t, cupsd_config_exec_t, cupsd_exec_t, etc_t, hostname_exec_t,
ld_so_t, lib_t, prelink_exec_t, shell_exec_t, src_t, system_conf_t,
system_db_t, textrel_shlib_t, usr_t.
Then execute:
restorecon -v '$FIX_TARGET_PATH'
so I run
# semanage fcontext -a -t
abrt_helper_exec_t '$FIX_TARGET_PATH'
[root@pauls-server ~]# restorecon -v '$FIX_TARGET_PATH'
restorecon: lstat($FIX_TARGET_PATH) failed: No such file or directory
what am I doing wrong?
I ran the command:
# touch /.autorelabel ( from memory, not sure of spelling)
rebooted, and no errors.
--
Paul Cartwright
Registered Linux User #367800 and new counter #561587