[rear-devel] [rear/rear] 81cc19: Skip remount sync when systemd is used (issue1097)

Johannes Meixner jsmeix at suse.com
Fri Dec 2 13:48:07 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 81cc19d3af0e90b3879f12afc68547b9e771cfd6
      https://github.com/rear/rear/commit/81cc19d3af0e90b3879f12afc68547b9e771cfd6
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M usr/share/rear/finalize/default/900_remount_sync.sh
    M usr/share/rear/restore/default/050_remount_async.sh
    M usr/share/rear/restore/default/995_remount_sync.sh

  Log Message:
  -----------
  Skip remount sync when systemd is used (issue1097)


  Commit: af2136134f8530c1bb76f6924972bea8ccb5aede
      https://github.com/rear/rear/commit/af2136134f8530c1bb76f6924972bea8ccb5aede
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M usr/share/rear/finalize/default/900_remount_sync.sh
    M usr/share/rear/restore/default/050_remount_async.sh
    M usr/share/rear/restore/default/995_remount_sync.sh

  Log Message:
  -----------
  Merge pull request #1099 from jsmeix/Skip_remount_sync_when_systemd_is_used_issue1097

Skip remount sync when systemd is used.
Remounting all what is mounted below /mnt/local
with sync option is no longer needed when systemd is used
because when systemd is used reboot, halt, poweroff,
and shutdown are replaced by scripts that do umount
plus sync to safely shut down the recovery system,
see https://github.com/rear/rear/pull/1011
and https://github.com/rear/rear/issues/1097
Furthermore remounting with sync option could become
in practice a major annoyance because it makes writing
anything below /mnt/local basically unusable slow,
see https://github.com/rear/rear/issues/1097


Compare: https://github.com/rear/rear/compare/6cf98fbe16cc...af2136134f85


More information about the rear-devel mailing list