[Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix
Michael Stahl
mstahl at redhat.com
Mon Nov 14 05:47:52 PST 2011
On 14/11/11 14:23, Tor Lillqvist wrote:
> Considering actual multi-user site scenarios, I think it is fairly
> useless to have the name of the machine in the lock file. Consider
> these examples:
>
> 1) Alice wants to edit a document. Computer says "No". Er, sorry, been
> watching too much Little Britain.
>
> I mean, LO says "document is locked by Bob on
> lab-pc-34-f7-a1.campus.city.example.com" . Now what? Alice probably
> doesn't know which of the dozens of PCs in some lab is the one whose
> official name is lab-pc-34-f7-a1 . And it might even be a dynamically
> assigned name that could indicate *any* of them. So she just calls
> Bob who says "ok, I'll close it".
>
> And even if she would know which machine it actually is, and that
> would be within walking distance, that gets us to :
>
> 2) LO says "document is locked by Bob on rubber-duck.exmple.com".
> Alice knows that rubber-duck is Bob's personal desktop (she doesn't
> want to know why it is called that), and phones Bob. No reply. Alice
> walks over to his cubicle, sees he is gone for a long lunch (it's
> Friday), with machine locked. How useful to know that the document is
> open on that machine... no?
>
> In both cases, just knowing *who* is holding the document open would be enough.
now consider the following scenario:
3) LO says "document is locked by Alice on rubber-duck.example.com":
Alice suddenly remembers that she broke into Bob's personal desktop
yesterday, but forgot to log out again and quickly begins to cover up
her tracks.
if LO were to say just "document is locked by Alice" instead, then Alice
would start cursing the incompetent LO developers instead, who obviously
just think that throwing up pointless annoying dialogs is a good idea.
More information about the LibreOffice
mailing list