Live data from Hacker News

Bitwarden_rs: Unofficial Bitwarden compatible server written in Rust

github.com

161–162 of 162 posts

Re: Bitwarden_rs: Unofficial Bitwarden compatible server written in Rust

#161

Earlier quoted context omitted.

Why would you mount read only, out of interest? How do you keep packages up to date? And what about logging? I'd want to be logging connection attempts.

To save the SD card mostly. I log to a ring buffer in RAM. I've had my Raspberry Pis kill dozens of SD cards over the years, so read only can helas for updates, I manually remount read/write when I do maintenance and then remount read/only again when I'm done.

Thanks. I might have a look into doing it for mine, since that seems to make sense. I guess like you said you can just mount the fs rw, and then chroot in to run updates.

Re: Bitwarden_rs: Unofficial Bitwarden compatible server written in Rust

#162

Earlier quoted context omitted.

To save the SD card mostly. I log to a ring buffer in RAM. I've had my Raspberry Pis kill dozens of SD cards over the years, so read only can helas for updates, I manually remount read/write when I do maintenance and then remount read/only again when I'm done.

Thanks. I might have a look into doing it for mine, since that seems to make sense. I guess like you said you can just mount the fs rw, and then chroot in to run updates.

No need for chroot, I just say in when I'm on the LAN, remount / and /boot r/w, run the updates and reboot (boots any new kernel and switches back to r/o).
Post reply on HN