Description of problem: yum update of samba-common package creates two smb configuration files (.rpmnew and .rpmsave) i.e.smb.conf.rpmnew smb.conf.rpmsave. Updating samba packages modifies smb.conf and creates smb.conf.rpmnew smb.conf.rpmsave This will confuse the user as two files are getting created from a single update. smb.conf.rpmsave: This is created before modifying smb.conf to put (include = /etc/samba/rhs-samba.conf) smb.conf.rpmnew: This is created if the default smb.conf is already modified by the user. But this files does not have "include = /etc/samba/rhs-samba.conf" line. So not sure validity of this file Also smb.conf.rpmnew does not have required settings for rhs i.e. stat cache = No and kernel oplocks = No testparm -s smb.conf.rpmnew Load smb config files from smb.conf.rpmnew rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Server role: ROLE_STANDALONE [global] workgroup = MYGROUP server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50 idmap config * : backend = tdb cups options = raw [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes print ok = Yes browseable = No Version-Release number of selected component (if applicable): samba-common-3.6.9-160.6.el6rhs How reproducible: Always Always Steps to Reproduce: 1. Yum update samba packages from version<=3.6.9-160.3.el6rhs to version>3.6.9-160.3.el6rhs (which is the case for rhs2.1 to rhs2.1U1 2. 3. Actual results: Expected results: This will confuse the user as two files are getting created from a single update. We need to stream line this and give clear information to user Additional info:
Updated Samba from samba-3.6.9-160.7.el6rhs.x86_64 to samba.x86_64 0:3.6.9-167.9.el6rhs. After the update only smb.conf.rpmnew file is present as the default smb.conf has changed between samba-3.6.9-160.7.el6rhs.x86_64 to samba.x86_64 0:3.6.9-167.9.el6rhs and no rpmsave file is present. Which is fine. Updated Samba from samba.x86_64 0:3.6.9-167.8.el6rhs to samba.x86_64 0:3.6.9-167.9.el6rhs. There are no rpmsave or rpmnew file present as expected. Hence marking the 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. http://rhn.redhat.com/errata/RHEA-2014-0208.html