Bug#679198: marked as done (bash: [on native FreeBSD] unable to set FD_CLOEXEC flag)

2012-12-26 Thread Debian Bug Tracking System
Your message dated Thu, 27 Dec 2012 00:47:28 +
with message-id e1to1da-000306...@franck.debian.org
and subject line Bug#679198: fixed in bash 4.2-4wheezy0.1
has caused the Debian Bug report #679198,
regarding bash: [on native FreeBSD] unable to set FD_CLOEXEC flag
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 ow...@bugs.debian.org
immediately.)


-- 
679198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: bash
Version: 4.2-2
Severity: important

Hello,

I am running Debian GNU/kFreeBSD inside FreeBSD 9 jails. When I tried to
upgrade from squeeze to wheezy I got the following error:


Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 11090 files and directories currently installed.)
Preparing to replace bash 4.1-3 (using .../bash_4.2-2_kfreebsd-amd64.deb) ...
bash.preinst: cannot set close-on-exec flag: Inappropriate ioctl for device
dpkg: error processing /var/cache/apt/archives/bash_4.2-2_kfreebsd-amd64.deb 
(--unpack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
  update-alternatives: using 
/usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
Errors were encountered while processing:
 /var/cache/apt/archives/bash_4.2-2_kfreebsd-amd64.deb


I think this might be related to my root file system for the jail being ZFS
but I have to admit that I'm no expert on that. At any rate, is does make it
rather difficult for me to upgrade the package (as in, from what I know I
will have to manually edit the .deb and remove the preinst file) and it would
be nice if this could be fixed.

Let me know if you need access to such a jail in order to reproduce this,
I am sure that can be arranged.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-RELEASE-p3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files   6.9
ii  dash 0.5.7-3
ii  debianutils  4.3.1
ii  libc0.1  2.13-33
ii  libncurses5  5.7+20100313-5

Versions of packages bash recommends:
ii  bash-completion  1:1.99-3

Versions of packages bash suggests:
pn  bash-doc  none

-- Configuration Files:
/etc/bash.bashrc changed [not included]

-- no debconf information


---End Message---
---BeginMessage---
Source: bash
Source-Version: 4.2-4wheezy0.1

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.

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 679...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nicolas Boulenguez nico...@debian.org (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 ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Fri, 21 Dec 2012 23:47:40 +0100
Source: bash
Binary: bash bash-static bash-builtins bash-doc
Architecture: source all amd64
Version: 4.2-4wheezy0.1
Distribution: testing
Urgency: low
Maintainer: Matthias Klose d...@debian.org
Changed-By: Nicolas Boulenguez nico...@debian.org
Description: 
 bash   - GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers  examples
 bash-doc   - Documentation and examples for the The GNU Bourne Again SHell
 bash-static - GNU Bourne Again SHell (static version)
Closes: 679198
Changes: 
 bash (4.2-4wheezy0.1) testing; urgency=low
 .
   * Non-maintainer upload.
   * debian/bash.preinst-lib.c: pass F_[GS]ETFD, not F_[GS]ETFL, to fcntl
 to set FD_CLOEXEC flag, avoiding Inappropriate ioctl for device
 errors installing using the upstream FreeBSD kernel (Closes: #679198)
Checksums-Sha1: 
 fe1d5ba2797fbd3fec1edeee5e099649f996f307 2151 bash_4.2-4wheezy0.1.dsc
 c0a4121f9c1f6a4a14f3fad99259dbdf7d4fa734 87944 bash_4.2-4wheezy0.1.diff.gz
 373a77b7badc1916d181d50a7079076d8a79c5fd 695022 bash-doc_4.2-4wheezy0.1_all.deb
 98800fc497b4b046083276138a1aa729ded36c69 1498596 bash_4.2-4wheezy0.1_amd64.deb
 5370b5c8fda7cec9444cab8618cfd91553349533 112106 

Bug#679198: marked as done (bash: [on native FreeBSD] unable to set FD_CLOEXEC flag)

2012-12-16 Thread Debian Bug Tracking System
Your message dated Sun, 16 Dec 2012 22:02:47 +
with message-id e1tkmij-0005uo...@franck.debian.org
and subject line Bug#679198: fixed in bash 4.2-5.1
has caused the Debian Bug report #679198,
regarding bash: [on native FreeBSD] unable to set FD_CLOEXEC flag
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 ow...@bugs.debian.org
immediately.)


-- 
679198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: bash
Version: 4.2-2
Severity: important

Hello,

I am running Debian GNU/kFreeBSD inside FreeBSD 9 jails. When I tried to
upgrade from squeeze to wheezy I got the following error:


Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 11090 files and directories currently installed.)
Preparing to replace bash 4.1-3 (using .../bash_4.2-2_kfreebsd-amd64.deb) ...
bash.preinst: cannot set close-on-exec flag: Inappropriate ioctl for device
dpkg: error processing /var/cache/apt/archives/bash_4.2-2_kfreebsd-amd64.deb 
(--unpack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
  update-alternatives: using 
/usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
Errors were encountered while processing:
 /var/cache/apt/archives/bash_4.2-2_kfreebsd-amd64.deb


I think this might be related to my root file system for the jail being ZFS
but I have to admit that I'm no expert on that. At any rate, is does make it
rather difficult for me to upgrade the package (as in, from what I know I
will have to manually edit the .deb and remove the preinst file) and it would
be nice if this could be fixed.

Let me know if you need access to such a jail in order to reproduce this,
I am sure that can be arranged.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-RELEASE-p3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files   6.9
ii  dash 0.5.7-3
ii  debianutils  4.3.1
ii  libc0.1  2.13-33
ii  libncurses5  5.7+20100313-5

Versions of packages bash recommends:
ii  bash-completion  1:1.99-3

Versions of packages bash suggests:
pn  bash-doc  none

-- Configuration Files:
/etc/bash.bashrc changed [not included]

-- no debconf information


---End Message---
---BeginMessage---
Source: bash
Source-Version: 4.2-5.1

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.

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 679...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nicolas Boulenguez nico...@debian.org (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 ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 11 Dec 2012 22:02:44 +0100
Source: bash
Binary: bash bash-static bash-builtins bash-doc
Architecture: source all amd64
Version: 4.2-5.1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose d...@debian.org
Changed-By: Nicolas Boulenguez nico...@debian.org
Description: 
 bash   - GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers  examples
 bash-doc   - Documentation and examples for the The GNU Bourne Again SHell
 bash-static - GNU Bourne Again SHell (static version)
Closes: 679198
Changes: 
 bash (4.2-5.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/bash.preinst-lib.c: typo in fcntl argument (Closes: #679198).
Checksums-Sha1: 
 9c1c04c426c1bddc04d78c16bd83f31ff5599ece 2123 bash_4.2-5.1.dsc
 222eb97748c88906baba7aa676dcb8889ce362e7 88298 bash_4.2-5.1.diff.gz
 6c672aa8d7ad1e26064bcaf343175f26af1e47e3 695000 bash-doc_4.2-5.1_all.deb
 b4450248b4810d1e3092250d58434891069417bc 1498628 bash_4.2-5.1_amd64.deb
 d0455f7ab815aeb59e6db3dd1531a9a47a79bbf9 112100 bash-builtins_4.2-5.1_amd64.deb
 fa980f06577482b335bd827dd67d7ca73708df80 936368 bash-static_4.2-5.1_amd64.deb
Checksums-Sha256: 
 34d6e9c890ee7a1a00867b941037a22de1a2c817b1e38ebf5b48acb598182bc8 2123 

Bug#679198: marked as done (bash: [on native FreeBSD] unable to set FD_CLOEXEC flag)

2012-12-16 Thread Steven Chamberlain
Hi,

On 16/12/12 22:06, Debian Bug Tracking System wrote:
  bash (4.2-5.1) unstable; urgency=low
  .
* Non-maintainer upload.
* debian/bash.preinst-lib.c: typo in fcntl argument (Closes: #679198).

Thank you for uploading your fix for this.


Using Debian Code Search we can see other cases where possibly the same
mistake has been made - I wonder if any of these would cause bugs:

http://codesearch.debian.net/search?q=fcntl.*F_SETFL.*FD_

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



signature.asc
Description: OpenPGP digital signature