On Thursday 03 August 2006 21:14, Timo Neuvonen wrote: > > Now the 'update slots' command does not recognize the > > number of slots in my autochanger [1] anymore. > > Check the permissions for your changer device (/dev/sg5). > > Does storage daemon have rightsto access it? If SD is running as > bacula:disk as I expect, sg5 should have group disk with group privileges > rw-. I think FC4 used to set this to something more restricted by default. > And in 1.38.0 SD propably was running as root by default, so that would > explain the problem. > > If this is the problem make sure the permissions retain the correct values > after reboot: you'll propably need to modify something in /etc/udev, since > results of chmod / chown will be "overwritten" during the next boot.
ah, thanks. That was problem #1. FC4 has --- group privileges by default. I could not tweak udev correctly yet. It sets the permissions, but not the group for some reason. Also I learned that it is 'incorrect' to modify /etc/udev/rules.d/50-udev.rules. The correct way is to create a separate file with a lower number in the file name. Ie '40-bacula.rules'. I will post one as soon as I get it working. Is there a chance to get udev rules shipped with the Fedora RPM Packages? Problem #2 was that 'mtx' is located in /usr/sbin, which is not in the default PATH of the 'bacula' user. I fixed that straight in mtx-changer for now. Problem #3 were the privileges of mtx-changer itself. That was likely because of me playing around... it did a lot FULLs this weekend with a lot of tape switching. Looks all good now. thanks for the help, Stephan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users