> Hello, > > I have seeing some messages like this on mail server: > > Apr 2 07:50:10 salseiros /kernel: pid 52213 (clamscan), uid > 13929 on /: file system full > Apr 2 07:50:12 salseiros /kernel: pid 52213 (clamscan), uid > 13929: exited on signal 11 (core dumped) > > Well, it looks me that ClamAV are creating the temporary > files in the system root, perhaps /tmp. > > I have the follow partitions: > > $ df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 151166 58728 80346 42% / > /dev/ad0s1g 11091888 1779042 8425496 17% /usr > /dev/ad0s1e 1032142 161532 788040 17% /var > /dev/ad0s1f 25200668 14436322 8748294 62% /var/mail > procfs 4 4 0 100% /proc > > Question: > Is there a way to set other path to ClamAV create temporary > files? > > Thank's > Ronan
This is probably not the kind of answer you would expect, but it is advised not to let /tmp be on the root filesystem, exactly for that reason. Clamav or any program or user can bring the system down... You could create a separate /tmp partition (certainly the best solution), or create a /var/tmp and link it to /tmp (From your partition scheme, same for /home if you have users, but I suppose you know that :-) ). This is of course not specific to clamav, just a UNIX "best practise" you probably know about anyway. Hope this helps ... (And hope someone will answer the actual question ;-) ) Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]