FS#28582 - [initscripts] Typo in /etc/rc.d/functions prevents unmounting
Attached to Project:
Arch Linux
Opened by Jan (DosAmp) - Wednesday, 22 February 2012, 10:47 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 22 February 2012, 13:33 GMT
Opened by Jan (DosAmp) - Wednesday, 22 February 2012, 10:47 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 22 February 2012, 13:33 GMT
|
Details
Description:
In a VirtualBox installation, I tried to reinstall the VBox additions for the current kernel and received a syntax error in /etc/rc.d/functions on line 506. Replacing the < with a $ sign fixes a problem. - done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) + done < $(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) Additional info: * Affected package: initscripts 2012.02.1-1 * Steps to reproduce: use any script that uses the umount_all() function |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 22 February 2012, 13:33 GMT
Reason for closing: Not a bug
Wednesday, 22 February 2012, 13:33 GMT
Reason for closing: Not a bug
#!/bin/bash
Are you using bash? Arch scripts don't support dash.
It works when I edit the Makeself executable (VBoxLinuxAdditions.run) and change the script variable from /bin/sh to /bin/bash.
Even better though, I now use the virtualbox-archlinux-additions package from [community].