Opened 3 years ago

Last modified 16 months ago

#63773 assigned defect

openfortivpn: config file overwritten on upgrade

Reported by: biggreenogre (BigGreenOgre) Owned by: millerdev (Daniel Miller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: openfortivpn

Description

Running port upgrade outdated caused openfortivpn to be upgraded from 1.16.0 to 1.17.1 After upgrade, config file at /opt/local/etc/openfortivpn/config had been overwritten by the default config.template resulting in loss of configuration data and loss of access to VPN. Expected behaviour: config file should be unchanged after upgrade

Change History (5)

comment:1 Changed 3 years ago by biggreenogre (BigGreenOgre)

MacOS 11.6 Big Sur
Xcode 13.1
MacBook Pro (13-inch, M1, 2020)
Note: Apple silicon M1 arm64

On the brighter side, this is the first time I have used Time Machine to recover data. :-)

comment:2 Changed 3 years ago by biggreenogre (BigGreenOgre)

The upstream Makefile will not overwrite an existing file at <path>/etc/openfortivpn/config
https://github.com/adrienverge/openfortivpn/blob/master/Makefile.am

comment:3 Changed 3 years ago by biggreenogre (BigGreenOgre)

Keywords: openfortivpn upgrade overwrite config removed

comment:4 Changed 3 years ago by biggreenogre (BigGreenOgre)

Last edited 16 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 3 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Owner: set to millerdev
Priority: HighNormal
Status: newassigned
Summary: config file overwritten on upgradeopenfortivpn: config file overwritten on upgrade
Note: See TracTickets for help on using tickets.