/dev/fd not found Debian 7.0 Standard appliance

matiaspecchia

Renowned Member
Jul 26, 2013
25
0
66
I have a Debian 7.0 container, where I have to execute a bash script[0] that has a code which makes the scripts fail only over OpenVZ container.

The key code is similar to

diff < (echo "a") < (echo "b")

which returns

diff: /dev/fd/63: No such file or directory

as my reference[1] indicates (I think, since I just distinguish nouns than verbs in German), the problem is related to the non presence of /dev/fd symlink to /proc/self/fd

I searched a bit and I found that Debian bootstrap bug[2] indicates that the symlink generation corresponds to makedev package.

Should the proxmox Appliance include the makedev package? I see that ubuntu 12.04 includes makedev (and /dev/fd symlink).

Thanks in advance

[0]: http://sourceforge.net/projects/automysqlbackup/files/
[1]: http://hz6.de/2013/10/10/automysqlbackup-ohne-bash-process-substitution/
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514098