Your message dated Tue, 06 Oct 2009 23:37:34 +0000
with message-id <[email protected]>
and subject line Bug#470691: fixed in tenshi 0.4-2
has caused the Debian Bug report #470691,
regarding Create /var/run/tenshi if it does not exist when tenshi is started
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.)
--
470691: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470691
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tenshi
Version: 0.4-1.3
Severity: wishlist
Tags: patch
User: [email protected]
Usertag: origin-ubuntu ubuntu-patch
This bug was reported in Launchpad:
https://bugs.launchpad.net/bugs/189623
In Ubuntu /var/run is mounted as tmpfs, so directory /var/run/tenshi
does not exist when the system is rebooted. Therefore tenshi cannot
write it's pid file and fails to start. This problem was fixed for
Ubuntu with the attached patch.
Although Debian does not mount /var/run as tmpfs, this patch may still
be useful for some users or for future use.
--- /home/ncm/tenshi-init.d-old 2008-02-06 11:24:17.000000000 -0500
+++ /etc/init.d/tenshi 2008-02-06 11:41:23.000000000 -0500
@@ -14,14 +14,25 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/tenshi
NAME=tenshi
-PIDFILE=/var/run/tenshi/$NAME.pid
+PIDDIR=/var/run/$NAME
+PIDFILE=$PIDDIR/$NAME.pid
+DAEMONUSER=tenshi
test -x $DAEMON || exit 0
+do_start() {
+ # make sure we have our PID directory
+ if [ ! -d $PIDDIR ]; then
+ mkdir -p $PIDDIR
+ chown $DAEMONUSER:$DAEMONUSER $PIDDIR
+ fi
+ start-stop-daemon --start -c tenshi --pidfile $PIDFILE --startas $DAEMON -- -P $PIDFILE
+}
+
case "$1" in
start)
echo -n "Starting log monitor: tenshi"
- start-stop-daemon --start -c tenshi --pidfile $PIDFILE --startas $DAEMON -- -P $PIDFILE
+ do_start
echo "."
;;
stop)
@@ -40,7 +51,7 @@
echo "."
sleep 1
echo -n "Starting log monitor: tenshi"
- start-stop-daemon --start -c tenshi --pidfile $PIDFILE --startas $DAEMON -- -P $PIDFILE
+ do_start
echo "."
;;
*)
--- End Message ---
--- Begin Message ---
Source: tenshi
Source-Version: 0.4-2
We believe that the bug you reported is fixed in the latest version of
tenshi, which is due to be installed in the Debian FTP archive:
tenshi_0.4-2.diff.gz
to pool/main/t/tenshi/tenshi_0.4-2.diff.gz
tenshi_0.4-2.dsc
to pool/main/t/tenshi/tenshi_0.4-2.dsc
tenshi_0.4-2_all.deb
to pool/main/t/tenshi/tenshi_0.4-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated tenshi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 06 Oct 2009 22:45:34 +0200
Source: tenshi
Binary: tenshi
Architecture: source all
Version: 0.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description:
tenshi - log monitoring and reporting tool
Closes: 470691 547562
Changes:
tenshi (0.4-2) unstable; urgency=low
.
* Orphan package, set maintainer to Debian QA Group.
* Correct init.d script dependencies (Closes: #547562).
* Make sure to create /var/run/tenshi/ during boot (Closes: #470691).
Patch from Albert Damen and Ubuntu.
* Update to debhelper 7.
* Change standards-version from 3.6.2.1 to 3.8.3.
* Add ${misc:Depends} to depends list to make debhelper happy.
* Remove redundant call to update-rc.d in postinst.
* Add homepage URL in control file.
* Update URL in watch file to use new upstream home site.
Checksums-Sha1:
be302f819c0743cbe3155fb04487d285b5f50212 968 tenshi_0.4-2.dsc
d87d41c221361c8e819777d2954628bca4a57255 7321 tenshi_0.4-2.diff.gz
470cc67d737e485d1f415e5596c62414c727a51e 24408 tenshi_0.4-2_all.deb
Checksums-Sha256:
bb89e15dbd231de55b34e7d9220a2c187bb419e38b561fff6d88c621e43a93a5 968
tenshi_0.4-2.dsc
486fcc05f2c59130f97c66e009f0ae65cde0aa26cc607618c614f623a98888e0 7321
tenshi_0.4-2.diff.gz
4ad5b8c96693beb9a59b5708414b1b372db4a6bde59cccff8e1c91ed1ccbe0f9 24408
tenshi_0.4-2_all.deb
Files:
d823172a4c4e5f108a0ad8d99520e6d6 968 admin optional tenshi_0.4-2.dsc
3f4510ff87e8446e2b609d1c61e45133 7321 admin optional tenshi_0.4-2.diff.gz
f9925b4231ace31d3b704c0b9ff03bdf 24408 admin optional tenshi_0.4-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKy60m20zMSyow1ykRAvtOAJ4jdm+6AWdpW2z2JBa4x1jBIDCNAwCgnOTz
NsKNiBqr1q6vY2aTczH8Sxg=
=/KRC
-----END PGP SIGNATURE-----
--- End Message ---