FS#27927 - [netcfg] syntax error with /etc/ifplugd/netcfg.action

Attached to Project: Arch Linux
Opened by Anthony PERARD (sheep_42) - Friday, 13 January 2012, 14:29 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 14 January 2012, 00:35 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Few syntax error are print when /etc/ifplugd/netcfg.action is executed. This is because netcfg.action use /bin/sh and rc.d/functions need at least bash.

ifplugd[500]: Executing '/etc/ifplugd/netcfg.action eth0 up'.
ifplugd[500]: client: /etc/rc.d/functions: line 501: syntax error near unexpected token `<'
ifplugd[500]: client: /etc/rc.d/functions: line 501: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS / | tac)'
ifplugd[500]: client: /etc/rc.d/functions: line 501: syntax error near unexpected token `<'
ifplugd[500]: client: /etc/rc.d/functions: line 501: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS / | tac)'


Additional info:
* package version(s)
netcfg 2.6.8-1
initscripts 2012.01.2-1 (for rc.d/functions)

Steps to reproduce:
$ /etc/ifplugd/netcfg.action
/etc/rc.d/functions: line 501: syntax error near unexpected token `<'
/etc/rc.d/functions: line 501: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS / | tac)'
/etc/rc.d/functions: line 501: syntax error near unexpected token `<'
/etc/rc.d/functions: line 501: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS / | tac)'
Wrong arguments

Regards.
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 14 January 2012, 00:35 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#19313 

Loading...