/dev/null in bind chroot()

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Fri Jun 1 22:50:01 CEST 2007


Arkadiusz Miskiewicz wrote:
> 
> 
> Hello
> 
> I wonder what for /dev/null can be used by named inside of it's chroot() ? Any 
> ideas? I guess glibc itself doesn't really need it.
> 
> /dev/random for example is no longer needed since bind can use /dev/random 
> from outside of chroot (it opens it early and keeps descriptor).

Is the descriptor kept over a reload of named?
AFAIR there were problems with that.

> Now if /dev/null could be dropped, too then it would be great.

-- 
=======================================================================
  Andrzej M. Krzysztofowicz                  ankry at mif.pg.gda.pl
  phone (48)(58) 347 19 36
Faculty of Applied Phys. & Math.,   Gdansk University of Technology


More information about the pld-devel-en mailing list