Bug 62166 - Mistype in startup script cripples auxiliary configuration files
Summary: Mistype in startup script cripples auxiliary configuration files
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
(Show other bugs)
Version: 7.2
Hardware: All Linux
Target Milestone: ---
Assignee: Florian La Roche
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2002-03-28 01:54 UTC by Need Real Name
Modified: 2007-04-18 16:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-28 01:54:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2002-03-28 01:54:38 UTC
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):
file /etc/rc.d/init.d/sendmail

How Reproducible:
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.

Actual Results:
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. 

Expected Results:
The e-mail adress, domain, etc. would be availabel to sendmail.

Additional Information:
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

Comment 1 Florian La Roche 2002-04-03 15:11:02 UTC
Fixed in rawhide and that rpm can be easily rebuilt for older releases.
A new errata version is underway.


Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.