Bug 249560

Summary: some POSTIN-scripts fail
Product: [Fedora] Fedora Reporter: Christoph Dworzak <dworz>
Component: baculaAssignee: Andreas Thienemann <andreas>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.0.3-9.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-27 01:54:06 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
patch to the SPEC-file none

Description Christoph Dworzak 2007-07-25 11:16:04 EDT
POSTIN-scripts for bacula-director-[mysql|postgresql|sqlite] are wrong:

/usr/sbin/alternatives --install /usr/sbin/bacula-dir bacula-dir
/usr/sbin/bacula-dir.sqlite 40 \                                               
        --slave /usr/sbin/dbcheck bacula-dbcheck /usr/sbin/dbcheck.sqlite \    
        --slave /usr/libexec/bacula/create_bacula_database
/usr/libexec/bacula/create_bacula_database.sqlite \
the first slave-line is ok, but the following are missing the second parameter.

result: after installation links are missing. bacula-dir won't start. removal of
rpm fails unless --nopreun is specified.

patch to the specfile is attached
Comment 1 Christoph Dworzak 2007-07-25 11:16:04 EDT
Created attachment 159937 [details]
patch to the SPEC-file
Comment 2 Andreas Thienemann 2007-07-25 11:22:57 EDT
crap. thx for the report. Somehow, I never experienced that problem locally. New
package on the way.
Comment 3 Fedora Update System 2007-07-27 01:54:02 EDT
bacula-2.0.3-9.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.