Bug#251364: [Logcheck-devel] Bug#251364: logcheck: preinst has bashism, fails with dash and LANG != C

Santiago Vila sanvila at unex.es
Sat May 29 11:16:35 UTC 2004


On Sat, 29 May 2004, maks attems wrote:

> uups for better testing please remove first the logcheck package,
> so that logcheck user creation can be really tested:
> apt-get --purge remove logcheck
> apt-get install logcheck
>
> take care you are really running 1.2.21
> logcheck -v
> (shouldn't output anything on versions < 1.2.21)
>
> please report back so we can realese 1.2.21?

Sorry, I'm not sure I'll have time today to test new packages, but you should
be able to reproduce what I reported by doing this:

apt-get install locales dash
cd /bin
ln -sf dash sh
echo "es_ES ISO-8859-1" >> /etc/locale.gen
locale-gen
export LANG=es_ES
apt-get --reinstall install logcheck


BTW: I noticed the preinst inconditionally removes the logcheck user
and creates it again, it would be cleaner not to touch it at all if a
logcheck user with the proper features already exists.

Thanks.





More information about the Logcheck-devel mailing list