OpenSuSE 12.1: SuSEconfig --module postfix does not work

When there are changes in the /etc/sysconfig/postfix the postfix directories are not updated.
A “SuSEconfig” or a “SuSEconfig --module postfix” does not work.

I found a temporary workaround in a forum:

A “ln -t /sbin/conf.d /usr/sbin/SuSEconfig.postfix” would fix the problem for one time.

After a “SuSEconfig” the link is gone.
I think it is a bug in OpenSuSE 12.1. It is a very annoying because all changes on the mailserver have do be checked twice I they are really in the config files.

Best regards,

 Gerhard

On 2012-02-28 10:16, 4kerm wrote:
>
> When there are changes in the /etc/sysconfig/postfix the postfix
> directories are not updated.
> A “SuSEconfig” or a “SuSEconfig --module postfix” does not work.

Prove it :slight_smile:
Show a cli output showing the call to SuSEconfig, the result, what you
expected, your investigation with CLI commands or computer text.

Here we like to see computer text, not people interpretations. Paste the
text using code tags.

Or, if what you intend is report a bug, then do so in bugzilla, but they
will ask the same.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Here is the output of the shell command:

gw-stu:~ # cat /etc/SuSE-release 
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
pc-technik2:~ # SuSEconfig --module postfix
Starting SuSEconfig, the SuSE Configuration Tool...
Running module postfix only
Reading /etc/sysconfig and updating the system...
Module postfix does not exist
Finished.
gw-stu:~ # 

Here after my temporary workaround:


gw-stu:~ # ln -t /sbin/conf.d /usr/sbin/SuSEconfig.postfix
gw-stu:~ # SuSEconfig --module postfix
Starting SuSEconfig, the SuSE Configuration Tool...
Running module postfix only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.postfix...
Reading /etc/sysconfig and updating the system...
Setting up postfix local as MDA...
Setting up medium SPAM protection...
Finished.
gw-stu:~ # 

BTW: I am not quite sure if this is a bug or not. This is the reason why I posted it.
May be it’s a feature of 12.1 :\


Greetings form Austria,

Gerhard Scheutz (aka Kerm)

On 2012-02-28 16:56, 4kerm wrote:

> Here is the output of the shell command:
>
> Code:
> --------------------
> gw-stu:~ # cat /etc/SuSE-release
> openSUSE 12.1 (x86_64)
> VERSION = 12.1
> CODENAME = Asparagus
> pc-technik2:~ # SuSEconfig --module postfix
> Starting SuSEconfig, the SuSE Configuration Tool…
> Running module postfix only
> Reading /etc/sysconfig and updating the system…
> Module postfix does not exist
> Finished.
> gw-stu:~ #
> --------------------

I see… yes, I get the same result in my test environment, and I see
things have changed from 11.4 to 12.1.

On 11.4 the main file is /sbin/conf.d/SuSEconfig.postfix, but on 12.1 is
/usr/sbin/SuSEconfig.postfix, but there are no more SuSEconfig files in
that directory, it is weird.

And there are few modules in “/sbin/conf.d/*”.

It is indeed a bug. If you report it and post the number here I will add a
me too.

> BTW: I am not quite sure if this is a bug or not. This is the reason
> why I posted it.
> May be it’s a feature of 12.1 :\

They certainly have changed things, but the script gives an error, and that
is a bug.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2012-02-29 01:38, Carlos E. R. wrote:

> They certainly have changed things, but the script gives an error, and that
> is a bug.

I created a bugzilla (750685), and this is the resolution:

— Comment #5 from Peter Varkoly <@suse.com> 2012-03-07 11:20:59 UTC —

  1. There is no SuSEconfig postfix module any more.
  2. Bug 750677 has an other reason.
  3. rcpostfix restart do rebuild postmaps if necesary
    3.1 rcpostfix restart will do rebuild postaliases if necesary
    Update follows.
  4. yast2-mail calls /usr/sbin/SuSEconfig.postfix
  5. If you modify /etc/sysconfig/postfix or /etc/sysconfig/mail
    you have to run /usr/sbin/SuSEconfig.postfix
    instead of SuSEconfig --module postfix
  6. “ln -t /sbin/conf.d /usr/sbin/SuSEconfig.postfix” is not the solution


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)