Postfix logs

Discussion in 'General' started by unsichtbare, Dec 7, 2019.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Is this something to worry about:
    Code:
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21289]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libgcc_s.so.1
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21290]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_dns-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21291]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_hesiod-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21292]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libresolv-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21293]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_files-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21294]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_compat-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21295]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nis-2.27.so
    Dec  7 17:23:16 webhost1 postfix/postfix-script[21296]: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nisplus-2.27.so
    
    THX
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Depends. What is the owner and group owner if it is not root? Do you have any idea what operating system is on that host? Some OS has package manager commands to check integrity of installed files.
     
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    What concerns me is this:
    Code:
    -rw-r--r-- 1 web40 client21  96616 May  8  2019 libgcc_s.so.1
    -rw-r--r-- 1 web40 client21  39744 Apr 16  2018 libnss_compat-2.27.so
    lrwxrwxrwx 1 root  root         21 Apr 16  2018 libnss_compat.so.2 -> libnss_compat-2.27.so
    -rw-r--r-- 1 web40 client21  26936 Apr 16  2018 libnss_dns-2.27.so
    lrwxrwxrwx 1 root  root         18 Apr 16  2018 libnss_dns.so.2 -> libnss_dns-2.27.so
    -rw-r--r-- 1 web40 client21  47568 Apr 16  2018 libnss_files-2.27.so
    lrwxrwxrwx 1 root  root         20 Apr 16  2018 libnss_files.so.2 -> libnss_files-2.27.so
    -rw-r--r-- 1 web40 client21  22880 Apr 16  2018 libnss_hesiod-2.27.so
    lrwxrwxrwx 1 root  root         21 Apr 16  2018 libnss_hesiod.so.2 -> libnss_hesiod-2.27.so
    -rw-r--r-- 1 web40 client21  47576 Apr 16  2018 libnss_nis-2.27.so
    lrwxrwxrwx 1 root  root         18 Apr 16  2018 libnss_nis.so.2 -> libnss_nis-2.27.so
    -rw-r--r-- 1 web40 client21  55736 Apr 16  2018 libnss_nisplus-2.27.so
    lrwxrwxrwx 1 root  root         22 Apr 16  2018 libnss_nisplus.so.2 -> libnss_nisplus-2.27.so
    -rw-r--r-- 1 root  root     258040 Sep  5 03:59 libnss_systemd.so.2
    -rw-r--r-- 1 web40 client21 101168 Apr 16  2018 libresolv-2.27.so
    lrwxrwxrwx 1 root  root         17 Apr 16  2018 libresolv.so.2 -> libresolv-2.27.so
    
    This is an Ubuntu 18.04 ISPConfig 3 (The perfect server) -BUT- I used the migration utility to move several older servers to one.
    Can/should I chown -R to root:root
    THX,
    -JB
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is that from using jailkit? Then it is normal to have the user owning the system files, since they are copies for that user inside the jail.
     
  5. unsichtbare

    unsichtbare Member HowtoForge Supporter

Share This Page