Robin Blanchard wrote: >>> Hmmmm...Sort of looks like bacula is passing the wrong variables to >> the >>> script ? Or my config is wrong ? >>> >> Your config looks correct. At least the line that calls the script. >>> (shutdown all bacula daemons) >>> # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1 >>> >>> 20 >>> >> The other option is whatever user you are running bacula-sd at does >> not have access to /usr/local/share/bacula/mtx-changer or /dev/pass0 >> >> John > > Good call :) > > Running bacula-sd as root:wheel works. > > Dan, > What is the 'elegant' approach to giving bacula:bacula access to > /dev/pass0 ?
What are the permissions on /dev/pass0? I suspect operator group is involed. If so, add Bacula to the operator group in /etc/group. -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users