Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382443 - mail-filter/dspam-3.10.1-r1 '/etc/init.d/dspam start' does not return/exit when executed via ssh
Summary: mail-filter/dspam-3.10.1-r1 '/etc/init.d/dspam start' does not return/exit wh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 23:19 UTC by Leeman Strout
Modified: 2011-09-10 10:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leeman Strout 2011-09-09 23:19:09 UTC
/etc/init.d/dspam start does not return or exit when executed remotely via ssh within a script or otherwise:

ie:  ssh server /etc/init.d/dspam start   fundamentally works but the ssh command never returns.  This is also the case if the above command is in a script that is executed via ssh in the same way.

Reproducible: Always

Steps to Reproduce:
1. remotely execute /etc/init.d/dspam start using ssh
2. ssh session never closes/returns
3. scripts executed in this way never continue


Expected Results:  
dspam should start and the ssh session should exit/end

to fix, add --quiet to the start-stop-daemon options within the start() stanza.
Comment 1 Leeman Strout 2011-09-09 23:19:37 UTC
mail init.d # emerge --info dspam
Portage 2.1.10.14 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.34-xen-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-xen-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Sep 2011 14:45:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.6.7-r2, 2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acpi amd64 bash-completion bzip2 cli cracklib dbus fam hvm iconv ithreads libnotify logrotate mmx multilib ncurses nls nptl nptlonly ntp pam pcf pcre perl pmu python readline session sse sse2 ssl ssse3 startup-notification svg tcpd unicode xvmc zlib" APACHE2_MODULES="actions alias authz_host cgi dir include mime vhost_alias log_config" APACHE2_MPMS="prefork" ELIBC="glibc" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

mail-filter/dspam-3.10.1-r1 was built with the following:
USE="clamav daemon domain-scale (multilib) postgres syslog virtual-users -debug -hash -large-scale -ldap -mysql -small-scale -sqlite -static-libs -user-homedirs"
Comment 2 Tim Harder gentoo-dev 2011-09-10 10:17:55 UTC
Fixed in CVS with no revision bump.