So you see this?
Code:
# ls -lh rc.syslog
lrwxrwxrwx 1 root root 13 Dec 27 22:26 rc.syslog -> rc.syslog.new
I don't know of any way for that to have occurred other than manually, i.e. something like this:
Code:
root@liberty:/etc/rc.d# pwd
/etc/rc.d
root@liberty:/etc/rc.d# ls -lh rc.syslog
-rwxr-xr-x 1 root root 669 Dec 23 14:05 rc.syslog*
root:/etc/rc.d# rm -f rc.syslog
root:/etc/rc.d# ln -s rc.syslog.new rc.syslog
After doing this, it is indeed a failure case. The package extracts rc.syslog.new as expected. The postinstall process then compares the two files (rc.syslog and rc.syslog.new, which are actually the same file), and since they're identical, it removes rc.syslog.new, which leaves things just as broken as they were before.
Summary: this isn't something that pkgtools created or is able to solve. Recommendation:
Code:
rm -f /etc/rc.d/rc.syslog.new ; slackpkg reinstall sysklogd