Skip to content

Fix compatibility with liblxc 4.0.4 and newer#46

Open
aither64 wants to merge 2 commits intolxc:mainfrom
aither64:liblxc-compat
Open

Fix compatibility with liblxc 4.0.4 and newer#46
aither64 wants to merge 2 commits intolxc:mainfrom
aither64:liblxc-compat

Conversation

@aither64
Copy link
Copy Markdown
Contributor

ruby-lxc is broken with LXC 4.0.4 and newer, as two used external functions were removed from liblxc (see #45). This PR makes ruby-lxc work again with the following changes:

  • lxc_config_parse_arch() from liblxc was used in LXC.arch_to_personality(). I don't know what can this method be used for, I've just removed it.
  • lxc_wait_for_pid_status() does nothing special, I've added it's implementation into ruby-lxc.

Fixes #45

It depended on a function from liblxc, which is no longer exported due
to lxc/lxc@63c2a0b

Signed-off-by: Jakub Skokan <jakub.skokan@havefun.cz>
…blxc

Signed-off-by: Jakub Skokan <jakub.skokan@havefun.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

ruby-lxc broken by liblxc 4.0.4: undefined symbol: lxc_config_parse_arch

1 participant