** Changed in: lxc (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1758168
Title: [16.04] checkconfig: Warning: new{u,g}idmap is not setuid-root Status in lxc package in Ubuntu: Fix Released Bug description: Hit this again today on 16.04 on a new system. Thought I'd reported this but obviously not. lxc-checkconfig erroneously reports: Kernel configuration not found at /proc/config.gz; searching... Kernel configuration found at /boot/config-4.13.0-37-lowlatency --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: enabled Warning: newuidmap is not setuid-root Warning: newgidmap is not setuid-root Network namespace: enabled ... 17.10+ have the corrected version; it would be useful to get into 16.04. --- a/src/tools/lxc-checkconfig.in 2017-06-14 21:15:23.000000000 +0100 +++ b/src/tools/lxc-checkconfig.in 2017-10-11 21:52:12.609283395 +0100 @@ -89,16 +91,16 @@ echo -n "Pid namespace: " && is_enabled CONFIG_PID_NS yes echo -n "User namespace: " && is_enabled CONFIG_USER_NS if is_set CONFIG_USER_NS; then - if type newuidmap > /dev/null 2>&1; then - f=`type -P newuidmap` + if which newuidmap > /dev/null 2>&1; then + f=`which newuidmap` if [ ! -u "${f}" ]; then echo "Warning: newuidmap is not setuid-root" fi else echo "newuidmap is not installed" fi - if type newgidmap > /dev/null 2>&1; then - f=`type -P newgidmap` + if which newgidmap > /dev/null 2>&1; then + f=`which newgidmap` if [ ! -u "${f}" ]; then echo "Warning: newgidmap is not setuid-root" fi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1758168/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp