Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#32789 - [pacman] should run install scripts with /bin/bash to allow non-bash /bin/sh
Attached to Project:
Pacman
Opened by Nico Schottelius (telmich) - Wednesday, 21 November 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Wednesday, 21 November 2012, 23:47 GMT
Opened by Nico Schottelius (telmich) - Wednesday, 21 November 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Wednesday, 21 November 2012, 23:47 GMT
|
DetailsAs I am running some thousands of /bin/sh calls each and every day, having /bin/sh point to /bin/bash (instead of /bin/dash) makes the process way slower than necessary.
I manually ln -sf'd /bin/dash to /bin/sh, but now the installation of packages like cpio fails: (1/1) installing cpio [########################################] 100% sh: 2: /tmp/alpm_J8srra/.INSTALL: Syntax error: "(" unexpected error: command failed to execute correctly |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 21 November 2012, 23:47 GMT
Reason for closing: Fixed
Additional comments about closing: in git
Wednesday, 21 November 2012, 23:47 GMT
Reason for closing: Fixed
Additional comments about closing: in git
In my opinion we should expect install scripts to use bashisms, and therefore pacman should call /bin/bash instead. So I'll reassign this as a pacman bug and see what pacman devs think.