[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] [lxc/lxc] 9becf3: attach: Fix -c command
From:       "'Christian Brauner' via lxc-devel" <lxc-devel () lists ! linuxcontainers ! org>
Date:       2021-08-30 12:19:43
Message-ID: lxc/lxc/push/refs/heads/master/6446bf-704471 () github ! com
[Download RAW message or body]

  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 9becf309a81806ef08acf9ca99ab95c1bcfa1f65
      https://github.com/lxc/lxc/commit/9becf309a81806ef08acf9ca99ab95c1bcfa1f65
  Author: Maximilian Blenk <Maximilian.Blenk@bmw.de>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  attach: Fix -c command

Currently, the -c command (to set the selinux context) seems to be
broken because the passed context is ignored and always overwritten by
the context specified in the config file. The intention behind the -c
imho was to be able to manually overwrite this behavior. This patch
ensures that the selinux context will be set if passed via the command
line.

Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de>


  Commit: 70447178611d7f4f53bbd554a39931376cee044b
      https://github.com/lxc/lxc/commit/70447178611d7f4f53bbd554a39931376cee044b
  Author: Christian Brauner <christian.brauner@ubuntu.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  Merge pull request #3954 from blenk92/fix-attach-c2

attach: Fix -c option v2 :-D


Compare: https://github.com/lxc/lxc/compare/6446bf47d392...70447178611d

-- 
You received this message because you are subscribed to the Google Groups "lxc-devel" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to lxc-devel+unsubscribe@lists.linuxcontainers.org. To view this discussion on \
the web visit https://groups.google.com/a/lists.linuxcontainers.org/d/msgid/lxc-devel/lxc/lxc/push/refs/heads/master/6446bf-704471%40github.com.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic