[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#160424: dpkg lock file should be in /var/lock



On 15-Nov-02, 02:40 (CST), Anthony Towns <aj@azure.humbug.org.au> wrote: 
> The FHS also indicates that /var/lock can't be shared between machines. Is
> it plausible to share /var/lib/dpkg amongst machines? It seems like
> it could be, as long as they have the exact same files installed. In
> that case it would probably be better to have the dpkg lock shared too,
> so you don't accidently start two dpkg's on different machines just as
> you wouldn't on a single machine.

If they are to have the exact same files installed, then you can't
run any dpkg command that modifies the system (because they'll be out
of sync), so what needs to be locked? Or, more to point, if you run a
dpkg in a way that requires the lock, you're screwing up the system
anyway; all that having the lock shared would do is prevent you from
from screwing up both systems at the same time.

Or am I, as usual, missing your point?

Steve

-- 
Steve Greenland

    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net



Reply to: