Hi, I'm trying to integrate libzypp to a daemon which is written in python. I'm using SLES12 with the following components: zypper- 1.12.45 -31.2.x86_64 libzypp- 15.23.1-30.1 .x86_64 python-zypp-0.7.3-1.6.x86_64 It's working pretty good but unfortunately, it does block zypper from being used as the daemon will keep the "lock" even if the zypp object is destroyed. I have attached 3 examples which illustrates the issue: - testZ.py will just initate the zypp library and then sleep forever in a while loop. - testThread.py will do the same but will initate the zypp library in a separate thread - testProcess.py will use a new process instead of a thread Just start the test application and then try to use zypper in a second shell e.g. zypper search which will then show the following message: System management is locked by the application with pid 18852 (python). Close this application before trying again. The same happpens for testThread.py. testProcess.py does work as the process in which zypp was initiated will be terminated and everything is free'd. Does someone know how to get the testZ.py example running? I don't want to start a process (or thread) for doing the zypp stuff within the daemon. Would be great if there is a better solution. Thank you in advance. Best regards, Bernhard Suttner ______________________________________________________ ATIX - The Linux & Open Source Company