Package: lxc
Version: 0.7.2-1
Severity: wishlist

Hello,

Thanks for maintaining the LXC package, its appreciated.

I keep /var/lib/lxc on a separate partition, so I have a lost+found to
filter out of lxc-ls.

Also I keep my "pristine ready to deploy" images as tar or tar.gz files
int /var/lib/lxc

So I have junk in the output of lxc-ls

Merely edit /usr/bin/lxc-ls changing one line from:

ls $* $lxcpath

To:

#ls $* $lxcpath
ls $* $lxcpath | grep -v lost+found | grep -v .tar | grep -v .gz

and its good to go.

A better solution would probably be to use find to only list directories
and then traverse them and only display directory names that contain a
config file and a rootfs subdir.  But this is faster and simpler...

Thanks and have a pleasant day!

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lxc depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  libcap2-bin                   1:2.19-3   basic utility programs for using c

lxc suggests no packages.

-- Configuration Files:
/etc/default/lxc changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to