Viktor Dukhovni:
> > [root@mail2 ~]#  bash -c "ls -ld /var{,/lib{,/postfix{,/master.lock}}}"
> > drwxr-xr-x. 20 root    root    4096 Mar  2  2017 /var
> > drwxr-xr-x. 29 root    root    4096 Sep  7 03:46 /var/lib
> > drwxr--r--.  2 postfix postfix 4096 Sep  7 16:07 /var/lib/postfix
> > -rw-r--r--.  1 postfix postfix    0 Sep  7 16:07 
> > /var/lib/postfix/master.lock
> 
> And yet the funny "." characters remain...  

They persist even if SeLinux is disabled. Example:

# ls -ld  /var{,/lib{,/postfix{,/master.lock}}}
drwxr-xr-x. 22 root    root    4096 Sep  5 18:17 /var
drwxr-xr-x. 63 root    root    4096 Sep  5 18:17 /var/lib
drwx------.  2 postfix root    4096 Jul 30 16:53 /var/lib/postfix
-rw-------.  1 postfix postfix   33 Jul 28 08:14 /var/lib/postfix/master.lock

Note that this file contains a PID, whereas on the broken system,
the master daemon aborts before it can lock and update the file.

You might want to remove that file, and fsck the file system, before
starting Postfix.

        Wietse

Reply via email to