Your message dated Wed, 16 Apr 2008 12:23:58 +0100
with message-id <[EMAIL PROTECTED]>
and subject line serpento has been removed from Debian, closing #218254
has caused the Debian Bug report #218254,
regarding pidfile handling in initscript broken
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
218254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=218254
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: serpento
Version: 0.4
Severity: normal
The pid file handling is a bit broken. As serpento, as you exec it,
spawns itself, the right pid number is never written into the pidfile.
I fixed this and will append the patches.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux notiac 2.4.21-notiac7-skas-acpi #3 Wed Oct 22 08:22:59 CEST 2003
i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
Versions of packages serpento depends on:
ii libc6 2.3.2-9 GNU C Library: Shared libraries an
ii python2.3 2.3.2-2 An interactive high-level object-o
-- no debconf information
--- ../serpento-0.4.orig/debian/changelog 2002-12-13 14:44:02.000000000
+0100
+++ debian/changelog 2003-10-30 03:52:37.000000000 +0100
@@ -1,3 +1,11 @@
+serpento (0.5) unstable; urgency=low
+
+ * Fixed pid-file handling and "restart" option in init script.
+ * Added hint to /usr/share/common-licenses to copyright file.
+ * Changed homedir away from /tmp in preinst.
+
+ -- Christian Hammers <[EMAIL PROTECTED]> Thu, 30 Oct 2003 03:11:37 +0100
+
serpento (0.4) unstable; urgency=low
* fixed several possible exceptions
@@ -85,8 +93,3 @@
* first usable version
-- Radovan Garabik <[EMAIL PROTECTED]> Wed, 13 Dec 2000 13:20:51 +0100
-
-
-Local variables:
-mode: debian-changelog
-End:
--- ../serpento-0.4.orig/debian/control 2002-12-12 10:51:42.000000000 +0100
+++ debian/control 2003-10-30 03:46:55.000000000 +0100
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Radovan Garabik <[EMAIL PROTECTED]>
Build-Depends: debhelper (>> 2.0.0), python2.3-dev
-Standards-Version: 3.5.6
+Standards-Version: 3.6.1
Package: serpento
Architecture: any
--- ../serpento-0.4.orig/debian/copyright 2001-04-30 21:20:19.000000000
+0200
+++ debian/copyright 2003-10-30 03:45:28.000000000 +0100
@@ -1,6 +1,8 @@
-This package was written by Radovan Garabik <[EMAIL PROTECTED]
+This package was written by Radovan Garabik <[EMAIL PROTECTED]>
-Copyright:
+Copyright/License:
-License: GPL, with the addition: It can be linked with
-whatever you want, without any restrictions.
+This software is licensed under the terms of the GPL with the addition that it
+can be linked with whatever you want, without any restrictions.
+
+A copy of the GPL can be found in /usr/share/common-licenses/.
--- ../serpento-0.4.orig/debian/init.d 2001-05-02 20:43:14.000000000 +0200
+++ debian/init.d 2003-10-30 03:33:55.000000000 +0100
@@ -12,9 +12,12 @@
# This file was automatically customized by dh-make on Sun, 25 Mar 2001
22:13:17 +0200
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/serpento
+LIBDIR=/usr/lib/serpento
+DAEMON=$LIBDIR/serpento.py
+PIDFILE=/var/run/serpento.pid
NAME=serpento
DESC=serpento
+INITSCRIPT=/etc/init.d/$NAME
test -f $DAEMON || exit 0
@@ -23,17 +26,25 @@
case "$1" in
start)
echo -n "Starting $DESC: "
- start-stop-daemon --chuid serpento --start --quiet --pidfile
/var/run/$NAME.pid \
+ start-stop-daemon \
+ --start \
+ --background \
+ --quiet \
+ --chuid serpento \
+ --chdir $LIBDIR \
+ --make-pidfile \
+ --pidfile $PIDFILE \
--exec $DAEMON
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
- killall serpento.py || true
- sleep 1
- killall -9 serpento.py || true
- #start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
- # --exec $DAEMON
+ start-stop-daemon \
+ --stop \
+ --oknodo \
+ --quiet \
+ --pidfile $PIDFILE \
+ >/dev/null
echo "$NAME."
;;
#reload)
@@ -54,18 +65,11 @@
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
- echo -n "Restarting $DESC: "
- start-stop-daemon --stop --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON
- sleep 1
- start-stop-daemon --chuid serpento --start --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON
- echo "$NAME."
+ $INITSCRIPT stop
+ $INITSCRIPT start
;;
*)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ echo "Usage: $INITSCRIPT {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
--- ../serpento-0.4.orig/debian/preinst 2002-12-12 10:46:49.000000000 +0100
+++ debian/preinst 2003-10-30 03:39:22.000000000 +0100
@@ -18,7 +18,7 @@
# We have a serpento user.
usermod -g nogroup serpento
else
- adduser --disabled-password --system --no-create-home --home
/tmp --quiet serpento
+ adduser --disabled-password --system --no-create-home --home
/doesnotexist --quiet serpento
fi
mkdir -p /var/cache/serpento || true
chown serpento /var/cache/serpento
--- ../serpento-0.4.orig/debian/rules 2001-11-04 17:07:14.000000000 +0100
+++ debian/rules 2003-10-30 03:03:53.000000000 +0100
@@ -44,6 +44,7 @@
# Add here commands to install the package into debian/serpento.
$(MAKE) install DESTDIR=$(CURDIR)/debian/serpento
+ rm $(CURDIR)/debian/serpento/usr/sbin/serpento
mv $(CURDIR)/debian/serpento/usr/lib/serpento/config.py
$(CURDIR)/debian/serpento/etc/serpento/
cp $(CURDIR)/debian/config-dbs.py
$(CURDIR)/debian/serpento/etc/serpento/
cp $(CURDIR)/dictdconfig $(CURDIR)/debian/serpento/usr/sbin/
--- End Message ---
--- Begin Message ---
Version: 0.4.1-0.2
The serpento package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/473855 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
--- End Message ---