Why does m4 error "linux-gnu.m4 - No such file or directory" appear the first time after updating sendmail.mc?

Posted by Mike B on Server Fault See other posts from Server Fault or by Mike B
Published on 2014-08-23T19:00:52Z Indexed on 2014/08/23 22:23 UTC
Read the original article Hit count: 223

Filed under:
|

SendMail 8.14.x | CentOS 5.x

I've noticed that if I manually update /etc/mail/sendmail.mc (for example, enable TLS support), and then bounce sendmail, I get the following error:

Shutting down sm-client:                [   OK   ]
Shutting down sendmail:                 [   OK   ]
Starting sendmail: sendmail.mc:18: m4: cannot open `/usr/share/sendmail-cf/ostype/linux-gnu.mf': No such file or directory
                                        [   OK   ]
Starting sm-client:                     [   OK   ]

This only happens one time after I update a sendmail.mc file. If I bounce sendmail again (without making any other change), I don't see the error any more.

Any idea why this happens? It doesn't cause any errors - I'm just curious.

© Server Fault or respective owner

Related posts about emailserver

Related posts about sendmail