Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26852 - [initscripts] Cannot find command in_aray
Attached to Project:
Arch Linux
Opened by Mathieu Pasquet (mathieui) - Friday, 11 November 2011, 19:09 GMT
Last edited by Dave Reisner (falconindy) - Friday, 11 November 2011, 20:02 GMT
Opened by Mathieu Pasquet (mathieui) - Friday, 11 November 2011, 19:09 GMT
Last edited by Dave Reisner (falconindy) - Friday, 11 November 2011, 20:02 GMT
|
DetailsDescription:
I get some errors while calling rc.d, each time. It still works, though. Additional info: * version: 2011.11.1-1 * error: (sorry, I could not localize the errors, but it still seems quite clear) /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable :: Stopping Music Player Daemon [DONE] /etc/rc.d/functions: ligne111: in_array : commande introuvable /etc/rc.d/functions: ligne111: in_array : commande introuvable Steps to reproduce: Example: rc.d restart mpd Fix: The error seems to be occurring because in_array is called -line 111- before it is defined -line 221-. Moving the call down or the function up should fix this (I attached an example patch). |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 11 November 2011, 20:02 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of FS#26835
Friday, 11 November 2011, 20:02 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of
fix.patch