[Bug 253989] freebsd-update: workdir should default to ${basedir}/var/db/freebsd-update

2024-01-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253989

Mark Linimon  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|New |Closed

--- Comment #2 from Mark Linimon  ---


*** This bug has been marked as a duplicate of bug 235318 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 253989] freebsd-update: workdir should default to ${basedir}/var/db/freebsd-update

2024-01-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253989

Michael Osipov  changed:

   What|Removed |Added

   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2760
   ||94

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 253989] freebsd-update: workdir should default to ${basedir}/var/db/freebsd-update

2024-01-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253989

--- Comment #1 from Michael Osipov  ---
Can we close this as dup of Bug 235318? The report is identical.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 253989] freebsd-update: workdir should default to ${basedir}/var/db/freebsd-update

2023-09-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253989

Ed Maste  changed:

   What|Removed |Added

 CC||ema...@freebsd.org
   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2353
   ||18

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 253989] freebsd-update: workdir should default to ${basedir}/var/db/freebsd-update

2021-03-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253989

Bug ID: 253989
   Summary: freebsd-update: workdir should default to
${basedir}/var/db/freebsd-update
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: asom...@freebsd.org

freebsd-update works quite well in tandem with boot environments.  When doing
minor upgrades (e.g. 12.0 -> 12.1), I can complete the entire upgrade in the BE
and then boot into an upgraded system.  But it's a little less convenient when
doing major upgrades, because one must do "freebsd-update install" a final time
after reinstalling ports, which must happen after the reboot.  The sequence
looks like this:

# bectl create 13.0-BETA3
# bectl mount 13.0-BETA3
# freebsd-update -b /tmp/whatever -d /tmp/whatever/var/db/freebsd-update
upgrade -r 13.0-RELEASE
# freebsd-update -b /tmp/whatever -d /tmp/whatever/var/db/freebsd-update
install
# freebsd-update -b /tmp/whatever -d /tmp/whatever/var/db/freebsd-update
install
# reboot
# pkg update
# pkg upgrade
# freebsd-update install

It's easy to accidentally forget the "-d" argument.  If you do that, then the
final "freebsd-update install" won't work, and the only remedy is to revert to
the old boot environment and try again.

I propose that freebsd-update's workdir should default to
${BASEDIR}/var/db/freebsd-update .  That would eliminate the need to specify
"-d" in most cases, and it would be backwards compatible with the common use
case where "-b" is not specified.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"