Arch Linux

Please read this before reporting a bug:

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#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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No


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.:

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 
Comment by Smart Hound (Smarthound) - Wednesday, 25 April 2012, 22:12 GMT
/etc/ifplugd/ifplugd.action also needs its shebang changing.

To reproduce, start ifplugd, then take out or plug in an ethernet cable: In other words: trigger ifplugd to do something.