Merge ~xnox/ubuntu/+source/casper:clean-shutdown into ubuntu/+source/casper:ubuntu/devel
Status: | Work in progress |
---|---|
Proposed branch: | ~xnox/ubuntu/+source/casper:clean-shutdown |
Merge into: | ubuntu/+source/casper:ubuntu/devel |
Diff against target: |
90 lines (+44/-18) 4 files modified
debian/casper.install (+1/-0) debian/changelog (+7/-0) dev/null (+0/-18) system/cdrom.mount (+36/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | Abstain | ||
Ubuntu Desktop | Pending | ||
git-ubuntu developers | Pending | ||
Review via email: mp+373690@code.launchpad.net |
Commit message
Pacify systemd about cdrom.mount on boot, and order it correctly to be the last one on shutdown.
# casper-stop, sometimes, does lazy unmount of /cdrom, and systemd
# doesn't like active, yet masked units. Instead of /dev/null'ing
# cdrom.mount let's define the behaviour we want.
# On boot, systemd complains that cdrom.mount exists, yet is bound to
# dev-sr0.device which udev didn't yet "plug". This trips up systemd
# to go into verbose mode with messages. All of which is a lie, given
# that initrd mounted /cdrom, which later after udev-coldplug systemd
# "catches up" with. Declate DefaultDependen
# nonesence (i.e. implicit cdrom.mount BindsTo=
# Also, we lie about What=, as it could be anything, but systemd
# demands to specify something. Thank-fully systemd will not try
# mounting /dev/sr0 ontop of otherwise active cdrom.mount.
# Becuase of DefaultDependen
# should be unmounted on shutdown, but only after / is unmounted.
# Given that things might be mounted from on-top of /cdrom, specify
# LazyUnmount=yes.
# Note, due https:/
# a full cdrom.mount unit, rather than a .d drop-in, as /cdrom is not
# declared in fstab or via a unit
Unmerged commits
- 696164e... by Dimitri John Ledkov
- ba8cd06... by Dimitri John Ledkov
- 9342ab5... by Dimitri John Ledkov
- aa51ff5... by Dimitri John Ledkov
- dc4d5ed... by Dimitri John Ledkov
- d19e2cc... by Dimitri John Ledkov
- f6c5b91... by Dimitri John Ledkov
- 00adb03... by Adam Conrad
- a95d979... by Adam Conrad
- 06c1c7e... by Michael Hudson-Doyle
This thing was under investigation by the desktop team to fix ISO boot & shutdown, cleanly with all the layers.
I don't know if we still need this.
Desktop team to confirm if we have flickerless boot & shutdown of the Ubuntu Desktop ISO without any delays or scary messages that we are failing to unmount something.