mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.95k stars 1.17k forks source link

Questions about Mailcow / Docker Updates #2407

Closed c0by85 closed 5 years ago

c0by85 commented 5 years ago

Hi,

i use the Debian goodies / checkrestart to check if a server restart is necessary. Since a few days, i get this output and a restart does not make the message disappear.

root@mail ➜  ~ checkrestart
Found 119 processes using old versions of upgraded files
(33 distinct programs)
(6 distinct packages)

Of these, 2 seem to contain systemd service definitions or init scripts which can be used to restart them.
The following packages seem to have definitions that could be used
to restart their services:
cron:
    4625    /usr/sbin/cron
    6792    /usr/sbin/cron
postfix:
    6475    /usr/lib/postfix/sbin/master
    6480    /usr/lib/postfix/sbin/pickup
    6481    /usr/lib/postfix/sbin/qmgr
    6482    /usr/lib/postfix/sbin/qmgr
    10462   /usr/lib/postfix/sbin/tlsmgr
    13673   /usr/lib/postfix/sbin/postscreen
    13674   /usr/lib/postfix/sbin/proxymap
    13676   /usr/lib/postfix/sbin/spawn
    13682   /usr/lib/postfix/sbin/dnsblog
    13683   /usr/lib/postfix/sbin/dnsblog
    13685   /usr/lib/postfix/sbin/dnsblog
    13686   /usr/lib/postfix/sbin/dnsblog
    13687   /usr/lib/postfix/sbin/dnsblog
    13688   /usr/lib/postfix/sbin/dnsblog
    13689   /usr/lib/postfix/sbin/dnsblog
    13691   /usr/lib/postfix/sbin/smtpd
    13926   /usr/lib/postfix/sbin/anvil
These are the initd scripts:
service cron restart
service postfix restart

These processes (4) do not seem to have an associated init script to restart them:
python2.7-minimal:
    2131    /usr/bin/python2.7
    3139    /usr/bin/python2.7
bash:
    3958    /bin/bash
    4063    /bin/bash
    4175    /bin/bash
    4195    /bin/bash
    4197    /bin/bash
    4247    /bin/bash
    4621    /bin/bash
    5700    /bin/bash
    5702    /bin/bash
    6791    /bin/bash
    13678   /bin/bash
    16438   /bin/bash
    16451   /bin/bash
busybox-static:
    4061    /bin/busybox
    4077    /bin/busybox
    8381    /bin/busybox
    16453   /bin/busybox
    16454   /bin/busybox
coreutils:
    6479    /bin/sleep
    8382    /bin/sleep
    9659    /bin/sleep
    16203   /bin/sleep

Have the Docker contents not been updated properly? Here my Update commands.

cd /opt/mailcow-dockerized/
./update.sh
docker system prune
root@mail ➜  / lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:   bionic
root@mail ➜  / uname -a
Linux mail 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
andryyy commented 5 years ago

I doubt this tool works with procs started in containers.

c0by85 commented 5 years ago

How can i / we fix this?

andryyy commented 5 years ago

I don't know, it is not part of mailcow. I don't know how this tools works. If it checks fingerprints of the applications, it will probably never work correctly.