Page 1 of 1

Minor issue in ubuntu-vici-prereq-0.16.sh

PostPosted: Mon Apr 20, 2009 5:35 am
by okli
Lines 303-304:

Code: Select all
...
mkdir /tmp/eaccelerator 2>> $LOGFILE >> $LOGFILE
chmod 0755 eaccelerator 2>> $LOGFILE >> $LOGFILE
...


Second line should be:
Code: Select all
chmod 0755 /tmp/eaccelerator 2>> $LOGFILE >> $LOGFILE


May not be important, but keeps log error free :)

PostPosted: Mon Apr 20, 2009 9:18 am
by mcargile
Thanks :-)

PostPosted: Mon Apr 20, 2009 3:21 pm
by okli
As a side note- shouldn't /var/tmp/eaccelerator or similar be used instead?

Default settings AFAIK for Debian is to delete contents of /tmp, I guess Ubuntu does the same- /etc/default/rcS--> TMPTIME=0

Wouldn't loss of /tmp/eaccelerator affect eaccelerator's functionality or it will recreate the directory?

PostPosted: Tue Apr 28, 2009 9:02 am
by mcargile
This is a very good point. Fixed in the installer. The new directory is /var/lib/eaccelerator