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 23rd November 2015
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default /var/log disappeared after upgrade

I upgraded -current today (base system and packages) and I ran sysmerge as usual without problems. But after a second reboot X wouldn't start; the reason, I found, was that /var/log had disappeared. I remade the /var/log directory and things were back to normal.

Can anyone explain why this would have happened? I haven't seen this before in many upgrades. I didn't find a mention on google.
Reply With Quote
  #2   (View Single Post)  
Old 23rd November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

An upgrade issues a series of tar(1) commands. It doesn't rm(1) anything. I suspect operator error of some kind, but I do have enough information to help you discern possibilities.

I upgraded an amd64 system to -current yesterday, using a snapshot that had been built on Saturday, and did not experience any problems.
Reply With Quote
  #3   (View Single Post)  
Old 23rd November 2015
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default

I wondered if sysmerge might do this? The only other thing I can think of is that when I followed the instructions to delete various files after the package upgrade I might have accidentally deleted /var/log, although I use cut and paste for this so it seems unlikely.
Reply With Quote
  #4   (View Single Post)  
Old 23rd November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

It's unlikely to have been sysmerge(8). I'll guess it was an ingredient in your dish of copy pasta.
Reply With Quote
  #5   (View Single Post)  
Old 23rd November 2015
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default

Thanks for your comments. I'll just put it down as another mystery (one of many).
Reply With Quote
  #6   (View Single Post)  
Old 23rd November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

You do realize that when you pkg_add -u or -r, it does a delete/install?

The messages produced during the delete phase are for post-delete cleanup. They can usually be ignored unless the application's infrastructure is changing due to a significant upgrade.
Reply With Quote
  #7   (View Single Post)  
Old 25th November 2015
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default

Thanks, yes.
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
How often upgrade current? Valus OpenBSD Installation and Upgrading 27 17th July 2015 06:03 PM
upgrade from 4.8 to 5.3 polken OpenBSD Installation and Upgrading 6 30th May 2013 05:41 AM
6.1 RC upgrade climby FreeBSD Installation and Upgrading 2 30th September 2010 12:51 PM
How do I upgrade? wubrgamer FreeBSD Ports and Packages 2 27th August 2008 07:18 PM
upgrade from 5.5 to 6.3 keithlybsd FreeBSD Installation and Upgrading 9 27th May 2008 06:21 PM


All times are GMT. The time now is 03:10 AM.


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