Your message dated Sun, 27 Nov 2011 22:09:41 +0000
with message-id <[email protected]>
and subject line Bug#587107: fixed in remote-tty 4.0-13
has caused the Debian Bug report #587107,
regarding remote-tty: Support /var/run as tmpfs
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.)


-- 
587107: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587107
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: remote-tty
Version: 4.0-12
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu maverick ubuntu-patch

When /var/run is of type tmpfs, the directories
/var/run/remote-tty/{sock,pid} are removed after a reboot. 
According to Policy 9.3.2 the init.d scripts must handle this correctly.

In Ubuntu, we've applied the attached patch to achieve the following:

  [ Jean-Baptiste Lallement ]
  * Create /var/run/remote-tty/{sock,pid} in init script (LP: #409805) 

  [ Stefano Rivera ]
  * Depend on $remote_fs in init script

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-5-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control      2008-04-26 12:04:45 +0000
+++ debian/control      2010-06-25 09:51:25 +0000
@@ -1,7 +1,8 @@
 Source: remote-tty
 Section: admin
 Priority: optional
-Maintainer: Jonathan McDowell <[email protected]>
+Maintainer: Ubuntu Developers <[email protected]>
+XSBC-Original-Maintainer: Jonathan McDowell <[email protected]>
 Standards-Version: 3.7.3.0
 Build-Depends: debhelper (>= 4)
 

=== modified file 'debian/init'
--- debian/init 2008-04-26 12:04:45 +0000
+++ debian/init 2010-06-25 09:51:25 +0000
@@ -2,8 +2,8 @@
 
 ### BEGIN INIT INFO
 # Provides:          remote-tty
-# Required-Start:    $syslog
-# Required-Stop:     $syslog
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
 # Should-Start:      $local_fs
 # Should-Stop:       $local_fs
 # Default-Start:     2 3 4 5
@@ -20,6 +20,11 @@
 case "$1" in
   start)
        echo "Starting remote-tty console manager:"
+       mkdir -p /var/run/remote-tty/sock
+       mkdir -p /var/run/remote-tty/pid
+       chmod -R 775 /var/run/remote-tty
+       chown -R rttymgr:rttymgr /var/run/remote-tty >/dev/null 2>&1 || true
+
        cd /etc/remote-tty/dev
        if [ ! "x`ls`" = x ]; then
                su rttymgr -c "/usr/sbin/startsrv *"
@@ -51,7 +56,7 @@
        sh $0 start
        ;;
   *)
-       echo "Usage: /etc/init.d/ssh {start|stop}"
+       echo "Usage: /etc/init.d/$(basename $0) {start|stop}"
        exit 1
 esac
 

=== modified file 'debian/postinst'
--- debian/postinst     2006-06-20 09:49:00 +0000
+++ debian/postinst     2010-06-25 09:51:25 +0000
@@ -10,7 +10,6 @@
 
                # We want to own our /var/run and /var/log dirs.
                chown -R rttymgr:rttymgr /var/log/remote-tty
-               chown -R rttymgr:rttymgr /var/run/remote-tty
                ;;
 
        abort-upgrade|abort-remove|abort-deconfigure)

=== modified file 'debian/rules'
--- debian/rules        2006-11-26 20:52:54 +0000
+++ debian/rules        2010-06-25 09:51:25 +0000
@@ -38,8 +38,6 @@
                        debian/$(package)/etc/remote-tty/opt \
                        debian/$(package)/etc/remote-tty/owner \
                        debian/$(package)/etc/remote-tty/prot
-       install -d debian/$(package)/var/run/remote-tty/pid \
-                       debian/$(package)/var/run/remote-tty/sock
        install -d debian/$(package)/etc/init.d
        install -m 755 ttysrv debian/$(package)/usr/sbin
        install -m 755 rtty debian/$(package)/usr/bin/remote-tty


--- End Message ---
--- Begin Message ---
Source: remote-tty
Source-Version: 4.0-13

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

remote-tty_4.0-13.diff.gz
  to main/r/remote-tty/remote-tty_4.0-13.diff.gz
remote-tty_4.0-13.dsc
  to main/r/remote-tty/remote-tty_4.0-13.dsc
remote-tty_4.0-13_amd64.deb
  to main/r/remote-tty/remote-tty_4.0-13_amd64.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.
