Opened 8 years ago
Last modified 7 years ago
#13132 reopened bug
Updating the system may require immediate restart
Reported by: | axeld | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Package Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
It looks like the package management already moves packages around on an update. Since it doesn't keep the packages used open, it can happen that it won't be able to access a currently activated package anymore afterwards.
For example, the binutils package had been updated. "as" from that package could not be run anymore until a restart.
That could be improved by telling the packagefs whenever the location of an activated package changes during runtime.
Attachments (2)
Change History (12)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
by , 8 years ago
Attachment: | package_daemon-677-debug-29-04-2017-19-29-16.report added |
---|
comment:3 by , 8 years ago
patch: | 0 → 1 |
---|
by , 8 years ago
Attachment: | package_daemon-677-syslog added |
---|
comment:4 by , 8 years ago
patch: | 1 → 0 |
---|
comment:5 by , 8 years ago
I wonder if some of this could be alleviated by using node refs to the activated packages, such as when their entry refs change, the package kit doesn't need to worry, and can still work with the nodes themselves no matter where they moved to.
I suppose the only downside to that is that it would hold file descriptors open, if I'm understanding the BNode documentation correctly... I guess the package kit doesn't hold files open currently, hence leading to the behaviour we currently have?
comment:6 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
package_daemon crash in being tracked at #10898.
comment:8 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Related bug that I never got around to reporting: After a "pkgman update", if you try to do anything else with pkgman (install/uninstall/etc.), package_daemon crashes.