I believe the issue relates to if-pre-up.d/vlan - a comparison is performed
to evaluate the actual device MTU against that of the interface being
provisioned however when actioning the change the raw device name is used
in the ip link command:

if [ -n "$IF_MTU" -a -n "$IF_VLAN_RAW_DEVICE" ]; then
    CUR_DEV_MTU=$(cat /sys/class/net/$IF_VLAN_RAW_DEVICE/mtu)
    # increase the vlan raw device mtu if needed
    if [ -n "$CUR_DEV_MTU" ] && [ $CUR_DEV_MTU -lt $IF_MTU ]; then
*        ip link set dev $IF_VLAN_RAW_DEVICE mtu $IF_MTU*
    fi
fi

Shouldn't this be:

if [ -n "$IF_MTU" -a -n "$IF_VLAN_RAW_DEVICE" ]; then
    CUR_DEV_MTU=$(cat /sys/class/net/$IF_VLAN_RAW_DEVICE/mtu)
    # increase the vlan raw device mtu if needed
    if [ -n "$CUR_DEV_MTU" ] && [ $CUR_DEV_MTU -lt $IF_MTU ]; then
*        ip link set dev $IFACE mtu $IF_MTU*
    fi
fi

I would be happy to submit a patch if i knew where

On Mon, 12 Sep 2016 18:35:29 -0400 Dan Streetman <
dan.street...@canonical.com> wrote:
> sorry, there was a problem with the last patch; it didn't work if the
> vlan interface already existed, even if the raw device mtu was too
> low.  this updated debdiff checks and increases the dev mtu even if
> the vlan interface already exists.

-- 





*0333 332 0000  |  www.x-on.co.uk <http://www.x-on.co.uk>  |   ** 
<https://www.linkedin.com/company/x-on>   <https://www.facebook.com/XonTel> 
  <https://twitter.com/xonuk> *


X-on
is a trading name of Storacall 
Technology Ltd a limited company registered in
England and Wales.


Registered Office : Avaland House, 110 London Road, Apsley, Hemel 
Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.

The 
information in this e-mail is confidential and for use by the addressee(s)

only. If you are not the intended recipient, please notify X-on immediately 
on +44(0)333 332 0000 and delete the
message from your computer. If you are 
not a named addressee you must not use,
disclose, disseminate, distribute, 
copy, print or reply to this email. Views
or opinions expressed by an 
individual
within this email may not necessarily
reflect the views of X-on 
or its associated companies. Although X-on routinely
screens for viruses, 
addressees should scan this email and any attachments
for
viruses. X-on 
makes no representation or warranty as to the absence of viruses
in this 
email or any attachments.










Reply via email to