[lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

Michael H. Warfield mhw at WittsEnd.com
Sat May 17 13:44:28 UTC 2014


Hey,

On Sat, 2014-05-17 at 15:24 +0200, Johannes Kastl wrote:
> Hi everyone,
> 
> something is wrong with lxc-top on openSUSE:
> 
> First, I got this:
> 
> > LANG=POSIX lxc-top /usr/bin/env: lua: No such file or directory
> 
> Then I installed lua (via sudo zypper in lua) and asked the packager
> to add a dependency to lua to the package, and now I get
> 
> > $ LANG=POSIX lxc-top lua: /usr/bin/lxc-top:24: module 'lxc' not
> > found: no field package.preload['lxc'] no file
> > '/usr/share/lua/5.2/lxc.lua' no file
> > '/usr/share/lua/5.2/lxc/init.lua' no file
> > '/usr/lib64/lua/5.2/lxc.lua' no file
> > '/usr/lib64/lua/5.2/lxc/init.lua' no file './lxc.lua' no file
> > '/usr/lib64/lua/5.2/lxc.so' no file
> > '/usr/lib64/lua/5.2/loadall.so' no file './lxc.so' stack
> > traceback: [C]: in function 'require' /usr/bin/lxc-top:24: in main
> > chunk [C]: in ?

> Is this a known issue? I only found one debian bug report, where it is
> said lua-filesystem is missing, but I can't find that on openSUSE (at
> least not in the official repos.

I really can't answer your question but I've pinged one of my contacts
at SUSE, I know they don't follow these lists real closely.  It may take
a couple days for them to get back.

ITMT, what version of LXC do you have installed?  All those lxc* files
would have (should have) come from the LXC package.  The only non-lxc
file (loadall.so) is complaining about lxc.so not being there.  Looks
like LXC was not built with lua support to begin with.

> Regards,
> Johannes

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140517/88059977/attachment.sig>


More information about the lxc-devel mailing list