[Pkg-sysvinit-devel] Re: r940 - in sysvinit/trunk/debian: . initscripts initscripts/etc/init.d initscripts/lib/init initscripts/share

Petter Reinholdtsen pere at hungry.com
Tue Sep 19 22:04:09 UTC 2006


[Henrique de Moraes Holschuh]
> We still need to limit resource usage, you cannot have more than one
> tmpfs in a system with the default size without a serious DoS risk.

I have no problem with modifying the code to allow a size parameter,
but as long as only root can create files, I am not very worried.

> I'd limit the lock one to 5MB, and the run one to 10MB by default,
> and allow rcS variables to override this.

Only /dev/shm/ and /var/lock/ is available for normal users.

Patches are most welcome.  I will look more into sysvinit tomorrow.
Next on my agenda is the creation of /lib/init/rw/, and modifying
checkroot.sh to use it.

Friendly,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list