Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686976 - sys-fs/bees-0.6 installs systemd service to / - FHS violation
Summary: sys-fs/bees-0.6 installs systemd service to / - FHS violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kai Krakow
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-05-30 00:43 UTC by adebeus
Modified: 2019-06-18 05:40 UTC (History)
2 users (show)

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


Attachments
set systemd path in ebuild (systemd-path-fix.patch,695 bytes, patch)
2019-05-30 00:43 UTC, adebeus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description adebeus 2019-05-30 00:43:41 UTC
Created attachment 578030 [details, diff]
set systemd path in ebuild

This package causes a QA warning of FHS violation on install because it installs beesd@.service to /. The Makefile uses the variable SYSTEMD_SYSTEM_UNIT_DIR but this is unset in the ebuild. Setting it in src_configure with systemd.eclass fixes the issue. I've attached a patch to the ebuild (also added double quotes around $(get_libdir) for good measure).
Comment 1 Larry the Git Cow gentoo-dev 2019-06-18 05:40:23 UTC
The bug has been closed via the following commit(s):

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

commit 6a1fecb799fb6ebc49733d80a398345e2d5f1166
Author:     Kai Krakow <kai@kaishome.de>
AuthorDate: 2018-11-18 15:21:28 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-06-18 05:40:04 +0000

    sys-fs/bees: Bump to v0.6.1
    
    This removes the quickfix in the ebuild and should fix a compiler
    problem linked below.
    
    Closes: https://bugs.gentoo.org/670606
    Closes: https://bugs.gentoo.org/686976
    Closes: https://bugs.gentoo.org/686978
    Closes: https://bugs.gentoo.org/687978
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Kai Krakow <kai@kaishome.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-fs/bees/Manifest          |  1 +
 sys-fs/bees/bees-0.6.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)