Merge lp:~chipaca/snappy/use-etc-writable-for-atomics into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Merged at revision: | 795 |
| Proposed branch: | lp:~chipaca/snappy/use-etc-writable-for-atomics |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
29 lines (+4/-4) 1 file modified
coreconfig/config.go (+4/-4) |
| To merge this branch: | bzr merge lp:~chipaca/snappy/use-etc-writable-for-atomics |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | 2015-10-22 | Approve on 2015-10-22 | |
|
Review via email:
|
|||
Commit Message
Use /etc/writable from config now that config does AtomicWriteFile.
| Michael Vogt (mvo) wrote : | # |
Unapproving again, as ogra points out the code should follow the link, I don't think our atomicWrite code is doing this right now though :/
| Gustavo Niemeyer (niemeyer) wrote : | # |
Hmmm.. /etc/writable is a curious artifact. On one hand it feels like the whole /etc should be writable, which is what we agreed to move towards in Budapest.. on the other hand, how do we update such a system? Something to talk about for all-snaps..
| Oliver Grawert (ogra) wrote : | # |
/etc/writable has been on the phones forever to support atomic writing of single files and to not rip extra security attack vectors and making the boot extra slow by having to sync the whole of etc every boot ...
| Gustavo Niemeyer (niemeyer) wrote : | # |
Interesting.. so why would the boot become extra slow if /etc is mounted read-write? Also, do you have a list of everything that is under /etc/writable ATM on the phones?
Thanks


\o/