FS#29496 - Bug: The following error /etc/rc.d/functions: line 573: syntax error near unexpected token `<'

Attached to Project: Arch Linux
Opened by Jake Godusky (jakebpg) - Monday, 16 April 2012, 21:21 GMT
Last edited by Dave Reisner (falconindy) - Monday, 16 April 2012, 21:26 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I keep getting this error in my boot log which just started showing up since the last set of up dates.
Here's the line in /etc/rc.dfunctions that appears to be causing these errors as reported in the boot log:
done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /)

Boot log contains this message and line number:
Mon Apr 16 17:06:38 2012: /etc/rc.d/functions: line 573: syntax error near unexpected token `<'



Additional info: It does not appear to affect the boot process but should be corrected at some time so it doesn't cause more severe problems down the road!
* package version(s) Core
* config and/or log files etc. The attached is the results of dmesg. I don't know if you need this but am attaching just in case.


Steps to reproduce: Install the latest updates as far as I can tell that is when this error started showing up in the boot log.
   dmesg.txt (50.5 KiB)
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 16 April 2012, 21:26 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Duplicate of way too many bugs.
Comment by Jake Godusky (jakebpg) - Monday, 16 April 2012, 21:26 GMT
As far as I can tell from searching the boot log this error started on:

Tue Apr 10 11:52:58 2012:

Hope this helps in narrowing down the update that maybe the cause of this error.
Comment by Dave Reisner (falconindy) - Monday, 16 April 2012, 21:26 GMT
There's no syntax error here. /etc/rc.d/functions is a bash script which can only be sourced by bash scripts. Find the AUR package you've installed that has a script in /etc/rc.d with a /bin/sh shebang and please fix it.

https://bugs.archlinux.org/task/28331
https://bugs.archlinux.org/task/27203
https://bugs.archlinux.org/task/27098
https://bugs.archlinux.org/task/27213
https://bugs.archlinux.org/task/26797

Loading...