Summary: | freebsd-update: Add support for better user messaging from server/service | ||
---|---|---|---|
Product: | Base System | Reporter: | Kubilay Kocak <koobs> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | cperciva, delphij, emaste, security-officer |
Priority: | --- | Keywords: | feature |
Version: | CURRENT | Flags: | koobs:
mfc-stable10?
koobs: mfc-stable9? |
Hardware: | Any | ||
OS: | Any | ||
URL: | https://twitter.com/aikchar/status/659589693445533696 | ||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197308 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=120552 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=135444 |
Description
Kubilay Kocak
2015-10-29 05:14:11 UTC
The server is just a plain web server and doesn't have a convenient way to return a specific error message for e.g. an unsupported arch. However, I suspect that the two common errors here are unsupported arch and unsupported release, and it should be straightforward to detect those two cases in FreeBSD-update itself and report a more direct error. A commit references this bug: Author: emaste Date: Thu Jan 24 18:51:15 UTC 2019 New revision: 343411 URL: https://svnweb.freebsd.org/changeset/base/343411 Log: freebsd-update: Clarify unsupported upgrade message PR: 204115 Submitted by: Gerald Aryeetey <aryeeteygerald_rogers.com> Reviewed by: delphij MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18916 Changes: head/usr.sbin/freebsd-update/freebsd-update.sh A commit references this bug: Author: emaste Date: Tue Mar 5 18:26:35 UTC 2019 New revision: 344807 URL: https://svnweb.freebsd.org/changeset/base/344807 Log: MFC r343411: freebsd-update: Clarify unsupported upgrade message PR: 204115 Submitted by: Gerald Aryeetey <aryeeteygerald_rogers.com> Reviewed by: delphij Sponsored by: The FreeBSD Foundation Changes: _U stable/12/ stable/12/usr.sbin/freebsd-update/freebsd-update.sh A commit references this bug: Author: emaste Date: Tue Mar 5 18:27:30 UTC 2019 New revision: 344808 URL: https://svnweb.freebsd.org/changeset/base/344808 Log: MFC r343411: freebsd-update: Clarify unsupported upgrade message PR: 204115 Submitted by: Gerald Aryeetey <aryeeteygerald_rogers.com> Reviewed by: delphij Sponsored by: The FreeBSD Foundation Changes: _U stable/11/ stable/11/usr.sbin/freebsd-update/freebsd-update.sh |