Hi Thijs, thanks for the reply. >> > [/share/HDA_DATA/debootstrap] # uname -a >> > Linux NAS 2.6.33.2 #1 SMP Fri Mar 2 04:25:15 CST 2012 i686 unknown > >> This seems to be setrlimit(2) failing. Possibly an incompatability with >> the kernel version? > >The reported kernel version is not a standard Debian kernel. Is there anything >you may have configured into that kernel that may explain setrlimit failing?
I'm running the 'stock' QNAP kernel version so I have not modified it in any way (and I don't think it's possible without losing the QNAP firmware). Of course it's not a standard Debian kernel, but as you see from my tests above: 1) squeeze works, while wheezy and sid don't. Why there is such difference? Is wheezy requiring a new kernel version (2.6.33.2 is old, but not so old I think)? 2) I had to remove an HDD from the NAS this year and so I had to reinstall it completely. On that "throwed" HDD I still have a debian wheezy installed with this method (when it was 'sid'), and the QNAP kernel version was the same than the current one. That's the reason why I thought it was a debootstrap issue at first, because it is the only command that I run to install debian in the chroot environment. 3) I don't know how to test 'setrlimit' for you, but I've attached the kernel configuration file (which comes from the QNAP GPLs) so you can see how it's configured. I hope this helps. Please, let me solve this bug because it's fantastic to run Debian inside the NAS WITHOUT losing the NAS firmware (and of course because it worked in the past... :-).
kernel.config.tar.gz
Description: GNU Zip compressed data

