Mantis - logwatch
Viewing Issue Advanced Details
5191 packaging major always 2014-07-22 15:55 2014-08-14 16:27
ghenry  
bwalton  
normal  
closed  
fixed  
none    
none  
0005191: missing link if deinstalling SUNWsndmu
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
and i say that just adding this last link is ok
Issue History
2014-07-22 15:55 ghenry New Issue
2014-07-30 23:31 bwalton Project postfix => logwatch
2014-07-30 23:33 bwalton Note Added: 0010881
2014-07-30 23:33 bwalton Status new => closed
2014-07-30 23:33 bwalton Resolution open => fixed
2014-07-30 23:33 bwalton Status closed => assigned
2014-07-30 23:33 bwalton Assigned To => bwalton
2014-08-12 19:02 maciej Note Added: 0010889
2014-08-14 16:27 bwalton Note Added: 0010891
2014-08-14 16:27 bwalton Status assigned => closed

Notes
(0010881)
bwalton   
2014-07-30 23:33   
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.
(0010889)
maciej   
2014-08-12 19:02   
FYI: This bug is blocking the integration of new logwatch into testing.
(0010891)
bwalton   
2014-08-14 16:27   
This should be considered fixed.