diff --git a/elements/ubuntu-common/README.rst b/elements/ubuntu-common/README.rst new file mode 100644 index 00000000..c50160bd --- /dev/null +++ b/elements/ubuntu-common/README.rst @@ -0,0 +1,5 @@ +ubuntu-common +============= + +This element holds configuration and scripts that are common for all +Ubuntu images. diff --git a/elements/base/install.d/80-disable-rfc3041 b/elements/ubuntu-common/install.d/80-disable-rfc3041 similarity index 64% rename from elements/base/install.d/80-disable-rfc3041 rename to elements/ubuntu-common/install.d/80-disable-rfc3041 index b57ccbfb..af671c23 100755 --- a/elements/base/install.d/80-disable-rfc3041 +++ b/elements/ubuntu-common/install.d/80-disable-rfc3041 @@ -21,7 +21,17 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then fi set -e -# This will disable the disable Privacy extensions for IPv6 (RFC3041) +# This will disable the privacy extensions for IPv6 (RFC4941) +# (RFC4941 obsoletes RFC3041) +# +# Note that depending on the implementation of how the sysctl +# settings are applied there is a race condition: there might be +# a small time-frame where the original Ubuntu settings from +# /etc/sysctl.d/10-ipv6-privacy.conf are already applied but the +# new settings from /etc/sysctl.d/99-cloudimg-ipv6.conf +# not yet. +# If during this time all started network interfaces will +# use the privacy extension. cat > /etc/sysctl.d/99-cloudimg-ipv6.conf <