[lxc-devel] [PATCH] lxc-ls: Update lxc.group handling

Michael H. Warfield mhw at WittsEnd.com
Fri May 2 17:08:28 UTC 2014


On Fri, 2014-05-02 at 16:06 +0000, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgraber at ubuntu.com):

...

> > This would be pretty redundant as the column right on the left of
> > AUTOSTART is GROUP which happens to show exactly what used to be right
> > next to the YES in the AUTOSTART column.
> > 
> > So the new output is:
> > NAME           STATE    IPV4  IPV6  GROUPS  AUTOSTART
> > -----------------------------------------------------
> > network        STOPPED  -     -     b, c    YES
> > nsec-internet  STOPPED  -     -     a, d    YES
> > precise-gui    STOPPED  -     -     a, b    YES
> > 
> > What you suggest would show:
> > NAME           STATE    IPV4  IPV6  GROUPS  AUTOSTART
> > -----------------------------------------------------
> > network        STOPPED  -     -     b, c    YES (b, c)
> > nsec-internet  STOPPED  -     -     a, d    YES (a, d)
> > precise-gui    STOPPED  -     -     a, b    YES (a, b)
> > 
> > 
> > So just adding duplication without any real value that I can see.

> Agreed, so how about showing autostart='GROUP' in those
> cases, and autostart='YES' only if no groups are specified?

Or "BY-GROUP".  That makes sense.  Just something to disambiguate what
the end user is seeing. 

Further down the road, we might pick up the autoboot groups, when
implemented, and filter them to be "YES" and others to be "BY-GROUP".

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140502/c162f083/attachment-0001.sig>


More information about the lxc-devel mailing list