DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd July 2022
stanl stanl is offline
Real Name: Stan
Shell Scout
 
Join Date: Jun 2019
Location: New York
Posts: 136
Default re-run sysmerge

Once again I display my ignorance re all things computer related.

I ran sysupgrade this morning and when finished was told I had to re-run sysmerge because of differences between /etc/mail/aliases and ./etc/mail/aliases.

My first stumbling block is that I don't see any ./etc/mail/aliases.

Then, the only differences I see are:

-_switchd /dev/null
-root: slaurel
+# root:

But when I look at /etc/mail/aliases, the file looks the same as it always was with
_switchd /dev/null and
root: slaurel.

What am I not understanding and what action should I take?

Thank you
Reply With Quote
  #2   (View Single Post)  
Old 3rd July 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,775
Default

I would start by examining your current /etc/mail/aliases file. What is it's last modification date? Does it have your local modifications?

Sysmerge keeps backups of your local merged files. You can find backups of aliases, if any, with # find /var/sysmerge/backups -name aliases -ls.

Sysmerge also keeps a copy of the the most recent Project files to compare with your local files, should you need to do so manually. You can extract a copy of the reference aliases file from the tarball /var/sysmerge/etc.tgz with something like # tar -C /tmp -xzf /var/sysmerge/etc.tgz ./etc/mail/aliases. That command will extract the reference file into /tmp/etc/mail/aliases for examination.


At the end of this, if you have to correct the aliases file, don't forget to run newaliases(8).

Last edited by jggimi; 3rd July 2022 at 01:03 PM. Reason: multiple typos, clarity, and finally a newaliases(8) reminder
Reply With Quote
  #3   (View Single Post)  
Old 3rd July 2022
stanl stanl is offline
Real Name: Stan
Shell Scout
 
Join Date: Jun 2019
Location: New York
Posts: 136
Default

jgggimi - I ran the command to extract the tarball as you suggested and compared the 2 versions. The one in /tmp is v1.70 2022/06/28 while the one in /etc/mail is v1.68 2020/01/24.
I copied the newer one over, corrected #root: so it reads root: slaurel and ran newaliases.
My (hopefully) last question concerns _switchd /dev/null which the new version removed. Does this mean I no longer need that line in the aliases file?

As always thank you very much for your assistance.
Reply With Quote
  #4   (View Single Post)  
Old 3rd July 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,775
Default

See the "Following -current FAQ" regarding switchd(8).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to login after using "sysmerge" nasser OpenBSD Installation and Upgrading 11 15th November 2021 03:02 PM
snapshot, current, sysmerge fstef OpenBSD General 3 3rd March 2015 03:32 PM
sysmerge(8) in -current ocicat OpenBSD Installation and Upgrading 2 9th September 2014 01:40 AM
sysmerge without -x .. any consequences ? daemonfowl OpenBSD Installation and Upgrading 5 23rd June 2012 06:12 PM


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick