|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Config management
What do folks here do to manage and backup their config files? I previously had a system where I copied the default config file to ${config}.ORIGINAL in-place, then ran a script every so often to backup the edited file to a default location (~/configs). This had the benefit that I could easily see all modified configs on the system just by running `find / -name *.ORIGINAL`.
Lately, I've switched to just adding my own configs to /etc/changelist, then backing up the entirety of /var/backups. I'd like to move to a simpler system that keeps _all_ historical changes, not just the most recent version. cvs or svn seem like overkill for this. Do folks out there have other kinds of config management systems that do this? |
|
||||
I've played with rcs() for a little bit. My thoughts:
Last edited by jggimi; 1st February 2019 at 12:43 AM. Reason: thinko |
|
|||
I have used RCS for many years and still do for personal files, I find it very simple and easy to use. One nice thing, it is rather easy to move from RCS to CVS.
Been up almost 24 hours with issues and here comes rambling 'rant' to show how important using one is. At work many years ago no one used a src ctl system, I put RCS on our devel system for our use and maintained it for my development. (no on wanted to use it). Eventually, as you can guess, someone lost some code and the original developer was long gone. Finally I was able to convince Mang to make everyone use some 'src code ctl'. By then I found another group using CVS and asked if the group I was in could hook into it, so I moved the RCS files to CVS. Still no real support from Mang and it was a struggle to get a few people to use it, many complained But at least we had history and no lost files. Then Mang got interested in it when they wanted to find out when a change was made that caused an issue. Since then religion set in and a Company wide git repository was created. Even getting approval to move to git was hard until the CVS people said they were shutting down CVS in favor of git. Joys of a large company |
|
||||
I've been a CVS user for many years -- since I began using OpenBSD, in fact.
During experiments this week I discovered that OpenBSD's "OpenRCS" utilities do not support branching. As an example, the -b option is documented in the rcs(1) man page but not part of the case statement structure in the program, so it does not function. And the ci() utility will not permit branch creation except at the HEAD of the main trunk, which renders it broken. So if you want RCS branch support you'll need to either use cvs(1) or install devel/grcs and use grcs(1) and gci(1). |
|
|||
Patches welcome!
|
|
|||
I also ended up making a portable version of OpenRCS for FreeBSD at the behest of some FreeBSD devs: https://github.com/ibara/OpenRCS
|
|
||||
Yes. But I would first like to conduct the due diligence necessary to understand the history of OpenRCS development before submitting a diff to remove -b from the rcs(1) man page and from the syntax error output rcs() produces when you attempt to use -b.
Quote:
|
|
|||
Here I was hoping you were going to add branching support to OpenRCS
|
|
||||
We are still using GNU CVS, which handles branches in the same way as GNU RCS. I have not reviewed the many years of OpenCVS/OpenRCS development, but branch deltas are complicated. From Tichy's 1985 paper:
Quote:
|
|
|||
Hooray! We've found a new OpenCVS and OpenRCS maintainer! All hail this new era of OpenCVS!
|
|
|||
I also use RCS for /etc. It is simple and it works. Nuff sed.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fan speed management | Oficre_josef | OpenBSD General | 5 | 13th November 2014 07:19 PM |
Gnome power management? | codeFreak | OpenBSD Packages and Ports | 5 | 6th March 2011 03:21 AM |
log file management | drummondislebsd | FreeBSD General | 3 | 5th January 2011 01:11 PM |
OpenVPN management | bichumo | General software and network | 0 | 15th July 2008 09:05 AM |
bandwidth management problem... | maurobottone | OpenBSD Security | 2 | 17th May 2008 08:10 AM |