I just finished installing backupPC on solaris and I want to report some
minor inconsistencies and/or bugs I found.
1.) header for bin/* files and configuration.pl are different; One is
#!/usr/bin/perl and the other is #!/usr/bin/env perl; I know this doesn't
make a big difference for most users, but on solaris, there is 2 or 3
versions of perl installed and it does make a difference whether the SUNW
version is used or the CSW. I believe #!/usr/bin/env perl would be most
2.) The init.d/solaris-backuppc init script stop does not work. The shell
function stop() seems to be mapped to another script already - my workaround
was to rename stop to stopBackupPC.
pfexec /etc/init.d/backuppc stop
Usage: kill [-l] [-n signum] [-s signame] job ...
Or: kill [ options ] -l [arg ...]
# fix for stop executing kill instead of running stop block.
sed -i '25s/stop/stopBackupPC/g' init.d/src/solaris-backuppc
sed -i '30s/stop/stopBackupPC/g' init.d/src/solaris-backuppc
sed -i '43s/stop/stopBackupPC/g' init.d/src/solaris-backuppc
3. A <Directory __IMAGEDIR__> config block should be considered adding to
httpd/BackupPC.conf; on the stock apache, permissions were set to "deny from
all" and I had to add one myself.
4. Perhaps some mention of htpasswd to generate the AuthUserFile would be
nice for beginners, though I understand it would be very easy for somebody
to find the information on the internet.