https://bugzilla.novell.com/show_bug.cgi?id=656259 https://bugzilla.novell.com/show_bug.cgi?id=656259#c0 Summary: systemd does not provide headers / lib usable in daemons Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: kasievers@novell.com ReportedBy: mt@novell.com QAContact: qa@suse.de CC: radmanic@novell.com, coolo@novell.com, ro@novell.com, werner@novell.com, pczanik@genesi-usa.com, kasievers@novell.com Blocks: 656104 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #656104 +++ (In reply to bug #656104 comment #3)
I'm missing /usr/include/sd-daemon.h and also /lib/libsd-daemon.so.0.13 toghether with /usr/lib{64}/libsd-daemon.so ... otherwise the stuff will not build nor link:
syslogd/sysklogd-1.4.1> wdiff syslogd.c | grep sd_ + r = sd_listen_fds(0); + r = sd_is_socket_unix(fd, SOCK_DGRAM, -1, _PATH_LOG, 0);
... please provide an appropiate systemd-devel as well as a libsd-daemon0.rpm ;)
(In reply to bug #656104 comment #4)
Na, there is no lib, and none planned to have so far. That's why it's not installed. It's just 2 files to copy into the project. They contain very basic logic. The logic can be open-coded too, if necessary.
We will get into dependency problems if we make all services link directly against systemd at that point.
That can be reconsidered later, when there might be more interesting things than gentenv() and stat() to do. :)
(In reply to bug #656104 comment #5)
IMHO this is will cause trouble ... beside policy and license ... the interface may change. And it makes no sence to include the same stuff several times into the source tree. Only one error and you have to change any occurrence of sd-daemon.c. This is the job for a shared library and nothing else.
(In reply to bug #656104 comment #6)
It's included in a ton of projects already, also in rsyslog. And it's BSD licensed.
Anyway not my call, I can just provide what I have, and I don't have a shared lib, and upstream did not want one as of now. That might all be reconsidered later.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.