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
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
|
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.
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...