neilbrown / gnubee-tools

Tools for building gnubee firmware - and maybe more.
Other
31 stars 14 forks source link

Remove unnecessary capabilities on the tmpfs mounts #24

Closed fmarier closed 4 years ago

fmarier commented 4 years ago

The suid and dev options don't seem to be needed for /etc/network/ and /lib/modules/.

I have not tested this directly, but on my GnuBee, I have the following in /etc/rc.local and it seems to work fine:

mount -o remount,nodev,nosuid /etc/network
mount -o remount,nodev,nosuid /lib/modules