Bug 28638 - initscripts: 'shift count out of range' message with scripts using /etc/init.d/functions
Summary: initscripts: 'shift count out of range' message with scripts using /etc/init....
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Olav Vitters
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 18:09 CET by Mészáros Csaba
Modified: 2021-03-25 17:56 CET (History)
1 user (show)

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


Attachments

Description Mészáros Csaba 2021-03-24 18:09:46 CET
Description of problem:
There is an error somewhere in the system.
Whichever legacy sysvinit daemon started, this error messages:

example
# systemctl status resolvconf.service 
● resolvconf.service - LSB: Nameserver information manager
     Loaded: loaded (/etc/rc.d/init.d/resolvconf; generated)
     Active: active (exited) since Wed 2021-03-24 16:15:58 CET; 1h 36min ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 0 (limit: 9450)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/resolvconf.service

márc 24 16:15:57 csablakPC.home systemd[1]: Starting LSB: Nameserver information manager...
márc 24 16:15:58 csablakPC.home resolvconf[707]: resolvconf indítása: /etc/init.d/functions: 157. sor: shift: shift-szám kívül esik a tartományon
márc 24 16:15:58 csablakPC.home resolvconf[707]: [    OK    ]
márc 24 16:15:58 csablakPC.home systemd[1]: Started LSB: Nameserver information manager.

translate: 
/etc/init.d/functions: 157. sor: shift: shift-szám kívül esik a tartományon
/etc/init.d/functions: 157. line: shift: shift-number is out of range.
Comment 1 Lewis Smith 2021-03-24 21:40:02 CET
Thank you for the report. I suspect this is quite harmless, since I see the same thing in the journal:

Maw 24 20:45:28 resolvconf[708]: Starting resolvconf:/etc/init.d/functions: line 157: shift: shift count out of range
Maw 24 20:45:28 resolvconf[708]: [ OK ]

Assigning this to Olav for 'initscripts'. If you want more information (like more journal), please ask.

CC: (none) => lewyssmith
Severity: normal => minor
Assignee: bugsquad => olav

Jani Välimaa 2021-03-25 17:56:00 CET

Summary: error messages => initscripts: 'shift count out of range' message with scripts using /etc/init.d/functions


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