Red Hat Bugzilla – Bug 1025489
samba-common should not create a smb.conf.rpmsave file on first time install
Last modified: 2015-05-13 12:31:07 EDT
Description of problem:
samba-common-3.6.9-160.6.el6rhs.x86_64 is creating smb.conf and smb.conf.rpmsave when it is installing for first time. That means if we install RHS U1 ISO, you will find smb.conf and smb.conf.rpmsave files present in /etc/samba. Where as it should be only smb.conf file as it is new install and there is no way user can have some settings in it.
The root cause of this issue is , while we are creating the .rpmsave file in the %post section of spec file , we are not checking if it is first time install or not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHSS-2.1-20131031.n.0
Checked with samba-common-3.6.9-167.8.el6rhs.x86_64. The fresh install of samba-common is not creating rpmsave file.
# ls /etc/samba/
lmhosts rhs-samba.conf smb.conf smbusers
Hence marking it 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.