Re: bash: Fails to upgrade in kFreeBSD jails
Hi debian-bsd@,
Stefan Ott wrote:
> Package: bash
> Version: 4.2-2
[...]
> 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
[...]
> 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.
Thought you might be interested in this report, since it feels like a
libc or kernel bug. Hints?
Thanks,
Jonathan
> -- 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]
Reply to: