Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-22 Thread Nikola Kotur
On Wed, 21 May 2014 18:05:44 +0800
coolnodje coolno...@gmail.com wrote:

 I realize there's no template coming with your Debian packaging
 (/usr/share/lxc/templates is empty).
 Was it intentional?

Yes, I don't need templates, so I didn't add them to the package.

In case you do want to build them, add this to debian/control:

https://gist.github.com/kotnik/48ca8d5145854d096a83

 I was also wondering why dpkg made me install dnsmasq-base (how does
 it compare to dnsmasq?) but not dnsmasq, which is needed with for the
 default /etc/default/lxc-net config.

dnsmasq-base package contains the executable and documentation, dnsmasq
is just the tooling needed to run it as a daemon.

-- 
Nikola Kotur

http://blog.kotur.org
https://onename.io/kotnik


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-20 Thread Nikola Kotur
On Fri, 16 May 2014 10:43:11 +0200
Wojciech Arabczyk ara...@gmail.com wrote:

 It would be best, if you'd try to create a deb package from the source
 package in sid, and then install via dpkg. Sorry, but i don't have
 time to provide specific instructions. You'll have to dig it out
 yourself.

If needed, one can use my Debian packaging config here:

https://github.com/kotnik/lxc/tree/debian-1.0.3

That is a clean 1.0.3 version with functioning debian/ package
directory and it builds with python3 but without lua (since I don't
need it). To quickly build and test under wheezy:

dpkg-buildpackage -b -uc -us

-- 
Nikola Kotur

http://blog.kotur.org
https://onename.io/kotnik


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-20 Thread coolnodje
Hi,

you're right on time, I was just beginning to compile lxc from the
master branch and looking at options.
Thanks for the package, it sounds great.

Just to make sure, since I've already tried to install 1.0.3 from source
and didn't get something consistent with the doc: do you get commands
that actually behave like described in linuxcontainers.org?
I mean `lxc-ls --fancy`, `--version` option available, etc... working
like under Ubuntu 1.0.3 package?

cheers

 Nikola Kotur mailto:kotn...@gmail.com
 20 May 2014 17:02
 On Fri, 16 May 2014 10:43:11 +0200

 If needed, one can use my Debian packaging config here:

 https://github.com/kotnik/lxc/tree/debian-1.0.3

 That is a clean 1.0.3 version with functioning debian/ package
 directory and it builds with python3 but without lua (since I don't
 need it). To quickly build and test under wheezy:

 dpkg-buildpackage -b -uc -us

 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 Wojciech Arabczyk mailto:ara...@gmail.com
 16 May 2014 16:43
 It would be best, if you'd try to create a deb package from the source
 package in sid,
 and then install via dpkg. Sorry, but i don't have time to provide
 specific instructions.
 You'll have to dig it out yourself.

 With kind regards,





 -- 
 pozdrawiam
 Wojciech Arabczyk
 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 coolnodje mailto:coolno...@gmail.com
 16 May 2014 11:26
 apt-get remove lxc did the job before compiling 1.0.3.

 there's nothing left in /usr/bin and `which lxc-create` confirms it
 comes from /usr/local/bin

 So I understand, as expected, there shouldn't be any discrepancy
 between the Ubuntu 1.0.3 packaged version and the one I compiled on
 Debian, right?

 Something must have gone wrong then: could the option I used
 --with-distro=debian make a difference during ./configure?

 Also, I'd like to have everything in standard packaged lxc location
 except for the binaries. Would ./configure --prefix=/
 --bindir=/usr/local would do ?
 The INSTALL file in the distrib is really well done and useful but a
 confirmation would be helpful.

 Thanks

 Wojciech Arabczyk mailto:ara...@gmail.com
 15 May 2014 20:06
 Hi,

 have you uninstalled the packaged version of lxc prior to installing
 the version from sources?

 Most probably, the /usr/bin lxc takes precedence to the one you
 installed to /usr/local prefix from the sources,

 cheers,



 coolnodje mailto:coolno...@gmail.com
 15 May 2014 18:34
 Hi,

 I've just compiled1.0.3 from source on Debian 7.5, without trouble.

 But I still get a behaviour that seem closer to v~0.8 that I got from
 apt-get beforehand, than to the version coming with Ubuntu 14.04.

 It's also not consistent with the https://linuxcontainers.org How to
 use it?:
 no `lxc-ls --fancy` option, no --version available, no man page...

 Did I do something wrong when compiling ?

 ./configure --with-distro=debian
 make
 make install
 ldconfig

 cheers
 -nodje
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-20 Thread Nikola Kotur
On Tue, 20 May 2014 17:36:39 +0800
coolnodje coolno...@gmail.com wrote:

 Just to make sure, since I've already tried to install 1.0.3 from
 source and didn't get something consistent with the doc: do you get
 commands that actually behave like described in linuxcontainers.org?
 I mean `lxc-ls --fancy`, `--version` option available, etc... working
 like under Ubuntu 1.0.3 package?

Yes I do:

(platform)root@lab:~# lxc-attach --version
1.0.3

(platform)root@lab:~# lxc-ls --fancy
NAME  STATE  IPV4  IPV6  AUTOSTART  
--
...


-- 
Nikola Kotur

http://blog.kotur.org
https://onename.io/kotnik


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-20 Thread coolnodje
done, this is great and seems to be working fine, at least it's as expected.
I'll copy in some container now and check that everything is all right.

I understand now I wasn't probably enabling enough option during
./configure, but it seemed odd that even the very basic options like
--version would not be enabled.

Thanks a lot

 Nikola Kotur mailto:kotn...@gmail.com
 20 May 2014 17:41
 On Tue, 20 May 2014 17:36:39 +0800

 Yes I do:

 (platform)root@lab:~# lxc-attach --version
 1.0.3

 (platform)root@lab:~# lxc-ls --fancy
 NAME STATE IPV4 IPV6 AUTOSTART
 --
 ...


 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 Nikola Kotur mailto:kotn...@gmail.com
 20 May 2014 17:02
 On Fri, 16 May 2014 10:43:11 +0200

 If needed, one can use my Debian packaging config here:

 https://github.com/kotnik/lxc/tree/debian-1.0.3

 That is a clean 1.0.3 version with functioning debian/ package
 directory and it builds with python3 but without lua (since I don't
 need it). To quickly build and test under wheezy:

 dpkg-buildpackage -b -uc -us

 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 Wojciech Arabczyk mailto:ara...@gmail.com
 16 May 2014 16:43
 It would be best, if you'd try to create a deb package from the source
 package in sid,
 and then install via dpkg. Sorry, but i don't have time to provide
 specific instructions.
 You'll have to dig it out yourself.

 With kind regards,





 -- 
 pozdrawiam
 Wojciech Arabczyk
 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 coolnodje mailto:coolno...@gmail.com
 16 May 2014 11:26
 apt-get remove lxc did the job before compiling 1.0.3.

 there's nothing left in /usr/bin and `which lxc-create` confirms it
 comes from /usr/local/bin

 So I understand, as expected, there shouldn't be any discrepancy
 between the Ubuntu 1.0.3 packaged version and the one I compiled on
 Debian, right?

 Something must have gone wrong then: could the option I used
 --with-distro=debian make a difference during ./configure?

 Also, I'd like to have everything in standard packaged lxc location
 except for the binaries. Would ./configure --prefix=/
 --bindir=/usr/local would do ?
 The INSTALL file in the distrib is really well done and useful but a
 confirmation would be helpful.

 Thanks

 Wojciech Arabczyk mailto:ara...@gmail.com
 15 May 2014 20:06
 Hi,

 have you uninstalled the packaged version of lxc prior to installing
 the version from sources?

 Most probably, the /usr/bin lxc takes precedence to the one you
 installed to /usr/local prefix from the sources,

 cheers,



___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-20 Thread Wojciech Arabczyk
As far as i remember, my hand compilation experience shows, that it is
really necessary
to build against python3 - otherwise all those --fancy options don't work.
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-16 Thread Wojciech Arabczyk
It would be best, if you'd try to create a deb package from the source
package in sid,
and then install via dpkg. Sorry, but i don't have time to provide specific
instructions.
You'll have to dig it out yourself.

With kind regards,


On 16 May 2014 05:26, coolnodje coolno...@gmail.com wrote:

 apt-get remove lxc did the job before compiling 1.0.3.

 there's nothing left in /usr/bin and `which lxc-create` confirms it comes
 from /usr/local/bin

 So I understand, as expected, there shouldn't be any discrepancy between
 the Ubuntu 1.0.3 packaged version and the one I compiled on Debian, right?

 Something must have gone wrong then: could the option I used
 --with-distro=debian make a difference during ./configure?

 Also, I'd like to have everything in standard packaged lxc location
 except for the binaries. Would ./configure --prefix=/ --bindir=/usr/local
 would do ?
 The INSTALL file in the distrib is really well done and useful but a
 confirmation would be helpful.

 Thanks

   Wojciech Arabczyk ara...@gmail.com
  15 May 2014 20:06
 Hi,

 have you uninstalled the packaged version of lxc prior to installing
 the version from sources?

 Most probably, the /usr/bin lxc takes precedence to the one you
 installed to /usr/local prefix from the sources,

 cheers,




 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users




