Bug 28945 - postfix logs error in restart command
Summary: postfix logs error in restart command
Status: RESOLVED DUPLICATE of bug 27112
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 10:01 CEST by Marc Krämer
Modified: 2021-05-19 11:18 CEST (History)
1 user (show)

See Also:
Source RPM: initscripts-9.78-27.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Marc Krämer 2021-05-19 10:01:05 CEST
systemctl restart postfix 
logs this error:

Mai 19 09:58:13 borachio.qmsystems.de systemd[1]: Started LSB: Starts the postfix daemons.
Mai 19 09:58:13 borachio.qmsystems.de postfix[97014]: [  OK  ]
Mai 19 09:58:13 borachio.qmsystems.de postfix[97014]: /etc/rc.d/init.d/functions: Zeile 157: shift: Verschiebeanzahl ist außerhalb des Gültigkeitsbereiches.


Why don't we migrate to native systemctl service unit?
Comment 1 Aurelien Oudelet 2021-05-19 11:18:16 CEST
/etc/rc.d/init.d/functions: Zeile 157: shift: Verschiebeanzahl ist außerhalb des Gültigkeitsbereiches.
==>
/etc/init.d/functions: line 157: shift: number of "shift" out of range

This is a duplicate of Bug 27112 for the initscripts.

For postfix systemd unit file, this is upstream that must do it.
We can also make a TRACKER bug to list all services that should have a packaged systemd unit file for starting it.

According to upstream systemd, there is still a SysV compatibility layer and a systemd unit generator... But, this can be "obsoleted" and "dropped"...

*** This bug has been marked as a duplicate of bug 27112 ***

CC: (none) => ouaurelien
Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED


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