Commit graph

56 commits

Author SHA1 Message Date
Jafar Al-Gharaibeh c0712e16d6 Fix: undefined symbol error when loading lxc.so
lxc_strerror() doesn't not exist, it is nothing more than an idea. 
LXC folks don't have plans to add it any time soon

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2016-10-13 13:07:05 -05:00
Andre Nathan b262a3f5ad Avoid rb_std{in,out,err} name clash with rubinius 2016-01-04 11:22:21 -02:00
Andre Nathan 9bbf0444a7 Raise errors for attach options 2014-09-24 10:43:18 -03:00
Andre Nathan 10ff154014 Better check for std{in,out,err} attach options 2014-09-24 10:28:22 -03:00
Andre Nathan c2518f1a7a Merge pull request #20 from NiR-/fix-lxc-devel
Correcting compilation for the last lxc development version.
2014-06-09 09:35:45 -03:00
NiR- 25b91f2c7f Adding all possible states in the doc and clarifying what keys method does. 2014-06-09 09:22:38 -03:00
NiR- 8e8d8cc253 Correcting compilation for the last lxc development version. 2014-06-09 08:21:45 +02:00
NiR- 2b9f45f8a5 Adding early nil return in config_item (when value is empty). 2014-06-06 10:31:39 +02:00
NiR- 755609c059 Fix clear_config method. 2014-06-06 10:24:18 +02:00
Andrea C. Granata d7d3a0aed1 Allow passing of bdevspecs to Container#create 2014-05-20 09:21:42 -03:00
John Keiser 645833c77a Allow start(:single_arg => value) 2014-03-27 07:47:14 -07:00
Andre Nathan 8593a693ae Fix RETURN_WITHOUT_GVL macros 2014-03-27 09:01:33 -03:00
Andre Nathan a10124c8fa Style fixes 2014-03-26 17:48:49 -03:00
John Keiser e72d5103e3 Get new GVL code working on 1.8.7 2014-03-26 17:47:58 -03:00
John Keiser 6ba765e52e Get rid of warnings, use non-deprecated Ruby function 2014-03-26 17:47:58 -03:00
John Keiser 8514f53b99 Fix LXC.list_containers to release GIL 2014-03-26 17:47:58 -03:00
John Keiser acc636b1c8 Stop blocking ruby during long-running operations 2014-03-26 17:47:58 -03:00
Andre Nathan fd75ebc9a2 Don't use pointer after free() 2014-03-06 10:19:17 -03:00
Andre Nathan f57ba07492 Document :wait in the accepted options of #attach 2014-02-11 08:52:40 -02:00
Andre Nathan a453b51005 Add Container#running_config_item 2014-01-28 15:08:10 -02:00
Andre Nathan 4a61f87c51 Define missing constants
LXC_CLONE_KEEPBDEVTYPE and LXC_CLONE_MAYBE_SNAPSHOT
2014-01-16 16:44:23 -02:00
Andre Nathan 9a65ddf036 Use symbols for container states 2014-01-14 09:24:00 -02:00
Andre Nathan 0c3abf0de2 Remove LXC.default_config_path, add LXC.global_config_item
Follows lxc@593e84786e2b4709059989bee489deab5c923779
2014-01-14 08:51:22 -02:00
Andre Nathan 339de1a81a Support large bdevs on 32-bit
This change follows lxc@d659597e03725411c366c42dc02c64c0c35a167a.
2014-01-09 08:33:25 -02:00
Andre Nathan 97b544a041 Merge pull request #5 from ranjib/fix_extconfig
[BUGFIX] Drop shared library inside lxc folder
2014-01-03 18:49:30 -08:00
Ranjib Dey b077728c7d drop shared library inside lxc folder 2014-01-03 18:22:19 -08:00
Jeremiah Snapp 960d7b9975 Add ability to set backingstore type when creating a container 2014-01-03 19:01:06 -05:00
Andre Nathan 7b16ea1e3d Add (still incomplete) RDoc. 2013-12-27 15:44:24 -02:00
Andre Nathan f2a6812c80 Add Container#rename 2013-12-23 15:59:41 -02:00
Andre Nathan 03eae61c02 LXC_CLONE_COPYHOOKS is gone 2013-12-23 15:15:25 -02:00
Andre Nathan d8f5613034 Fix handling of missing options hash in #attach 2013-12-23 12:48:13 -02:00
Andre Nathan 71eb2623f3 Fix index variable signedness 2013-12-23 12:13:28 -02:00
Andre Nathan 9365da3111 Fix freeing list of running containers 2013-12-23 12:03:54 -02:00
Andre Nathan 4fc49d6526 Remove debug prints 2013-12-06 14:59:09 -02:00
Andre Nathan 80529bcf79 Standardizing project structure 2013-12-06 14:59:02 -02:00
Andre Nathan d35c0be1e4 Fix cloning and return a Container instance 2013-12-06 14:00:06 -02:00
Andre Nathan 057f8b3390 Just test for sys{read,write} in is_io() 2013-12-06 10:38:58 -02:00
Andre Nathan 892e1637b1 Accept string arguments 2013-12-06 09:37:29 -02:00
Andre Nathan 5c1d459b67 Fix argv 2013-12-06 09:36:51 -02:00
Andre Nathan a4fc5df066 Fix string array conversion to C, simplify freeing 2013-12-06 09:29:17 -02:00
Andre Nathan c75faed9ec Adding LXC::arch_to_personality and LXC::run_shell 2013-12-06 08:51:09 -02:00
Andre Nathan 8f86513c23 Fix LXC::run_command argument count 2013-12-05 17:29:01 -02:00
Andre Nathan 80ccf89619 Fix IO object test 2013-12-05 17:16:26 -02:00
Andre Nathan 9d78dac57e Implement LXC::run_command 2013-12-05 16:40:12 -02:00
Andre Nathan d06cb87dee Define constants in LXC, not in LXC::Container 2013-12-05 16:39:25 -02:00
Andre Nathan 58bbb4cb41 Fix lxc_attach payload argument 2013-12-05 16:38:50 -02:00
Andre Nathan 2d86d77cd4 Fix lxc_attach argument parsing 2013-12-05 16:36:29 -02:00
Andre Nathan 1e4f1802bd Fix handling of LXC::Container#start argument 2013-12-05 15:27:43 -02:00
Andre Nathan d6a14c0e96 Deal with possible array values 2013-12-05 14:49:05 -02:00
Andre Nathan 766ff07743 No setter syntax for methods taking two arguments 2013-12-05 11:29:30 -02:00