Bug#314552: zaptel: bashism in postinst
Tzafrir Cohen
tzafrir.cohen@xorcom.com
Fri, 17 Jun 2005 14:57:13 +0300
On Fri, Jun 17, 2005 at 11:21:20AM +1000, Angus Lees wrote:
> Package: zaptel
> Version: 1:1.0.7-4.1
> Severity: important
>
> zaptel.postinst contains this piece of code:
>
> N=1;
> while (( $N < 250 )) ; do
> rm -f /dev/zap/$N;
> mknod /dev/zap/$N c 196 $N;
> N=`expr $N + 1`
> done
for N in `seq 250`; do
rm -f /dev/zap/$N;
mknod /dev/zap/$N c 196 $N;
done
But then again, running mknod in a postinst script is a different policy
violation, isn't it?
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen@xorcom.com http://www.xorcom.com