summaryrefslogtreecommitdiff
path: root/doc/frontend.txt
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04libdpkg: Introduce frontend lockingJulian Andres Klode1-11/+11
Currently, in order to run dpkg, frontends have to release the database lock before invoking dpkg and re-acquire it afterwards, leaving a short time where the database is unlocked and a different dpkg process or frontend could lock it. Frontend locking addresses the problem by creating a "lock-frontend" file that is acquired by the frontend and not released for dpkg invocations. Thus, multiple frontends cannot race for the database lock. This change extends the frontend lock to dpkg itself, acquiring it whenever the variable DPKG_FRONTEND_LOCKED is not set, so that a user manually running dpkg or a frontend not supporting this protocol cannot interfere with a currently running frontend. [guillem@debian.org: - Add documentation. - Rename frontend lock file. - Fix error strings. ] Signed-off-by: Guillem Jover <guillem@debian.org>
2012-05-04doc: Add new frontend.txt file documenting some public interfacesGuillem Jover1-0/+24
For now document the database locking “interface”. Closes: #670897