Re: [Bacula-users] vchanger: 0 slots problem
2013-05-30 15:29:11
On 05/30/2013 10:13 AM, Josh Fisher wrote:
> Remember that vchanger will be run as the same uid:gid that bacula-sd
> runs as.
On cenots 6 by default that's root:root. That's the problem:
./vchanger vchanger.conf slots
Failed to switch to user .. Refusing to run as root
Using
Changer Command = "/etc/bacula/vchanger -u bacula -g bacula %c %o %S %a %d"
fixed it.
FYI, on centos 6 (presumably entire RHEL6 family) $SD_USER and $SD_GROUP
can be set in /etc/sysconfig/bacula-sd. By default that file does not
exist and everything runs as whoever runs init.
Thanks
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Bacula-users] backup to multiple disks, (continued)
- Re: [Bacula-users] backup to multiple disks, Josh Fisher
- Re: [Bacula-users] backup to multiple disks, Dimitri Maziuk
- Re: [Bacula-users] backup to multiple disks, Kern Sibbald
- Message not available
- Re: [Bacula-users] backup to multiple disks, Kern Sibbald
- [Bacula-users] vchanger: 0 slots problem, Dimitri Maziuk
- Re: [Bacula-users] vchanger: 0 slots problem, Josh Fisher
- Re: [Bacula-users] vchanger: 0 slots problem,
Dimitri Maziuk <=
- Re: [Bacula-users] vchanger: 0 slots problem, Josh Fisher
- Re: [Bacula-users] vchanger: 0 slots problem, Dimitri Maziuk
- Re: [Bacula-users] backup to multiple disks, Radosław Korzeniewski
- Message not available
- Re: [Bacula-users] backup to multiple disks, Dimitri Maziuk
- Re: [Bacula-users] backup to multiple disks, Josh Fisher
- Re: [Bacula-users] backup to multiple disks, Kern Sibbald
- Re: [Bacula-users] backup to multiple disks: SUMMARY, Dimitri Maziuk
- Re: [Bacula-users] backup to multiple disks, Radosław Korzeniewski
- Re: [Bacula-users] backup to multiple disks, Dimitri Maziuk
|
|
|