bash-3.0: `cd -' prints the directory in non-interactive mode as well (changed from 2.05b)

Bug #7279 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
bash (Debian)
Fix Released
Unknown
bash (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #262619 http://bugs.debian.org/262619

Revision history for this message
In , Fabio Massimo Di Nitto (fabbione) wrote : Re: Bug#262582: apache-common: apache-modconf doesn't accept correct syntax. dpkg reported error status 128 when installing libapache-mod-perl

Hi Philipp,

On Sat, 31 Jul 2004, Philipp Bliedung wrote:

> Package: apache-common
> Version: 1.3.31-2
> Severity: serious
> Justification: apache-modconf doesn't accept correct syntax
>
> *** Please type your report below this line ***
>
> apache-common: apache-modconf doesn't accept correct syntax. dpkg
> reported error status 128 when installing libapache-mod-perl

Nothing has been changed in apache-modconf for a long while, so i am a
little bit puzzled about this report tho it's the second one.

Can edit apache-modconf and add a set -x in the second line and try
installing libapache-mod-perl again?

Please send me the output.

Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Revision history for this message
In , Fabio Massimo Di Nitto (fabbione) wrote :

retitle 262582 BASH3.0 BREAKS APACHE! THANKS BASH MAINTAINER.
stop

On Sun, 1 Aug 2004, Fabio Massimo Di Nitto wrote:

>
> Hi Philipp,
>
> On Sat, 31 Jul 2004, Philipp Bliedung wrote:
>
> > Package: apache-common
> > Version: 1.3.31-2
> > Severity: serious
> > Justification: apache-modconf doesn't accept correct syntax
> >
> > *** Please type your report below this line ***
> >
> > apache-common: apache-modconf doesn't accept correct syntax. dpkg
> > reported error status 128 when installing libapache-mod-perl
>
> Nothing has been changed in apache-modconf for a long while, so i am a
> little bit puzzled about this report tho it's the second one.
>
> Can edit apache-modconf and add a set -x in the second line and try
> installing libapache-mod-perl again?
>

Never mind. This is bash3.0 that breaks the hell out of debian.

Thanks
Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Revision history for this message
In , Matthias Klose (doko-cs) wrote : clone apache report

clone 262582 -1
reassign -1 bash
retitle -1 bash-3.0 breaks apache-config, `cd -' behaviour changed/broken?
thanks

Revision history for this message
In , Matthias Klose (doko-cs) wrote : retitle bash report

retitle 262619 bash-3.0: `cd -' prints the directory in non-interactive mode as well (changed from 2.05b)
thanks

Revision history for this message
In , Steve Langasek (vorlon) wrote : blah blah

severity 262148 serious
tags 262148 -unreproducible
merge 262619 262148
tags 262619 sid
thanks

Revision history for this message
In , Matthias Klose (doko-cs) wrote : merge/unmerge/reassign bash reports

severity 262642 grave
severity 262438 grave
merge 262642 262438
tags 262642 + sid
forwarded 262642 <email address hidden>

unmerge 262148
reassign 262148 apache
tags 262148 +fixed

thanks

Revision history for this message
In , Chet Ramey (chet-cwru) wrote : Re: Bug#262582: apache-common: apache-modconf doesn't accept correct syntax. dpkg reported error status 128 when installing libapache-mod-perl

> > > apache-common: apache-modconf doesn't accept correct syntax. dpkg
> > > reported error status 128 when installing libapache-mod-perl
> >
> > Nothing has been changed in apache-modconf for a long while, so i am a
> > little bit puzzled about this report tho it's the second one.
> >
> > Can edit apache-modconf and add a set -x in the second line and try
> > installing libapache-mod-perl again?
>
> Never mind. This is bash3.0 that breaks the hell out of debian.

Sigh...no posix change goes unpunished. Take a look at

http://www.opengroup.org/onlinepubs/009695399/utilities/cd.html

paying particular attention to the description of the `-' argument:

"When a hyphen is used as the operand, this shall be equivalent to the command:

 cd "$OLDPWD" && pwd

which changes to the previous working directory and then writes its name."

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
      Live...Laugh...Love
