Bug 1025489 - samba-common should not create a smb.conf.rpmsave file on first time install
Summary: samba-common should not create a smb.conf.rpmsave file on first time install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: RHGS 2.1.2
Assignee: Jose A. Rivera
QA Contact: Lalatendu Mohanty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 19:34 UTC by Lalatendu Mohanty
Modified: 2015-05-13 16:31 UTC (History)
4 users (show)

Fixed In Version: samba-3.6.9-167.6.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, after a fresh Red Hat Storage installation, a backup file named smb.conf.rpmsave was seen. With this update, smb.conf.rpmsave backup file is not seen.
Clone Of:
Environment:
Last Closed: 2014-02-25 07:58:50 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

Description Lalatendu Mohanty 2013-10-31 19:34:07 UTC
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):

samba-common-3.6.9-160.6.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install RHSS-2.1-20131031.n.0
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Lalatendu Mohanty 2013-12-24 10:16:08 UTC
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.

Comment 3 Pavithra 2014-01-06 10:56:12 UTC
Can you please review the doc text for technical accuracy?

Comment 4 Raghavendra Talur 2014-01-06 11:10:23 UTC
Doc text is accurate.

Comment 6 errata-xmlrpc 2014-02-25 07:58:50 UTC
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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


Note You need to log in before you can comment on or make changes to this bug.