Your message dated Fri, 19 Jun 2015 23:21:49 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-clamav-devel] Bug#789283: Bug#789283: Depends on
SystemD component while SystemD is supposed to be optional
has caused the Debian Bug report #789283,
regarding Depends on SystemD component while SystemD is supposed to be optional
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
789283: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789283
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamav-daemon
Version: 0.98.7+dfsg-0+deb8u1
It would appear that ClamD should function on a system without SystemD.
http://lists.clamav.net/pipermail/clamav-users/2015-June/001590.html
http://lists.clamav.net/pipermail/clamav-users/2015-June/001592.html
However, the package depends on SystemD libraries, and the daemon won't start
without the library being present.
# /etc/init.d/clamav-daemon start
[....] Starting ClamAV daemon: clamd /usr/sbin/clamd: error while loading
shared libraries: libsystemd.so.0: cannot open shared object file: No such file
or directory
Suggested fix :
Remove the dependency - if package systemd is installed (ie SystemD is the init
system) then the library will be present, if the library isn't present then the
init system is not SystemD and there should be no need to call any of it's
libraries.
Test for the presence of the library before attempting to use it.
--- End Message ---
--- Begin Message ---
Hi,
On 19.06.2015 21:36, Sebastian Andrzej Siewior wrote:
> On Fri, Jun 19, 2015 at 02:41:45PM +0100, Simon Hobson wrote:
>> Suggested fix :
>> Remove the dependency - if package systemd is installed (ie SystemD
>> is the init system) then the library will be present, if the library
>> isn't present then the init system is not SystemD and there should
>> be no need to call any of it's libraries.
>> Test for the presence of the library before attempting to use it.
That's not how library linking works.
And anyway, if you're not running systemd, clamd will only call one function
from libsystemd (sd_listen_fds), which first checks the LISTEN_PID environment
variable, and if it's not set, immediately returns.
Any check for library existence would waste more CPU cycles.
> If you come up with something that is broken in the official setup (that is as
> describned +sysvinit-core -systemd) then we will look into this. If this
> remains about "I don't want anything on my system that contains a systemd
> string" then I *will* close this bug and you can complain about this one level
> higher.
Actually, I'm closing this bug now, as it's obviously invalid.
Best regards,
Andreas
--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel