1. 11 Jan, 2013 3 commits
  2. 10 Jan, 2013 2 commits
  3. 09 Jan, 2013 25 commits
  4. 08 Jan, 2013 4 commits
  5. 04 Jan, 2013 3 commits
  6. 03 Jan, 2013 2 commits
  7. 02 Jan, 2013 1 commit
    • separate console device from console log · 596a818d
      Dwight Engen authored
      lxc-start -c makes the named file/device the container's console, but using
      this with a regular file in order to get a log of the console output does
      not work very well if you also want to login on the console. This change
      implements an additional option (-L) to simply log the console's output to
      a file.
      
      Both options can be used separately or together. For example to get a usable
      console and log: lxc-start -n name -c /dev/tty8 -L console.log
      
      The console state is cleaned up more when lxc_delete_console is called, and
      some of the clean up paths in lxc_create_console were fixed.
      
      The lxc_priv and lxc_unpriv macros were modified to make use of gcc's local
      label feature so they can be expanded more than once in the same function.
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
      Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>