Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 642444

Summary: bacula user and group creation is failing
Product: Red Hat Enterprise Linux 6 Reporter: Leon Fauster <leonfauster>
Component: baculaAssignee: Jan Görig <jgorig>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-13 06:11:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leon Fauster 2010-10-12 22:54:10 UTC
--------------------------------------------------------
Description of problem:
--------------------------------------------------------

The rpm pre-script of bacula-common is used to add the bacula user and group.

The corresponding line in the spec / script is missing the "-g" and "-u" option.



--------------------------------------------------------
Version-Release number of selected component (if applicable):
--------------------------------------------------------
bacula-3.0.2-8.el6.src.rpm  


--------------------------------------------------------  
Actual results:
--------------------------------------------------------
no user is added 


--------------------------------------------------------
Expected results:
--------------------------------------------------------
bacula user added

Comment 2 Jan Görig 2010-10-13 06:11:50 UTC
Already fixed in bacula-5.0.0-3.el6. Current version in RHEL-6 is 5.0.0-7.el6.

*** This bug has been marked as a duplicate of bug 574378 ***

Comment 3 Leon Fauster 2010-11-01 14:40:31 UTC
Hi Jan,

okay current is 5.0.0-7.el6 and for this version i found:


1 - missing file for logwatch scripts (the reason for logwatch to fail)
       this line packaged the missed file (line 599 in spec file):

install -m 755 -D bacula-sqlite/scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate



2 - the release 5.0.0 has a bug in /usr/libexec/bacula/make_catalog_backup.pl
       the umask argument in line 92 in wrong - this is correct in the upstream version



3 - the "alternatives" command in the post area of the spec file line 706, 711, 716
      are linking "/usr/sbin/dbcheck" to /usr/sbin/bscan.postgresql|sqlite|mysql ???
      It should be "/usr/sbin/bscan" ...


Thanks

PM

Comment 4 Jan Görig 2010-11-10 07:23:16 UTC
Could you please fill these three bugs as separate bug reports, please? There are untraceable now. Thanks.

Comment 5 Leon Fauster 2010-11-10 09:56:41 UTC
Done. Thank you.