On Sat, 16 Sep 2006, Petter Reinholdtsen wrote:
> [Henrique de Moraes Holschuh]
> > I just remembered something: how are you going to make sure there is
> > a /var/run and /var/lock mountpoint to use on the root filesystem?
> 
> They are created when initscripts is installed, by remounting / to
> avoid any /var/ mounts, and creating the directories there.

Duh!  I knew I was missing something.  Yes, that will work, you can consider
my point against /var/* moot.

> Why?  I suspect you should have a look at the changes.  It seem
> perfectly safe to me.  The only problem is with partial upgrades and
> packages expecting persistense in /var/run/ and /var/lock/.

Partial upgrades can be dealth with proper package scripts, and tight
dependencies I hope.

Backwards-compatibility for the early writeable fs can be dealt with by
either the INITRWFS env var (see post to pkg-initscripts-devel), or now that
we are not likely to need to move it over later, just by versioned
dependencies on the packages that need it (that make backwards compatibility
moot).

-- 
  "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


_______________________________________________
Pkg-sysvinit-devel mailing list
Pkg-sysvinit-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to