Re: [Bug 1217730] [NEW] lxc-create help text error

2013-08-30 Thread NeilGreenwood
Thanks Serge, that was exactly the help I was wanting.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1217730] [NEW] lxc-create help text error

2013-08-30 Thread NeilGreenwood
Thanks Serge, that was exactly the help I was wanting.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1217730] [NEW] lxc-create help text error

2013-08-29 Thread Serge Hallyn
Hi,

thanks for submitting this bug.  lxc-create, upstream, has been
converted from a script to a c file (lxc_create.c).  We will
shortly be merging upstream lxc back into saucy, however that
won't go into raring (which you're using) - so this means you have
a choice :)

You were right to look at lxc-create.in. I'll be happy to guide you
through the process, but I'm not sure what you mean by don't know how
to go about making them.  I suspect you're asking about how the
package is created from the source, and specifically how lxc-create
is created from lxc-create.in?  lxc-create is generated by autoconf,
which processes lxc-create.in in order to expand a few configurable
variables (like @DATADIR@).  One way to download the source for
saucy (not sure which way you did it) is

pull-lp-source lxc
cd lxc-0.9.0

The package is in 'quilt 3.0' format, which means changes to any
source need to be done using patches under debian/patches.  The
easiest way for you to do this would be to first create the new
(empty) patch using

quilt new 0015-fix-lxc-create-help-text

then edit lxc-create.in using the command

quilt edit src/lxc/lxc-create.in

After making and saving your changes, you can update the patch
using

quilt refresh

Now debian/patches/0015-fix-lxc-create-help-text contains your patch.
You can simply attach that file to this bug if you like.  If you want
to build the package so as to test it, you can install all the lxc
build dependencies using

sudo apt-get build-dep lxc

then build the package using

debian/rules build  fakeroot debian/rules binary

This will generate .deb files which you can install to test the package.

  status: confirmed
  importance: low


** Changed in: lxc (Ubuntu)
   Importance: Undecided = Low

** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1217730] [NEW] lxc-create help text error

2013-08-29 Thread Serge Hallyn
Hi,

thanks for submitting this bug.  lxc-create, upstream, has been
converted from a script to a c file (lxc_create.c).  We will
shortly be merging upstream lxc back into saucy, however that
won't go into raring (which you're using) - so this means you have
a choice :)

You were right to look at lxc-create.in. I'll be happy to guide you
through the process, but I'm not sure what you mean by don't know how
to go about making them.  I suspect you're asking about how the
package is created from the source, and specifically how lxc-create
is created from lxc-create.in?  lxc-create is generated by autoconf,
which processes lxc-create.in in order to expand a few configurable
variables (like @DATADIR@).  One way to download the source for
saucy (not sure which way you did it) is

pull-lp-source lxc
cd lxc-0.9.0

The package is in 'quilt 3.0' format, which means changes to any
source need to be done using patches under debian/patches.  The
easiest way for you to do this would be to first create the new
(empty) patch using

quilt new 0015-fix-lxc-create-help-text

then edit lxc-create.in using the command

quilt edit src/lxc/lxc-create.in

After making and saving your changes, you can update the patch
using

quilt refresh

Now debian/patches/0015-fix-lxc-create-help-text contains your patch.
You can simply attach that file to this bug if you like.  If you want
to build the package so as to test it, you can install all the lxc
build dependencies using

sudo apt-get build-dep lxc

then build the package using

debian/rules build  fakeroot debian/rules binary

This will generate .deb files which you can install to test the package.

  status: confirmed
  importance: low


** Changed in: lxc (Ubuntu)
   Importance: Undecided = Low

** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1217730] [NEW] lxc-create help text error

2013-08-28 Thread NeilGreenwood
Public bug reported:

There is a typo in the output of
  lxc-create --help

specifically the --lxcpath line has 2 issues:
  1 It should start -P, --lxcpath
  2 It says patch instead of path

$ lxc-create --help
usage: lxc-create -n NAME [-f CONFIG_FILE] [-t TEMPLATE] [FS_OPTIONS] --
 [-P lxcpath] [TEMPLATE_OPTIONS]

where FS_OPTIONS is one of:
  -B none
  -B dir [--dir rootfs_dir]
  -B lvm [--lvname LV_NAME] [--vgname VG_NAME] [--fstype FS_TYPE]
[--fssize FS_SIZE]
  -B btrfs

Create a new container on the system.

Options:
  -n NAMEspecify the name of the container
  -f CONFIG_FILE use an existing configuration file
  -t TEMPLATEuse an accessible template script
  -B BACKING_STORE   alter the container backing store (default: none)
  --lxcpath path specify an alternate container patch (default: 
/var/lib/lxc)
  --lvname LV_NAME   specify the LVM logical volume name
  (default: container name)
  --dir ROOTFS_DIR   specify path for custom rootfs directory location
  --vgname VG_NAME   specify the LVM volume group name (default: lxc)
  --fstype FS_TYPE   specify the filesystem type (default: ext4)
  --fssize FS_SIZE   specify the filesystem size (default: 500M)

To see template-specific options, specify a template. For example:
  lxc-create -t ubuntu -h


I have looked at the package source, and I can see that lxc-create.in
needs the changes, but I don't know how to go about making them. I am
very keen to help if I can.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0-0ubuntu3.4
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Aug 28 08:05:58 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-04-27 (487 days ago)
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: Upgraded to raring on 2013-04-26 (123 days ago)
lxcsyslog:

** Affects: lxc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apparmor apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1217730] [NEW] lxc-create help text error

2013-08-28 Thread NeilGreenwood
Public bug reported:

There is a typo in the output of
  lxc-create --help

specifically the --lxcpath line has 2 issues:
  1 It should start -P, --lxcpath
  2 It says patch instead of path

$ lxc-create --help
usage: lxc-create -n NAME [-f CONFIG_FILE] [-t TEMPLATE] [FS_OPTIONS] --
 [-P lxcpath] [TEMPLATE_OPTIONS]

where FS_OPTIONS is one of:
  -B none
  -B dir [--dir rootfs_dir]
  -B lvm [--lvname LV_NAME] [--vgname VG_NAME] [--fstype FS_TYPE]
[--fssize FS_SIZE]
  -B btrfs

Create a new container on the system.

Options:
  -n NAMEspecify the name of the container
  -f CONFIG_FILE use an existing configuration file
  -t TEMPLATEuse an accessible template script
  -B BACKING_STORE   alter the container backing store (default: none)
  --lxcpath path specify an alternate container patch (default: 
/var/lib/lxc)
  --lvname LV_NAME   specify the LVM logical volume name
  (default: container name)
  --dir ROOTFS_DIR   specify path for custom rootfs directory location
  --vgname VG_NAME   specify the LVM volume group name (default: lxc)
  --fstype FS_TYPE   specify the filesystem type (default: ext4)
  --fssize FS_SIZE   specify the filesystem size (default: 500M)

To see template-specific options, specify a template. For example:
  lxc-create -t ubuntu -h


I have looked at the package source, and I can see that lxc-create.in
needs the changes, but I don't know how to go about making them. I am
very keen to help if I can.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0-0ubuntu3.4
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Aug 28 08:05:58 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-04-27 (487 days ago)
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: Upgraded to raring on 2013-04-26 (123 days ago)
lxcsyslog:

** Affects: lxc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apparmor apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs