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

Henrique de Moraes Holschuh hmh at debian.org
Tue Sep 19 21:25:29 UTC 2006


On Tue, 19 Sep 2006, Petter Reinholdtsen wrote:
>   * Make the tmpfs on /var/run/ and /var/lock/ optional, and provide
>     TMPRUN and TMPLOCK options in /etc/default/rcS to control this.
>     Remove code to convert to this feature when the package is
>     upgraded or installed.  It will take effect after a reboot if
>     /etc/default/rcS is modified.  Keep them disabled for now.

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'd limit the lock one to 5MB, and the run one to 10MB by default, and allow
rcS variables to override this.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list