A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=5191 ====================================================================== Reported By: ghenry Assigned To: ====================================================================== Project: logwatch Issue ID: 5191 Category: packaging Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2014-07-22 15:55 CEST Last Modified: 2014-07-30 23:33 CEST ====================================================================== Summary: missing link if deinstalling SUNWsndmu Description: on sparc S10, i got this error: Can't exec "sendmail": No such file or directory at /opt/csw/bin/logwatch.pl line 1017, <TESTFILE> line 3. Can't execute sendmail -t: No such file or directory
CSWpostfix-2.9.4,REV=2012.09.19 is installed, and i removed SUNWsndmr SUNWsndmu, as stated in /opt/csw/share/doc/postfix/README.CSW. The links are ok: fury # ls -l /usr/lib/sendmail /usr/sbin/newaliases /usr/bin/mailq lrwxrwxrwx 1 root root 18 Jul 21 14:50 /usr/bin/mailq -> /opt/csw/bin/mailq lrwxrwxrwx 1 root root 22 Jul 21 14:50 /usr/lib/sendmail -> /opt/csw/sbin/sendmail lrwxrwxrwx 1 root root 23 Jul 21 14:50 /usr/sbin/newaliases -> /opt/csw/bin/newaliases does it mean that it just lacks the link: /usr/sbin/sendmail -> /opt/csw/sbin/sendmail ====================================================================== ---------------------------------------------------------------------- (0010881) bwalton (administrator) - 2014-07-30 23:33 https://www.opencsw.org/mantis/view.php?id=5191#c10881 ---------------------------------------------------------------------- This is a logwatch problem, not a postfix problem. Logwatch should find /usr/lib/sendmail which is the canonical path for sendmail on Solaris. The fact that it worked with postfix having linked sendmail in /usr/sbin is just coincidence. I've released an updated logwatch that will prefer /usr/lib/sendmail by default and thus work with any mailer.
