%define datagroup www
%endif
+%define groupmod /usr/sbin/groupmod
+
Summary: Bacula - The Network Backup Solution
Name: bacula-gui
Version: @VERSION@
%{docdir}/%{web}/templates
%{docdir}/%{web}/templates_c
+%post bimagemgr
+
+# add the web server user to group bacula
+%{groupmod} -A %{dataowner} bacula
+
+%postun bimagemgr
+# remove the web server user to group bacula
+%{groupmod} -R %{dataowner} bacula
+
%changelog
* Sun May 07 2006 D. Scott Barninger <barninger at fairfieldcomputers.com>
- refine files section for web
- add documentation
- add config.pm for bimagemgr
+- add post script bimagemgr to add web server user to group bacula
* Sat May 06 2006 D. Scott Barninger <barninger at fairfieldcomputers.com>
- was bimagemgr spec convert to bacula-gui spec. include bacula-web
* Thu Dec 09 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
separate ChangeLog from program
separate program configuration into config.pm
add COPYING file
+ add post install script to rpm to add web server user to group bacula
bimagemgr.pl
-06 May 2006
+07 May 2006
This is a utility to monitor and burn file backups to CDR. It is a web
based interface written in perl. It requires perl and an apache or other
Installation:
1. Examine the Makefile and adjust it to your configuration if needed.
-2. Edit the configuration section of bimagemgr.pl to fit your configuration.
+2. Edit config.pm to fit your configuration.
3. Do 'make install' as root.
4. Edit httpd.conf and change the Timeout value. The web server must not time
out and close the connection before the burn process is finished. The exact
For SuSE systems add the user wwwrun to the bacula group.
2. Check/change ownership of all of your Volume files to root.bacula
+bimagemgr installed from rpm > 1.38.9 will add the web server user to the
+bacula group in a post install script. Be sure to edit the configuration
+information in config.pm after installation of rpm package.
+
bimagemgr will now be able to read the Volume files but they are still not
world readable.
file config.pm. This file will not be overwritten by the installer when
upgrading in the future. If you are upgrading from earlier releases you will
need to transfer your configuration information out of bimagemgr.pl into the
-new config.pm
+new config.pm file.
+
+A post install script in the rpm package will add the web server user to the
+group bacula.