FS#75752 - Store pacman lockfile to transient location

Attached to Project: Pacman
Opened by janek (xeruf) - Tuesday, 30 August 2022, 21:17 GMT
Last edited by Allan McRae (Allan) - Tuesday, 30 August 2022, 22:53 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 6.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When rebooting in the middle of an update, the lockfile is preserved, even though no process is accessing it anymore.

This leads to unnecessary confusion and can be remedied by storing it in a transient directory like /tmp or /run, probably /run/lock is sensible as suggested in https://bugs.archlinux.org/task/65234

Solving this would bring all related issues forward a good bit:
https://bugs.archlinux.org/index.php?string=lock&project=3&search_name=&type%5B%5D=&sev%5B%5D=&pri%5B%5D=&due%5B%5D=&reported%5B%5D=&cat%5B%5D=&status%5B%5D=open&percent%5B%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=&do=index
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 30 August 2022, 22:53 GMT
Reason for closing:  Won't implement
Additional comments about closing:   FS#55975 
Comment by janek (xeruf) - Tuesday, 30 August 2022, 21:19 GMT
Apparently this is a revival of  FS#55975 

Loading...