On Cauldron (Mageia 8 Beta 1 Classic ISO, Plasma), See in logs after boot: resolvconf[935]: Lancement de resolvconf : /etc/init.d/functions: ligne 157 : shift: nombre de « shift » hors plage Not blocker, I don't know what's wrong in /etc/init.d/functions file at line 157. Typo? Assigning to basesystem maintainers.
As discussed on the dev ml ... As it's only affecting init.d scripts, I confirmed adding the line shopt -u shift_verbose near the top of /etc/rc.d/init.d/functions fixes the problem.
CC: (none) => davidwhodgins
Severity: minor => normalPriority: Low => Normal
*** Bug 28945 has been marked as a duplicate of this bug. ***
CC: (none) => mageia
CC: (none) => dvgevers
Or removing that last shift 1 in line 157 seems to also solve it. I assume that is because if there is only one argument then shifting that one argument gives nonsense.
CC: (none) => unruh
shopt -u simply seems to throw away the error notice, instead of fixing the problem.
Oops. Mga 9 fixes this with *) GPRINTF_MSG=$(gprintf "$1") # function may be called without any arguments, e.g. for 'success' [ $# -ne 0 ] && shift ;; although it was not fixed in Mga8. So this should presumably be reverted to FIXED
While it's fixed in m9, it will not be fixed in m8.
Resolution: (none) => OLDStatus: NEW => RESOLVED