FS#28022 - [netcfg] /etc/ifplugd/netcfg.action is a Bash script, not a /bin/sh script
Attached to Project:
Arch Linux
Opened by jstjohn (jstjohn) - Saturday, 21 January 2012, 04:47 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 28 April 2012, 18:50 GMT
Opened by jstjohn (jstjohn) - Saturday, 21 January 2012, 04:47 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 28 April 2012, 18:50 GMT
|
Details
Description: /etc/ifplugd/netcfg.action should use
#!/bin/bash, not #!/bin/sh. If the script uses #!/bin/sh,
then the syntax error messages shown below are written to
/var/log/messages.
Additional info: * package version(s): 2.6.8-1 * config and/or log files etc.: /var/log/messages: ifplugd(lan0)[773]: Executing '/etc/ifplugd/netcfg.action lan0 up'. ifplugd(lan0)[773]: client: /etc/rc.d/functions: line 501: syntax error near unexpected token `<' ifplugd(lan0)[773]: client: /etc/rc.d/functions: line 501: `#011done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /)' Steps to reproduce: |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 28 April 2012, 18:50 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#19313
Saturday, 28 April 2012, 18:50 GMT
Reason for closing: Duplicate
Additional comments about closing:
To reproduce, start ifplugd, then take out or plug in an ethernet cable: In other words: trigger ifplugd to do something.