autofs upgrade freezes (when configured)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Debian) |
Fix Released
|
Unknown
|
|||
autofs (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #295477 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 02:54:05 +0100
From: Vincent Lefevre <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: autofs upgrade freezes (when configured)
Package: autofs
Version: 4.1.3+4.1.4beta2-1
Severity: grave
Justification: renders package unusable
When upgrading autofs:
Setting up autofs (4.1.3+
Stopping automounter: done.
Starting automounter: done.
Then it freezes. I need to type Ctrl-C and I get:
dpkg: error processing autofs (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
autofs
E: Sub-process /usr/bin/dpkg returned an error code (1)
Same problem after an "apt-get install -f".
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=POSIX, LC_CTYPE=
Versions of packages autofs depends on:
ii debconf 1.4.45 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- debconf information:
* autofs/
In Debian Bug tracker #295477, Steinar H. Gunderson (sesse) wrote : Re: Bug#295477: autofs upgrade freezes (when configured) | #3 |
On Wed, Feb 16, 2005 at 02:54:05AM +0100, Vincent Lefevre wrote:
> Then it freezes. I need to type Ctrl-C and I get:
>
> dpkg: error processing autofs (--configure):
> subprocess post-installation script killed by signal (Interrupt)
> Errors were encountered while processing:
> autofs
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Same problem after an "apt-get install -f".
First of all, which version are you upgrading from?
Second, could you please try running
sh -x -e /var/lib/
sh -x -e /etc/init.d/autofs restart
and give what both print out? I can't really see a good reason why autofs
upgrade should hang _after_ it has been successfully restarted...
/* Steinar */
--
Homepage: http://
In Debian Bug tracker #295477, Steinar H. Gunderson (sesse) wrote : tagging 295477 | #4 |
# Automatically generated email from bts, devscripts version 2.8.10
tags 295477 sid
Debian Bug Importer (debzilla) wrote : | #5 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 03:33:25 +0100
From: "Steinar H. Gunderson" <email address hidden>
To: Vincent Lefevre <email address hidden>, <email address hidden>
Subject: Re: Bug#295477: autofs upgrade freezes (when configured)
On Wed, Feb 16, 2005 at 02:54:05AM +0100, Vincent Lefevre wrote:
> Then it freezes. I need to type Ctrl-C and I get:
>
> dpkg: error processing autofs (--configure):
> subprocess post-installation script killed by signal (Interrupt)
> Errors were encountered while processing:
> autofs
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Same problem after an "apt-get install -f".
First of all, which version are you upgrading from?
Second, could you please try running
sh -x -e /var/lib/
sh -x -e /etc/init.d/autofs restart
and give what both print out? I can't really see a good reason why autofs
upgrade should hang _after_ it has been successfully restarted...
/* Steinar */
--
Homepage: http://
In Debian Bug tracker #295477, Aaron M. Ucko (ucko) wrote : autofs.postinst vs. debconf | #6 |
Package: autofs
Version: 4.1.3+4.1.4beta2-1
Followup-For: Bug #295477
I ran into this too. In general, maintainer scripts that use debconf
and start background processes (particularly daemons that will run
indefinitely) should first call db_stop to avoid trouble. However,
AFAICT, autofs's postinst does not really need debconf at all, so it
should suffice to stop sourcing /usr/share/
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Versions of packages autofs depends on:
ii debconf 1.4.45 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- debconf information:
* autofs/
Debian Bug Importer (debzilla) wrote : | #7 |
Message-Id: <email address hidden>
Date: Wed, 16 Feb 2005 03:48:07 +0100
From: Steinar H. Gunderson <email address hidden>
To: <email address hidden>
Subject: tagging 295477
# Automatically generated email from bts, devscripts version 2.8.10
tags 295477 sid
Debian Bug Importer (debzilla) wrote : | #8 |
Message-Id: <email address hidden>
Date: Tue, 15 Feb 2005 22:21:47 -0500
From: "Aaron M. Ucko" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Cc: <email address hidden>
Subject: autofs.postinst vs. debconf
Package: autofs
Version: 4.1.3+4.1.4beta2-1
Followup-For: Bug #295477
I ran into this too. In general, maintainer scripts that use debconf
and start background processes (particularly daemons that will run
indefinitely) should first call db_stop to avoid trouble. However,
AFAICT, autofs's postinst does not really need debconf at all, so it
should suffice to stop sourcing /usr/share/
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Versions of packages autofs depends on:
ii debconf 1.4.45 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- debconf information:
* autofs/
In Debian Bug tracker #295477, Vincent Lefevre (vincent-vinc17) wrote : Re: Bug#295477: autofs upgrade freezes (when configured) | #9 |
On 2005-02-16 03:33:25 +0100, Steinar H. Gunderson wrote:
> First of all, which version are you upgrading from?
4.1.3-9
> Second, could you please try running
>
> sh -x -e /var/lib/
dixsept:
+ '[' -f /etc/default/autofs ']'
+ . /etc/default/autofs
++ TIMEOUT=300
++ DISABLE_DIRECT=1
+ . /usr/share/
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ exec /usr/share/
Stopping automounter: done.
Starting automounter: done.
and I need to type Ctrl-C.
> sh -x -e /etc/init.d/autofs restart
Since there's a lot of output, I'm redirecting stderr and attaching
the result.
dixsept:
Stopping automounter: done.
Starting automounter: done.
dixsept:
> and give what both print out? I can't really see a good reason why
> autofs upgrade should hang _after_ it has been successfully
> restarted...
I don't see either. /etc/init.d/autofs is working as expected.
But the autofs.postinst script doesn't.
--
Vincent Lefèvre <email address hidden> - Web: <http://
100% accessible validated (X)HTML - Blog: <http://
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 09:26:32 +0100
From: Vincent Lefevre <email address hidden>
To: "Steinar H. Gunderson" <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#295477: autofs upgrade freezes (when configured)
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
On 2005-02-16 03:33:25 +0100, Steinar H. Gunderson wrote:
> First of all, which version are you upgrading from?
4.1.3-9
> Second, could you please try running
>
> sh -x -e /var/lib/
dixsept:
+ '[' -f /etc/default/autofs ']'
+ . /etc/default/autofs
++ TIMEOUT=300
++ DISABLE_DIRECT=1
+ . /usr/share/
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ exec /usr/share/
Stopping automounter: done.
Starting automounter: done.
and I need to type Ctrl-C.
> sh -x -e /etc/init.d/autofs restart
Since there's a lot of output, I'm redirecting stderr and attaching
the result.
dixsept:
Stopping automounter: done.
Starting automounter: done.
dixsept:
> and give what both print out? I can't really see a good reason why
> autofs upgrade should hang _after_ it has been successfully
> restarted...
I don't see either. /etc/init.d/autofs is working as expected.
But the autofs.postinst script doesn't.
--
Vincent Lef�e <email address hidden> - Web: <http://
100% accessible validated (X)HTML - Blog: <http://
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-
+ FLAGS='defaults 21'
+ DAEMON=
++ 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=
+ '[' '!' -f /etc/init.d/autofs ']'
+ PATH=/sbin:
+ 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 restart
+ set -e
+ case "$1" in
+ debian stop
+ set -e
+ case "$1" in
+ echo -n '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='/local
/users
/cluster'
++ LC_ALL=C
++ awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $1}' /proc/mounts
+ loopmnts=
+ any=0
++ ls /var/run/
+ for file in '`ls /var/run/auto...
In Debian Bug tracker #295477, Steinar H. Gunderson (sesse) wrote : Re: Bug#295477: autofs.postinst vs. debconf | #11 |
On Tue, Feb 15, 2005 at 10:21:47PM -0500, Aaron M. Ucko wrote:
> I ran into this too. In general, maintainer scripts that use debconf
> and start background processes (particularly daemons that will run
> indefinitely) should first call db_stop to avoid trouble.
Aha, db_stop is the problem. I'll make an upload later today, thanks.
> However, AFAICT, autofs's postinst does not really need debconf at all, so
> it should suffice to stop sourcing /usr/share/
I tried doing that, but lintian complained, saying it was required.
/* Steinar */
--
Homepage: http://
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 12:03:33 +0100
From: "Steinar H. Gunderson" <email address hidden>
To: "Aaron M. Ucko" <email address hidden>, <email address hidden>
Subject: Re: Bug#295477: autofs.postinst vs. debconf
On Tue, Feb 15, 2005 at 10:21:47PM -0500, Aaron M. Ucko wrote:
> I ran into this too. In general, maintainer scripts that use debconf
> and start background processes (particularly daemons that will run
> indefinitely) should first call db_stop to avoid trouble.
Aha, db_stop is the problem. I'll make an upload later today, thanks.
> However, AFAICT, autofs's postinst does not really need debconf at all, so
> it should suffice to stop sourcing /usr/share/
I tried doing that, but lintian complained, saying it was required.
/* Steinar */
--
Homepage: http://
In Debian Bug tracker #295477, Steinar H. Gunderson (sesse) wrote : Bug#295477: fixed in autofs 4.1.3+4.1.4beta2-2 | #13 |
Source: autofs
Source-Version: 4.1.3+4.1.4beta2-2
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-
to pool/main/
autofs-
to pool/main/
autofs_
to pool/main/
autofs_
to pool/main/
autofs_
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steinar H. Gunderson <email address hidden> (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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 16 Feb 2005 13:20:03 +0100
Source: autofs
Binary: autofs-hesiod autofs-ldap autofs
Architecture: source i386
Version: 4.1.3+4.1.4beta2-2
Distribution: unstable
Urgency: high
Maintainer: Steinar H. Gunderson <email address hidden>
Changed-By: Steinar H. Gunderson <email address hidden>
Description:
autofs - A kernel-based automounter for Linux
autofs-hesiod - Hesiod map support for autofs
autofs-ldap - LDAP map support for autofs
Closes: 295477
Changes:
autofs (4.1.3+
.
* Urgency=high, closes an RC bug.
* Call db_stop in postinst and config at the end, to avoid hangs on some
machines on installation. (Closes: #295477)
Files:
9b1e5cecfe1dc4
fca7cc23b5a7dd
b94d263f179c2f
3d0e83c81afb14
4d319450ab7a46
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCEzvRXKR
bQOiZ4EbM1lnQQO
=kER8
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #14 |
Message-Id: <email address hidden>
Date: Wed, 16 Feb 2005 07:32:18 -0500
From: <email address hidden> (Steinar H. Gunderson)
To: <email address hidden>
Subject: Bug#295477: fixed in autofs 4.1.3+4.1.4beta2-2
Source: autofs
Source-Version: 4.1.3+4.1.4beta2-2
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-
to pool/main/
autofs-
to pool/main/
autofs_
to pool/main/
autofs_
to pool/main/
autofs_
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steinar H. Gunderson <email address hidden> (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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 16 Feb 2005 13:20:03 +0100
Source: autofs
Binary: autofs-hesiod autofs-ldap autofs
Architecture: source i386
Version: 4.1.3+4.1.4beta2-2
Distribution: unstable
Urgency: high
Maintainer: Steinar H. Gunderson <email address hidden>
Changed-By: Steinar H. Gunderson <email address hidden>
Description:
autofs - A kernel-based automounter for Linux
autofs-hesiod - Hesiod map support for autofs
autofs-ldap - LDAP map support for autofs
Closes: 295477
Changes:
autofs (4.1.3+
.
* Urgency=high, closes an RC bug.
* Call db_stop in postinst and config at the end, to avoid hangs on some
machines on installation. (Closes: #295477)
Files:
9b1e5cecfe1dc4
fca7cc23b5a7dd
b94d263f179c2f
3d0e83c81afb14
4d319450ab7a46
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCEzvRXKR
bQOiZ4EbM1lnQQO
=kER8
-----END PGP SIGNATURE-----
Matt Zimmerman (mdz) wrote : | #15 |
autofs in Hoary doesn't use debconf.
Changed in autofs: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #295477 http:// bugs.debian. org/295477