Package Details: lxd 2.16-1

Git Clone URL: https://aur.archlinux.org/lxd.git (read-only)
Package Base: lxd
Description: REST API, command line tool and OpenStack integration plugin for LXC.
Upstream URL: https://github.com/lxc/lxd
Keywords: containers lxc lxd
Licenses: Apache
Conflicts: lxd-lts
Submitter: maikoool
Maintainer: maikoool
Last Packager: maikoool
Votes: 28
Popularity: 0.780808
First Submitted: 2016-02-29 11:23
Last Updated: 2017-07-31 09:26

Dependencies (10)

Required by (1)

Sources (7)

Pinned Comments

maikoool commented on 2016-09-01 14:08

If you encounter issues building the package, please ensure you are using the default go compiler from the Arch repositories.

Also ensure the GOPATH environment variable is not set before running makepkg.

Latest Comments

maikoool commented on 2017-04-14 11:28

@pulser done and updated to 2.12.

Thanks for the suggestion

pulser commented on 2017-04-14 10:08

The most recent version of Go appears to require the GOBIN env variable to be defined as well as GOPATH.

Replacing:

GOPATH="$srcdir" make

with

GOPATH="$srcdir" GOBIN="$srcdir"/bin make

within the PKGBUILD resolves this and builds the package successfully.

maikoool commented on 2017-02-23 14:34

@lockheed done.

lockheed commented on 2017-02-23 09:35

Can you please update it to 2.9.2? 2.9.1 has a serious bug: https://github.com/lxc/lxd/issues/2907

maikoool commented on 2017-02-06 11:58

I've received a report from a user unable to build this, the problem seems to be the same as here: https://github.com/niemeyer/gopkg/issues/50

The problem manifests itself as an 'error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301'.

Therefore I've added this workaround to the PKGBUILD file. If anyone thinks this is a bad place/solution for this, please let me know how to solve it properly.

I am aware this can be resolved by users manually, however workarounds like this don't really work on automated buildservers.

dann1 commented on 2017-01-23 15:32

Very good the auto-completion addition, is lxd-lts package going to have this as well?

maikoool commented on 2017-01-22 22:49

@asbachb I've applied your patch, thx!

@ghinriksson: I modified the service file accordingly, thx!

asbachb commented on 2017-01-22 21:54

It would be nice if the lxc auto complete scripts would be part of installation. I already prepared a patch. Feel free to use it: https://gist.github.com/asbachb/19df5a6b9a20b28ddb47c9c38ac514f6

ghinriksson commented on 2017-01-22 12:22

I was experiencing long shutdown/reboot times because systemd could not stop the lxd process.

systemd[1]: Stopping REST API, command line tool and OpenStack integration plugin for LXC....
systemd[1]: lxd.service: State 'stop-final-sigterm' timed out. Killing.
systemd[1]: lxd.service: Killing process 1964 (lxd) with signal SIGKILL.
systemd[1]: Stopped REST API, command line tool and OpenStack integration plugin for LXC..
systemd[1]: lxd.service: Unit entered failed state.
systemd[1]: lxd.service: Failed with result 'timeout'.

By adding KillMode=process under [Service] in the unit file I got better behaviour. I got the line from the ubuntu package service file.

systemd[1]: Stopping REST API, command line tool and OpenStack integration plugin for LXC....
systemd[1]: Stopped REST API, command line tool and OpenStack integration plugin for LXC..

maikoool commented on 2016-10-13 12:14

@anigeo the startup dependency has been removed. I'm a bit short on time, so if someone else edits the Arch Wiki LXD page to explain the new networking and remove the examples for the bundled networking config files, I'll remove those from the package as well.

@urbanzan: thx, dnsmasq has been added as a dependency.

All comments