fanthom wrote:please boot in 'Always Fresh'
Fresh mode
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# logrotate /etc/logrotate.conf
error: /etc/logrotate.conf:31 duplicate log entry for /var/log/wtmp
root@porteus:/home/guest# ls -al /var/log
total 204
drwxr-xr-x 30 root root 300 Apr 10 17:30 ./
drwxr-xr-x 30 root root 180 Apr 10 17:30 ../
drwxr-xr-x 2 root root 60 Apr 10 17:30 ConsoleKit/
-rw-r--r-- 1 root root 41413 Apr 10 17:30 Xorg.0.log
-rw------- 1 root root 0 Nov 14 09:26 btmp
-rw-r----- 1 root root 99 Apr 10 17:30 cronhe limit.
-rw-r----- 1 root root 19967 Apr 10 17:30 debug
-rw-r--r-- 1 root root 43492 Apr 10 17:30 dmesg
-rw-r--r-- 1 root root 0 Feb 14 21:17 faillog
-rw-r--r-- 1 root root 0 Apr 8 2000 lastlog
-rw-r----- 1 root root 0 Jun 22 2013 maillog
-rw-r----- 1 root root 56925 Apr 10 17:31 messages
Didn't have to copy a file, messages larger than the limit.
must be something wrong with your changes - did you use save.dat from 2.1?
No but I did rebuiild it using 2.1's save.dat.
RebuildGuest.sh
Code: Select all
#!/bin/sh
echo Run from LXterminal else SpaceFM bookmarks won't be restored.
echo Use FireFox to restore FireFox's bookmark backup and edit History
echo Preferences and browser.bookmarks.max_backups setting.
echo Use Razor Autosuspend to set Lid Closed to Sleep.
echo Use /usr/lib64/java/jre/bin.jcontrol to adjust Java security.
echo
echo Be sure to update save.dat name and location.
read
if [ `whoami` != "root" ]; then
ktsuss "$0"
exit
fi
mloop /mnt/sda6/porteussave.dat
#http://forum.porteus.org/viewtopic.php?f=81&t=3075&p=21675#p21675
#cp -r -d /mnt/loop/home/guest/* 2>/dev/null /home/guest/
cp -r -d /mnt/loop/home/guest/* /home/guest/
#http://forum.porteus.org/viewtopic.php?f=81&t=3250&p=23071#p23066
chown guest:guest -R /home/guest
cp -r -d /mnt/loop/home/guest/.config/spacefm/* /home/guest/.config/spacefm/
cp -r -d /mnt/loop/etc/NetworkManager/system-connections/* /etc/NetworkManager/system-connections
I have also made the folllowing changes.
Fixes.sh
Code: Select all
#!/bin/sh
if [ `whoami` != "root" ]; then
ktsuss "$0"
exit
fi
# disables the Acer's touchpad's jumping
# http://forum.porteus.org/viewtopic.php?f=81&t=1955&start=45#p13596
cp -a /home/guest/syndaemon.desktop /home/guest/.config/autostart
# No sound - on an Acer 722 netbook
# http://forum.porteus.org/viewtopic.php?f=81&t=2926#p20365
cp -a /home/guest/asound.conf /etc/
/etc/rc.d/rc.alsa restart
# My purge/compress Syslogs parms - 500 > 300
# http://forum.porteus.org/viewtopic.php?f=81&t=2998&p=21365#p21253
# Copy /etc/logrotate.d/syslog to /home/guest & edit 1st
cp -a /home/guest/syslog /etc/logrotate.d/
# 3.0 Tool panel height problem.
# http://forum.porteus.org/viewtopic.php?f=81&t=3246&p=23131#p23058
cd /usr/share/icons/Faenza/apps/48/
mv spacefm.png spaceXfm.png
echo B4
synclient | grep Palm
echo
sh /home/guest/touchpad.sh
echo Aft
synclient | grep Palm
echo
echo -en "PalmDetect = 1?\n"
read
exit
if yes then some old settings must override default ones from 3.0.
A reasonable assumption but I don't think so. And to ease your doubt:
My syslog
Code: Select all
/var/log/btmp /var/log/cron /var/log/debug /var/log/maillog /var/log/messages /var/log/secure /var/log/spooler /var/log/syslog /var/log/wtmp {
rotate 1
size 300k
compress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null || true
endscript
}