Bug 197304 - improve feedback of freebsd-update after failure due to missing /boot/kernel
Summary: improve feedback of freebsd-update after failure due to missing /boot/kernel
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 02:14 UTC by Kalle Richter
Modified: 2016-12-20 22:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Richter 2015-02-04 02:14:46 UTC
If `/boot/kernel` doesn't exist and `freebsd-update fetch` is invoked, the command fails with the error message `Cannot identify running kernel`. It would be much more helpful to append the reason.

This is discussed in https://forums.freebsd.org/threads/cannot-identify-running-kernel.43329/ with a reference to the relevant code.