Nicolas Williams wrote: > On Tue, Feb 05, 2008 at 09:11:26PM +0100, Casper.Dik at Sun.COM wrote: >> So what will happen when you lvieupgrade the same partition twice without >> even once booting into it? That's easily done and should not cause >> any breakage. > > Well, our class action scripts tend to be written so this just works. > > Postrun uses should also be idempotent. > > I asked earlier about class action scripts because there will be, surely > (right?) be cases where we'll need class actions to run when the system > boots, and if we don't have the infrastructure for it then it will be > surely re-invented multiple times, some of them badly. > > Also, to what service should updates of, say, /etc/passwd, belong? > Sure, today updates of that specific file can run in normal class action > files, but use your imagination -- I'm talking about files which don't > belong to any one service but which must be updated early on. Which > service should update them? Probably a new one. > > Nico
/etc/passwd is one of the examples of something we're handling at install time w/ IPS; the packaging system has to know how to manipulate this file in order to install new files owned by new users correctly. - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts
