> On Sep 8, 2017, at 10:07 AM, Fazzina, Angelo <angelo.fazz...@uconn.edu> wrote:
> 
> I ran 
> Yum remove postfix
> I moved any directories not deleted
> I have SELinux disabled  in /etc/sysconfig/
> 
> I ran yum install postfix.
> 
> Still same error, this is crazy.

You're not providing actionable information.  Does the "ls -ld"
command still report alternative access control for any of
the directories on the path from the root to
"/var/lib/postfix/master.lock"?

If so, master(8) likely still gets "Permission" denied when trying
to open the lock file.

Either you're wrong and SELinux is not disabled, or as Wietse
suggested there could be filesystem corruption, or there are
inherited access controls in place down from /var, etc.

You can test whether the restriction is still in place by giving
the "postfix" user a shell of "/bin/sh", then:

   # su postfix
   $ touch /var/lib/postfix/master.lock # Likely fails
   $ echo $$ > /var/lib/postfix/master.lock   # Likely fails

Fixing SELinux and broken filesystems is not a subject matter
for Postfix experts, best to ask on some forum dedicated for
your O/S, or just hunker down and figure it out.  Come back
to this list when the Postfix user has full rights to the
/var/lib/postfix/ directory.

-- 
        Viktor.

Reply via email to