[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#163468: marked as done (distributed-net-pproxy: start-stop-daemon changed syntax, --chuid is needed to change user)

Your message dated Wed, 16 Mar 2005 12:55:40 +0000
with message-id <20050316125540.GA18009@deprecation.cyrius.com>
and subject line distributed-net-pproxy removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 5 Oct 2002 23:31:30 +0000
>From oweh@ds9.argh.org Sat Oct 05 18:31:23 2002
Return-path: <oweh@ds9.argh.org>
Received: from mail.cid.net [] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17xyOG-00046G-00; Sat, 05 Oct 2002 18:31:20 -0500
Received: from uucp by mail.cid.net (Exim 3.34) with local-bsmtp
	id 17xyOF-0002b3-00; Sun, 06 Oct 2002 01:31:19 +0200
Received: from oweh by ds9.argh.org with local (Exim 3.36 #1)
	id 17xyNb-0000R1-00; Sun, 06 Oct 2002 01:30:39 +0200
Content-Type: text/plain; charset="ISO-8859-15"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Sven Hartge" <debian@ds9.argh.org>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
Subject: distributed-net-pproxy: start-stop-daemon changed syntax, --chuid is
	needed to change user
X-Mailer: reportbug 2.0
Date: Sun, 06 Oct 2002 01:30:39 +0200
Message-Id: <E17xyNb-0000R1-00@ds9.argh.org>
Sender: Sven Hartge <oweh@ds9.argh.org>
Delivered-To: submit@bugs.debian.org

Package: distributed-net-pproxy
Version: 319c-6
Severity: normal
Tags: patch


The start-stop-daemon option --user only checks for a process running as
the specified user, but does not change to that user anymore, if you use
it with --start.

For this purpose the option --chuid exists.

distributed-net-pproxy was running as root since the change in
start-stop-daemon, so all buffers are owned by root.

You have to include a preinst script, which changes the owner of all the
buffers, so distributed-net-pproxy will not fail on restart.

Maybe this issue was also the problem of Bug #134599, as it seems, that
after the logrotate distributed-net-pproxy was restartet as user nobody,
which was not able to read the buffers thus causing distributed-net-pproxy
to close all sockets. But this is only a wild guess, this clearly needs


--- /etc/init.d/distributed-net-pproxy.old	2002-10-06 01:03:47.000000000 +0200
+++ /etc/init.d/distributed-net-pproxy	2002-09-27 10:52:46.000000000 +0200
@@ -23,7 +23,7 @@
 		/sbin/start-stop-daemon --start --quiet \
-			--user nobody \
+			--chuid nobody \
 			--exec ./distributed-net-pproxy \
 			--pidfile /var/run/distributed-net-pproxy.pid \
 			>>/var/log/distributed-net-pproxy/distributed-net-pproxy.log \

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux ds9 2.4.19-108 #1 Sun Sep 22 02:26:40 CEST 2002 i586
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

-- no debconf information

Received: (at 145410-done) by bugs.debian.org; 16 Mar 2005 12:55:57 +0000
>From tbm@cyrius.com Wed Mar 16 04:55:57 2005
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DBY43-0001hm-00; Wed, 16 Mar 2005 04:55:55 -0800
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id EBC5364D40; Wed, 16 Mar 2005 12:55:54 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id CE2974EDA4; Wed, 16 Mar 2005 12:55:40 +0000 (GMT)
Date: Wed, 16 Mar 2005 12:55:40 +0000
From: Martin Michlmayr <tbm@cyrius.com>
To: 134599-done@bugs.debian.org, 145410-done@bugs.debian.org,
	161590-done@bugs.debian.org, 163468-done@bugs.debian.org,
	178463-done@bugs.debian.org, 181473-done@bugs.debian.org,
Subject: distributed-net-pproxy removed
Message-ID: <20050316125540.GA18009@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 145410-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

distributed-net-pproxy has been removed from Debian.  It has not been
maintained and it was out of date so severly that it didn't properly
work anymore.
Martin Michlmayr

Reply to: