Date: Tue, 13 Sep 2022 10:26:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266270] freebsd-update cron corrupts freebsd-update upgrade's in progress Message-ID: <bug-266270-227-oAJkKd8Eme@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266270-227@https.bugs.freebsd.org/bugzilla/> References: <bug-266270-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266270 --- Comment #2 from Peter Eriksson <pen@lysator.liu.se> --- > If a crontab(5) utilizing the features of freebsd-update(8) exists,=20 > it must be disabled before upgrading the operating system. Then perhaps a simple: if crontab -l | grep -v '^#' | grep 'freebsd-update.*cron'; then echo "$0: WARNING: Cron-enabled 'freebsd-update cron' detected, please disable before running freebsd-update upgrade (see the manual for more details)" exit 1 fi could be added to the upgrade part of freebsd-update in order to save other users (not always reading the manuals and/or remembering this warning) from running into the same issue that is a pain to recover from... Just a suggestion. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266270-227-oAJkKd8Eme>