FS#38615 - Check for read-only filesystems on package removal

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Wednesday, 22 January 2014, 12:21 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 08:54 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

We have all the set-up to do this in the disk space checking code.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 31 January 2016, 08:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  USe a pacman hook.
Comment by Leonid Isaev (lisaev) - Wednesday, 22 January 2014, 16:31 GMT
Yes, when / and /var are on separate partitions/LV, pacman should first check that / (root) is read-only, and quit if it is. Otherwise, the package is removed from the local db but the associated files are kept, which leaves the system in an inconsistent state...

Loading...