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

Bug#390687: marked as done (lprng does not start with new initscripts RAMRUN option)



Your message dated Tue, 24 Oct 2006 22:47:12 -0700
with message-id <E1Gcbbc-0007Wt-QB@spohr.debian.org>
and subject line Bug#390687: fixed in lprng 3.8.28dfsg.1-1
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)

--- Begin Message ---
Package: lprng
Version: 3.8.28-6
Severity: important
Tags: patch

If the lockfile directory does not exists, lprng fails to start. This
is, eg. the case with the new RAMRUN option in the new initscripts,
where /var/run is kept on a tmpfs and therefore cleared during reboot:

root@positron:~# /etc/init.d/lprng start
Starting LPRNG printer spooler: lpd2006-10-02-16:52:29.236 positron lpd: Cannot open lock file '/var/run/lprng/lpd.515' - No such file or directory
.

The following patch solves this:

diff -urN lprng-3.8.28.orig/debian/init.d lprng-3.8.28/debian/init.d
--- lprng-3.8.28.orig/debian/init.d     2006-10-02 16:48:33.000000000
+0200
+++ lprng-3.8.28/debian/init.d  2006-10-02 16:49:16.000000000 +0200
@@ -47,6 +47,9 @@
 if [ -z $LOCKFILE ]
 then
 LOCKFILE=/var/run/lprng/lpd
+ if [ ! -d /var/run/lprng ]; then
+  mkdir /var/run/lprng
+ fi
 fi
       
 PIDFILE=$LOCKFILE.$LPD_PORT

Regards
/Rasmus

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to da_DK.UTF-8)

Versions of packages lprng depends on:
ii  debconf [debconf-2.0]        1.5.5       Debian configuration management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libcomerr2                   1.39-1.1    common error description library
ii  libkrb53                     1.4.4-3     MIT Kerberos runtime libraries
ii  libssl0.9.8                  0.9.8c-2    SSL shared libraries
ii  lsb-base                     3.1-17      Linux Standard Base 3.1 init scrip

lprng recommends no packages.

-- debconf information:
* lprng/start_lpd: true
  lprng/twolpd_perms:
  lprng/twolpd_conf:
  lprng/setuid_tools: false
diff -urN lprng-3.8.28.orig/debian/init.d lprng-3.8.28/debian/init.d
--- lprng-3.8.28.orig/debian/init.d	2006-10-02 16:48:33.000000000 +0200
+++ lprng-3.8.28/debian/init.d	2006-10-02 16:49:16.000000000 +0200
@@ -47,6 +47,9 @@
 if [ -z $LOCKFILE ]
 then
   LOCKFILE=/var/run/lprng/lpd
+  if [ ! -d /var/run/lprng ]; then
+    mkdir /var/run/lprng
+  fi
 fi
 
 PIDFILE=$LOCKFILE.$LPD_PORT

--- End Message ---
--- Begin Message ---
Source: lprng
Source-Version: 3.8.28dfsg.1-1

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

lprng-doc_3.8.28dfsg.1-1_all.deb
  to pool/main/l/lprng/lprng-doc_3.8.28dfsg.1-1_all.deb
lprng_3.8.28dfsg.1-1.diff.gz
  to pool/main/l/lprng/lprng_3.8.28dfsg.1-1.diff.gz
lprng_3.8.28dfsg.1-1.dsc
  to pool/main/l/lprng/lprng_3.8.28dfsg.1-1.dsc
lprng_3.8.28dfsg.1-1_i386.deb
  to pool/main/l/lprng/lprng_3.8.28dfsg.1-1_i386.deb
lprng_3.8.28dfsg.1.orig.tar.gz
  to pool/main/l/lprng/lprng_3.8.28dfsg.1.orig.tar.gz



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 390687@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <csmall@debian.org> (supplier of updated lprng 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.7
Date: Wed, 25 Oct 2006 14:47:02 +1000
Source: lprng
Binary: lprng lprng-doc
Architecture: source i386 all
Version: 3.8.28dfsg.1-1
Distribution: unstable
Urgency: low
Maintainer: Craig Small <csmall@debian.org>
Changed-By: Craig Small <csmall@debian.org>
Description: 
 lprng      - lpr/lpd printer spooling system
 lprng-doc  - lpr/lpd printer spooling system (documentation)
Closes: 390687 392167 393395
Changes: 
 lprng (3.8.28dfsg.1-1) unstable; urgency=low
 .
   * Removed RFC 1179 Closes: 393395
   * Init script changed to handle RAMRUN option Closes: #390687
   * Updated Japanese po-debconf file Closes: #392167
Files: 
 ed37696c51ceed8796c2d1a551a9078a 747 net extra lprng_3.8.28dfsg.1-1.dsc
 39f23a410dda2d963cdab923d85e5025 10204952 net extra lprng_3.8.28dfsg.1.orig.tar.gz
 917bcf5923ac665443c5c95469324ba8 45024 net extra lprng_3.8.28dfsg.1-1.diff.gz
 8086b4b0945299fa874132e2cc8a41ee 3214042 doc extra lprng-doc_3.8.28dfsg.1-1_all.deb
 b14b3d3edc9def14090b80a4986c09c6 1813382 net extra lprng_3.8.28dfsg.1-1_i386.deb

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

iD8DBQFFPvHhx2zlrBLK36URAuCEAJ42yvh1ebAnlfgXcf0L+YpVC6BqAACeLGUS
IdbC8uDJD/DmPJvtRpHoZbY=
=VKOR
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: