Your message dated Fri, 01 Apr 2005 09:32:15 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300703: fixed in autofs 4.1.3+4.1.4beta2-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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Mar 2005 08:59:08 +0000
>From [EMAIL PROTECTED] Mon Mar 21 00:59:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ernst.netinsight.se [212.247.11.2] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1DDIkd-000365-00; Mon, 21 Mar 2005 00:59:07 -0800
Received: from sid.netinsight.se (unverified [10.100.1.25]) by 
ernst.netinsight.se
 (EMWAC SMTPRS 0.83) with SMTP id <[EMAIL PROTECTED]>;
 Mon, 21 Mar 2005 09:58:26 +0100
Received: from localhost ([127.0.0.1] ident=anders)
        by sid.netinsight.se with esmtp (Exim 4.44)
        id 1DDIjy-00025f-Ge
        for [EMAIL PROTECTED]; Mon, 21 Mar 2005 09:58:26 +0100
Date: Mon, 21 Mar 2005 09:58:26 +0100 (CET)
Message-Id: <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: autofs: Upgrade fails
X-Debbugs-CC: Anders =?iso-8859-1?Q?Bostr=F6m?= <[EMAIL PROTECTED]>
From: Anders =?iso-8859-1?Q?Bostr=F6m?= <[EMAIL PROTECTED]>
X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: autofs
Version: 4.1.3+4.1.4beta2-3
Severity: grave

Upgrade from 4.1.3+4.1.4beta2-2 fails:

