-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: docs: /etc/dhcp -> config to preserve across firmware update
The docs currently suggest placing the ipxe configuration file in /etc/dhcp/ - while this seems sane, when you update the firmware of an EdgeOS Device, which this is geared towards (or any other vyatta-based device), the entire filesystem is wiped, other than the /config directory. This becomes especially problematic, because the config itself will still reference this file, and the dhcp server will refuse to start. From /var/log/messsages: ``` Oct 29 00:17:03 ubnt systemd[1]: vyatta-dhcpd.service: Control process exited, code=exited status=1 Oct 29 00:17:03 ubnt systemd[1]: Failed to start EdgeOS DHCP Server. Oct 29 00:17:03 ubnt systemd[1]: vyatta-dhcpd.service: Unit entered failed state. Oct 29 00:17:03 ubnt systemd[1]: vyatta-dhcpd.service: Failed with result 'exit-code'. Oct 29 00:17:05 ubnt dhcpd3: Can't open /etc/dhcp/ipxe-metal.conf: No such file or directory Oct 29 00:17:05 ubnt dhcpd3: Oct 29 00:17:05 ubnt dhcpd3: If you did not get this software from ftp.isc.org, please Oct 29 00:17:05 ubnt dhcpd3: get the latest from ftp.isc.org and install that before Oct 29 00:17:05 ubnt dhcpd3: requesting help. Oct 29 00:17:05 ubnt dhcpd3: Oct 29 00:17:05 ubnt dhcpd3: If you did get this software from ftp.isc.org and have not Oct 29 00:17:05 ubnt dhcpd3: yet read the README, please read it before requesting help. Oct 29 00:17:05 ubnt dhcpd3: If you intend to request help from the dhcp-bugs at isc.org Oct 29 00:17:05 ubnt dhcpd3: mailing list, please read the section on the README about Oct 29 00:17:05 ubnt dhcpd3: submitting bug reports and requests for help. Oct 29 00:17:05 ubnt dhcpd3: Oct 29 00:17:05 ubnt dhcpd3: Please do not under any circumstances send requests for Oct 29 00:17:05 ubnt dhcpd3: help directly to the authors of this software - please Oct 29 00:17:05 ubnt dhcpd3: send them to the appropriate mailing list as described in Oct 29 00:17:05 ubnt dhcpd3: the README file. Oct 29 00:17:05 ubnt dhcpd3: Oct 29 00:17:05 ubnt dhcpd3: exiting. ``` To fix this, any files which are referenced in the EdgeOS config need to be stored in the /config directory. Updating the docs to fix this reference, so others don't get bitten by this. Signed-off-by: Russell Troxel <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
11 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters