Is it possible to setup read-only root ?

Reindl Harald h.reindl at thelounge.net
Sun Jul 1 17:11:55 UTC 2012



Am 01.07.2012 19:08, schrieb Joe Zeff:
> On 07/01/2012 10:01 AM, John Wendel wrote:
>> Is it possible to setup Fedora, using Fedora provided tools/software,
>> with a read-only root partition?
>>
>> There's an ancient wiki entry from the FC6 days that indicates that some
>> work was done, but I would assume that this depended on the SysV init
>> system. I've haven't seen any mention of read-only root setup with systemd.
>>
>> Any clues would be greatly appreciated.
>>
> 
> If I'm not mistaken, /var needs to be on that partition and needs to be writable.

it is not uncommon to have /var on a own partition

> If so, then you can't have a
> read-only root partition.  

it works, but be really carefull

> And, just so we all know where we're going here, why would you want to?

in theory more security

imagine a root-exploit changing a system binary
much more difficult if the rootfs is readonly


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120701/bfe3d4c6/attachment.sig>


More information about the users mailing list