Description of problem: systemctl status postfix returns: postfix[5127]: Lancement du service de courrier Postfix : /etc/rc.d/init.d/functions: ligne 157 : shift: nombre de « shift » hors plage Tentative translation: postfix[5127]: Launch of Postfix mail service : /etc/rc.d/init.d/functions: line 157 : shift: number of « shift » out of range Line number 157 of /etc/rc.d/init.d/functions is: shift;; Version-Release number of selected component (if applicable): postfix-3.5.9-1 but I am not sure postfix is the culprit How reproducible: I get the same message on the 2 different machines I have installed postfix on Steps to Reproduce: 1.Install postfix 2.Configure postfix 3.systemctl status postfix Is it an issue?
It's a cosmetic only issue, that has existed since at least Mandriva days. Have you started postfix? On mine it shows ... $ systemctl status postfix ● postfix.service - LSB: Starts the postfix daemons Loaded: loaded (/etc/rc.d/init.d/postfix; generated) Drop-In: /etc/systemd/system/postfix.service.d └─override.conf Active: active (running) since Mon 2022-11-21 14:24:31 EST; 4 days ago Docs: man:systemd-sysv-generator(8) Main PID: 6406 (master) Tasks: 3 (limit: 19098) Memory: 100.9M CPU: 3.669s CGroup: /system.slice/postfix.service ├─ 6406 /usr/libexec/postfix/master -w ├─ 6408 qmgr -l -t unix -u -c └─152164 pickup -l -t unix -u -c -o content_filter= -o receive_override_options= followed by log messages about mail it's delivered. If I use systemctl to stop postfix, the status then includes ... Nov 25 14:55:31 x3.hodgins.homeip.net postfix[155013]: Shutting down postfix: /etc/rc.d/init.d/functions: line 157: shift: shift count out of range Nov 25 14:55:31 x3.hodgins.homeip.net postfix[155013]: [ OK ] The issue can show with most init scripts, but not all. There's no easy way to suppress the message without changing how it works and is used in all init scripts that source the functions. Closing as wontfix.
Status: NEW => RESOLVEDCC: (none) => davidwhodginsResolution: (none) => WONTFIX