[lxc-devel] [lxc/lxc] 7e8aa9: Fix sshd template on systems with systemd

GitHub noreply at github.com
Sun Feb 21 07:03:24 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 7e8aa95e439761d21c8667e503522a21b027a376
      https://github.com/lxc/lxc/commit/7e8aa95e439761d21c8667e503522a21b027a376
  Author: Nikolay Martynov <mar.kolya at gmail.com>
  Date:   2016-02-21 (Sun, 21 Feb 2016)

  Changed paths:
    M templates/lxc-sshd.in

  Log Message:
  -----------
  Fix sshd template on systems with systemd

Systems with systemd have /sbin/init as a symlink pointing to real init.
Sshd template tries to bind-mount special init implementation.
The problem is that one cannot bind-mount to a location that is a symlink.

Fix this by deferencing /sbin/init symling and using that as bind-mount location.

Signed-off-by: Nikolay Martynov <mar.kolya at gmail.com>


  Commit: 0b0958047ad9854948509a0b92443921164500fc
      https://github.com/lxc/lxc/commit/0b0958047ad9854948509a0b92443921164500fc
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-02-21 (Sun, 21 Feb 2016)

  Changed paths:
    M templates/lxc-sshd.in

  Log Message:
  -----------
  Merge pull request #833 from mar-kolya/fix-sshd-template-init-location-for-systemd

Fix sshd template on systems with systemd


Compare: https://github.com/lxc/lxc/compare/63f2635db09a...0b0958047ad9


More information about the lxc-devel mailing list