Bug#552085: vim-scripts: gnupg plugin fails if /bin/sh is a link to dash instead of bash
Michael Kaaden
kaaden at galileo.franken.de
Fri Oct 23 09:19:24 UTC 2009
Package: vim-scripts
Version: 20091011
Severity: normal
Hi,
if /bin/sh is a soft link to /bin/dash, the gnupg plugin fails on my
system.
-----snip-----snap----------snip-----snap----------snip-----snap-----
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 23. Okt 10:47 /bin/sh -> dash
$ LANG=C vim /tmp/foo.gpg
Error detected while processing function <SNR>10_GPGInit:
line 89:
"/tmp/foo.gpg" 20L, 1047C
Error detected while processing function <SNR>10_GPGDecrypt:
line 15:
E484: Can't open file /tmp/v302234/1
File is not encrypted, all GPG functions disabled!
Press ENTER or type command to continue
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.10 (GNU/Linux)
...
-----END PGP MESSAGE-----
$
-----snip-----snap----------snip-----snap----------snip-----snap-----
After linking /bin/sh to /bin/bash instead, it works like a charm. Like
it used to do before dash was automatically installed on my system and I
naively answered "yes" when it asked me "Use dash as the default system
shell (/bin/sh)?".
$ dpkg -l dash bash
ii bash 4.0-4 The GNU Bourne Again SHell
ii dash 0.5.5.1-3 POSIX-compliant shell
Cheers,
Michael
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (700, 'proposed-updates'), (700, 'stable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
vim-scripts depends on no packages.
Versions of packages vim-scripts recommends:
ii vim-addon-manager 0.4.1 manager of addons for the Vim edit
ii vim-nox [vim] 2:7.2.245-2 Vi IMproved - enhanced vi editor
Versions of packages vim-scripts suggests:
pn libtemplate-perl <none> (no description available)
pn perlsgml <none> (no description available)
-- no debconf information
More information about the pkg-vim-maintainers
mailing list