Summary: | Signals should be blocked on package updates | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sam James <sam> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=402467 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 910332, 925715 |
Description
Sam James
![]() ![]() ![]() ![]() The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=f070275fe05d5053c3756ebb5d0a602db8ba515d commit f070275fe05d5053c3756ebb5d0a602db8ba515d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-28 15:48:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-28 15:49:16 +0000 binpkg: add another missing newline to error message ``` Error reading binpkg '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar': [Errno 22] Invalid argument!!! Invalid binary package: '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar', Error reading binpkg '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar': [Errno 22] Invalid argument ``` Bug: https://bugs.gentoo.org/925714 Signed-off-by: Sam James <sam@gentoo.org> lib/portage/binpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (In reply to Sam James from comment #0) > If package updates (renames etc) are interrupted, we sometimes end up with > weird errors: > > We should probably block signals here given it's a critical point, although > it's also quite slow, so maybe it's not a great idea? to be clear, I don't mind at all if we think this is a bad idea. It's just been on my mind so wanted to file something over it. |