Red Hat Bugzilla – Bug 1028978
Samba update creating multiple entries of rhs-samba.conf in smb.conf
Last modified: 2015-05-13 12:30:54 EDT
Description of problem:
Samba package update is creating multiple entries of rhs-samba.conf in smb.conf
ie. each samba update it is creating additional entries of "include = /etc/samba/rhs-samba.conf" in smb.conf where as it should just create one entry
and if the entry is there it should more entries for subsequent updates.
Issue is in the spec file of samba (rhs). The grep string should have been grep -vq "include = $RHSCONF" instead of grep -vq 'include = $RHSCONF' as below code snippet.
# bug fix rhbz#1012711
if grep -vq 'include = $RHSCONF' $SMBCONF
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHS with samba version samba-3.6.9-160.6.el6 and update samba package tosamba-3.6.9-160.7.el6
you can find two entries of include = /etc/samba/rhs-samba.conf
There should only one entry
IMO this bug is a must fix bug for U2 because when we will update samba package in U2 (if any) it will create more entries and it will look ugly
Fixed with new samba build: samba-3.6.9-167.5.el6rhs
Please set priority.
Verified the bug with samba-common.x86_64 0:3.6.9-167.9.el6rhs (updated from samba-common.x86_64 0:3.6.9-167.8.el6rhs) and samba update is no more creating multiple entries. Hence marking this bug as verified.
Can you please review the doc text for technical accuracy?
Doc text is accurate.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.