RFC: Comfy - a CLI framework to bring the Ubuntu cloud feeling to snappy Ubuntu Core

Seth Arnold seth.arnold at canonical.com
Wed Jan 14 00:15:43 UTC 2015

On Tue, Jan 13, 2015 at 05:28:04PM -0600, Dustin Kirkland wrote:
> >>>     + ?: groff-base - anyone opinions?
> >>
> >> If you want to ship manpages, I think we need that.
> Alternatively, all Ubuntu manpages are currently readable in HTML on
> manpages.ubuntu.com, and every single manpage .gz file is also hosted
> there, in a very predictable directory structure.
> Moreover, there is a very small, 64-line shell script called dman(1)
> that fetches the .gz on demand into a temporary file, and then pipes
> it into the manpage viewer.  This could be a simple compromise, that
> keeps our Snappy and Comfy images minimal, but still ensures that an
> (Internet connected) admin trying to read some documentation can get
> to it.  Thoughts?
> See:  http://manpg.es/dman

A short snippet from that script:

	if wget -O "$man" "$URL/$DISTRIB_CODENAME/$LOCALE/man$i/$PAGE.$i.gz" 2>/dev/null; then
		man $MAN_ARGS -l "$man" || true

You'll want groff-base, at a minimum, for that "man" command to function

> >>>     + Y: open-vm-tools
> These are needed, if the Comfy or Snappy image is being used as a
> guest virtual machine inside of a VMware environment.  From the
> package description:
> Description-en: Open VMware Tools for virtual machines hosted on VMware (CLI)
>  The Open Virtual Machine Tools (open-vm-tools) project is an open source
>  implementation of VMware Tools. It is a suite of virtualization utilities and
>  drivers to improve the functionality, user experience and administration of
>  VMware virtual machines.

Ubuntu snappy guests may not strictly make sense to administrate
identically with other guests on a VMWare system. e.g., open-vm-tools
provides mechanisms to execute scripts on the server as root without going
through sshd or other more usual execution mechanisms. (This was raised
as a concern during the MIR; I chose to ignore it on the grounds that an
administrator using VMWare hypervisors may prefer to use the mechanism,
and whoever owns the 'hardware', fake or not, really owns the machine.)

I'd only want this package installed if I owned the hypervisor.

> >>>     + Y: patch
> >>
> >> N IMHO.
> >
> > indeed :). changed it to N, but happy to hear different opinions.

I like patch. I also like quilt. It's sometimes nice to be able to quickly
iterate on a problem in a REPL-like environment, and having patch, diff,
quilt, handily available can make that iteration faster.

I propose including socat, netcat, and mosh, in the comfy package set.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150113/4336618f/attachment.pgp>

More information about the snappy-devel mailing list