Bug 1131707
| Summary: | lua: /bin/lxc-top:25: module 'alt_getopt' not found | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | slt <sltrash> |
| Component: | lxc | Assignee: | Thomas Moschny <thomas.moschny> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | gnudna, karlthered, lnie, sagarun, thomas.moschny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lxc-1.0.5-5.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-13 06:51:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Thanks for spotting this. Will add the requirement to lua-alt-getopt. Unfortunately this package is currently missing for EPEL7. lxc-1.0.5-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lxc-1.0.5-5.fc20 lxc-1.0.5-5.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/lxc-1.0.5-5.el7 lxc-1.0.5-5.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/lxc-1.0.5-5.el6 lxc-1.0.5-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lxc-1.0.5-5.fc19 lxc-1.0.5-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/lxc-1.0.5-5.fc21 lxc-1.0.5-5.fc20 works Package lxc-1.0.5-5.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lxc-1.0.5-5.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9997/lxc-1.0.5-5.fc21 then log in and leave karma (feedback). Note for EPEL7 even after installing the missing dep lua-alt-getopt i get the following. [gnudna@tesla ~]#lxc-top lua: /usr/share/lua/5.1/lxc.lua:274: attempt to index local 'lines' (a nil value) stack traceback: /usr/share/lua/5.1/lxc.lua:274: in function 'stat_match_get_int' /usr/share/lua/5.1/lxc.lua:297: in function 'stats_get' /usr/bin/lxc-top:162: in function 'container_list_update' /usr/bin/lxc-top:227: in main chunk [C]: ? lxc-1.0.5-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. (In reply to Fedora Update System from comment #13) > lxc-1.0.5-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If > problems still persist, please make note of it in this bug report. Can confirm it is now working as expected for Centos 7 using EPEL 7 package. |
Description of problem: To use lxc-top, one needs to install lua binding for lxc: lua-lxc. But installing it is not enough as lua-alt-getopt is not set as a dependency: Version-Release number of selected component (if applicable): lua-lxc-0.9.0-2.fc20.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: $ sudo lxc-top lua: /bin/lxc-top:25: module 'alt_getopt' not found: no field package.preload['alt_getopt'] no file '/usr/share/lua/5.2/alt_getopt.lua' no file '/usr/share/lua/5.2/alt_getopt/init.lua' no file '/usr/lib64/lua/5.2/alt_getopt.lua' no file '/usr/lib64/lua/5.2/alt_getopt/init.lua' no file './alt_getopt.lua' no file '/usr/lib64/lua/5.2/alt_getopt.so' no file '/usr/lib64/lua/5.2/loadall.so' no file './alt_getopt.so' stack traceback: [C]: in function 'require' /bin/lxc-top:25: in main chunk [C]: in ? Expected results: lxc-top works as expected once lua-alt-getopt.noarch is installed. Additional info: