Systemd, Spamassassin, and the Missing Portreserve Package

Tom Rivers tom at impact-crater.com
Thu Feb 5 20:56:35 UTC 2015


Hello all,

While configuring a new Fedora 21 workstation yesterday evening, I ran 
into something that I found interesting.  I installed Spamassassin, 
tried to start it, and got the following entry in the logs:

systemd: Failed at step EXEC spawning /sbin/portrelease: No such file or 
directory

After checking "yum whatprovides /sbin/portrelease", I found it 
referenced portreserve-0.0.5-11.fc21.x86_64 which was not installed with 
Spamassassin as a dependency.  Just for kicks, I looked for portrelease 
in the relevant systemd directory and found only Spamassassin was using it:

# grep -R portrelease /usr/lib/systemd/system
/usr/lib/systemd/system/spamassassin.service:ExecStartPre=-/sbin/portrelease 
spamd

Does anyone know if this behavior is expected?  The fix is easy enough, 
but I figured I should ask just in case it's not by design.

Thanks!


Tom


More information about the devel mailing list