[lxc/lxc] 9becf3: attach: Fix -c command

0 views
Skip to first unread message

Christian Brauner

unread,
Aug 30, 2021, 8:19:44 AM8/30/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 9becf309a81806ef08acf9ca99ab95c1bcfa1f65
https://github.com/lxc/lxc/commit/9becf309a81806ef08acf9ca99ab95c1bcfa1f65
Author: Maximilian Blenk <Maximili...@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 <Maximili...@bmw.de>


Commit: 70447178611d7f4f53bbd554a39931376cee044b
https://github.com/lxc/lxc/commit/70447178611d7f4f53bbd554a39931376cee044b
Author: Christian Brauner <christia...@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
Reply all
Reply to author
Forward
0 new messages