<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in clonehostname</title>
    <link>http://src.iws.cs.ovgu.de/source/rss/lxc/hooks/clonehostname</link>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2005</copyright>
    <generator>Java</generator>
    <item>
        <title>Use LXC_ROOTFS_MOUNT in clonehostname hook
    
    Previously this hook did not work when cloning containers using an overlayfs snapshot as the LXC_ROOTFS_PATH didn't point to the actual filesystem that the container would see. LXC_ROOTFS_MOUNT should be used instead and in fact lxc.container.conf man page says that you usually would want to use the _MOUNT variant.
    
    Signed-off-by: Matt Keeler &lt;mjkeeler7@gmail.com&gt;</title>
        <description>/lxc/hooks/clonehostname - a2a3d25c22381d990e80cbd48a473c967c8f248c</description>
        <pubDate></pubDate>
        <dc:creator>Matt Keeler &lt;mkeeler@users.noreply.github.com&gt;</dc:creator>
    </item>

    <item>
        <title>Reduce duplication in new style configs
    
    This is a rather massive cleanup of config/templates/*
    
    As new templates were added, I've noticed that we pretty much all share
    the tty/pts configs, some capabilities being dropped and most of the
    cgroup configuration. All the userns configs were also almost identical.
    
    As a result, this change introduces two new files:
     - common.conf.in
     - userns.conf.in
    
    Each is included by the relevant &lt;template&gt;.&lt;type&gt;.conf.in templates,
    this means that the individual per-template configs are now overlays on
    top of the default config.
    
    Once we see a specific key becoming popular, we ought to check whether
    it should also be applied to the other templates and if more than 50% of
    the templates have it set to the same value, that value ought to be
    moved to the master config file and then overriden for the templates
    that do not use it.
    
    This change while pretty big and scary, shouldn't be very visible from a
    user point of view, the actual changes can be summarized as:
     - Extend clonehostname to work with Debian based distros and use it for
       all containers.
     - lxc.pivotdir is now set to lxc_putold for all templates, this means
       that instead of using /mnt in the container, lxc will create and use
       /lxc_putold instead. The reason for this is to avoid failures when the
       user bind-mounts something else on top of /mnt.
     - Some minor cgroup limit changes, the main one I remember is
       /dev/console now being writable by all of the redhat based containers.
       The rest of the set should be identical with additions in the per-distro
       ones.
     - Drop binfmtmisc and efivars bind-mounts for non-mountall based
       unpriivileged containers as I assumed they got those from copy/paste
       from Ubuntu and not because they actually need those entries. (If I'm
       wrong, we probably should move those to userns.conf then).
    
    Additional investigation and changes to reduce the config delta between
    distros would be appreciated. In practice, I only expect lxc.cap.drop
    and lxc.mount.entry to really vary between distros (depending on the
    init system, the rest should be mostly common.
    
    Diff from the RFC:
     - Add archlinux to the mix
     - Drop /etc/hostname from the clone hook
    
    Signed-off-by: Stéphane Graber &lt;stgraber@ubuntu.com&gt;
    Acked-by: Serge E. Hallyn &lt;serge.hallyn@ubuntu.com&gt;</title>
        <description>/lxc/hooks/clonehostname - 5b99af0079813347d90c935ea540ed7f96dcea38</description>
        <pubDate></pubDate>
        <dc:creator>Stéphane Graber  &lt;stgraber@ubuntu.com&gt;</dc:creator>
    </item>

    <item>
        <title>add clonehostname hook
    
    This hook script updates the hostname in various files under /etc in the
    cloned container. In order to do so, the old container name is passed in
    the LXC_SRC_NAME environment variable.
    
    Signed-off-by: Dwight Engen &lt;dwight.engen@oracle.com&gt;
    Acked-by: Stéphane Graber &lt;stgraber@ubuntu.com&gt;
    Signed-off-by: Serge Hallyn &lt;serge.hallyn@ubuntu.com&gt;</title>
        <description>/lxc/hooks/clonehostname - 1143ed392d2760e8f7aeee88d570bb0ba151885f</description>
        <pubDate></pubDate>
        <dc:creator>Dwight Engen &lt;dwight.engen@oracle.com&gt;</dc:creator>
    </item>

</channel>
</rss>

