[Bug 448514] [NEW] BOINC core client warns incorrectly on startup

Stephen Day sd at unixtastic.com
Sun Oct 11 07:28:34 UTC 2009

Public bug reported:

Binary package hint: boinc

/etc/init.d/boinc-client contains:
        if [ ! `echo $FOO | grep  -- '--daemon' 1>/dev/null` ]; then
                log_warning_msg "\`--deamon' option detected \
                        on /etc/default/boinc-client, this \
                        can cause problems on boinc. The option \
                        will be suppressed"
                        BOINC_OPTS=`echo "$BOINC_OPTS" | sed 's/--daemon//'`

$FOO doesn't appear to be set anywhere and the test is checking for the
inverse result. The result is I get this warning displayed on each
startup even though I do not have '--daemon' set in /etc/default/boinc-

I believe the correct code should be something like:
        echo $BOINC_OPTS | grep -q -- '--daemon'
        if [ '$?' -eq 0 ]; then
                log_warning_msg "\`--daemon' option detected in /etc/default/boinc-client. This option will be suppressed."
                BOINC_OPTS=`echo "$BOINC_OPTS" | sed 's/--daemon//'`

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: boinc-client 6.2.18-3ubuntu1
 PATH=(custom, user)
SourcePackage: boinc
Uname: Linux 2.6.28-15-generic x86_64

** Affects: boinc (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug

BOINC core client warns incorrectly on startup
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in ubuntu.

More information about the pkg-boinc-devel mailing list