Skip to content

After which updates do I need to restart the app/system?

Hello everyone,
I love updating binaries,apps and the system itself via pacman. How ever, I often ask myself:
I just updated e.g. firefox or glib or... shouldn't I restart the app now or all apps that rely on that binary?
.
Also: Should I close e.g. firefox before starting the update?

16 points19 comments
Open on Reddit
About this post
Posted
Archived
Score
16 · 100% up
Kind
Text
ID
52we58

Author

156
posts
733
comments
9
media
View profile

20 comments

You might find overdue interesting:

Get notified about running daemons that reference outdated shared libraries

18 points

I recently started using pacman-ps. It works in a similar way, except it handles all processes, not just systemd services. It shows the path of the upgraded file, the process using/referencing it, and the pacman package which owns it. I highly recommend it!

1 points

Thanks! So much choice: overdue, pacman-ps and tracer.

1 points

No, you don't need to reboot your system unless you updated the kernel and want to use that kernel. Restart the applications if you want the updated version. You shouldn't need to close the application before starting the update--just restart it after if you want the update to apply.

9 points

KDE Plasma also needs to be restarted after updates, at least on my computer.

2 points

You probably have a GLX driver that gets updated. I have the same issue.

1 points

Install tracer from the AUR and run sudo tracer -e.

I just updated e.g. firefox or glib or... shouldn't I restart the app now or all apps that rely on that binary?

Yes.

Also: Should I close e.g. firefox before starting the update?

The more complex the application the more likely to cause issues. For example chromium constantly spawns new processes and if it does so mid update a tab will crash or something, undefined behavior territory. Up to you how cautious you want to be but offline updates are a pretty big topic and gnome-software does it this way for example.

4 points

How does tracer compare to overdue besides that it does not seem to come with a hook?

2 points

overdue looks a lot more simple of a solution, tracer handles a lot more situations. I can add a hook to tracer its not like thats a difficult task..

2 points

This is a really tricky question to answer but the basic guide lines are If there is an update to the kernel or video drivers I reboot, most applications i.e. firefox just closing the application and opening it again will load the new version. Desktop environments usually logout and login is good enough.

Version numbers is another thing to consider, if its just a minor revision change its probably just a small patch and will work fine without a reboot, a major or subversion change probably means there could be an api change which means other apps that depend on this (that were probably also updated) need to use the new api so a reboot ensures all services and applications are reloaded.

1 points
unknown author1 hidden

Deleted before we saved it.

-2 points

... or any of their dependencies. Of you want to play it save: a also restart anything your applications interact with (e.g. via dbus).

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.