Red Hat Bugzilla – Bug 20159
fsav (linux) virus message when printing
Last modified: 2005-10-31 17:00:50 EST
I installed 7.0 Deluxe Workstation on a Compaq ML370 server. The server is
running Samba, xinetd, telnet server, ftp server and apache. The printers
involved are HP LJ 4000 and Okidata 320. They are connected via a HP
Jetdirect but I can reproduce this problem with the printers attached
directly to the server.
I noticed that when certain files were printing via lpr the following would
print on the page:
"No way to print this type of input file: fsav (linux) virus (8224-11-13)"
The numbers have been different also (25903-35),(29811-116),(29538-102).
After copying the file to different directories, performing chmod and chown
with no success I was able to find something.
If I lpr'd printcap it would print fine but the file that I was using would
print the above message. I altered my file and realized that if the first
line contained exactly 8 characters then I would get this message. If I
changed the number of characters by more or less than 8 it would print
fine. I added a comment of exactly 8 characters on the first line of
printcap and then tried to print and I would get the above message. If I
created a new file with just an 8 character line then it would print just
part of the above message "No way to print this type of input file:" If
the file contained additional lines then it would print the full message.
Everything else prints fine to these printers so far. The server has been
running for about 3 days with 11 people accessing it. This was a
replacement for their Novell server. The Samba jobs print fine. Netscape
on the server itself prints fine and the ascii test in Printtool prints
Thanks for any help - David.
Created attachment 4874 [details]
This is the file I was testing with. Any text file with 8 char first line would do it.
See bug 18081.
The work-around is to edit your /usr/share/magic file and remove (or put '#'
signs in front of) these lines (lines 1833-1856):
# fsav: file(1) magic for datafellows fsav virus definition files
# Anthon van der Neut (email@example.com)
0 beshort 0x1575 fsav (linux) macro virus
>8 leshort >0 (%d-
>11 byte >0 \b%02d-
>10 byte >0 \b%02d)
8 byte 0x0a
>12 byte 0x07
>11 leshort >0 fsav (linux) virus (%d-
>10 byte 0 \b01-
>10 byte 1 \b02-
>10 byte 2 \b03-
>10 byte 3 \b04-
>10 byte 4 \b05-
>10 byte 5 \b06-
>10 byte 6 \b07-
>10 byte 7 \b08-
>10 byte 8 \b08-
>10 byte 9 \b10-
>10 byte 10 \b11-
>10 byte 11 \b12-
>9 byte >0 \b%02d)
*** This bug has been marked as a duplicate of 18081 ***