Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775032 - net-analyzer/zabbix: missing inherit: user-info eclass
Summary: net-analyzer/zabbix: missing inherit: user-info eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-09 13:03 UTC by Michael Mair-Keimberger (mm1ke)
Modified: 2021-03-09 13:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (mm1ke) 2021-03-09 13:03:56 UTC
Hi,

The ebuilds have following code:

 zabbix_homedir=$(egethome zabbix)
 if [ -n "${zabbix_homedir}" ] && \
    [ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
       ewarn
       ewarn "The user 'zabbix' should have his homedir changed"
       ...

egethome comes from the user-info eclass which doesn't get directly or implicit inherited by the ebuild. This means the if statement doesn't work as intended right now.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-09 13:31:41 UTC
The bug has been closed via the following commit(s):

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

commit fe9568ce57cab6142dc09e43649af63633b4a190
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2021-03-09 12:47:55 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-03-09 13:31:32 +0000

    net-analyzer/zabbix: fix eclass usage
    
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    Closes: https://bugs.gentoo.org/775032
    Closes: https://github.com/gentoo/gentoo/pull/19842
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 net-analyzer/zabbix/zabbix-3.0.31-r2.ebuild | 2 +-
 net-analyzer/zabbix/zabbix-4.0.28.ebuild    | 2 +-
 net-analyzer/zabbix/zabbix-4.0.29.ebuild    | 2 +-
 net-analyzer/zabbix/zabbix-5.0.8.ebuild     | 2 +-
 net-analyzer/zabbix/zabbix-5.0.9-r1.ebuild  | 2 +-
 net-analyzer/zabbix/zabbix-5.0.9.ebuild     | 2 +-
 net-analyzer/zabbix/zabbix-5.2.4.ebuild     | 2 +-
 net-analyzer/zabbix/zabbix-5.2.5-r1.ebuild  | 2 +-
 net-analyzer/zabbix/zabbix-5.2.5.ebuild     | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)