From: Dimitri P. <ma...@ps...> - 2006-03-31 19:14:18
|
Dan Langille schrieb: >> Folks: If you happen to upgrade to 1.38.6 and you start getting >> permission >> errors on your tape drive, when it worked in previous versions, a >> work around >> may be changing the group for bacula-sd. >> >> For me, in FreeBSD, I add this to /etc/rc.conf: >> >> bacula_sd_flags=" -u bacula -g operator -v -c /usr/local/etc/bacula- >> sd.conf" >> >> In short, I'm running as the group specified on /dev/sa0 >> >> # ls -l /dev/sa0 >> crw-rw---- 4 root operator 14, 0 Mar 13 2005 /dev/sa0 >> >> And not as the group bacula, of which bacula is a member: >> >> # id bacula >> uid=910(bacula) gid=910(bacula) groups=910(bacula), 5(operator) >> >> I'm trying to find the cause of this problem. Hi, I've had similar problem a while ago and submitted a possible solution (patch attached) but Kerns wasn't quite satisfied with it. The followup is here: http://sourceforge.net/mailarchive/forum.php?thread_id=9644823&forum_id=8650 It was made for the 1.38.5 but should apply to the the 1.38.6 as well. I haven't got around yet to check it against the current release, but I think it should go without problems. If you get time to apply it, share your results. The current state is WorksForMe (tm). Regards, -Dimitri aka Tristan-777 |