Red Hat Bugzilla – Bug 62166
Mistype in startup script cripples auxiliary configuration files
Last modified: 2007-04-18 12:41:20 EDT
Description of Problem:
/etc/rc.d/init.d/sendmail now conditionally calls make to create .db files
from the flat files in /etc/mail (such as virtusertabel.db). The make call
has a "-q" option, which prevents any processing of these files! I think
the developer MEANT to use the -s option.
The consequences of this problem is that someone who expects the sendmail
script to rebuild those files will probably be very puzzled and disappointed,
and may indeed throw up his/her hands at the whole thing, and tell everyone
how terrible Linux is, and all that, ans we wouldn't want that, would we?
Version-Release number of selected component (if applicable):
Install sendmail and make, and then put something into
/etc/mail/virtusertable, and then start sendmail via
the script, and see virtusertable.db NOT get created.
Steps to Reproduce:
1. Install sendmail and make (or make sure thay are there).
2. Put something into /etc/mail/virtusertable
3. Start sendmail via the script.
4. Observe that virtusertable.db is NOT created.
If you put a new email address into virtusertable, it has not been posted
to the virtusertable.db, so the actual results are that the email address in
question is processed as if it were never entered.
The e-mail adress, domain, etc. would be availabel to sendmail.
Two workarounds exist:
1. The sendmail admin can run make to create the files at any time.
2. The file /etc/rc.d/init.d/sendmail can be fixed. The -q option
can be changed to the -s option. If this were done on the next
release, much grief and gnashing of teeth and so forth would be
Fixed in rawhide and that rpm can be easily rebuilt for older releases.
A new errata version is underway.
Florian La Roche