FS#27135 - [initscripts] The new "/etc/rc.d/functions" script seems to be buggy

Attached to Project: Arch Linux
Opened by Xavion (Xavion) - Sunday, 20 November 2011, 03:50 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 20 November 2011, 07:05 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The "/etc/rc.d/functions" script in 'initscripts' v2011.11.3-1 from 'core' causes the following error message when I enter "sh /etc/rc.d/functions" at the prompt:
/etc/rc.d/functions: line 497: syntax error near unexpected token `<'
/etc/rc.d/functions: line 497: ` done < <(findmnt -runRo TARGET,FSTYPE,OPTIONS / | tac)'
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 20 November 2011, 07:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#27072 
Comment by Karol Błażewicz (karol) - Sunday, 20 November 2011, 04:59 GMT
Arch functions use bash:

[karol@black ~]$ sed -n 1p /etc/rc.d/functions
#!/bin/bash
[karol@black ~]$ bash /etc/rc.d/functions
[karol@black ~]$

See, no errors.

Loading...