1. 08 Oct, 2013 5 commits
  2. 07 Oct, 2013 3 commits
  3. 04 Oct, 2013 9 commits
  4. 03 Oct, 2013 5 commits
  5. 02 Oct, 2013 11 commits
  6. 01 Oct, 2013 5 commits
  7. 30 Sep, 2013 2 commits
    • refactor string conf items into common function · 6d03d92a
      Dwight Engen authored
      - When doing the selinux change, I noticed that there was a lot of
        duplication of code in handing string configuration items, so I
        refactored this into a common function.
      
      - Added a config_string_max that can be passed a maximum acceptable
        length, used to limit ttydir to NAME_MAX.
      
      - The behavior of config_seccomp was different than other strings: if the
        item was already defined, then the second attempt to set it would fail
        instead of just replacing the value. Changed to just replace the value.
      
      - Remove unused key and lxc_conf arguments to config_path_item().
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
      Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
      Signed-off-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
    • RFC: lxclock: drop the chown+chmod of lockdir · e5953614
      Serge Hallyn authored
      The original rationale for this was to make sure that if
      lxcpath was /home/serge/lxcbase, then then lockdir
      (/run/user/serge/lock/lxc/home/serge/lxcbase) would be
      owned by the same user as /home/serge/lxcbase.
      
      The only user who can chown to other uids (without CAP_CHOWN
      added to fP) is root, who shouldn't be mucking with non-root
      owned containers anyway.  In the meantime this causes a bunch
      of noise for arguably no benefit.
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>