bareos: bareos-12.4 05dde077
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
bareos-12.4 | 2013-05-04 13:14 | bareos-12.4 3889f487 | 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 - autoconf/configure.in | Diff File | ||||
rm - debian/bareos-director.preinst | Diff File | ||||
add - debian/bareos-director.preinst.in | Diff File | ||||
rm - debian/bareos-filedaemon.preinst | Diff File | ||||
add - debian/bareos-filedaemon.preinst.in | Diff File | ||||
mod - debian/bareos-storage.postinst | Diff File | ||||
rm - debian/bareos-storage.preinst | Diff File | ||||
add - debian/bareos-storage.preinst.in | Diff File | ||||
mod - platforms/rpms/bareos.spec | Diff File | ||||
mod - scripts/bareos-config.in | Diff File |