Re: mergemaster feature suggestion...

From: Adam C. Migus (adam_at_migus.org)
Date: 12/22/03

  • Next message: M. Warner Losh: "Re: Debugging via firewire"
    Date: Sun, 21 Dec 2003 19:34:56 -0500 (EST)
    To: "Evren Yurtesen" <yurtesen@ispro.net.tr>
    
    

    Evren Yurtesen said:
    > I am sorry. I didnt want to cause this kind of discussion to begin.
    >

    Don't apologize, it's not your fault it's mine.

    > But also, does binary upgrade remove older files from /etc? I tried
    > that
    > only 1 time and it didnt even install half of the files required in
    > /etc
    > directory :) for example sshd conf files etc. were missing. Then I
    > decided that I will not do that unless I absolutely need to.
    >
    > I use build/install-world because I dont want to spend so much
    > bandwidth
    > and I prefer to get latest patches etc. easily. I want to have the
    > possibility to go back to a date later on if I have a problem with
    > the
    > latest sources. So cvsup does that for me easily.
    >

    I usually do upgrades with the build/install method as well for the
    same reasons. In general I find the method easier than the binary
    upgrade method. To be honest I'm not sure if the binary method does
    remove old files but if IIRC the way it works is it saves off a copy
    of /etc and rebuilds a new one so it should.

    > About those old files, I think any old file which doesnt exist in
    > newer
    > release does not only waste space and cause confusion. Also it might
    > cause security problems. Considering, a problem in a file/binary
    > whatever which does not exist in newer versions wouldnt be fixed by
    > the
    > freebsd developers. However it is a small possibility.
    >
    > I often thought of a way to remove older files. I even considered
    > making
    > a fresh install of the latest version of FreeBSD to a test machine
    > and
    > compare the file structures to remove files from the actual
    > machines.
    > But there can be an utility to do that right? If there is an utility
    > to
    > compare the files and install (mergemaster) there can be an utility
    > to
    > remove the older files also, or this can be implemented inside
    > mergemaster as an option/
    >

    While I suppose it's possible for old files to negatively impact
    system security I would think it would be unlikely as they'd
    generally be unreferenced by the new system binaries though
    /etc/rc.d might be one notable exception.

    Assuming a binary upgrade builds a new /etc and/or clobbers files in
    /etc an easy way to determine old ones would be the date-stamps. If
    that's the case using `ls' whith appropriate options would help you
    determine which files where new and which were old.

    Adam
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: M. Warner Losh: "Re: Debugging via firewire"

    Relevant Pages

    • Re: Disaster With Rounded IDE Cables
      ... Timothy Daniels wrote ... So to install xp I need to install 98 ... He didnt realise that the upgrade is happy to inspect a CD of what its upgrading. ...
      (alt.comp.hardware.pc-homebuilt)
    • Re: Web vs. Desktop based systems
      ... provider with better privacy policy (perhaps Yahoo) also provides ... to other folder or reporting spam or changing the filter recipes. ... But how do you *really* know the important upgrade that keeps ... The alert-window doesn't exactly say *why* you need to install this ...
      (comp.programming)
    • Re: Requesting some leniency on your piracy protection program ple
      ... If Windows is retail, not at all. ... You can reinstall, upgrade, move to a different computer all you want as long as it is only installed on one computer at a time. ... The things I do not get, is not being able to> install the same ...
      (microsoft.public.windowsxp.general)
    • Re: 10.6.7 Just works
      ... If you have the install disc just pop it in and do a reinstall. ... The recent upgrade to 10.6.7 brings a lot of problems with third part ... I have tried switching System Language, and even restarting the mac. ... Did anyone else run into a slow restart after the 10.6.7 update ...
      (comp.sys.mac.advocacy)
    • Re: upgrading xp to vista premium question
      ... prior to using an upgrade install of Vista. ... install of Vista Home Premium full retail version was to my main MCE2005 ... built and did a clean install and love it. ...
      (microsoft.public.windows.mediacenter)