Bug 141557 - spamd complains about wrong options when starting
Summary: spamd complains about wrong options when starting
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Alpha 4
Hardware: Other Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 10:27 UTC by Mike Fabian
Modified: 2006-01-12 09:09 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Fabian 2006-01-05 10:27:36 UTC
on STABLE:

mfabian@magellan:~$ sudo rcspamd start
Starting spamd                                                        done
mfabian@magellan:~$ [4763] warn: Unknown option: a
Usage:
    spamd [options]

    Options:

     -l, --allow-tell                   Allow learning/reporting
     -c, --create-prefs                 Create user preferences files
     -C path, --configpath=path         Path for default config files
     --siteconfigpath=path              Path for site configs
     -d, --daemonize                    Daemonize
     -h, --help                         Print usage message.
     -i [ipaddr], --listen-ip=ipaddr    Listen on the IP ipaddr
     -p port, --port=port               Listen on specified port
     -m num, --max-children=num         Allow maximum num children
     --min-children=num                 Allow minimum num children
     --min-spare=num                    Lower limit for number of spare children
     --max-spare=num                    Upper limit for number of spare children
     --max-conn-per-child=num           Maximum connections accepted by child
                                        before it is respawned
     --round-robin                      Use traditional prefork algorithm
     --timeout-tcp=secs                 Connection timeout for client headers
     --timeout-child=secs               Connection timeout for message checks
     -q, --sql-config                   Enable SQL config (only useful with -x)
     -Q, --setuid-with-sql              Enable SQL config (only useful with -x,
                                        enables use of -H)
     --ldap-config                      Enable LDAP config (only useful with -x)
     --setuid-with-ldap                 Enable LDAP config (only useful with -x,
                                        enables use of -H)
     --virtual-config-dir=dir           Enable pattern based Virtual configs
                                        (needs -x)
     -r pidfile, --pidfile              Write the process id to pidfile
     -s facility, --syslog=facility     Specify the syslog facility
     --syslog-socket=type               How to connect to syslogd
     -u username, --username=username   Run as username
     -v, --vpopmail                     Enable vpopmail config
     -x, --nouser-config                Disable user config files
     --auth-ident                       Use ident to authenticate spamc user
     --ident-timeout=timeout            Timeout for ident connections
     -A host,..., --allowed-ips=..,..   Limit ip addresses which can connect
     -D, --debug[=areas]                Print debugging messages (for areas)
     -L, --local                        Use local tests only (no DNS)
     -P, --paranoid                     Die upon user errors
     -H [dir], --helper-home-dir[=dir]  Specify a different HOME directory
     --ssl                              Run an SSL server
     --server-key keyfile               Specify an SSL keyfile
     --server-cert certfile             Specify an SSL certificate
     --socketpath=path                  Listen on given UNIX domain socket
     --socketowner=name                 Set UNIX domain socket file's owner
     --socketgroup=name                 Set UNIX domain socket file's group
     --socketmode=mode                  Set UNIX domain socket file's mode
Comment 1 Mike Fabian 2006-01-05 10:28:08 UTC
mfabian@magellan:~$ cat /etc/sysconfig/spamd
## Path:           Network/Mail/Spamassassin
## Description:    Arguments for the spam daemon
## Type:           string
## Default:        "-d -c -L"
## ServiceRestart: spamd
# The arguments passed to spamd.
# See spamd(1) man page and README.spamd
# Please take care of security considerations!
# Default is "-d -c -a"
SPAMD_ARGS="-d -c -a"
mfabian@magellan:~$
Comment 2 Peter Varkoly 2006-01-10 07:38:29 UTC
I could not reproduce this bug. 
I`ve installed a `SUSE LINUX 10.0.42 (i586) OSS Alpha4` and the default setting was OK on this system:

varkoly@linux:~> cat /etc/SuSE-release 
SUSE LINUX 10.0.42 (i586) OSS Alpha4
VERSION = 10.0.42
varkoly@linux:~>  cat /etc/sysconfig/spamd
## Path:           Network/Mail/Spamassassin
## Description:    Arguments for the spam daemon
## Type:           string
## Default:        "-d -c -L"
## ServiceRestart: spamd
#
# The arguments passed to spamd.
# See spamd(1) man page.
# Default is "-d -c -L"
SPAMD_ARGS="-d -c -L"

Can I have a look on your system?
Comment 3 Mike Fabian 2006-01-10 10:41:15 UTC
My machine is "magellan.suse.de".

It is not a reinstallation but an *update* from SuSE 10.0.

Maybe there is something wrong when updating?
Comment 4 Mike Fabian 2006-01-10 10:45:15 UTC
You the same problem on baker.suse.de and shannon.suse.de.
Both are updated from 10.0 as well and still have the "-a" option
in /etc/sysconfig/spamd which apparently doesn't exist any more.
Comment 5 Peter Varkoly 2006-01-10 12:29:03 UTC
I can not become root rights on the systems above, so I can not test it. Please set the usual root password.
Comment 6 Mike Fabian 2006-01-10 15:20:52 UTC
OK.

Comment 7 Peter Varkoly 2006-01-12 09:09:12 UTC
fixed

now by update the /etc/sysconfig/spamd file will be parsed if this contains the option -a. If yes this will be removed.