Bug 9111 - Jive: Factory Reset wipes out ssh setting and keys file
: Jive: Factory Reset wipes out ssh setting and keys file
Status: CLOSED WONTFIX
Product: SB Controller
Classification: Unclassified
Component: Setup
: unspecified
: Other Other
: -- normal (vote)
: ---
Assigned To: Wallace Lai
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 13:54 UTC by Wallace Lai
Modified: 2009-09-08 09:19 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Log from Putty (59.99 KB, text/plain)
2008-08-11 13:55 UTC, Wallace Lai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wallace Lai 2008-08-11 13:54:02 UTC
FW:  Several different versions, like jive_7.3_r2830.bin, jive_7.2_r2802.bin, and others
HW:  MP unit

Note:  This is another issue that prevents automated Factory Reset tests.  Once reset, Jive can no longer be controlle by test PC.

Steps to Reproduce:
1.  Update Jive unit to jive_7.2_r2802.bin.
2.  Make sure Remote Login is activated.
3.  Make sure both the /root/.ssh folder and authorized_keys file exist.
4.  Perform factory reset.
5.  After setting the unit up with Ray and SC, check the Remote Login setting.
6.  Notice Remote Login is now unchecked.
7.  Check to see if .ssh fold and the keys file are still there.
8.  Notice they are not.  Users must setup the entire ssh again.
Comment 1 Wallace Lai 2008-08-11 13:55:16 UTC
Created attachment 3778 [details]
Log from Putty
Comment 2 Blackketter Dean 2008-08-12 10:19:56 UTC
A factory reset will reset everything.  I don't think that this can be fixed by changing the factory reset.

Can't the serial console or SD card be used by the test framework to work around?
Comment 3 Wallace Lai 2008-08-12 16:37:48 UTC
Adding the USB dongle to the current tests setup will definitely add flexibility to the tests framework.
Comment 4 Blackketter Dean 2008-08-12 16:39:22 UTC
Ok, that's a better solution than not doing a complete factory reset.
Comment 5 Richard Titmuss 2008-08-12 21:38:33 UTC
You should be able to script enabling ssh and adding keys via an sd card.
Comment 6 Wallace Lai 2008-08-22 08:01:26 UTC
Jive seems to retain the ssh status if it has connection to the Ray and test PC when the factory reset was initiated.  If not, then no ssh after reset.
Since this will not be fixed, this user will not investigate further.
Closing.