[lxc-devel] [lxc/lxc] 2aa123: add reboot test

GitHub noreply at github.com
Thu Oct 3 14:35:33 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2aa123185e055bbe2506a6210e795e0b9375e477
      https://github.com/lxc/lxc/commit/2aa123185e055bbe2506a6210e795e0b9375e477
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M src/tests/Makefile.am
    A src/tests/reboot.c

  Log Message:
  -----------
  add reboot test

It's really more of a kernel check, but worth having.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 17232fefae9937b3718ac05c5c4da591b5684f5a
      https://github.com/lxc/lxc/commit/17232fefae9937b3718ac05c5c4da591b5684f5a
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  add new tests to .gitignore

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: f5abd74d1a6f5f6c04d982b31a6b1edbaf0f2582
      https://github.com/lxc/lxc/commit/f5abd74d1a6f5f6c04d982b31a6b1edbaf0f2582
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M src/lxc/lxc_attach.c
    M src/lxc/lxc_cgroup.c
    M src/lxc/lxc_checkpoint.c
    M src/lxc/lxc_clone.c
    M src/lxc/lxc_console.c
    M src/lxc/lxc_create.c
    M src/lxc/lxc_destroy.c
    M src/lxc/lxc_freeze.c
    M src/lxc/lxc_info.c
    M src/lxc/lxc_kill.c
    M src/lxc/lxc_monitor.c
    M src/lxc/lxc_snapshot.c
    M src/lxc/lxc_stop.c
    M src/lxc/lxc_unfreeze.c
    M src/lxc/lxc_wait.c

  Log Message:
  -----------
  Improve behaviour for unprivileged users

This mostly changes two things:
 - Only log to the container's logfile on start/stop/restart/execute
 - Call may_control() every time we use the API and return
   "Insufficient privileges" on failure.

NOTE: I didn't test every single one of those but I'm fairly confident
      in my copy/paste abilities and I confirmed they all build fine at least.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/8111adfde044...f5abd74d1a6f


More information about the lxc-devel mailing list