Mailinglist Archive: zypp-devel (148 mails)
| < Previous | Next > |
Re: [zypp-devel] [REVIEW] granular inter process lock
- From: Michael Andres <ma@xxxxxxx>
- Date: Thu, 27 Mar 2008 21:06:58 +0100
- Message-id: <20080327200657.GA6943@xxxxxxx>
On Thu, Mar 27, Michael Matz wrote:
Esp. as we should't lock /var/run/zypp-$NAME.pid while we are committing
to a target with root /mnt.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Hi,
On Thu, 27 Mar 2008, Duncan Mac-Vicar Prett wrote:
InterProcessMutex mutex( "pool", Reader);
The base is sound. I see problems with the hardcoding of paths to
/var/run/zypp-$NAME.pid . Users can't write to /var/run. It would also
be nice if the path was configurable like the other paths.
Esp. as we should't lock /var/run/zypp-$NAME.pid while we are committing
to a target with root /mnt.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |