trance root # qmHandle -S"failure notice" Calling system script to terminate qmail... * ERROR: "qmail-control" has not yet been started. Uncaught exception from user code: Could not stop qmail: Bad file descriptor at /usr/bin/qmHandle line 115. at /usr/bin/qmHandle line 115 ---- Looking at the source shows us this: # For instance, this is if you have DJB's daemontools #my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail-send'; #my ($startqmail) = '/usr/local/bin/svc -u /service/qmail-send'; # While this is if you have a Debian GNU/Linux with its qmail package #my ($stopqmail) = '/etc/init.d/qmail stop'; #my ($startqmail) = '/etc/init.d/qmail start'; # Gentoo makes life easier: my ($stopqmail) = '/var/qmail/bin/qmail-control stop'; my ($startqmail) = '/var/qmail/bin/qmail-control start'; Wouldn't be better to use the svc alternative. Since that one actually works. Esp. with -r13 of qmail. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 19:52:12)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -msse2 -O3 -mmmx -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -msse2 -O3 -mmmx -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 aalib apache2 bzlib cap caps chroot clamav clearpasswd devfs26 devmap dio evms2 fwdzone gd gdbm gmp gpm hardened hardenedphp idea imap ipalias ipv6 ipv6arpa javamail javascript jp2 jpeg maildir md5sum mhash mime mmap mmx mmx2 mng mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nptl openssh pcap pcre php png pnp pthreads qmail roundrobin shaper spamassassin sse sse2 ssl subject-rewrite symlink vhosts virus-scan vpopmail xml xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I'll take care of this soon.
I've added qmhandle-1.2.0-r1 to Portage. Can you test it, please?
Seems to work good now.. tnx
Thanks for testing.