Re: snmp Permission denied on mounted filesystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/15/2010 06:49 AM, Paul Ward wrote:
> Hi all,
> 
> I am sure this comes up a lot but have spent hours trying to find th
> eanswers with no success apart from disabling selinux which I don't
> want to do.
> 
> Apr 15 16:48:26 sargas snmpd[23987]: /home/appl: Permission denied
> 
> The following filesystems are mounted with same issue.
> 
> /dev/sda7             3.9G  427M  3.3G  12% /home/appl
> /dev/sda6             4.0G  2.7G  1.2G  71% /home/users
> /dev/sda8             3.9G  2.5G  1.2G  68% /home/work
> 
> ls -ldZ /home/appl/
> drwxr-xr-x  root     root                                      /home/appl/

This shows that the directory has not been labeled, yet.

> /usr/sbin/sestatus
> SELinux status:         enabled
> SELinuxfs mount:        /selinux
> Current mode:           enforcing
> 

Could it be that you don't have any policy package installed?

What does 'rpm -qv selinux-policy-targeted' say?
What are the settings in /etc/selinux/config?

> What do I need to do to fix this chcon? If so what is the full comman
> / context to enter?
> 
> Thanks
> --
> selinux mailing list
> selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux