Bugzilla – Bug 1224067
spamd.service - Daemonized version of spamassassin not starting - permission issue
Last modified: 2024-06-11 10:58:24 UTC
x spamd.service - Daemonized version of spamassassin Loaded: loaded (/usr/lib/systemd/system/spamd.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Thu 2024-05-09 07:36:07 NZST; 1min 2s ago Process: 5897 ExecStart=/usr/sbin/spamd $SPAMD_ARGS -r /run/spamd.pid (code=exited, status=255/EXCEPTION) CPU: 494ms May 09 07:36:05 johns-pc systemd[1]: Starting Daemonized version of spamassassin... May 09 07:36:06 johns-pc spamd[5897]: logger: removing stderr method May 09 07:36:06 johns-pc spamd[5899]: config: cannot open "/var/lib/spamassassin/4.000001/updates_spamassassin_org.cf": Permission denied May 09 07:36:06 johns-pc spamd[5899]: config: no rules were found! Do you need to run 'sa-update'? May 09 07:36:07 johns-pc spamd[5897]: child process [5899] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3134. May 09 07:36:07 johns-pc spamd[5897]: child process [5899] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3134. May 09 07:36:07 johns-pc systemd[1]: spamd.service: Control process exited, code=exited, status=255/EXCEPTION May 09 07:36:07 johns-pc systemd[1]: spamd.service: Failed with result 'exit-code'. May 09 07:36:07 johns-pc systemd[1]: Failed to start Daemonized version of spamassassin.
> May 09 07:36:06 johns-pc spamd[5899]: config: no rules were found! Do you need to run 'sa-update'? Please execute sa-update as written in the log file!
Created attachment 874820 [details] file permission error
hi there. i ran the command sudo sa-update and it seemed to update itself, but the file was found, but can't be used
I've tested it with on tumbleweed with spamassassin-4.0.1-77.1.x86_64 and it works fine for me. Do you use SLELinux or Appamor?
(In reply to Peter Varkoly from comment #4) > I've tested it with on tumbleweed with spamassassin-4.0.1-77.1.x86_64 and it > works fine for me. Do you use SLELinux or Appamor? Hi Peter, I am using AppArmour yes. since it's working for you, i have no idea where to look now as the settings are the same as i only use yast2 for configuration.
can not reproduce