Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678756 - sys-apps/systemd USE=http should depend on net-libs/libmicrohttpd[epoll]
Summary: sys-apps/systemd USE=http should depend on net-libs/libmicrohttpd[epoll]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
: 601218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-25 16:04 UTC by Timo Rothenpieler
Modified: 2019-07-10 18:24 UTC (History)
1 user (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 Timo Rothenpieler 2019-02-25 16:04:38 UTC
For systemd-journal-remote to work, libmicrohttpd has to be built with epoll enabled.
Comment 1 Mike Gilbert gentoo-dev 2019-02-25 17:25:20 UTC
(In reply to Timo Rothenpieler from comment #0)
> For systemd-journal-remote to work, libmicrohttpd has to be built with epoll
> enabled.

How have you come to this conclusion?
Comment 2 Timo Rothenpieler 2019-02-25 17:47:35 UTC
Well, it didn't work with a somewhat arcane "Failed to register socket (fd:3): Invalid argument" the moment something actually connects to the socket and systemd activates the service.

Some googling brought me to this:
https://github.com/coreos/coreos-overlay/pull/1587

Rebuilding libmicrohttpd with epoll enabled indeed fixed the issue.
Comment 3 Larry the Git Cow gentoo-dev 2019-07-10 18:20:58 UTC
The bug has been closed via the following commit(s):

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

commit 2b3c455f9039cdd30d28c5937de7f5d73a63e3dc
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-07-10 18:19:24 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-07-10 18:20:55 +0000

    sys-apps/systemd: depend on net-libs/libmicrohttpd[epoll]
    
    Closes: https://bugs.gentoo.org/678756
    Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/systemd-242-r6.ebuild | 2 +-
 sys-apps/systemd/systemd-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Mike Gilbert gentoo-dev 2019-07-10 18:24:04 UTC
*** Bug 601218 has been marked as a duplicate of this bug. ***