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

Bug#527970: marked as done (init.d status support)



Your message dated Sun, 09 Aug 2009 11:17:28 +0000
with message-id <E1Ma6P2-0000GV-0F@ries.debian.org>
and subject line Bug#527970: fixed in xfs 1:1.0.8-3
has caused the Debian Bug report #527970,
regarding init.d status support
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 owner@bugs.debian.org
immediately.)


-- 
527970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527970
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xfs
Version: 1:1.0.8-2.1
Severity: wishlist
Tags: patch
User: petere@debian.org
Usertags: initd-status-support

Here is a patch to support the "status" action in the init.d script.
diff -u xfs-1.0.8/debian/xfs.init xfs-1.0.8/debian/xfs.init
--- xfs-1.0.8/debian/xfs.init
+++ xfs-1.0.8/debian/xfs.init
@@ -44,6 +44,8 @@
 
 test -x $DAEMON || exit 0
 
+. /lib/lsb/init-functions
+
 do_restorecon () {
   # Restore file security context (SELinux).
   if which restorecon >/dev/null 2>&1; then
@@ -176,8 +178,12 @@
     echo "."
   ;;
 
+  status)
+    status_of_proc -p $PIDFILE $DAEMON xfs
+    ;;
+
   *)
-    echo "Usage: /etc/init.d/xfs {start|stop|restart|reload|force-reload}"
+    echo "Usage: /etc/init.d/xfs {start|stop|restart|reload|force-reload|status}"
     exit 1
     ;;
 esac
diff -u xfs-1.0.8/debian/control xfs-1.0.8/debian/control
--- xfs-1.0.8/debian/control
+++ xfs-1.0.8/debian/control
@@ -10,7 +10,7 @@
 
 Package: xfs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3.2-13)
 Suggests: xfonts-100dpi | xfonts-75dpi, xfonts-base, xfonts-scalable
 Description: X font server
  xfs is a daemon that listens on a network port and serves X fonts to X

--- End Message ---
--- Begin Message ---
Source: xfs
Source-Version: 1:1.0.8-3

We believe that the bug you reported is fixed in the latest version of
xfs, which is due to be installed in the Debian FTP archive:

xfs_1.0.8-3.diff.gz
  to pool/main/x/xfs/xfs_1.0.8-3.diff.gz
xfs_1.0.8-3.dsc
  to pool/main/x/xfs/xfs_1.0.8-3.dsc
xfs_1.0.8-3_i386.deb
  to pool/main/x/xfs/xfs_1.0.8-3_i386.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 527970@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xfs 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 09 Aug 2009 13:02:38 +0200
Source: xfs
Binary: xfs
Architecture: source i386
Version: 1:1.0.8-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xfs        - X font server
Closes: 500722 527970
Changes: 
 xfs (1:1.0.8-3) unstable; urgency=low
 .
   * Remove the -1 debian revisions from build-depends.
   * Don't run dh_makeshlibs.
   * Don't run update-rc.d twice in postinst and postrm, debhelper handles this
     for us.
   * Parse space-separated DEB_BUILD_OPTIONS as mandated by policy, and allow
     parallel builds.
   * Wrap debian/control's Build-Depends field.
   * Run autoreconf on build; add build-deps on automake and xutils-dev.
   * Add init.d status support (closes: #527970).  Thanks, Peter Eisentraut!
   * Don't stop xfs in runlevels 0 and 6 (closes: #500722).  Thanks, Sven
     Joachim!
   * Bump debhelper compat level to 5 (lowest non-deprecated level).
   * Update xsfbs to get README.source.
   * Bump Standards-Version to 3.8.2.
   * Set Maintainer to Debian QA Group (see bug#540362).
Checksums-Sha1: 
 0fd975762e938b29d99f5aad0f8c0e5f7b1deddd 1146 xfs_1.0.8-3.dsc
 b71aa8a1782a35729623c1dbb7c903213ae37810 25478 xfs_1.0.8-3.diff.gz
 7d7c5559908080852106a758707c020ef3b2fa09 78536 xfs_1.0.8-3_i386.deb
Checksums-Sha256: 
 f9a5135bacfd22a775588918ae1f337790bfde4c64178a1bd234f6b02777cb6e 1146 xfs_1.0.8-3.dsc
 f4f638cfac408694fbb4d0713999fbd0178a5b864262be7fa8af0aad18757691 25478 xfs_1.0.8-3.diff.gz
 cc567b22a5836c89c664a84d019f3cf74130e9c19d128d9c2ca84e9f064cb060 78536 xfs_1.0.8-3_i386.deb
Files: 
 0b954760d75e28099517ccead2480c77 1146 x11 optional xfs_1.0.8-3.dsc
 63d409239b653ce9090cbec583a95597 25478 x11 optional xfs_1.0.8-3.diff.gz
 a44d91b01262f6e986412827e730c61d 78536 x11 optional xfs_1.0.8-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp+r2QACgkQmEvTgKxfcAwF7gCghFe8e5aDmSQDZynLV53uboqt
Kk8AoLq/UHnRFuhNlLs1vqEzG51gNSSU
=OI5Q
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: