Your message dated Thu, 24 Apr 2008 22:16:13 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing obsolete bugs
has caused the Debian Bug report #222571,
regarding pcmcia-cs: Auto-unmount of ide-cs fails when using devfs
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.)


-- 
222571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222571
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: pcmcia-cs
Version: 3.2.5-2
Severity: normal
Tags: patch

When using devfs, ide-cs file systems fail to unmount when 'cardctl
eject' is called.  The problem is that the function rm_parts is looking
for the short version of the file system (eg /dev/hdb) but the mount
program is reporting the long version (eg 
/dev/ide/host0/bus0/target0/lun0/part1).
I have attached a patch that fixes the problem on my devfs system.

----- Begin patch -----
--- /etc/pcmcia/shared.orig   2003-11-30 20:02:50.000000000 -0500
+++ /etc/pcmcia/shared  2003-11-30 20:03:26.000000000 -0500
@@ -112,7 +112,15 @@
   fi
     done
     do_fuser -k -m /dev/${DEVICE}* > /dev/null
+  if [ -L $BLK ]               # devfs
+  then
+   local devfsdev
+   devfsdev=`ls -l /dev/hdg | awk '{print $11}'`
+   devfsdev=`dirname $devfsdev`
+   LIST=`mount | sed -ne "s+^\(/dev/$devfsdev/part[0-9]*\) .*+\1+p"`
+  else
     LIST=`mount | sed -ne "s+^\($BLK[0-9]*\) .*+\1+p"`
+  fi
     if [ -n "$LIST" ] ; then
   for MT in $LIST ; do
       log umount -v $MT || return 1
----- End patch -----

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux thaen 2.4.22-ac2-4 #1 Thu Nov 13 23:22:11 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages pcmcia-cs depends on:
ii  debconf                    1.3.21        Debian configuration management sy
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  module-init-tools          0.9.15-pre3-2 tools for managing Linux kernel mo
ii  modutils                   2.4.25-3      Linux module utilities
ii  psmisc                     21.3-1        Utilities that use the proc filesy

-- debconf information:
* pcmcia-cs/abort_upgrade: false
  pcmcia-cs/error_stopping:
  pcmcia-cs/abort_msg:
  pcmcia-cs/not_stopped:
* pcmcia-cs/stop_pcmcia: true
  pcmcia-cs/fix_pcic: false
  pcmcia-cs/run_probe: true
* pcmcia-cs/upgrade_note:
  pcmcia-cs/no_rmdir:
  pcmcia-cs/start_later:
* pcmcia-cs/upgrade_action: always
* pcmcia-cs/start_pcmcia: true



--- End Message ---
--- Begin Message ---
Source-Version: 1:0

Since pcmcia-cs is now an empty transitional package, I am closing all of its
old bugs. If you think your bug report is still valid, you should probably
report it against pcmciautils or linux-2.6 instead. Thanks.

-- 
Pelle


--- End Message ---

Reply via email to