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

Bug#408928: marked as done (ipw3945d: please allow /var/run as tmpfs)



Your message dated Wed, 07 Feb 2007 05:47:03 +0000
with message-id <E1HEfe3-00027m-46@ries.debian.org>
and subject line Bug#408928: fixed in ipw3945d 1.7.22-4
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: ipw3945d
Version: 1.7.22-3
Severity: normal
Tags: patch

Hello,

since I use a tmpfs for my /var/run [1], ipw3945d cannot start
anymore, because /var/run/ipw3945d doesn't exist.  The following patch
solves the problem (similar to bugs #390506 [2] and # [3]):

--8<---------------cut here---------------start------------->8---
--- ipw3945d.ORG	2007-01-28 23:47:23.000000000 +0100
+++ ipw3945d	2007-01-29 10:49:32.000000000 +0100
@@ -19,6 +19,7 @@
 DAEMON_PID_DIR="/var/run/ipw3945d"
 DAEMON_PID_FILE="${DAEMON_PID_DIR}/ipw3945d.pid"
 DAEMON_LOG_FILE="/var/log/ipw3945d/ipw3945d.log"
+VARRUNDIR="/var/run/ipw3945d"
 
 # Occasionally we will be started by a modprobe hook very early,
 # when the filesystem might not be mounted rw yet. In this case
@@ -75,8 +76,20 @@
   fi
 }
 
+# Check if /var/run/ipw3945d exists, create it if it doesn't.  This
+# is to let users have /var/run as tmpfs (see /etc/default/rcS).
+check_varrundir () {
+  if [ ! -d $VARRUNDIR ]; then
+    echo -n "Creating $VARRUNDIR..."
+    mkdir -m 0755 $VARRUNDIR
+    chown $DAEMON_OWNER $VARRUNDIR
+    echo "done."
+  fi
+}
+
 start_daemon() {
   if have_sys_entries; then
+    check_varrundir
     remove_stale_pid
     log_daemon_msg "Starting ipw3945 regulatory daemon" "ipw3945d"
     start-stop-daemon --start --quiet --chuid "${DAEMON_OWNER}"                \
--8<---------------cut here---------------end--------------->8---

Please consider for inclusion, TIA.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.debian.org/debian-devel/2006/10/msg01277.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390506
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408848

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ipw3945d depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip

Versions of packages ipw3945d recommends:
ii  firmware-ipw3945              0.3        Binary firmware for IPW3945

-- no debconf information

Attachment: pgpEqyckwWpab.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ipw3945d
Source-Version: 1.7.22-4

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

ipw3945d_1.7.22-4.diff.gz
  to pool/non-free/i/ipw3945d/ipw3945d_1.7.22-4.diff.gz
ipw3945d_1.7.22-4.dsc
  to pool/non-free/i/ipw3945d/ipw3945d_1.7.22-4.dsc
ipw3945d_1.7.22-4_i386.deb
  to pool/non-free/i/ipw3945d/ipw3945d_1.7.22-4_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 408928@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jurij Smakov <jurij@debian.org> (supplier of updated ipw3945d 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: Mon,  5 Feb 2007 22:10:45 -0800
Source: ipw3945d
Binary: ipw3945d
Architecture: source i386
Version: 1.7.22-4
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Jurij Smakov <jurij@debian.org>
Description: 
 ipw3945d   - Binary userspace regulatory daemon for Intel PRO/Wireless 3945ABG
Closes: 408928
Changes: 
 ipw3945d (1.7.22-4) unstable; urgency=low
 .
   * Create the PID directory when starting, if it does not exist.
     This may happen if user have chosen to put /var/run on tmpfs.
     Thanks to Luca Capello. Closes: #408928
Files: 
 d78577d9b94779aa0f5b74b50d047b9b 631 non-free/net extra ipw3945d_1.7.22-4.dsc
 22846f3ef6fb04e21a84e6495b6a3dc3 5672 non-free/net extra ipw3945d_1.7.22-4.diff.gz
 fb14b80d0fd66e9a23b49f4eae5e9492 37606 non-free/net extra ipw3945d_1.7.22-4_i386.deb

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

iD8DBQFFyWMtjjectMmeA8wRAtR4AJ43ApY+mSxUTm2CN/kligpQW0BPRQCfZNIt
khB/xqtXQitSDo4fIczV3Xs=
=pbUD
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: