[lxc-devel] [lxc/lxc] c3cb85: apparmor.c: drop newline when reading current prof...

GitHub noreply at github.com
Wed Sep 11 14:21:49 UTC 2013


  Branch: refs/heads/staging
  Home:   https://github.com/lxc/lxc
  Commit: c3cb8580407b6f6b49949e6c58e175eec81db692
      https://github.com/lxc/lxc/commit/c3cb8580407b6f6b49949e6c58e175eec81db692
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M src/lxc/apparmor.c

  Log Message:
  -----------
  apparmor.c: drop newline when reading current profile

Otherwise we fail to recognize if we are already unconfined.  Then,
if we want to *start* unconfined, and /proc is readonly, start fails
even though it should be able to proceed.

With this patch, that situation works.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Reported-by: Andre nathan <andre at digirati.com.br>





More information about the lxc-devel mailing list