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#12200 - pacman: aware of required reboot etc after update
Attached to Project:
Pacman
Opened by Erwin Van de Velde (evdvelde) - Friday, 21 November 2008, 14:41 GMT
Last edited by Allan McRae (Allan) - Monday, 24 November 2008, 05:30 GMT
Opened by Erwin Van de Velde (evdvelde) - Friday, 21 November 2008, 14:41 GMT
Last edited by Allan McRae (Allan) - Monday, 24 November 2008, 05:30 GMT
|
DetailsDescription:
At this moment, the user has to inspect the package list on an upgrade to check if a reboot will be necessary/advised afterwards. It would be handy if a package was aware of the action required after updating it and do one of the following: - restart a service that was updated if it was running before the update (e.g. apache). Can come together with a warning to the user that configuration options (may) have changed - warn the user that a reboot is advised (e.g. for kernel26 package) - warn if a restart of the graphical environment is required (e.g. xorg, kde, gnome packages) - ... The user could add options to the configuration file, configuring in which cases he wants to get a warning, an error, ... In case he was sure, he could use the force option to force the update anyway (e.g. normally he does not want kernel26 to be updated when a reboot is required, but he is about to reboot anyway). Just another idea :) |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 24 November 2008, 05:30 GMT
Reason for closing: Won't implement
Monday, 24 November 2008, 05:30 GMT
Reason for closing: Won't implement
I think this is the only reasonable place to put this functionality.
All I can do is create an ignore list for pacman, which can grow rather big, not only for the kernel but also for e.g. glibc, another package I do not like updating when I have to keep the server running for another month or so.
Of course, you could say: "well, update once every month". But I think also desktop users experience this problem. I think there are a lot of users that boot Arch in the morning, do the updates, but do not want to reboot again right away. Being warned without having to know every package by name and functionality makes life a lot easier.
Considering the "restart a service when updated" is rather similar to updating module dependencies after installation of certain packages anyway. Arch users probably know all this, but who can say he never forgot to restart a service or so till users came complaining?