[FS#1005] sysupgrade should stop network service
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Sep 11 11:47:46 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - Philip Prindeville (pprindeville)
Attached to Project - LEDE Project
Summary - sysupgrade should stop network service
Task Type - Feature Request
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release, packages, etc.
- Steps to reproduce
Applicable to all devices using the generic sysupgrade.
Seen on LEDE head.
To reproduce:
scp over a new .img file
upgrade it as "sysupgrade -v xyzzy.img"
While that's running, you'll be able to ping the router, but if you do an http connection to it, it will be reset.
What would be simpler would be doing a "/etc/init.d/network stop" just after killing off all services (including web servers).
This would make it easier to add scripting which auto-detects when the upgrade has completed by reconnecting after a reasonable wait (and retrying as necessary).
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1005
More information about the lede-bugs
mailing list