Re: rc.local not start at the boot

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

 



On 10/31/2014 02:09 PM, Ed Greshko wrote:
It was quite simple....

I replicated what I hoped to be the OP's environment in a VM.  In doing so I also saw a failure to successfully complete the execution of the rsync command.  However, as you saw, there were no error messages to be seen.

So, I simply looked in /var/log/audit/audit.log  And saw this in AVC in the log...

type=AVC msg=audit(1414746668.306:107): avc:  denied  { search } for  pid=805 comm="rsync" name="programmers" dev="dm-0" ino=786655 scontext=system_u:system_r:rsync_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir permissive=0

Notice that the command in question is "rsync".

Then using the selinux tools available, determined that "setsebool -P rsync_full_access 1" was a fix for the AVC.

I then rebooted and everything now works......for me.

Thank you. Asked and answered. The reason I asked in the first place was because I've seen many people blame their Linux problems on SELinux when there was absolutely no evidence that it was involved, and continue to do so after they'd completely disabled it with no change to the situation. In the lack of direct evidence, I tend to be skeptical of such claims, because insisting that SELinux is the culprit in such cases simply wastes time and effort that could be used to better effect in finding evidence as to what really is the cause.

I also find it interesting that it was causing the command to fail for you, but doesn't seem to be involved in the OP's case. I will be very interested in learning just what's going on, and will continue to offer suggestions if and when I have them.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux