Re: [Vchanger-users] 'update slots' missing?!
Brought to you by:
jaybus2
|
From: Steven A. F. <ste...@gm...> - 2022-09-12 19:08:05
|
On 9/12/22 08:50 AM, Marco Gaiarin wrote: > Mandi! Marco Gaiarin > In chel di` si favelave... [snip] > Summoning it: 'vchanger', even run by root, seems not able (EACCES, > permission Denied) to access bconsole config file. > > > WHY?! My bconsole.conf file has different user and group than yours, i.e. I have bacula:tape for the user and group: # ll /etc/bacula/bconsole.conf -rw-r----- 1 bacula tape 278 Jul 2 10:59 /etc/bacula/bconsole.conf My vchanger configuration file (/etc/vchanger/v1.conf) has some lines that set the user and group the same as the bconsole.conf file: ... User = bacula Group = tape ... Also, my bacula-sd daemon is launched by systemd, and the bacula-sd.service file gets its environment from /etc/sysconfig/bacula-sd. That file has: $ cat /etc/sysconfig/bacula-sd ... SD_USER=bacula SD_GROUP=tape ... So my bacula-sd daemon runs with the same bacula:tape user and group. Finally, when udev mounts my drive, it has the same user and group: drwxr-x--- 3 bacula tape 12288 Jul 1 13:12 a628cd2b-0471-436b-9ce1-a61c6e85368f/ So everything matches. Do all of your components match? Steve |