[lxc-devel] [lxc/lxc] 5c6182: execute: skip lxc-init logging when unprivileged

GitHub noreply at github.com
Thu Aug 23 15:30:21 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 5c618243501b2c488f368920f1632549ddcfb6f2
      https://github.com/lxc/lxc/commit/5c618243501b2c488f368920f1632549ddcfb6f2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-08-23 (Thu, 23 Aug 2018)

  Changed paths:
    M src/lxc/execute.c

  Log Message:
  -----------
  execute: skip lxc-init logging when unprivileged

Unprivileged app containers will not be able to open the passed in
/proc/1/fd/<idx> log path and will thus currently fail completely as soon as
any log level or log file is passed.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Reported-by: Mrinal Dhillon <mdhillon at juniper.net>


  Commit: f24e4d0046cf50ca03446d42f5cc9b1ca0a92c91
      https://github.com/lxc/lxc/commit/f24e4d0046cf50ca03446d42f5cc9b1ca0a92c91
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2018-08-23 (Thu, 23 Aug 2018)

  Changed paths:
    M src/lxc/execute.c

  Log Message:
  -----------
  Merge pull request #2569 from brauner/2018-08-23/fix_unpriv_execute_logging

execute: skip lxc-init logging when unprivileged


Compare: https://github.com/lxc/lxc/compare/c5dc704ae512...f24e4d0046cf
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list