Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62623 - systemd-journal-remote missing dependency

Attached to Project: Arch Linux
Opened by Paul Schaefer (schaeferpp) - Monday, 13 May 2019, 16:01 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 13 May 2019, 16:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

systemd-journal-remote needs libmicrohttpd to work.

Steps to reproduce:

1. Create the openssl certificates and make the key accessible for the user that executes systemd-journal-remote.

# openssl genrsa -out /etc/ssl/private/journal-remote.pem 2048
# openssl req -new -x509 -subj "/CN=Logserver/" -days 365 -key /etc/ssl/private/journal-remote.pem -out /etc/ssl/certs/journal-remote.pem -set_serial 1
# cp /etc/ssl/certs/journal-remote.pem /etc/ssl/ca/trusted.pem
# setfacl -m u:systemd-journal-remote:r /etc/ssl/private/journal-remote.pem

2. Start systemd-journal-remote and read output

# systemctl start systemd-journal-remote.service
# systemctl status systemd-journal-remote.service
[...]
systemd-journal-remote[10590]: /usr/lib/systemd/systemd-journal-remote: error while loading shared libraries: libmicrohttpd.so.12: cannot open shared object file: No such file or directory
[...]

When libmicrohttpd is installed, the service works just fine. Fedora solves this issue with providing a seperate package systemd-journal-remote which depends on libmicrohttpd.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 13 May 2019, 16:03 GMT
Reason for closing:  Not a bug
Additional comments about closing:  That's what optional deps are for

Loading...