Merge lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new into lp:ubuntu/wily/initramfs-tools-ubuntu-core
| Status: | Rejected |
|---|---|
| Rejected by: | Michael Vogt on 2015-10-19 |
| Proposed branch: | lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new |
| Merge into: | lp:ubuntu/wily/initramfs-tools-ubuntu-core |
| Diff against target: |
229 lines (+128/-60) 1 file modified
scripts/ubuntu-core-rootfs (+128/-60) |
| To merge this branch: | bzr merge lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu branches | 2015-09-02 | Pending | |
|
Review via email:
|
|||
| Stéphane Graber (stgraber) wrote : | # |
| Oliver Grawert (ogra) wrote : | # |
my main problem with this approach is that i can edit files under /writable/
either use an img file that we ship and loop mount from /writable/
| Stéphane Graber (stgraber) wrote : | # |
That's indeed true. That problem could be partly worked around by having a default apparmor policy block such access, but still, ultimately your system is running from writable storage, which makes it prone to corruption and so not very reliable for partial updates or even integrity checks.
- 23. By Michael Vogt on 2015-09-11
-
mount squashfs from writable
- 24. By Michael Vogt on 2015-09-11
-
add writable to generated fstab
- 25. By Michael Vogt on 2015-09-11
-
scripts/
ubuntu- core-rootfs: do not hardcode ext4 - 26. By Michael Vogt on 2015-09-11
-
add comment why we can't mount writable RO in the intird and do the writable transition later
- 27. By Michael Vogt on 2015-09-11
-
fix silly typo
- 28. By Michael Vogt on 2015-10-06
-
merged trunk
- 29. By Michael Vogt on 2015-10-19
-
update for new snapfs os/kernel vars
- 30. By Michael Vogt on 2015-10-19
-
support both old and new style boots
- 31. By Michael Vogt on 2015-10-19
-
re-add "other" mounting
Unmerged revisions
- 31. By Michael Vogt on 2015-10-19
-
re-add "other" mounting
- 30. By Michael Vogt on 2015-10-19
-
support both old and new style boots
- 29. By Michael Vogt on 2015-10-19
-
update for new snapfs os/kernel vars
- 28. By Michael Vogt on 2015-10-06
-
merged trunk
- 27. By Michael Vogt on 2015-09-11
-
fix silly typo
- 26. By Michael Vogt on 2015-09-11
-
add comment why we can't mount writable RO in the intird and do the writable transition later
- 25. By Michael Vogt on 2015-09-11
-
scripts/
ubuntu- core-rootfs: do not hardcode ext4 - 24. By Michael Vogt on 2015-09-11
-
add writable to generated fstab
- 23. By Michael Vogt on 2015-09-11
-
mount squashfs from writable
- 22. By Michael Vogt on 2015-09-02
-
ensure / is RO and /writable is RW


One concern here is that your / is now effectively backed by a read-write filesystem which you can't unmount, so that may well lead to dataloss unless your shutdown sequence has extra logic to remount every layer read-only properly, killing any task with r/w fds open and only then shutdown.
If you can confirm that your shutdown sequence succeeds at remounting everything read-only prior to system shutdown, then except for the few things I listed in-line, this should be fine.