/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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!