Jonathan McDowell <[email protected]> (supplier of updated remote-tty 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: SHA256

Format: 1.8
Date: Sun, 27 Nov 2011 12:28:44 -0800
Source: remote-tty
Binary: remote-tty
Architecture: source amd64
Version: 4.0-13
Distribution: unstable
Urgency: low
Maintainer: Jonathan McDowell <[email protected]>
Changed-By: Jonathan McDowell <[email protected]>
Description: 
 remote-tty - multiuser "tip"/"cu" replacement with logging
Closes: 518555 587107
Changes: 
 remote-tty (4.0-13) unstable; urgency=low
 .
   * Fold in Ubuntu changes for tmpfs /var/run (closes: #587107)
   * Fix remote-tty help output to not include -s or -x options; we
     don't compile in TCPIP or DEBUG support (closes: #518555)
   * Add basic README.Debian with details on how to configure.
   * Lintian/updated policy inspired cleanups:
     * Add ${misc:Depends} to binary deps.
     * Add build-arch + build-indep targets.
     * Don't ignore errors in postinst/postrm.
     * Bump debhelper compat level to 8.
     * Bump policy version to 3.9.2
Checksums-Sha1: 
 e401f91ed7e1ad07ec09067f1d890b48e0ca502e 1642 remote-tty_4.0-13.dsc
 019a8036d586fb4307224809934f96950dfa040e 9292 remote-tty_4.0-13.diff.gz
 0df5156d52370dced9d4044398b1a64e8d8dde35 35416 remote-tty_4.0-13_amd64.deb
Checksums-Sha256: 
 4bd31825f0546487cb546a02df584e037c42b27b58fd37ca66a9b2684125aed3 1642 
remote-tty_4.0-13.dsc
 7ea5a128dfd724e497e0b4c6b151adfffdb71a3c83fc31b56add77fae6b0bfa1 9292 
remote-tty_4.0-13.diff.gz
 4fcc4db253ab3414827b698cc70f78461600378e7ebdab17ede83db2b7b38cfc 35416 
remote-tty_4.0-13_amd64.deb
Files: 
 cb414dbedcfe20df7d8b785350ba9a71 1642 admin optional remote-tty_4.0-13.dsc
 846af3b41c86f16be9340b1c070b8cfc 9292 admin optional remote-tty_4.0-13.diff.gz
 6601707e7ebcbbb3f693538eb893ecb2 35416 admin optional 
remote-tty_4.0-13_amd64.deb

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

iQIbBAEBCAAGBQJO0qYbAAoJEP8WL8XPP7rRaEQP+JnX1umvpg5kbg1eImzs9OyP
DqjbuYeMbmUcmPTyq5mAyQC9/i9LNnY8OyzU9qnrmhlHESMg4cKwB+OIM1gkRimR
gY6x0exM5Kr+EorhwH5JTqc6vUb8t4f8wtt+miQa1d6dhQdw+enI6rJ8hpyBsqYf
z6hvPWkSSEXSd7ObVsDashGQXeRb+2GvceDjdtb/Q0v7E4De0sBVzUFM8uuAExQ0
XtncrGUCx77sndF/jQ95bKn+guAaedC5NNvb15vIMB0n3aeDzoxRKTMUSVKF0j5z
DjYjtRJu4u/hgpyQRS71140T4Z9mmBOoJ7EiaY65Imn4ulghYvT/52v3NGx5e/bM
RyzQgOcfdB2daI0h/53paeto83sAJ9obCRaCgLDnrMMVVhngPsNPDCdi0GhtWc5n
48ln7IqRYf7CqIZUseQXVKwBJH8/XkzREuLbG/I2DQRO0s3P4Fkdru5LvtyhIFVg
1w6pCtFNpmwBSngTMTlW1hAERQMWZm/zoKqWx4PqvpTVilK9laQ0c9+Ak1dd4klG
kOz7T8UcWVCD67Ej3oPfv+9PektNV6qbF5BIKI16I5Cg1+3CSd8LtztbWz4KpQcD
TXYEBjCozvjW7zeihDUP9wRxHoBCIZakdGrON3GDFWLrlbF0ZR9d3MTsP0YEIDCa
KXVXv2dc9+1L9aWYxF0=
=kr6T
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to