Project

General

Profile

Actions

Bug #7345

closed

nanobsd upgrades still fail bacause of lacking resolv.conf

Added by Andrew Hotlab over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
03/02/2017
Due date:
% Done:

80%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:
All

Description

As I wrote in a comment to the closed bug #6557, the upgrade procedure still fails, because copying the source file of a symlink over the symlink itself does not work. The command exits with this error:
"cp: /var/etc/resolv.conf and /tmp/nanobsd_upgrade/etc/resolv.conf are identical (not copied)".

Thus we need first remove the symlink. I propose the attached patch to pfSense-upgrade script, which works for me.


Files

pfSense-upgrade.patch.txt (459 Bytes) pfSense-upgrade.patch.txt Andrew Hotlab, 03/02/2017 05:33 PM
Actions

Also available in: Atom PDF