Bug 839033

Summary: sendmail config is not created
Product: [openSUSE] openSUSE 12.3 Reporter: Volker Kuhlmann <bugz57>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: bugz57, gstansfield
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Volker Kuhlmann 2013-09-07 00:24:13 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.10.5 Safari/534.34

Yast re-creates the sendmail config only when changes are made in yast, but not when /etc/sysconfig/{,send}mail were edited.
There used to be SuSEconfig for this - pity it's gone, it was very good.

After a long time searching I found that /usr/lib/sendmail.d/update still does the job. 

Bug 1: This is not in $PATH (under some suitable name). For postfix, this was renamed to /usr/sbin/config.postfix . Why is there no config.sendmail?

Bug 2: This is not mentioned in the suse documentation. All those still refer to SuSEconfig, if at all.

Bug 3: This script is not mentioned in the release notes. There was a release note update specifically for mentioning config.postfix. Did no-one have the presence of mind to check the other MTAs?


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Dr. Werner Fink 2013-09-09 07:48:10 UTC
???

In a fresh installed /etc/sysconfig/sendmail there is always a line

  ## Command:     /usr/lib/sendmail.d/update

which informs YaST what script uses.  And if you edit those files by hand
you may read this.

Beside this: sendmail is not the default MTA and therefore there is no reason to add such a change into the release notes.
Comment 2 Volker Kuhlmann 2013-09-11 02:34:41 UTC
That /etc/sysconfig/* contain a program line for yast is news to me, but it's appreciated.
No I do not read this for sendmail, because no general info about those sysconfig files has ever been included in them, to my knowledge, and for the sendmail one, I know what variables are in the file so no incentive to do much reading in that place.
To find the script in the end I probably straced yast.

Whether sendmail is currently a default package or not is immaterial to me, and it was at some stage when I created my config. 

The way in which SuSEconfig has been axed is a ridiculous way of maintaining a distribution. At least the parts for postfix and sendmail are still in use, probably as they were, and after a decade+ of using openSUSE everyone knew SuSEconfig. So  if you really need to axe it, have it output 1 sentence with the location of the new script. Takes 5 minutes, and still works for the next oS releases - not everyone installs every release. Simply leaving the users in the rain and causing stress and wasted time is not user-friendly. This is also a reason against recommending SLES to anyone. Sure change happens, this is not a useful way to handle it. I am saying this with a hope that matters may improve.
Comment 3 Dr. Werner Fink 2014-03-28 07:41:00 UTC
*** Bug 869986 has been marked as a duplicate of this bug. ***
Comment 4 Dr. Werner Fink 2015-02-11 15:12:51 UTC
Ohh ... this is fixed since Mon Sep 9 12:32:40 UTC 2013