Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934477 - sys-apps/install-xattr: be more verbose on setxattr()/getxattr() errors
Summary: sys-apps/install-xattr: be more verbose on setxattr()/getxattr() errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2024-06-17 20:21 UTC by Florian Schmaus
Modified: 2025-04-25 19:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-install-xattr-be-more-verbose-one-errors-include-pat.patch (0001-install-xattr-be-more-verbose-one-errors-include-pat.patch,1.10 KB, patch)
2024-06-17 20:21 UTC, Florian Schmaus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2024-06-17 20:21:44 UTC
Created attachment 895986 [details, diff]
0001-install-xattr-be-more-verbose-one-errors-include-pat.patch

Given the amount of install-xattr bugs where either getxattr() or setxattr() failed, it seems sensible to make the error output of install-xattr more verbose. It should include at least the path it operated on, and the releated xattr.
Comment 1 Larry the Git Cow gentoo-dev 2025-04-23 18:33:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/install-xattr.git/commit/?id=b2b5c8524e3dd1c5b416ca79bada6a5e355c1aea

commit b2b5c8524e3dd1c5b416ca79bada6a5e355c1aea
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2025-04-23 17:52:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-04-23 18:33:10 +0000

    Also be more verbose for listxattr() failures
    
    Bug: https://bugs.gentoo.org/934477
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 install-xattr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/proj/install-xattr.git/commit/?id=b09f8a59007f2cd48543f58072678d593c737fdd

commit b09f8a59007f2cd48543f58072678d593c737fdd
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-06-17 20:17:16 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-04-23 18:33:10 +0000

    install-xattr: be more verbose on errors, include path (and xattrs)
    
    Bug: https://bugs.gentoo.org/934477
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 install-xattr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2025-04-25 19:24:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd823ee8b6edbe4483d4128ff08ae5d60dd587f8

commit dd823ee8b6edbe4483d4128ff08ae5d60dd587f8
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2025-04-25 19:22:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-04-25 19:23:59 +0000

    sys-apps/install-xattr: add 0.10
    
    Closes: https://bugs.gentoo.org/934477
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/install-xattr/Manifest                  |  1 +
 sys-apps/install-xattr/install-xattr-0.10.ebuild | 25 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)