Bug#390184: [Pkg-sysvinit-devel] Bug#390184: initscripts: please limit the size of /lib/init/rw

Mario 'BitKoenig' Holbe Mario.Holbe at TU-Ilmenau.DE
Fri Sep 29 22:45:32 UTC 2006


On Fri, Sep 29, 2006 at 07:39:26PM +0200, Petter Reinholdtsen wrote:
> One idea I am considering is to make /dev/shm/ a symlink or bind-mount
> to a subdirectory /lib/init/rw/shm/, and thus only have one tmpfs file

Oh, I forgot... If you do so, please remind that bind-mounts inherit
mount-options from their original mounts. You cannot apply different
mount-options for them.
This should be no problem currently, since you just mounted /lib/init/rw
nosuid only. Btw... I assume you could safely add nodev to it, btw.
However, if you consider to share it with /tmp you definitely need to
avoid noexec due to dpkg-preconfigure :)


Mario
-- 
There are 10 types of people in the world:
Those who understand binary, and those who don't...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20060930/1cfde066/attachment.pgp


More information about the Pkg-sysvinit-devel mailing list