Chet Ramey, ITS, CWRU <email address hidden> http://tiswww.tis.cwru.edu/~chet/

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
      Live...Laugh...Love
Chet Ramey, ITS, CWRU <email address hidden> http://tiswww.tis.cwru.edu/~chet/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #262619 http://bugs.debian.org/262619

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 31 Jul 2004 18:01:03 +0200
From: Philipp Bliedung <email address hidden>
To: <email address hidden>
Subject: apache-common: apache-modconf doesn't accept correct syntax. dpkg
 reported error status 128 when installing libapache-mod-perl

Package: apache-common
Version: 1.3.31-2
Severity: serious
Justification: apache-modconf doesn't accept correct syntax

*** Please type your report below this line ***

apache-common: apache-modconf doesn't accept correct syntax. dpkg
reported error status 128 when installing libapache-mod-perl

-- System Information:
Debian Release: 3.0-bunk-1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages apache-common depends on:
ii apache-utils 1.3.31-2 Utility programs for
webservers
ii debconf 1.4.30 Debian configuration
management sy
ii libc6 2.3.2.ds1-13 GNU C Library: Shared
libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database
Libraries [
ii libexpat1 1.95.6-8 XML parsing C library -
runtime li
ii mime-support 3.18-1.3 MIME files 'mime.types' &
'mailcap
ii perl 5.8.4-2 Larry Wall's Practical
Extraction
ii sed 4.0.9-1 The GNU sed stream editor
ii ucf 1.06 Update Configuration File:
preserv

-- debconf information:
  apache-common/logs:
  apache-shared/restart: false
* apache-common/confignotes:
  apache-common/old-logrotate-exists:
  apache-shared/debconf-modules: mod_userdir, mod_unique_id, mod_status,
mod_setenvif, mod_rewrite, mod_negotiation, mod_mime_ssl,
mod_mime_magic, mod_log_config_ssl, mod_expires, mod_dir, mod_cgi,
mod_autoindex, mod_auth_ssl, mod_alias, mod_access, apache-ssl, mod_php4

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 07:29:23 +0200 (CEST)
From: Fabio Massimo Di Nitto <email address hidden>
To: Philipp Bliedung <email address hidden>,
 <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 Debian Apache Maintainers <email address hidden>
Subject: Re: Bug#262582: apache-common: apache-modconf doesn't accept correct
 syntax. dpkg reported error status 128 when installing libapache-mod-perl

Hi Philipp,

On Sat, 31 Jul 2004, Philipp Bliedung wrote:

> Package: apache-common
> Version: 1.3.31-2
> Severity: serious
> Justification: apache-modconf doesn't accept correct syntax
>
> *** Please type your report below this line ***
>
> apache-common: apache-modconf doesn't accept correct syntax. dpkg
> reported error status 128 when installing libapache-mod-perl

Nothing has been changed in apache-modconf for a long while, so i am a
little bit puzzled about this report tho it's the second one.

Can edit apache-modconf and add a set -x in the second line and try
installing libapache-mod-perl again?

Please send me the output.

Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 07:47:58 +0200 (CEST)
From: Fabio Massimo Di Nitto <email address hidden>
To: Philipp Bliedung <email address hidden>,
 <email address hidden>
Cc: Debian Apache Maintainers <email address hidden>,
 <email address hidden>
Subject: Re: Bug#262582: apache-common: apache-modconf doesn't accept correct
 syntax. dpkg reported error status 128 when installing libapache-mod-perl

retitle 262582 BASH3.0 BREAKS APACHE! THANKS BASH MAINTAINER.
stop

On Sun, 1 Aug 2004, Fabio Massimo Di Nitto wrote:

>
> Hi Philipp,
>
> On Sat, 31 Jul 2004, Philipp Bliedung wrote:
>
> > Package: apache-common
> > Version: 1.3.31-2
> > Severity: serious
> > Justification: apache-modconf doesn't accept correct syntax
> >
> > *** Please type your report below this line ***
> >
> > apache-common: apache-modconf doesn't accept correct syntax. dpkg
> > reported error status 128 when installing libapache-mod-perl
>
> Nothing has been changed in apache-modconf for a long while, so i am a
> little bit puzzled about this report tho it's the second one.
>
> Can edit apache-modconf and add a set -x in the second line and try
> installing libapache-mod-perl again?
>

Never mind. This is bash3.0 that breaks the hell out of debian.

Thanks
Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 08:38:11 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: clone apache report

clone 262582 -1
reassign -1 bash
retitle -1 bash-3.0 breaks apache-config, `cd -' behaviour changed/broken?
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 09:36:50 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: retitle bash report

retitle 262619 bash-3.0: `cd -' prints the directory in non-interactive mode as well (changed from 2.05b)
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 02:51:09 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: blah blah

severity 262148 serious
tags 262148 -unreproducible
merge 262619 262148
tags 262619 sid
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 13:33:18 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: merge/unmerge/reassign bash reports

severity 262642 grave
severity 262438 grave
merge 262642 262438
tags 262642 + sid
forwarded 262642 <email address hidden>

unmerge 262148
reassign 262148 apache
tags 262148 +fixed

thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 03 Aug 2004 10:03:35 -0400
From: Chet Ramey <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#262582: apache-common: apache-modconf doesn't accept correct syntax. dpkg reported
 error status 128 when installing libapache-mod-perl

> > > apache-common: apache-modconf doesn't accept correct syntax. dpkg
> > > reported error status 128 when installing libapache-mod-perl
> >
> > Nothing has been changed in apache-modconf for a long while, so i am a
> > little bit puzzled about this report tho it's the second one.
> >
> > Can edit apache-modconf and add a set -x in the second line and try
> > installing libapache-mod-perl again?
>
> Never mind. This is bash3.0 that breaks the hell out of debian.

Sigh...no posix change goes unpunished. Take a look at

http://www.opengroup.org/onlinepubs/009695399/utilities/cd.html

paying particular attention to the description of the `-' argument:

"When a hyphen is used as the operand, this shall be equivalent to the command:

 cd "$OLDPWD" && pwd

which changes to the previous working directory and then writes its name."

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
      Live...Laugh...Love
Chet Ramey, ITS, CWRU <email address hidden> http://tiswww.tis.cwru.edu/~chet/

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
      Live...Laugh...Love
Chet Ramey, ITS, CWRU <email address hidden> http://tiswww.tis.cwru.edu/~chet/

Revision history for this message
Matt Zimmerman (mdz) wrote :

Warty doesn't have bash 3.0

Revision history for this message
In , Matthias Klose (doko) wrote : Bug#262619: fixed in bash 3.0-5
Download full text (3.2 KiB)

Source: bash
Source-Version: 3.0-5

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

bash-builtins_3.0-5_i386.deb
  to pool/main/b/bash/bash-builtins_3.0-5_i386.deb
bash-doc_3.0-5_all.deb
  to pool/main/b/bash/bash-doc_3.0-5_all.deb
bash-minimal_3.0-5_i386.deb
  to pool/main/b/bash/bash-minimal_3.0-5_i386.deb
bash-static_3.0-5_i386.deb
  to pool/main/b/bash/bash-static_3.0-5_i386.deb
bash_3.0-5.diff.gz
  to pool/main/b/bash/bash_3.0-5.diff.gz
bash_3.0-5.dsc
  to pool/main/b/bash/bash_3.0-5.dsc
bash_3.0-5_i386.deb
  to pool/main/b/bash/bash_3.0-5_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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <email address hidden> (supplier of updated bash 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: Fri, 6 Aug 2004 07:10:24 +0200
Source: bash
Binary: bashdb bash-builtins bash bash-minimal bash-static bash-doc
Architecture: source i386 all
Version: 3.0-5
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
 bash - The GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers & examples
 bash-doc - Documentation and examples for the The GNU Bourne Again SHell
 bash-minimal - The GNU Bourne Again SHell (minimal version)
 bash-static - The GNU Bourne Again SHell (static version)
Closes: 262438 262619 262642 263005 263064 263451 263797
Changes:
 bash (3.0-5) unstable; urgency=medium
 .
   * Fix segfault and wrong behaviour running the firehol script.
     Closes: #262438, #262642.
   * Add history scrolling patch patch (closes: #263064).
   * Strip bash binary, leftover from debugging (closes: #263451).
   * `cd -' printing the directory in non-interactive mode, non-POSIX mode
     is new behaviour, not a bug (closes: #262619).
   * Address build failure calling the 'binary' target directly instead of
     dpkg-buildpackage (closes: #263797).
   * Remove kfreebsd-gnu hack to disable bash malloc (closes: #263005).
Files:
 bf1d64dc562260187ea695056ebb1397 723 base required bash_3.0-5.dsc
 cb390b3f2ea143b612bc2faed85daa04 155264 base required bash_3.0-5.diff.gz
 0540e6680e14e1fe48c87b0853b9726a 712968 doc optional bash-doc_3.0-5_all.deb
 75961609cb34131957f767d3c54c0e59 779456 base required bash_3.0-5_i386.deb
 dd8e3e871aaee678776fc0406e773266 97082 utils optional bash-builtins_3.0-5_i386.deb
 12282e07b3201bda5f9fc7eec21360bc 623778 shells optional bash-static_3.0-5_i386.deb
 afe5d144a1e245224a4b23a1b2eb43b4 179862 shells optional bash-minimal_3.0-5_i386.deb

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

iD8DBQFBEx4UStlRaw+TLJwRAqNRAJwNiAX7aGMso...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.4 KiB)

Message-Id: <email address hidden>
Date: Fri, 06 Aug 2004 02:32:09 -0400
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: Bug#262619: fixed in bash 3.0-5

Source: bash
Source-Version: 3.0-5

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

bash-builtins_3.0-5_i386.deb
  to pool/main/b/bash/bash-builtins_3.0-5_i386.deb
bash-doc_3.0-5_all.deb
  to pool/main/b/bash/bash-doc_3.0-5_all.deb
bash-minimal_3.0-5_i386.deb
  to pool/main/b/bash/bash-minimal_3.0-5_i386.deb
bash-static_3.0-5_i386.deb
  to pool/main/b/bash/bash-static_3.0-5_i386.deb
bash_3.0-5.diff.gz
  to pool/main/b/bash/bash_3.0-5.diff.gz
bash_3.0-5.dsc
  to pool/main/b/bash/bash_3.0-5.dsc
bash_3.0-5_i386.deb
  to pool/main/b/bash/bash_3.0-5_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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <email address hidden> (supplier of updated bash 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: Fri, 6 Aug 2004 07:10:24 +0200
Source: bash
Binary: bashdb bash-builtins bash bash-minimal bash-static bash-doc
Architecture: source i386 all
Version: 3.0-5
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
 bash - The GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers & examples
 bash-doc - Documentation and examples for the The GNU Bourne Again SHell
 bash-minimal - The GNU Bourne Again SHell (minimal version)
 bash-static - The GNU Bourne Again SHell (static version)
Closes: 262438 262619 262642 263005 263064 263451 263797
Changes:
 bash (3.0-5) unstable; urgency=medium
 .
   * Fix segfault and wrong behaviour running the firehol script.
     Closes: #262438, #262642.
   * Add history scrolling patch patch (closes: #263064).
   * Strip bash binary, leftover from debugging (closes: #263451).
   * `cd -' printing the directory in non-interactive mode, non-POSIX mode
     is new behaviour, not a bug (closes: #262619).
   * Address build failure calling the 'binary' target directly instead of
     dpkg-buildpackage (closes: #263797).
   * Remove kfreebsd-gnu hack to disable bash malloc (closes: #263005).
Files:
 bf1d64dc562260187ea695056ebb1397 723 base required bash_3.0-5.dsc
 cb390b3f2ea143b612bc2faed85daa04 155264 base required bash_3.0-5.diff.gz
 0540e6680e14e1fe48c87b0853b9726a 712968 doc optional bash-doc_3.0-5_all.deb
 75961609cb34131957f767d3c54c0e59 779456 base required bash_3.0-5_i386.deb
 dd8e3e871aaee678776fc0406e773266 97082 utils optional bash-builtins_3.0-5_i386.deb
 12282e07b3201bda5f9fc7eec21360bc 623778 shells optional bash-static_3.0-...

Read more...

Changed in bash:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.