Your message dated Tue, 13 Dec 2016 01:19:57 +0100
with message-id <[email protected]>
and subject line Re: Bug#847640: clamav-freshclam: apt-get remove 
clamav-freshclam leaves clamav-freshclam.service
has caused the Debian Bug report #847640,
regarding clamav-freshclam: apt-get remove clamav-freshclam leaves 
clamav-freshclam.service
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.)


-- 
847640: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847640
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamav-freshclam
Version: 0.99.2+dfsg-4
Severity: normal

Dear Maintainer,

I have uninstalled clamav-freshclam.

dmesg now shows the following error on boot:

systemd[1]: clamav-freshclam.service: Cannot add dependency job, ignoring: Unit 
clamav-freshclam.service is masked.

Uninstalling freshclam should remove the service definition.

Best regards

Heinrich Schuchardt

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 4.9.0-rc8-next-20161208-r003-arm64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Hi Heinrich,

On 12.12.2016 00:03, Andreas Cadhalpun wrote:
> Indeed, but this is just a link:
> # file /etc/systemd/system/clamav-freshclam.service
> /etc/systemd/system/clamav-freshclam.service: symbolic link to /dev/null
> 
> This is due to 'deb-systemd-helper mask clamav-freshclam.service >/dev/null',
> which dh_systemd_enable adds to the postinst and which should tell systemd
> that the service is unavailable.
> 
> And looking again at your original report I see:
>> systemd[1]: clamav-freshclam.service: Cannot add dependency job, ignoring: 
>> Unit clamav-freshclam.service is masked.
> 
> That's systemd saying that the service is unavailable.
> I think the cause for this log message is that multi-user.target.wants still
> contains clamav-freshclam.service.
> However all of this is handled by debhelper, so if that's a bug it's in
> debhelper, not clamav-freshclam.

>From 'man deb-systemd-helper':
'The "mask" action will keep state on whether the service was enabled/disabled
 before and will properly return to that state on "unmask".'

So it is intentional that the multi-user.target.wants still contains
clamav-freshclam.service. Hence I'm closing this bug.

Best regards,
Andreas

--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to