Hi all. Before I submit a bug, I wanted to check here to make sure this
issue isn't a matter of user error.

The spamassassin package contains spamd, a daemonized version of
spamassassin. This daemon is not enabled by default, so its unit file is
installed with "dh_systemd_enable --no-enable". It's my expectation that
this is sufficient to install the unit file but leave it disabled until
the user explicitly enables it. However, this doesn't seem to be
working:

root@jessie:~# dpkg -s spamassassin
dpkg-query: package 'spamassassin' is not installed and no information is 
available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
root@jessie:~# systemctl list-units | grep spam
root@jessie:~# apt-get --no-install-recommends install spamassassin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
razor libdbi-perl pyzor libmail-dkim-perl
Recommended packages:
spamc sa-compile libmail-spf-perl
The following NEW packages will be installed:
spamassassin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,105 kB of archives.
After this operation, 3,676 kB of additional disk space will be used.
Selecting previously unselected package spamassassin.
(Reading database ... 30082 files and directories currently installed.)
Preparing to unpack .../spamassassin_3.4.0-3_all.deb ...
Unpacking spamassassin (3.4.0-3) ...
Processing triggers for man-db (2.7.0.2-3) ...
Setting up spamassassin (3.4.0-3) ...
root@jessie:~# systemctl list-units | grep spam
spamassassin.service
loaded active running   Perl-based spam filter using text analysis
root@jessie:~# ps auxwww|grep spam
root      2916  4.3 37.9 136200 45272 ?        Ss   00:39   0:03 /usr/sbin/spamd
-d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper
-home-dir
root      2917  0.0 37.7 136200 45072 ?        S    00:39   0:00 spamd child
root      2918  0.0 37.7 136200 45096 ?        S    00:39   0:00 spamd child
root      2925  0.0  1.6  12716  1952 tty1     S+   00:40   0:00 grep spam

The debian/rules file is at
http://anonscm.debian.org/viewvc/collab-maint/deb-maint/spamassassin/trunk/debian/rules?revision=25373&view=markup

Thanks
noah

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to