Bug 20464 - Include bacula pseudouser to tape group by default
Summary: Include bacula pseudouser to tape group by default
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bacula (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 10:54 MSD by Vladimir V. Kamarzin
Modified: 2009-06-17 23:33 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir V. Kamarzin 2009-06-16 10:54:53 MSD
После обновления до 5.0 branch и bacula 3.0 обнаружил, что у бакулы нет доступа к девайсу стримера:

16-Jun 02:20 main-dir JobId 3740: Start Backup JobId 3740, Job=DemonissBackup.2009-06-16_02.05.00_06
16-Jun 02:20 main-dir JobId 3740: Using Device "lto3drive"
16-Jun 02:20 main-sd JobId 3740: 3301 Issuing autochanger "loaded? drive 0" command.
16-Jun 02:20 main-sd JobId 3740: 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 1.
Results=cannot open SCSI device '/dev/sg2' - Permission denied

crw-rw---- 1 root tape 21, 2 Jun 15 15:39 /dev/sg2

логично, что bacula нужно включить в группу tape
Comment 1 Repository Robot 2009-06-17 23:33:35 MSD
bacula-3.0.1-alt5 -> sisyphus:

* Wed Jun 17 2009 Vitaly Kuznetsov <vitty@altlinux> 3.0.1-alt5

- create logfile with correct permissions
- add user 'bacula' to group 'tape' for storage (ALT #20464)
- change default director config to simplify parsing