Change or bug in "file"-command evtl. messed-up "fai-do-scripts" execution

Ralf Utermann ralf.utermann at physik.uni-augsburg.de
Fri Mar 21 13:41:21 CET 2014


On 21.03.2014 13:10, René Bleisch wrote:
> Hi Toomas,
> Both PCs are wheezy (Linux ... 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
> GNU/Linux)
> 
> "file"-versions:
> works correctly:     5.11-2+deb7u*1*        
> doesn't work:         5.11-2+deb7u*2*  
> 
> Most likely the  problem is due to the BEGIN { ...} block which is in the
> opening of the respective perl-scripts.
> ( see

I can confirm this. Looks like the problem is
/usr/share/file/magic.mgc in package libmagic1 (5.11-2+deb7u2).
If you install the new packages, but keep an old version of
magic.mgc, it's recognized as perl.
With wheezy-backports libmagic1 (1:5.14-2~bpo70+1) it's also ok.

regards, Ralf
-- 
        Ralf Utermann
_____________________________________________________________________
        Universität Augsburg, Institut für Physik   --   EDV-Betreuer
        Universitätsstr.1
        D-86135 Augsburg                     Phone:  +49-821-598-3231
        SMTP: Ralf.Utermann at Physik.Uni-Augsburg.DE         Fax: -3411


More information about the linux-fai mailing list