Preparing to replace autofs 4.1.3+4.1.4beta2-2 (using 
.../autofs_4.1.3+4.1.4beta2-3_amd64.deb) ...
Stopping automounter:dpkg: warning - old pre-removal script returned error exit 
status 2
dpkg - trying script from the new package instead ...
Stopping automounter:dpkg: ... it looks like that went OK.
Unpacking replacement autofs ...
...
Setting up autofs (4.1.3+4.1.4beta2-3) ...
Installing new version of config file /etc/init.d/autofs ...
Stopping automounter:dpkg: error processing autofs (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 autofs
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.

Setting up autofs (4.1.3+4.1.4beta2-3) ...
Stopping automounter:dpkg: error processing autofs (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 autofs

installation script returned error exit status 100.
Press <enter> to continue.

This seems to fail also:

sid:~# /etc/init.d/autofs stop
Stopping automounter:sid:~# 

sid:~# sh -x /etc/init.d/autofs stop
+ FLAGS='defaults 21'
+ DAEMON=/usr/sbin/automount
++ basename /usr/sbin/automount
+ prog=automount
+ initdir=/etc/init.d
+ test -e /usr/sbin/automount
+ system=unknown
+ '[' -f /etc/debian_version ']'
+ system=debian
+ '[' debian = redhat ']'
+ '[' debian = debian ']'
+ thisscript=/etc/init.d/autofs
+ '[' '!' -f /etc/init.d/autofs ']'
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ export PATH
+ localoptions=
+ daemonoptions=
+ '[' debian = redhat ']'
+ '[' debian = debian ']'
+ TIMEOUT=300
+ DISABLE_DIRECT=1
+ DAEMON_EXIT_WAIT=20
+ '[' -f /etc/default/autofs ']'
+ . /etc/default/autofs
++ TIMEOUT=300
++ DISABLE_DIRECT=1
+ daemonoptions=' --timeout=300'
+ RETVAL=0
+ '[' debian = debian ']'
+ debian stop
+ set -e
+ case "$1" in
+ echo -n 'Stopping automounter:'
Stopping automounter:+ umount_loopback
++ LC_ALL=C
++ awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts
+ loops=
++ LC_ALL=C
++ awk '!/^#/ && $1 ~ /^automount/ {print $2}' /proc/mounts
+ automounts='/var/autofs/misc
/var/autofs/net
/mnt/linux32/home
/mnt/linux32/nfs2
/home
/neti
/nfs2'
++ LC_ALL=C
++ awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $1}' /proc/mounts
+ loopmnts=
+ any=0
++ ls /var/run/autofs/_home.pid /var/run/autofs/_mnt_linux32_home.pid 
/var/run/autofs/_mnt_linux32_nfs2.pid /var/run/autofs/_neti.pid 
/var/run/autofs/_nfs2.pid /var/run/autofs/_var_autofs_misc.pid 
/var/run/autofs/_var_autofs_net.pid
+ for file in '`ls /var/run/autofs/*.pid 2>/dev/null`'
+ '[' -e /var/run/autofs/_home.pid ']'
+ any=1
++ head -n 1 /var/run/autofs/_home.pid
+ pid=902
++ ps -wwo cmd= 902
++ sed -e 's,.* --pid-file=/var/run/autofs/\([^ ]*\)\.pid.*,\1,; s,_,/,g'
+ mnt=/home
+ start-stop-daemon --stop --quiet --retry USR2/20 --pidfile 
/var/run/autofs/_home.pid --exec /usr/sbin/automount
sid:~# 

sid:~# start-stop-daemon --stop --retry USR2/20 --pidfile 
/var/run/autofs/_home.pid --exec /usr/sbin/automount
No /usr/sbin/automount found running; none killed.
sid:~# 

sid:~# ps aux | grep automount
root       651  0.0  0.0  11748   944 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_var_autofs_misc.pid 
--timeout=300 /var/autofs/misc file /etc/auto.misc
root       720  0.0  0.0  11736   932 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_var_autofs_net.pid 
--timeout=300 /var/autofs/net program /etc/auto.net
root       793  0.0  0.0  12860  1064 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_mnt_linux32_home.pid 
--timeout=300 /mnt/linux32/home yp auto_home
root       807  0.0  0.0  12860  1048 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_mnt_linux32_nfs2.pid 
--timeout=300 /mnt/linux32/nfs2 yp auto_nfs2
root       902  0.0  0.0  12860  1064 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_home.pid --timeout=300 /home yp 
auto.home -proto=udp,intr,vers=3
root      1030  0.0  0.0  12860  1048 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_neti.pid --timeout=300 /neti yp 
auto_neti -intr,vers=3
root      1125  0.0  0.0  12860  1048 ?        S    Mar18   0:00 
/usr/sbin/automount --pid-file=/var/run/autofs/_nfs2.pid --timeout=300 /nfs2 yp 
auto_nfs2 -proto=udp,intr,vers=2
root      5148  0.0  0.0   2700   540 pts/3    R+   09:28   0:00 grep automount
sid:~# 


sid:~# killall automount

killall automount worked! start-stop-daemon --stop don't seem to work...

sid:~# which start-stop-daemon 
/sbin/start-stop-daemon
sid:~# dpkg -S /sbin/start-stop-daemon
dpkg: /sbin/start-stop-daemon
sid:~# dpkg -l dpkg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  dpkg           1.10.27        Package maintenance system for Debian
sid:~# 

And (after all automount-procssed are killed):

sid:~# /etc/init.d/autofs stop
Stopping automounter:sid:~# 

/etc/init.d/autofs still don't work, as start-stop-daemon still fails
(correctly this this, as the process don't exists eny more):

sid:~# start-stop-daemon --stop --retry USR2/20 --pidfile 
/var/run/autofs/_home.pid --exec /usr/sbin/automount
No /usr/sbin/automount found running; none killed.
sid:~# 

Install of autofs still fails:

sid:~# dpkg -i /var/cache/apt/archives/autofs_4.1.3+4.1.4beta2-3_amd64.deb 
(Reading database ... 80549 files and directories currently installed.)
Preparing to replace autofs 4.1.3+4.1.4beta2-3 (using 
.../autofs_4.1.3+4.1.4beta2-3_amd64.deb) ...
Stopping automounter:dpkg: warning - old pre-removal script returned error exit 
status 1
dpkg - trying script from the new package instead ...
Stopping automounter:dpkg: ... it looks like that went OK.
Unpacking replacement autofs ...
Setting up autofs (4.1.3+4.1.4beta2-3) ...
Stopping automounter:dpkg: error processing autofs (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 autofs
sid:~# 

Remove also fails:

sid:~# dpkg -r autofs
(Reading database ... 80547 files and directories currently installed.)
Removing autofs ...
Stopping automounter:dpkg: error processing autofs (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 autofs
sid:~# 

The problem is that '/etc/init.d/autofs stop' fails...

I "fixed" the prerm-script to return 0. And then:

sid:~# dpkg -i /var/cache/apt/archives/autofs_4.1.3+4.1.4beta2-3_amd64.deb 
(Reading database ... 80549 files and directories currently installed.)
Preparing to replace autofs 4.1.3+4.1.4beta2-3 (using 
.../autofs_4.1.3+4.1.4beta2-3_amd64.deb) ...
Unpacking replacement autofs ...
Setting up autofs (4.1.3+4.1.4beta2-3) ...
Stopping automounter:dpkg: error processing autofs (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 autofs
sid:~#

Then I removed autofs with 'dpkg -r autofs' (after fixing the
prerm-script to return 0 again...).

A new install fails again with the same post-installation problem. And
the next try fails with the prerm problem...

A new round with first remove and then install failing in post-inst.

Then I tried '/var/lib/dpkg/info/autofs.postinst configure', and it
seems to work!

sid:~# dpkg --configure autofs
Setting up autofs (4.1.3+4.1.4beta2-3) ...
Stopping automounter: done.
Starting automounter: done.

sid:~# 

Success!

/ Anders

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11.3
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE)

Versions of packages autofs depends on:
ii  debconf        1.4.39                    Debian configuration management sy
ii  libc6          2.3.2.ds1-20.0.0.1.pure64 GNU C Library: Shared libraries an

-- debconf information:
* autofs/upgrade-from-broken-version:

---------------------------------------
Received: (at 300703-close) by bugs.debian.org; 1 Apr 2005 14:43:07 +0000
>From [EMAIL PROTECTED] Fri Apr 01 06:43:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHNMZ-00065n-00; Fri, 01 Apr 2005 06:43:07 -0800
Received: from newraff.debian.org [208.185.25.31] (mail)
        by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHNMY-0003e3-00; Fri, 01 Apr 2005 07:43:07 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DHNC3-0001AG-00; Fri, 01 Apr 2005 09:32:15 -0500
From: [EMAIL PROTECTED] (Steinar H. Gunderson)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#300703: fixed in autofs 4.1.3+4.1.4beta2-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 01 Apr 2005 09:32:15 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: autofs
Source-Version: 4.1.3+4.1.4beta2-4

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

autofs-hesiod_4.1.3+4.1.4beta2-4_i386.deb
  to pool/main/a/autofs/autofs-hesiod_4.1.3+4.1.4beta2-4_i386.deb
autofs-ldap_4.1.3+4.1.4beta2-4_i386.deb
  to pool/main/a/autofs/autofs-ldap_4.1.3+4.1.4beta2-4_i386.deb
autofs_4.1.3+4.1.4beta2-4.diff.gz
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-4.diff.gz
autofs_4.1.3+4.1.4beta2-4.dsc
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-4.dsc
autofs_4.1.3+4.1.4beta2-4_i386.deb
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steinar H. Gunderson <[EMAIL PROTECTED]> (supplier of updated autofs 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: SHA1

Format: 1.7
Date: Fri,  1 Apr 2005 15:58:20 +0200
Source: autofs
Binary: autofs-hesiod autofs-ldap autofs
Architecture: source i386
Version: 4.1.3+4.1.4beta2-4
Distribution: unstable
Urgency: high
Maintainer: Steinar H. Gunderson <[EMAIL PROTECTED]>
Changed-By: Steinar H. Gunderson <[EMAIL PROTECTED]>
Description: 
 autofs     - kernel-based automounter for Linux
 autofs-hesiod - Hesiod map support for autofs
 autofs-ldap - LDAP map support for autofs
Closes: 295480 299298 300703
Changes: 
 autofs (4.1.3+4.1.4beta2-4) unstable; urgency=high
 .
   * Urgency=high, fixes RC-bugs.
   * 054_no_set_e_in_init_script: New patch, back down on "set -e" in the
     init.d script, which caused failures at lot of different unexpected
     points. (Closes: #300703, #295480, #299298)
Files: 
 e5f53b2ec90220bdc17185c4a52cc754 673 utils extra autofs_4.1.3+4.1.4beta2-4.dsc
 1747ea041eb36077f8f1d045a708b2be 28942 utils extra 
autofs_4.1.3+4.1.4beta2-4.diff.gz
 f3e5306f5b2c64ccd9d63d0defe09a76 104264 utils extra 
autofs_4.1.3+4.1.4beta2-4_i386.deb
 e4dcd1045fc0d53bd6e18c2eb0bf69d9 22952 utils extra 
autofs-hesiod_4.1.3+4.1.4beta2-4_i386.deb
 b919dc1880758442216827758882435f 35030 utils extra 
autofs-ldap_4.1.3+4.1.4beta2-4_i386.deb

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

iD8DBQFCTVWgXKRQ3lK3SH4RArugAKCyPdVBgDAgsUxHgWatmezNCXSEqQCgoo8D
VfFCNbwgUR6Z29qS0jhTd3M=
=ZGzv
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to