Description of problem: # rm -fr /var/lib/spamassassin/3.003002/ ; dnf -y reinstall spamassassin ; systemctl restart spamassassin.service amavisd.service postfix.service metadata-cache already locked by 2190 The application with PID 2190 is: dnf Mémoire : 190 M RSS (720 MB VSZ) Débuté : Mon Jan 6 20:11:43 2014 - il y a 23:54 State : Mise en attente Expected result: services restarted after sa fix Actual result services restarted at the wrong time dnf-0.4.9-1.fc21.noarch
Nicolas, can you reproduce this consistently? What is the command line of the process with PID 2190? Thanks.
(In reply to Ales Kozumplik from comment #1) > Nicolas, can you reproduce this consistently? Haven't tried > What is the command line of > the process with PID 2190? It was a general dnf - y update that was slowly getting metadata and had not finished yet
Allright, so you'd expect it to wait until the lock is released, is that right?
Exactly. Wait till what was requested is done
I see now, thanks. I kind of like the current behavior more but let's see how this plays out.
Closing this---the issue has not generated much interest among other users which tells us the current behavior is preferred. A simple shell wrapper could be build that restarts the DNF process after the previous one is finished.