Re: SELinux Exim Problem

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

 



On 09/09/2009 02:56 AM, John Horne wrote:
On Wed, 2009-09-09 at 12:21 +0530, Didar Hossain wrote:

But, why check "/boot"? As far as I understood from the statvfs(2), it
accepts a path to get the information. "/boot" is not something that
Exim will use as a spool directory. Or am I missing something!?

As said, because /boot is a separate partition. Statvfs looks at all the
partitions, not just the one containing the path, as far as I can tell
(look at strace output and you will see /proc/mounts being checked, and
then a stat of each partition).

Right. IIRC, because some elements of the path may be symlinks or bind mounts, statvfs will stat() the path argument, and then stat() each filesystem in /proc/mounts. It will compare the st_dev elements of each filesystem listed to the st_dev from the path in order to determine which fs actually contains the path argument.

The question I'd ask is why exim is using statvfs() instead of statfs().

The system is looking at /boot, but for some reason it is throwing up an
selinux error. That's the bit I don't understand (unless the 'boot_t'
context is somewhat specific about who can look at /boot, but then why
aren't errors shown if I simply try and do 'ls -l /boot'?).

That would be because exim is confined by policy and you are not.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux