Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-13 Thread Paolo
On Sat, Jan 13, 2007 at 12:04:02AM +, Stephen Gran wrote: eh, no RAMRUN/RAMLOCK anywhere but in /etc/init.d/{boot,mount}*. Totally ... somewhere. Odd that you can't find it. Take a look at a couple of init scripts - `grep -rl RAMRUN` /etc/init.d will give you an idea where it's

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Paolo
On Fri, Jan 12, 2007 at 01:01:29AM +, Stephen Gran wrote: start) +mkdir -p /var/run/clamav +chmod 0775 /var/run/clamav +chown root:clamav /var/run/clamav OPTIND=1 I have so far stayed away from this issue, since it is quite possible to have clamd and

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Stephen Gran
This one time, at band camp, Paolo said: On Fri, Jan 12, 2007 at 01:01:29AM +, Stephen Gran wrote: start) +mkdir -p /var/run/clamav +chmod 0775 /var/run/clamav +chown root:clamav /var/run/clamav OPTIND=1 I have so far stayed away from this

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Paolo
On Fri, Jan 12, 2007 at 11:52:31AM +, Stephen Gran wrote: ... And clamav-milter. Does this also need to be done for /var/log/clamav/ and /var/lib/clamav/ ? If not, why not? What benefits are you hoping for? forgot about this ... never used clamav-milter myself, and on local .deb build

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Paolo
On Fri, Jan 12, 2007 at 11:52:31AM +, Stephen Gran wrote: This should be doable, though. I'm not really all that sure that adding this feature buys us anything, though - see below for why. well, at present it'd ensure clamd starts, which isn't a minor gain. BTW man clam(d)scan don't

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Stephen Gran
This one time, at band camp, Paolo said: On Fri, Jan 12, 2007 at 11:52:31AM +, Stephen Gran wrote: here's what I have on a netinstalled and freshly apt-get updated Etch notebook: $ mount -t tmpfs tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) udev on /dev type tmpfs

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Paolo
On Fri, Jan 12, 2007 at 06:05:47PM +, Stephen Gran wrote: tmpfs on /var/lock type tmpfs (rw,size=4m) tmpfs on /var/run type tmpfs (rw,size=4m) so everything under /var/run vanishes on reboot. Look for RAMRUN and RAMLOCK - probably in /etc/default somewhere. Comment or set the

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-12 Thread Stephen Gran
This one time, at band camp, Paolo said: On Fri, Jan 12, 2007 at 06:05:47PM +, Stephen Gran wrote: tmpfs on /var/lock type tmpfs (rw,size=4m) tmpfs on /var/run type tmpfs (rw,size=4m) so everything under /var/run vanishes on reboot. Look for RAMRUN and RAMLOCK - probably in

Bug#406576: clamav-daemon: init script fails if /var/run/clamav doesn't exist

2007-01-11 Thread Paolo
Package: clamav-daemon Version: 0.88.7-1 Severity: important hi, clamav-daemon shares the volatile tmpfs problem as may other pkgs, ie /var/run/clamav vanishes on reboot. Fix is straightforward, in init script: start) +mkdir -m 0755 -p /var/run/clamav OPTIND=1 -- paolo --

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-11 Thread Paolo
start) +mkdir -m 0755 -p /var/run/clamav OPTIND=1 sorry, that'd be: start) +mkdir -p /var/run/clamav +chmod 0775 /var/run/clamav +chown root:clamav /var/run/clamav OPTIND=1 -- paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Bug#406576: (clamav-daemon: init script fails if /var/run/clamav doesn't exist)

2007-01-11 Thread Stephen Gran
This one time, at band camp, Paolo said: start) +mkdir -m 0755 -p /var/run/clamav OPTIND=1 sorry, that'd be: start) +mkdir -p /var/run/clamav +chmod 0775 /var/run/clamav +chown root:clamav /var/run/clamav OPTIND=1 I have so far stayed