RFC: Comfy - a CLI framework to bring the Ubuntu cloud feeling to snappy Ubuntu Core
Steve Langasek
steve.langasek at canonical.com
Mon Feb 2 12:21:21 UTC 2015
On Mon, Feb 02, 2015 at 11:46:57AM +0100, Martin Pitt wrote:
> There's quite a bit more, though. For example, postinst scripts won't
> work; in other words, you can't enable sysvinit scripts or systemd
> units or get DB initialization or similar stuff;
That's true, but orthogonal to Scott's proposal; changes to the filesystem
layout don't change whether/how we run maintainer scripts on snap package
install.
> many servers won't work because they can't put their sockets into /var so
> that other stuff can see it (normally it's r/o, and if they declare a
> private overlay it will be invisible outside).
Servers are allowed to export a network socket. Frameworks would be allowed
to export a filesystem socket to snaps depending on that framework.
> Pretty much everything trying to write into /etc/ will not work as it's
> either r/o or doesn't work correctly due to our file bind mounts.
No; the snap would have an overlayfs in place, any writes to /etc would
happen in the snap package's overlay, not to the underlying read-only root.
Attempts to write to the handful of bind-mounted files might fail depending
on the write mechanism, that much is true.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150202/7bbdacd8/attachment.pgp>
More information about the snappy-devel
mailing list