bareos: master 86b7b807
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
master | 2013-05-04 21:11 | master c3864814 | Pending | ||
Affected Issues | 0000099: user bareos unable to operate tape changer due to wrong permissions | ||||
Changeset | add daemon user to required groups bareos storage daemon user must be in groups tape and/or disk to be able to access tape devices. Due to different behavior of different distributions (install order if not always the same), every package that requires a specific group/user set this up on its own. preinstall: bareos-common: setup default daemon group bareos and user bareos bareos-filedaemon: setup fd group (bareos) and user (root) bareos-storage: setup sd group (bareos) and user (bareos) bareos-director: setup dir group (bareos) and user (bareos) postinstall: bareos-storage: call bareos-config setup_sd_user, which checks if sd group and user exists, otherwise it creates them, and add the sd user (bareos) to the groups tape and disk, if they exists. Tested on: Debian 6, Ubuntu 12.04 (32bit), SLES11SP2, Centos5 Fixes 0000099: user bareos unable to operate tape changer due to wrong permissions Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||||
mod - scripts/bareos-config.in | Diff File | ||||
mod - platforms/rpms/bareos.spec | Diff File | ||||
add - debian/bareos-storage.preinst.in | Diff File | ||||
rm - debian/bareos-storage.preinst | Diff File | ||||
mod - debian/bareos-storage.postinst | Diff File | ||||
add - debian/bareos-filedaemon.preinst.in | Diff File | ||||
rm - debian/bareos-filedaemon.preinst | Diff File | ||||
add - debian/bareos-director.preinst.in | Diff File | ||||
rm - debian/bareos-director.preinst | Diff File | ||||
mod - autoconf/configure.in | Diff File |