Re: [zypp-devel] Using python zypp in a daemon without locking zypper forever
I'm nearly ready with the implementation step 1 and need to test it a little bit more. Afterwards I will publish the change on github and will write a message to the list so that you can have a look on it. :-) - Ursprüngliche Mail - Von: "Duncan Mac-Vicar P." An: "Bernhard Suttner" CC: zypp-devel@opensuse.org Gesendet: Mittwoch, 15. März 2017 15:27:07 Betreff: Re: [zypp-devel] Using python zypp in a daemon without locking zypper forever Bernhard Suttner writes: > Hi, > > I'm trying to integrate libzypp to a daemon which is written in python. I'm > using SLES12 with the following component Out of curiosity, can you share what the daemon does or what are you trying to make libzypp do from your daemon? -- Duncan Mac-Vicar P. - Director, Data Center Management; R&D SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org To contact the owner, e-mail: zypp-devel+ow...@opensuse.org -- To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org To contact the owner, e-mail: zypp-devel+ow...@opensuse.org
Re: [zypp-devel] Using python zypp in a daemon without locking zypper forever
Bernhard Suttner writes: > Hi, > > I'm trying to integrate libzypp to a daemon which is written in python. I'm > using SLES12 with the following component Out of curiosity, can you share what the daemon does or what are you trying to make libzypp do from your daemon? -- Duncan Mac-Vicar P. - Director, Data Center Management; R&D SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org To contact the owner, e-mail: zypp-devel+ow...@opensuse.org
Re: [zypp-devel] Using python zypp in a daemon without locking zypper forever
On Wednesday 15 March 2017 13:26:52 Bernhard Suttner wrote: > zypper- 1.12.45 -31.2.x86_64 > libzypp- 15.23.1-30.1 .x86_64 I needs at least libzypp-16.1.1. (Leap-42.2 / SLE-12-SP2) Older libzypp versions are not able to drop the lock at runtime. (and they also don't have 'zypp.ZYppFactory_instance().haveZYpp()' to test whether the instance is present.) On older distros you need to run zypp in a separate process, so libzypp gets unloaded and releases the lock. -- cu, Michael Andres +--+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +--+ Michael Andres SUSE LINUX GmbH, Development, m...@suse.com Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 74 053-0 +--+ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) +--+ -- To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org To contact the owner, e-mail: zypp-devel+ow...@opensuse.org