Koozali.org: home of the SME Server

*.rpmnew files question

Jim Danvers

*.rpmnew files question
« on: October 05, 2003, 07:03:16 AM »
Question:

Brand spanking new install of 5.6.  I went to one of the mirrors provided by a link from the e-smith.org site to obtain the latest updates and saved them to my local hard disk on my windows laptop.  I then fired up the web browser, pointed it to http://newserver/server-manager and then turned on ssh access, so that I could get into it via putty / winscp.  Saved the settings, putty'd in to ensure it works (did), then logged out.  Fire up winscp, upload all of the updates - log out.  Go back in via putty again and install the updates like so (screen capture):

[root@gateway Updates]# rpm -Uvh --replacepkgs *.rpm
Preparing...                ########################################### [100%]
   1:e-smith-mailfront      ########################################### [  4%]
   2:flexbackup             ########################################### [  8%]
   3:initscripts            ########################################### [ 12%]
   4:nut-client             ########################################### [ 16%]
   5:nut                    ########################################### [ 20%]
   6:e-smith-nutUPS         ########################################### [ 24%]
   7:openssh                ########################################### [ 28%]
   8:openssh-clients        ########################################### [ 32%]
   9:openssh-server         warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
########################################### [ 36%]
  10:e-smith-openssh        ########################################### [ 40%]
  11:ppp                    ########################################### [ 44%]
  12:pptpd                  ########################################### [ 48%]
  13:proftpd                warning: /etc/proftpd.conf created as /etc/proftpd.conf.rpmnew
########################################### [ 52%]
  14:samba-common           warning: /etc/samba/smb.conf created as /etc/samba/smb.conf.rpmnew
########################################### [ 56%]
  15:samba                  ########################################### [ 60%]
  16:samba-client           ########################################### [ 64%]
  17:trendVirusWall         ########################################### [ 68%]
  18:xinetd                 ########################################### [ 72%]
  19:e-smith-base           ########################################### [ 76%]
  20:e-smith-backup         ########################################### [ 80%]
  21:e-smith-hosts          ########################################### [ 84%]
  22:e-smith-ipmasq         ########################################### [ 88%]
  23:e-smith-locale-fr_CA   ########################################### [ 92%]
  24:e-smith-proftpd        ########################################### [ 96%]
  25:e-smith-wu-imap        ########################################### [100%]
[root@gateway Updates]#

Now... probably not a big deal, but I would just like to know so that I understand.  What are the 'warning:' msg's about?  I can sorta understand the sshd one being issued because I had changed that from the default (ssh = off) - I turned it on.  Whats w/the samba and proftp ones though.  I didn't do anything with either of those. Warning msgs aside though - what exactly do they imply?  Is it to say that the update thought that I had changed or modified the *.conf files in some way, so therefore it ~didn't~ overwrite them?  The installer auto-creates the *.rpmnew file when it runs into an existing .conf file - yes?  What if the new/updated patch contains some sort of directives that are required as part of the patch (say, some security or functional piece?)  Am I/we supposed to go through the .rpmnew file and compare it with the existing .conf and figure out what should be added or removed?  Again - just looking to understand with some clarity what the *.rmpnew files are and thier (if any) implications.

Thanks guys!

-=- jd -=-

Charlie Brady

Re: *.rpmnew files question
« Reply #1 on: October 05, 2003, 07:23:48 AM »
Search here for "rpmnew warning created as" and you will find the answer.

Charlie

Jim Danvers

Re: *.rpmnew files question
« Reply #2 on: October 05, 2003, 07:39:34 AM »
Thanks Charlie...

I'm thinking that this one (from where/what you told me to search on) is telling me pretty much what I thought it was:

http://forums.contribs.org/index.php?topic=7865.msg29116#msg29116

I just wanted to see / read it / understand it a little better.

Thanks...

-=- jd -=-