Hello,
I have just seen that I cannot ssh using keys into my MiSTer. In fact my /root folder has been wiped (and that includes /root/.ssh/authorized_keys )
Fortunately it's easy to restore.
Is it related to the "Linux update" from 2 days ago ?
Do you know which other important folders will get wiped after every Linux update ?
Thanks.
/root folder wiped
-
- Posts: 157
- Joined: Sun Aug 30, 2020 12:04 am
- Has thanked: 98 times
- Been thanked: 46 times
Re: /root folder wiped
Not sure if it's /root related or not, but I noticed the last time I updated linux on MiSTer none of my cifs connections were auto-mounting. Running the cifs_mount script again got them working.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: /root folder wiped
This is normal, I had a quick look at the script and it does various things in different places of the Linux part of the file system. A new installation wipes not only /root but also other directories like /etc which I noticed on my MISTer as I have scripts in /etc/init.d, have to create /etc/connman and place a file in there.
Re: /root folder wiped
I back up all my customisations (SSH keys and a few other things) to a separate folder under the sdcard mount, and then have a small rsync script to put them all back whenever a system update clobbers the root volume.