| Summary: | spamd cannot be shutdown manually | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Spuhler <thomas> |
| Component: | RPM Packages | Assignee: | Remco Rijnders <remco> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, marja11, smiling.diego, stormi-mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | spamassassin | CVE: | |
| Status comment: | |||
| Bug Depends on: | 2120 | ||
| Bug Blocks: | |||
|
Description
Thomas Spuhler
2011-11-21 04:09:07 CET
assiging to remmy at his wish CC:
(none) =>
marja11 (In reply to comment #1) > assiging to remmy at his wish and now cc'ing stormi, because that couldn't be done in one move CC:
(none) =>
stormi this is also valid for other services like i.e. cups. in general it seems drakxservices is not in sync with systemd (neither the list of available services nor the status of the services) CC:
(none) =>
smiling.diego and it's work with systemctl or /etc/ini.d/** stop/restart ? cups definitely works, spamd is not installed on my system:
[root@localhost diego]# systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: loaded (/lib/systemd/system/cups.service; enabled)
Active: active (running) since Sat, 24 Dec 2011 12:58:11 +0100; 1h 43min ago
Main PID: 11446 (cupsd)
CGroup: name=systemd:/system/cups.service
â 11446 /usr/sbin/cupsd -f
[root@localhost diego]# /etc/init.d/cups stop
Stopping cups (via systemctl): [ OK ]
[root@localhost diego]# systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: loaded (/lib/systemd/system/cups.service; enabled)
Active: inactive (dead) since Sat, 24 Dec 2011 14:41:24 +0100; 3s ago
Main PID: 11446 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/cups.service
please disregard my post above. I just crosschecked again, and now drakxservices works for cups. I'm definitely updating my system faster than I can think :) awesome work! There are still discrepancies between available initscripts and listed entries. I just checked and spamassassin is installed on my system but I couldnt find any trace of initscrips (sysV nor systemd). P.S. my version is: Source RPM : drakxtools-13.74-1.mga2.src.rpm ok. Thomas, ok for you too ? Keywords:
(none) =>
NEEDINFO I never has a problem (as far as I know) with cups but the spamd problem is still there
Remco Rijnders
2012-01-16 17:17:04 CET
Status:
NEW =>
ASSIGNED
Manuel Hiebel
2012-02-07 23:16:57 CET
Depends on:
(none) =>
2120 @diego: There should be an initscript (not sure about systemd service) for spamd in the spamassassin-spamd package. Do you perhaps not have it installed? CC:
(none) =>
mageia OK got it... I have installed spamassassin, but not spamassassin-spamd, no point in worrying over non present bootscripts. sorry for keeping you busy :) the spamassassin-spamd 3.3.2-2.mga2 RPM provides the following scripts: â * /etc/rc.d/init.d/spamd * /etc/sysconfig/spamd do you have any need for testing? I would be happy to install and try what you need. Should be OK actually. I made some tweaks to the initscript to properly kill the main process which didn't seem to work properly anymore. This works fine with systemd, although a native unit would be trivial to write too. Remco was able to test that the changes worked OK, so will commit shortly. Thanks to Colin, the init script is now fixed so it properly works with systemd enabled as well. Thanks Colin! As soon as the package is built on Cauldron, we should be able to close this bugreport. Left to do is to provide a systemd native init file, I'll have a look at that later. Thanks both of you for doing this.I'll check it out tonight. I believe this to be fixed. Feel free to reopen in case you disagree. Status:
ASSIGNED =>
RESOLVED |