Bug 27112 - /etc/init.d/functions: line 157: shift: number of "shift" out of range
Summary: /etc/init.d/functions: line 157: shift: number of "shift" out of range
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 8
Assignee: Base system maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
: 28945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-14 16:56 CEST by Aurelien Oudelet
Modified: 2021-05-19 11:18 CEST (History)
2 users (show)

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


Attachments

Description Aurelien Oudelet 2020-08-14 16:56:04 CEST
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.
Comment 1 Dave Hodgins 2020-08-14 19:06:39 CEST
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

Aurelien Oudelet 2020-09-19 20:25:07 CEST

Severity: minor => normal
Priority: Low => Normal

Comment 2 Aurelien Oudelet 2021-05-19 11:18:16 CEST
*** Bug 28945 has been marked as a duplicate of this bug. ***

CC: (none) => mageia


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