René Bleisch wrote...

> I applied the patch, but it didnt fix the issue ...

Not good, but it still works for me. Is the 10-create-directories
script available? Using the sniplet you mentioned in the FAI list:

--------------------
#!/usr/bin/perl -w
use strict;

BEGIN {
   if ( !$ENV{'PERL_MODULES'} ) {
      $ENV{'PERL_MODULES'}= '/srv/fai/config/perl_modules';
   }
   unshift @INC, $ENV{'PERL_MODULES'};
}

use FAI;
use NFS::Clients;
--------------------

the patch changes recognition to "Perl script, ASCII text executable"

So I suspect something went wrong when you applied the patch although
I cannot see what.

> Second try:
> - cd file-5.11
> - rebuild the package with debuild -i -us -uc -b
> - dpkg -i file_5.11-2+deb7u2_amd64.deb
> - dpkg -i libmagic1_5.11-2+deb7u2_amd64.deb

For a test: Extract magic.mgc from the libmagic package to /tmp, then
try:

$ file -m /tmp/magic.mgc <file-to-test>

Still a avail? Try these:

$ file --list -m /usr/share/file/magic.mgc | grep awk
$ file --list -m /tmp/magic.mgc | grep awk

The last line should be different, "Strength =  45" instead of 57
indicates a fixed magic.

md5sums (for amd64)

2a759ba7b571408a4a1134840998327c  /usr/share/file/magic.mgc
15984645e3f69bd207a917b4f944a8b2  /tmp/magic.mgc

where /usr/share/file/magic.mgc is from the recently deployed version
(5.11-2+deb7u2).

Hope that helps,

    Christoph


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to