Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#55762 - [libalpm] hooks should check for permission
Attached to Project:
Pacman
Opened by Erich Eckner (deepthought) - Wednesday, 27 September 2017, 04:35 GMT
Last edited by Allan McRae (Allan) - Tuesday, 06 February 2018, 01:34 GMT
Opened by Erich Eckner (deepthought) - Wednesday, 27 September 2017, 04:35 GMT
Last edited by Allan McRae (Allan) - Tuesday, 06 February 2018, 01:34 GMT
|
DetailsSummary and Info:
libalpm hooks should check for write permission before pacman is allowed to upgrade packages (like it is done with write permission / disk space for installing/upgrading packages). Example: I have /boot mounted ro and upgrading a package which triggers 90-linux.hook will let the hook fail, but not the package installation. In contrast, installing/upgrading 'linux' will lead to a 'permission denied' error and not upgrade any packages. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 06 February 2018, 01:34 GMT
Reason for closing: Not a bug
Additional comments about closing: pre-transaction hooks can achieve this
Tuesday, 06 February 2018, 01:34 GMT
Reason for closing: Not a bug
Additional comments about closing: pre-transaction hooks can achieve this
In theory, we could add a configuration key to specify the path(s) that must be writable. But that assumes the hook author knows them ahead of time, which is by no means guaranteed.
I'm thinking this is a "won't fix - system admin error" bug.