-- 
pozdrawiam
Wojciech Arabczyk
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-16 Thread coolnodje
I'm willing to try but I don't see how a deb package would be different
from the latest source install. What's the idea?
1.0.3-1 seems to be more recent but I doubt it'd be much different from
1.0.3.
How about compiling from git repo HEAD?

thanks
 Wojciech Arabczyk mailto:ara...@gmail.com
 16 May 2014 16:43
 It would be best, if you'd try to create a deb package from the source
 package in sid,
 and then install via dpkg. Sorry, but i don't have time to provide
 specific instructions.
 You'll have to dig it out yourself.

 With kind regards,





 -- 
 pozdrawiam
 Wojciech Arabczyk
 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
 coolnodje mailto:coolno...@gmail.com
 16 May 2014 11:26
 apt-get remove lxc did the job before compiling 1.0.3.

 there's nothing left in /usr/bin and `which lxc-create` confirms it
 comes from /usr/local/bin

 So I understand, as expected, there shouldn't be any discrepancy
 between the Ubuntu 1.0.3 packaged version and the one I compiled on
 Debian, right?

 Something must have gone wrong then: could the option I used
 --with-distro=debian make a difference during ./configure?

 Also, I'd like to have everything in standard packaged lxc location
 except for the binaries. Would ./configure --prefix=/
 --bindir=/usr/local would do ?
 The INSTALL file in the distrib is really well done and useful but a
 confirmation would be helpful.

 Thanks

 Wojciech Arabczyk mailto:ara...@gmail.com
 15 May 2014 20:06
 Hi,

 have you uninstalled the packaged version of lxc prior to installing
 the version from sources?

 Most probably, the /usr/bin lxc takes precedence to the one you
 installed to /usr/local prefix from the sources,

 cheers,



 coolnodje mailto:coolno...@gmail.com
 15 May 2014 18:34
 Hi,

 I've just compiled1.0.3 from source on Debian 7.5, without trouble.

 But I still get a behaviour that seem closer to v~0.8 that I got from
 apt-get beforehand, than to the version coming with Ubuntu 14.04.

 It's also not consistent with the https://linuxcontainers.org How to
 use it?:
 no `lxc-ls --fancy` option, no --version available, no man page...

 Did I do something wrong when compiling ?

 ./configure --with-distro=debian
 make
 make install
 ldconfig

 cheers
 -nodje
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread coolnodje
Hi,

I've just compiled1.0.3 from source on Debian 7.5, without trouble.

But I still get a behaviour that seem closer to v~0.8 that I got from
apt-get beforehand, than to the version coming with Ubuntu 14.04.

It's also not consistent with the https://linuxcontainers.org How to
use it?:
no `lxc-ls --fancy` option, no --version available, no man page...

Did I do something wrong when compiling ?

./configure --with-distro=debian
make
make install
ldconfig

cheers
-nodje
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread Wojciech Arabczyk
Hi,

have you uninstalled the packaged version of lxc prior to installing
the version from sources?

Most probably, the /usr/bin lxc takes precedence to the one you
installed to /usr/local prefix from the sources,

cheers,

On 15 May 2014 12:34, coolnodje coolno...@gmail.com wrote:
 Hi,

 I've just compiled1.0.3 from source on Debian 7.5, without trouble.

 But I still get a behaviour that seem closer to v~0.8 that I got from
 apt-get beforehand, than to the version coming with Ubuntu 14.04.

 It's also not consistent with the https://linuxcontainers.org How to
 use it?:
 no `lxc-ls --fancy` option, no --version available, no man page...

 Did I do something wrong when compiling ?

 ./configure --with-distro=debian
 make
 make install
 ldconfig

 cheers
 -nodje
 ___
 lxc-users mailing list
 lxc-users@lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users



-- 
pozdrawiam
Wojciech Arabczyk
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread coolnodje
apt-get remove lxc did the job before compiling 1.0.3.

there's nothing left in /usr/bin and `which lxc-create` confirms it
comes from /usr/local/bin

So I understand, as expected, there shouldn't be any discrepancy between
the Ubuntu 1.0.3 packaged version and the one I compiled on Debian, right?

Something must have gone wrong then: could the option I used
--with-distro=debian make a difference during ./configure?

Also, I'd like to have everything in standard packaged lxc location
except for the binaries. Would ./configure --prefix=/
--bindir=/usr/local would do ?
The INSTALL file in the distrib is really well done and useful but a
confirmation would be helpful.

Thanks

 Wojciech Arabczyk mailto:ara...@gmail.com
 15 May 2014 20:06
 Hi,

 have you uninstalled the packaged version of lxc prior to installing
 the version from sources?

 Most probably, the /usr/bin lxc takes precedence to the one you
 installed to /usr/local prefix from the sources,

 cheers,



___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users