Project

General

Profile

Bug #2640

sendmail_include.sh::turn_m4_crank is buggy

Added by Jens Elkner about 7 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Start date:
2012-04-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

usr/src/cmd/svc/shell/sendmail_include.sh aka /lib/svc/share/sendmail_include.sh is bogus: it doesn't work for mail config files outside /etc/mail/cf/ and may overwrite /etc/mail/*.cf files even on error. E.g.:

cp /etc/mail/cf/cf/submit.mc /etc/mail/
svccfg -s sendmail-client:default \
    'setprop config/path_to_submit_mc = "/etc/mail/submit.mc"'
svccfg -s sendmail-client:default refresh
svcadm restart sendmail-client

ls -al /etc/mail/submit.cf
svcs -xv

Files

sendmail_include.sh.patch (1.43 KB) sendmail_include.sh.patch Jens Elkner, 2012-04-18 11:44 PM

Also available in: Atom PDF