Bug 1224067 - spamd.service - Daemonized version of spamassassin not starting - permission issue
Summary: spamd.service - Daemonized version of spamassassin not starting - permission ...
Status: RESOLVED WORKSFORME
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 19:43 UTC by John Shand
Modified: 2024-06-11 10:58 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
varkoly: needinfo? (jshand2013)


Attachments
file permission error (285.48 KB, image/png)
2024-05-10 19:33 UTC, John Shand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Shand 2024-05-08 19:43:25 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.
Comment 1 Peter Varkoly 2024-05-10 10:58:12 UTC
> 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!
Comment 2 John Shand 2024-05-10 19:33:19 UTC
Created attachment 874820 [details]
file permission error
Comment 3 John Shand 2024-05-10 19:34:57 UTC
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
Comment 4 Peter Varkoly 2024-05-13 11:53:17 UTC
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?
Comment 5 John Shand 2024-05-13 19:18:04 UTC
(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.
Comment 6 Peter Varkoly 2024-06-11 10:58:24 UTC
can not reproduce