[lxc-devel] patch for lxc-checkconfig

Daniel Lezcano daniel.lezcano at free.fr
Fri Mar 19 10:25:47 UTC 2010


lxc at zitta.fr wrote:
> Hi,
>
> With a friend, we installed lxc on his server.
> We spend 1 hour on the kernel config because we didn't knew :
> - that lxc-checkconfig is a bash script and it can check a config before
> running it
> - which kernel config item whas not good
> - that CONFIG_SECURITY_FILE_CAPABILITIES is obsolete since 2.6.33
>
> So, here is a patch for lxc-checkconfig that could save time for lxc newbies
>
> --- /usr/sbin/lxc-checkconfig    2010-03-12 14:35:38.000000000 +0100
> +++ /usr/local/bin/lxc-checkconfig    2010-03-14 07:46:53.940193560 +0100
>   

You patched the wrong file but, as the patch is trivial, I ported the 
modifications to the right file,
src/lxc/lxc-checkconfig.in. In the future, patch the source code instead 
the installed scripts ;)

Thanks
  -- Daniel






More information about the lxc-devel mailing list