The heartbeat type polling tool nanny (part of Piranha / Linux Virtual Server) is being denied access to my "sendprogram" scripts by SELinux. I think this is purely an SELinux issue not nanny.
As I read it context unconfined_u:system_r:piranha_lvs_t:s0 is denied execute to unconfined_u:object_r:piranha_lvs_t:s0.
[yum@centos6dev ~]$ ls -laZ /home/yumdrwx------. yum yum unconfined_u:object_r:user_home_dir_t:s0 .drwxr-xr-x. root root system_u:object_r:home_roo... [by nikkilocke]
I am setting up a linux to act as a fileserver, using CentOS 6.3.
Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as /samba/seg
I have created /samba/seg, assigned a domain group, changed FS permissions to 770, executed:
semanage fcontext -a -t samba_share_t /samba/seg
restorecon -R -v /samba/seg
My config (from test
I keep getting SELinux error messages that state "SELinux is preventing samba (/usr/sbin/smbd) "search" to / (fusefs_t)." and the like, seems that pretty much everything I do generates some kind of error. I currently have SELinux set to permissive but I don't want to continue to run that way.
A new rpm for mode_security F12 simplified the rules to get it started.
In the conf files the logs directive say to specify the path to the dir and make sure it exits.
As this dir list shows ther are several.
The suggested top dir is /var/log/msa
# cd /var/log/msa
[root@Jovette-14 msa]# ls -laZ
I have trouble with samba, my old config from samba 3.6 don't work for 4.03 f18. The most clients windows and linux machines can r/w/c share files, but the androids users can browse the share and delete files but no more operations are permitted, why this?
If I use this code where docroot is my new root for subdomain
$ ls -la --context /var/www/html
drwxr-xr-x root root system_u:object_r:httpd_sys_content_t .
$ chcon -R system_u:object_r:httpd_sys_content_t /new/docroot
Then what will happen to my base url which is in default html folder?
I compiled and built PHP on Ubuntu and CentOS, but failed(when running ./configure).
It said like this: "
There is something wrong.
Before running restorecon -r /tftpboot I get the following SELinux Context:[root@CentOS02 ~]# ls -laZ /tftpboot
drwxr-xr-x. root root unconfined_u:ob... [by draconisle]