Skip to main content

CPANEL-40281 - Logwatch issue with cPanel on Ubuntu

Comments

6 comments

  • cPRex Jurassic Moderator
    Hey there! cPanel itself doesn't make or distribute logwatch, as that is handled by the operating system repositories. From the details I found, postfix is part of the logwatch software that Ubuntu provides, which would not be compatible with cPanel tools. This is not the case with CentOS systems, as the only dependencies there are the following: [root@host /]# yum install logwatch Last metadata expiration check: 3:45:41 ago on Mon 21 Mar 2022 03:25:46 PM UTC. Dependencies resolved. ======================================================================================================================================================================================================= Package Architecture Version Repository Size ======================================================================================================================================================================================================= Installing: logwatch noarch 7.4.3-11.el8 baseos 424 k Installing dependencies: perl-Date-Manip noarch 6.60-2.el8 baseos 1.1 M perl-Sys-CPU x86_64 0.61-14.el8 baseos 20 k perl-Sys-MemInfo x86_64 0.99-6.el8 baseos 27 k
    We can see the following on a Ubuntu system: # apt-cache depends logwatch logwatch Depends: perl |Depends: postfix Depends: citadel-server courier-mta esmtp-run exim4-daemon-light lsb-invalid-mta masqmail msmtp-mta nullmailer opensmtpd qmail-run sendmail-bin ssmtp dma exim4-daemon-heavy postfix Recommends: libdate-manip-perl Suggests: libsys-cpu-perl Suggests: libsys-meminfo-perl
    and we'll find postfix is in the "depends" list.
    0
  • izghitu
    Hey there! cPanel itself doesn't make or distribute logwatch, as that is handled by the operating system repositories. From the details I found, postfix is part of the logwatch software that Ubuntu provides, which would not be compatible with cPanel tools. This is not the case with CentOS systems, as the only dependencies there are the following: [root@host /]# yum install logwatch Last metadata expiration check: 3:45:41 ago on Mon 21 Mar 2022 03:25:46 PM UTC. Dependencies resolved. ======================================================================================================================================================================================================= Package Architecture Version Repository Size ======================================================================================================================================================================================================= Installing: logwatch noarch 7.4.3-11.el8 baseos 424 k Installing dependencies: perl-Date-Manip noarch 6.60-2.el8 baseos 1.1 M perl-Sys-CPU x86_64 0.61-14.el8 baseos 20 k perl-Sys-MemInfo x86_64 0.99-6.el8 baseos 27 k
    We can see the following on a Ubuntu system: # apt-cache depends logwatch logwatch Depends: perl |Depends: postfix Depends: citadel-server courier-mta esmtp-run exim4-daemon-light lsb-invalid-mta masqmail msmtp-mta nullmailer opensmtpd qmail-run sendmail-bin ssmtp dma exim4-daemon-heavy postfix Recommends: libdate-manip-perl Suggests: libsys-cpu-perl Suggests: libsys-meminfo-perl
    and we'll find postfix is in the "depends" list.

    Thanks for your reply. It is not necessarily postfix that is in the depends list. It is the "default-mta" or "mail-transport-agent" virtual packages that are in the depends list. The cpanel-exim package however does not make part of any of those virtual packages. So the question is how do I resolve this? How do I get logwatch installed and have dependencies satisfied? cPanel is supposed to work in such a manner that it does not break any of the official package dependencies. Is there perhaps any way to make the cpanel-exim package part of the "mail-transport-agent" virtual package?
    0
  • cPRex Jurassic Moderator
    I've created case CPANEL-40281 so our team can check this out. I don't have a workaround available at this time, but I'll be sure to post once I hear something.
    0
  • izghitu
    I've created case CPANEL-40281 so our team can check this out. I don't have a workaround available at this time, but I'll be sure to post once I hear something.

    Hi, Several months have passed since this was reported. Do you by any chance have any update on this? I have another Ubuntu server that has the exact same problem. Thanks in advance.
    0
  • cPRex Jurassic Moderator
    Let me reach out to the team and get a status and I'll get back with you!
    0
  • cPRex Jurassic Moderator
    I can see the task has been assigned to a specific development team, but I don't have any timeframe as to when it will be implemented. I can say that since logwatch isn't a required tool for cPanel, this is a bit lower priority case since it doesn't break anything within the cPanel software.
    0

Please sign in to leave a comment.