[{"id":1798153,"web_url":"http://patchwork.ozlabs.org/comment/1798153/","msgid":"<20171102180741.GZ27530@ovn.org>","list_archive_url":null,"date":"2017-11-02T18:07:41","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":67603,"url":"http://patchwork.ozlabs.org/api/people/67603/","name":"Ben Pfaff","email":"blp@ovn.org"},"content":"On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n> On certain Ubuntu systems running the 4.4 based kernel depmod\n> may not correctly search for module dependencies when newer\n> openvswitch kernel modules have been installed in the extra\n> directory at /lib/modules/$(uname -r)/extra.  A symptom of\n> this are the following messages in system log that can be\n> printed with the dmesg command:\n\nThanks for figuring out the problem and documenting a fix.  I really\nappreciate documentation patches.\n\n> +        #!/bin/sh\n> +\n> +        check_ubuntu_depmod_config() {\n> +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n> +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n> +                    then\n> +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n> +                    /sbin/depmod -a\n> +                fi\n> +            fi\n> +        }\n\nI wonder about the details of this particular fix.  Usually, when there\nis a configuration file in a .d directory, like depmod.d, it is possible\nto add more files to the same directory that also get used for\nconfiguration.  When that works, it is usually better to add files to\nthe directory rather than changing existing files, because it behaves\nbetter on upgrade.  So, in this case, I wonder whether it is possible to\nadd a new file that would have something like:\n\n    search extra\n\nor\n\n    override kmod * extra\n\nThe latter is suggested by depmod.d(5).","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySY3B6GRwz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 05:07:50 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 2B995C9A;\n\tThu,  2 Nov 2017 18:07:48 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 9279DC97\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 18:07:47 +0000 (UTC)","from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 35BF6196\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 18:07:47 +0000 (UTC)","from ovn.org (unknown [208.91.3.26])\n\t(Authenticated sender: blp@ovn.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id CD26EC5A77;\n\tThu,  2 Nov 2017 19:07:44 +0100 (CET)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"208.91.3.26","Date":"Thu, 2 Nov 2017 11:07:41 -0700","From":"Ben Pfaff <blp@ovn.org>","To":"Greg Rose <gvrose8192@gmail.com>","Message-ID":"<20171102180741.GZ27530@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798160,"web_url":"http://patchwork.ozlabs.org/comment/1798160/","msgid":"<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>","list_archive_url":null,"date":"2017-11-02T18:12:07","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":69140,"url":"http://patchwork.ozlabs.org/api/people/69140/","name":"Gregory Rose","email":"gvrose8192@gmail.com"},"content":"On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n> On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n> > On certain Ubuntu systems running the 4.4 based kernel depmod\n> > may not correctly search for module dependencies when newer\n> > openvswitch kernel modules have been installed in the extra\n> > directory at /lib/modules/$(uname -r)/extra.  A symptom of\n> > this are the following messages in system log that can be\n> > printed with the dmesg command:\n>\n> Thanks for figuring out the problem and documenting a fix.  I really\n> appreciate documentation patches.\n>\n> > +        #!/bin/sh\n> > +\n> > +        check_ubuntu_depmod_config() {\n> > +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n> > +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n> > +                    then\n> > +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n> > +                    /sbin/depmod -a\n> > +                fi\n> > +            fi\n> > +        }\n>\n> I wonder about the details of this particular fix.  Usually, when there\n> is a configuration file in a .d directory, like depmod.d, it is possible\n> to add more files to the same directory that also get used for\n> configuration.  When that works, it is usually better to add files to\n> the directory rather than changing existing files, because it behaves\n> better on upgrade.  So, in this case, I wonder whether it is possible to\n> add a new file that would have something like:\n>\n>      search extra\n>\n> or\n>\n>      override kmod * extra\n>\n> The latter is suggested by depmod.d(5).\n>\nI'll give it a try and get back with the results.\n\nThanks!","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Gw7sRB7D\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySY8T0G5qz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 05:12:24 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 80D3DCBE;\n\tThu,  2 Nov 2017 18:12:14 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id C90D7AAC\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 18:12:12 +0000 (UTC)","from mail-pg0-f66.google.com (mail-pg0-f66.google.com\n\t[74.125.83.66])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 13550196\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 18:12:11 +0000 (UTC)","by mail-pg0-f66.google.com with SMTP id a192so294188pge.9\n\tfor <dev@openvswitch.org>; Thu, 02 Nov 2017 11:12:10 -0700 (PDT)","from gizo.bigblue.kilchis.com (184-100-245-222.ptld.qwest.net.\n\t[184.100.245.222]) by smtp.gmail.com with ESMTPSA id\n\th67sm7891485pfh.74.2017.11.02.11.12.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 11:12:09 -0700 (PDT)"],"X-Greylist":"whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:references:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-transfer-encoding;\n\tbh=NhKRbNLBqKr47BXEuqWuZqwpQEb1vKVw4ld7NxkjEU4=;\n\tb=Gw7sRB7D0ODbfz2X6BKesJMSbWeEjXUDpJTaodJcw3StOEt6ptSLzC11LAeNSbVfYx\n\t3Iyk6w4+hzXpC3fHDfzFony+rLyMRluu6ZIq9P8VBBl3W/Xk4MlMwz1WxDZGs4ln4AlJ\n\t9/ZWNKlXvGAz4wPlTcJ9hD9KHYDAvHn3GpQIFI5Rf8XGEhcKyhyUa+Yrv35r6Qaaosw0\n\tYomspEmETrZf21cen5jfOuEviWn6NpOPj1Z6kzRG9HOcgZrk/5qH0azhO4L57s/OIj+c\n\taeI/k+v3VD1KyEvFxOH0iMw6NFq8zAIRTtmUQQX3pNOwGRGEvGwTzGMuj7uAhGRw0NRq\n\tTfAg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:references:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-transfer-encoding;\n\tbh=NhKRbNLBqKr47BXEuqWuZqwpQEb1vKVw4ld7NxkjEU4=;\n\tb=IhXFzg4KwisUgFsFaYcaB1EHl2GJZnNfBb2USYu0A+8tOtKChkXMEV3VmClYxsFQcc\n\tzb6sP3KGF7fMJitWd5xnRVWMWEyCqQgVVBs+VaLteFFPCquvQOlYA2P34W2S/c1maGi8\n\trjqXg4CZzgA5elTTwFrIpdDDzWaI2b5lnNCsb/tvOnjko+Wzf7PspqQOgitNxPl7RbDm\n\ty4v+eJbWv5PmtU5lWND71PMWZUxAppM5KNK/cLS3Dk7PEEEjw5gys2ovmKhvQXn7cTez\n\tHomc/4UE3NEidtBhCyCLrL0J48PveiLlqkVydyZry7kFLS2zlJnT+v+/jX4iwA3LR6cp\n\t1aZQ==","X-Gm-Message-State":"AMCzsaXqz8WjwHv0wiK2bR8Abu9+ep536F/8q85T8o55acZVUB6r6VnK\n\tgWlP5S2NKHZeJPH8Rraj8RIg/AR4","X-Google-Smtp-Source":"ABhQp+SOnZD82O5GlMIMjcUYbC1oBwBsAK3qok6AWFDpdwAqriTcItT0pmOO0sj0ONGvyHtSS5Z2Lw==","X-Received":"by 10.98.4.67 with SMTP id 64mr4750177pfe.214.1509646330060;\n\tThu, 02 Nov 2017 11:12:10 -0700 (PDT)","From":"Greg Rose <gvrose8192@gmail.com>","To":"Ben Pfaff <blp@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>","Message-ID":"<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>","Date":"Thu, 2 Nov 2017 11:12:07 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.1.0","MIME-Version":"1.0","In-Reply-To":"<20171102180741.GZ27530@ovn.org>","X-Spam-Status":"No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, \n\tRCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798243,"web_url":"http://patchwork.ozlabs.org/comment/1798243/","msgid":"<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","list_archive_url":null,"date":"2017-11-02T19:55:13","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":69140,"url":"http://patchwork.ozlabs.org/api/people/69140/","name":"Gregory Rose","email":"gvrose8192@gmail.com"},"content":"On 11/02/2017 11:12 AM, Greg Rose wrote:\n> On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n>> On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n>> > On certain Ubuntu systems running the 4.4 based kernel depmod\n>> > may not correctly search for module dependencies when newer\n>> > openvswitch kernel modules have been installed in the extra\n>> > directory at /lib/modules/$(uname -r)/extra.  A symptom of\n>> > this are the following messages in system log that can be\n>> > printed with the dmesg command:\n>>\n>> Thanks for figuring out the problem and documenting a fix.  I really\n>> appreciate documentation patches.\n>>\n>> > +        #!/bin/sh\n>> > +\n>> > +        check_ubuntu_depmod_config() {\n>> > +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n>> > +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n>> > +                    then\n>> > +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n>> > +                    /sbin/depmod -a\n>> > +                fi\n>> > +            fi\n>> > +        }\n>>\n>> I wonder about the details of this particular fix.  Usually, when there\n>> is a configuration file in a .d directory, like depmod.d, it is possible\n>> to add more files to the same directory that also get used for\n>> configuration.  When that works, it is usually better to add files to\n>> the directory rather than changing existing files, because it behaves\n>> better on upgrade.  So, in this case, I wonder whether it is possible to\n>> add a new file that would have something like:\n>>\n>>      search extra\n\nThis works if put in a separate file such as /etc/depmod.d/ovs-search-path.conf\nor something else.  Suggested names are welcome.  It also works if the\ninstructions already in place to create the /etc/depmod.d/openvswitch.conf\nfile are amended so that the first line of the file is 'search extra'.\n\nLike this:\n\nsearch extra\noverride * * extra\noverride * * weak-updates\n\n>>\n>> or\n>>\n>>      override kmod * extra\n\nDoesn't work.\n\n>>\n>> The latter is suggested by depmod.d(5).\n>>\n> I'll give it a try and get back with the results.\n> \n> Thanks!\n\nLet me know what the preference is and I'll spin up a V2 of the patch.\n\nThanks,\n\n- Greg","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oKyWtfh8\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yScXT36rDz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 07:44:57 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 6D835D85;\n\tThu,  2 Nov 2017 19:55:18 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 61C85D82\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 19:55:17 +0000 (UTC)","from mail-pf0-f194.google.com (mail-pf0-f194.google.com\n\t[209.85.192.194])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 21EB1E1\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 19:55:17 +0000 (UTC)","by mail-pf0-f194.google.com with SMTP id b85so450332pfj.13\n\tfor <dev@openvswitch.org>; Thu, 02 Nov 2017 12:55:17 -0700 (PDT)","from gizo.bigblue.kilchis.com (184-100-245-222.ptld.qwest.net.\n\t[184.100.245.222]) by smtp.gmail.com with ESMTPSA id\n\tg16sm8370684pfd.87.2017.11.02.12.55.14\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 12:55:15 -0700 (PDT)"],"X-Greylist":"whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:cc:references:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=ZHJiAFsKlB768E+xzbGEl26bafRSUD9k4tod1LbDBlY=;\n\tb=oKyWtfh8wX2A3jY2YqfPh23+AFYss5CyTWX79YUU32GU1f9PkPfJLFMEuW7cxw0sjf\n\tdC+TdRw/UdHCxq2kZ7Mt6oTcWh9JvhVgJ7sUoXrtj9HWFIcQ+ZLsdY1ZBiKTd4QFfhEs\n\tDOwQZkcxDYPrZoE3cM2zBRwOQbHPL5kFGX0wD7rv/cx4A72Baw7RpiTn0oopnQzYKJPt\n\tmOYo3/C3lQgnxewtnfElWVuMwDdWPkiidgooBGle/LqcCd/rNWoliFE2XBt3CzdwsjZE\n\tMHtfvfBGl5NcBY6tm8Zk9i3KC/L4Yz2uu2wy6KL8n4+c2CjfIsFyotBKFCEkj3Wy848M\n\tE0KA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:cc:references:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=ZHJiAFsKlB768E+xzbGEl26bafRSUD9k4tod1LbDBlY=;\n\tb=UjjbRwleuMOdaxoU2T38wMSsGjReyPtR/1Z6+TC/qmSDZ+MFZu0+Cy689xMaeaJmSK\n\tJ6b/hP33ihppgadBuQiUezHa1iECp+H6ikNZUh0055wgNEacl7Rq8fPr0Sm/BIr/hbt+\n\tKjGjuDFoZ1pwiF/pHLj22XThwsB5Nrmbxs7gtdwBigLlhNhCgBlTrslDpxI6UKYfCLo0\n\txf49GJTlWshCzBYwgrae+sSa2vszmcrR/o+2xfx74oJd06kmq1DKS7VYa4pyr+iLxpfS\n\ttsCnmk6VrckKq4Wce/HEHrflEcA/bjdHXbyRq+qReP2ZS1l3ugGOieZ+VyGGtkZKTFSg\n\tRwog==","X-Gm-Message-State":"AMCzsaUaCZC/nDquugRe1q4ScvxSi/rNr0BcCAWl6A+LttwN+SzgKhA+\n\twLNrea1jWMyHuy68FbpVpBNLQhp0","X-Google-Smtp-Source":"ABhQp+SX7WrhnXD22zCWyW4cm3x5n32DmtEQGESFgWbHvvzB400QCGgYCshU6q9z6IAcYFqu2m3HRw==","X-Received":"by 10.98.60.198 with SMTP id b67mr4999853pfk.163.1509652516217; \n\tThu, 02 Nov 2017 12:55:16 -0700 (PDT)","From":"Greg Rose <gvrose8192@gmail.com>","To":"Ben Pfaff <blp@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>\n\t<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>","Message-ID":"<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","Date":"Thu, 2 Nov 2017 12:55:13 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.1.0","MIME-Version":"1.0","In-Reply-To":"<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>","Content-Language":"en-US","X-Spam-Status":"No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, \n\tRCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798246,"web_url":"http://patchwork.ozlabs.org/comment/1798246/","msgid":"<20171102200955.GN27530@ovn.org>","list_archive_url":null,"date":"2017-11-02T20:09:55","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":67603,"url":"http://patchwork.ozlabs.org/api/people/67603/","name":"Ben Pfaff","email":"blp@ovn.org"},"content":"On Thu, Nov 02, 2017 at 12:55:13PM -0700, Greg Rose wrote:\n> On 11/02/2017 11:12 AM, Greg Rose wrote:\n> >On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n> >>On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n> >>> On certain Ubuntu systems running the 4.4 based kernel depmod\n> >>> may not correctly search for module dependencies when newer\n> >>> openvswitch kernel modules have been installed in the extra\n> >>> directory at /lib/modules/$(uname -r)/extra.  A symptom of\n> >>> this are the following messages in system log that can be\n> >>> printed with the dmesg command:\n> >>\n> >>Thanks for figuring out the problem and documenting a fix.  I really\n> >>appreciate documentation patches.\n> >>\n> >>> +        #!/bin/sh\n> >>> +\n> >>> +        check_ubuntu_depmod_config() {\n> >>> +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n> >>> +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n> >>> +                    then\n> >>> +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n> >>> +                    /sbin/depmod -a\n> >>> +                fi\n> >>> +            fi\n> >>> +        }\n> >>\n> >>I wonder about the details of this particular fix.  Usually, when there\n> >>is a configuration file in a .d directory, like depmod.d, it is possible\n> >>to add more files to the same directory that also get used for\n> >>configuration.  When that works, it is usually better to add files to\n> >>the directory rather than changing existing files, because it behaves\n> >>better on upgrade.  So, in this case, I wonder whether it is possible to\n> >>add a new file that would have something like:\n> >>\n> >>     search extra\n> \n> This works if put in a separate file such as /etc/depmod.d/ovs-search-path.conf\n> or something else.  Suggested names are welcome.  It also works if the\n> instructions already in place to create the /etc/depmod.d/openvswitch.conf\n> file are amended so that the first line of the file is 'search extra'.\n> \n> Like this:\n> \n> search extra\n> override * * extra\n> override * * weak-updates\n\nI forgot we already had instructions for that.  It seems easiest to just\nadd the extra line there, then.","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yScZL5FLWz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 07:46:34 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 93307D74;\n\tThu,  2 Nov 2017 20:10:03 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id BB932CD9\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 20:10:02 +0000 (UTC)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 459D3463\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 20:10:02 +0000 (UTC)","from ovn.org (unknown [208.91.3.26])\n\t(Authenticated sender: blp@ovn.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 22B08A80D2;\n\tThu,  2 Nov 2017 21:09:58 +0100 (CET)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"208.91.3.26","Date":"Thu, 2 Nov 2017 13:09:55 -0700","From":"Ben Pfaff <blp@ovn.org>","To":"Greg Rose <gvrose8192@gmail.com>","Message-ID":"<20171102200955.GN27530@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>\n\t<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>\n\t<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798247,"web_url":"http://patchwork.ozlabs.org/comment/1798247/","msgid":"<a86bbd7f-32ee-834b-faaf-82792df86ead@gmail.com>","list_archive_url":null,"date":"2017-11-02T20:13:22","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":69140,"url":"http://patchwork.ozlabs.org/api/people/69140/","name":"Gregory Rose","email":"gvrose8192@gmail.com"},"content":"On 11/02/2017 01:09 PM, Ben Pfaff wrote:\n> On Thu, Nov 02, 2017 at 12:55:13PM -0700, Greg Rose wrote:\n>> On 11/02/2017 11:12 AM, Greg Rose wrote:\n>>> On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n>>>> On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n>>>>> On certain Ubuntu systems running the 4.4 based kernel depmod\n>>>>> may not correctly search for module dependencies when newer\n>>>>> openvswitch kernel modules have been installed in the extra\n>>>>> directory at /lib/modules/$(uname -r)/extra.  A symptom of\n>>>>> this are the following messages in system log that can be\n>>>>> printed with the dmesg command:\n>>>>\n>>>> Thanks for figuring out the problem and documenting a fix.  I really\n>>>> appreciate documentation patches.\n>>>>\n>>>>> +        #!/bin/sh\n>>>>> +\n>>>>> +        check_ubuntu_depmod_config() {\n>>>>> +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n>>>>> +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n>>>>> +                    then\n>>>>> +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n>>>>> +                    /sbin/depmod -a\n>>>>> +                fi\n>>>>> +            fi\n>>>>> +        }\n>>>>\n>>>> I wonder about the details of this particular fix.  Usually, when there\n>>>> is a configuration file in a .d directory, like depmod.d, it is possible\n>>>> to add more files to the same directory that also get used for\n>>>> configuration.  When that works, it is usually better to add files to\n>>>> the directory rather than changing existing files, because it behaves\n>>>> better on upgrade.  So, in this case, I wonder whether it is possible to\n>>>> add a new file that would have something like:\n>>>>\n>>>>      search extra\n>>\n>> This works if put in a separate file such as /etc/depmod.d/ovs-search-path.conf\n>> or something else.  Suggested names are welcome.  It also works if the\n>> instructions already in place to create the /etc/depmod.d/openvswitch.conf\n>> file are amended so that the first line of the file is 'search extra'.\n>>\n>> Like this:\n>>\n>> search extra\n>> override * * extra\n>> override * * weak-updates\n> \n> I forgot we already had instructions for that.  It seems easiest to just\n> add the extra line there, then.\n> \n\nWill do.  Thanks.","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"L1bciGfR\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yScbN4t0Fz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 07:47:28 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 2C41BE3A;\n\tThu,  2 Nov 2017 20:13:32 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 26D63E33\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 20:13:31 +0000 (UTC)","from mail-pf0-f179.google.com (mail-pf0-f179.google.com\n\t[209.85.192.179])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id D94D0463\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 20:13:30 +0000 (UTC)","by mail-pf0-f179.google.com with SMTP id t188so487511pfd.10\n\tfor <dev@openvswitch.org>; Thu, 02 Nov 2017 13:13:30 -0700 (PDT)","from gizo.bigblue.kilchis.com (184-100-245-222.ptld.qwest.net.\n\t[184.100.245.222]) by smtp.gmail.com with ESMTPSA id\n\t77sm8156182pfl.133.2017.11.02.13.13.28\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 13:13:28 -0700 (PDT)"],"X-Greylist":"whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=lpLtmIi1aDcy+JhDMRajXW4JgSZqrOBAKSfGEGmRmkg=;\n\tb=L1bciGfRyQQsnM8+rcKkxwpBdk1BIbS5zwLPw2a+khz7UigLTB8DopxM7tB0ti63Mm\n\tsSdrOvm9Prb0HKif6N4WE8i6gQCja85GkZGWMKy0L7KDWPX4WXH52JsOM8KAmqjHSTLU\n\tE7YtqHRHctQnic2XAS5jsBX4QMWx3YLf4LctTZjqO/4QasprkmYPRyar9AQI3+8QO4GZ\n\tQb3dxDbhxgykI7tsFHHMPBjTlffT43ZBJceKWpF/mgzSzj7QDPxUbS4I8tSh8vN/UPLy\n\tZmNJ2ivOGpZDAJbG9M0zyMAO8qfx3mibhZt0WxN1Su1Ty02PP+VEymKEc5Q7+cLT5UmS\n\tEXRg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=lpLtmIi1aDcy+JhDMRajXW4JgSZqrOBAKSfGEGmRmkg=;\n\tb=ou61a7mSEyPjz92zg0cljUTVBE2QTQ7g30jh9WS8E4x8SDdgCGTExIcoxzr799S18Z\n\tnm+9f+QfMMI2p8Agos4O5UH1aepXegXyUIFOJ4tVv356VEkjkfDRquNBWWxJe0H67qC2\n\tktvuV7Tszrxs0VBhmmWix1ZgzLK7QbeVRm5z90gvSAwYR3ZS1qsoIWljfqf7nQmIO9dr\n\t2Ydi9Wgarzypqn6Dc+E4NhYZPNyqvjzSsRvefep8tTgr4HzJ/jQO43sZbIEqfvNdHghQ\n\tnnDx9t0VAvFaDD2HXeFdFRji6XTftC9YgjZ+ll9m5Yt2n/5QUxItsKXsQgHhlOM2sqIT\n\to6ug==","X-Gm-Message-State":"AMCzsaW3wX/Tp+RszckIyhVOOJ4mkajA2fGAFTJRRioYTU85JEkc1zBN\n\tSGaJHg+lyoqBtjK7dmLxVYok7QCp","X-Google-Smtp-Source":"ABhQp+Sv4ogVIAgxJ0KTyy2xto5UUFrWfxeEE5AALoKgviy+TnDkpveoubPiZY2beF8TO4eXHdrXZg==","X-Received":"by 10.84.129.195 with SMTP id b61mr4446994plb.82.1509653609807; \n\tThu, 02 Nov 2017 13:13:29 -0700 (PDT)","To":"Ben Pfaff <blp@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>\n\t<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>\n\t<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>\n\t<20171102200955.GN27530@ovn.org>","From":"Greg Rose <gvrose8192@gmail.com>","Message-ID":"<a86bbd7f-32ee-834b-faaf-82792df86ead@gmail.com>","Date":"Thu, 2 Nov 2017 13:13:22 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.1.0","MIME-Version":"1.0","In-Reply-To":"<20171102200955.GN27530@ovn.org>","Content-Language":"en-US","X-Spam-Status":"No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798292,"web_url":"http://patchwork.ozlabs.org/comment/1798292/","msgid":"<CAM_3v9L32W92ywn08YOZT=MaDJyjKq_r46sr0MLdR1Gz+gnUAg@mail.gmail.com>","list_archive_url":null,"date":"2017-11-02T21:39:05","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":67739,"url":"http://patchwork.ozlabs.org/api/people/67739/","name":"Gurucharan Shetty","email":"guru@ovn.org"},"content":"On 2 November 2017 at 12:55, Greg Rose <gvrose8192@gmail.com> wrote:\n\n> On 11/02/2017 11:12 AM, Greg Rose wrote:\n>\n>> On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n>>\n>>> On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n>>> > On certain Ubuntu systems running the 4.4 based kernel depmod\n>>> > may not correctly search for module dependencies when newer\n>>> > openvswitch kernel modules have been installed in the extra\n>>> > directory at /lib/modules/$(uname -r)/extra.  A symptom of\n>>> > this are the following messages in system log that can be\n>>> > printed with the dmesg command:\n>>>\n>>> Thanks for figuring out the problem and documenting a fix.  I really\n>>> appreciate documentation patches.\n>>>\n>>> > +        #!/bin/sh\n>>> > +\n>>> > +        check_ubuntu_depmod_config() {\n>>> > +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n>>> > +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n>>> > +                    then\n>>> > +                    sed -i s\\/search\\/\"search extra\"\\/\n>>> /etc/depmod.d/ubuntu.conf\n>>> > +                    /sbin/depmod -a\n>>> > +                fi\n>>> > +            fi\n>>> > +        }\n>>>\n>>> I wonder about the details of this particular fix.  Usually, when there\n>>> is a configuration file in a .d directory, like depmod.d, it is possible\n>>> to add more files to the same directory that also get used for\n>>> configuration.  When that works, it is usually better to add files to\n>>> the directory rather than changing existing files, because it behaves\n>>> better on upgrade.  So, in this case, I wonder whether it is possible to\n>>> add a new file that would have something like:\n>>>\n>>>      search extra\n>>>\n>>\n> This works if put in a separate file such as /etc/depmod.d/ovs-search-path.\n> conf\n> or something else.  Suggested names are welcome.  It also works if the\n> instructions already in place to create the /etc/depmod.d/openvswitch.conf\n> file are amended so that the first line of the file is 'search extra'.\n>\n> Like this:\n>\n> search extra\n> override * * extra\n> override * * weak-updates\n\n\nI have over the years found something like this to work::\n\ncat > /etc/depmod.d/openvswitch.conf << EOF\noverride openvswitch * extra\noverride vport-geneve * extra\noverride vport-stt * extra\noverride vport-* * extra\nEOF\n\n\n\n>\n>\n>\n>>> or\n>>>\n>>>      override kmod * extra\n>>>\n>>\n> Doesn't work.\n>\n>\n>>> The latter is suggested by depmod.d(5).\n>>>\n>>> I'll give it a try and get back with the results.\n>>\n>> Thanks!\n>>\n>\n> Let me know what the preference is and I'll spin up a V2 of the patch.\n>\n> Thanks,\n>\n> - Greg\n>\n> _______________________________________________\n> dev mailing list\n> dev@openvswitch.org\n> https://mail.openvswitch.org/mailman/listinfo/ovs-dev\n>","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdl637fHz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:39:13 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 651B4DB4;\n\tThu,  2 Nov 2017 21:39:09 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 1B2B0D9D\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 21:39:08 +0000 (UTC)","from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net\n\t[217.70.183.196])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 6D457A3\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 21:39:07 +0000 (UTC)","from mail-wr0-f177.google.com (mail-wr0-f177.google.com\n\t[209.85.128.177]) (Authenticated sender: guru@ovn.org)\n\tby relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 32675172097\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 22:39:06 +0100 (CET)","by mail-wr0-f177.google.com with SMTP id w105so861558wrc.0\n\tfor <dev@openvswitch.org>; Thu, 02 Nov 2017 14:39:06 -0700 (PDT)","by 10.28.59.196 with HTTP; Thu, 2 Nov 2017 14:39:05 -0700 (PDT)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"209.85.128.177","X-Gm-Message-State":"AMCzsaWsbetnjtZnUj63Rxvqov9BsPtEwTmhzOxY+XuJ5gT9c4C2KaTY\n\tMqoaiyFOC83Hi2kcT9IL8zqe3HMcpcsM7YQsFKk=","X-Google-Smtp-Source":"ABhQp+Ryo+8V90e/LokC8HYJZOL7ujJBxKVPRrvIxlZyjgUNawcXiJie4Ojj+j0ekeIBGd/mCWMdVLb9oe47eAKXuT4=","X-Received":"by 10.223.173.175 with SMTP id w44mr4251436wrc.19.1509658745759; \n\tThu, 02 Nov 2017 14:39:05 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>\n\t<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>\n\t<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>","From":"Guru Shetty <guru@ovn.org>","Date":"Thu, 2 Nov 2017 14:39:05 -0700","X-Gmail-Original-Message-ID":"<CAM_3v9L32W92ywn08YOZT=MaDJyjKq_r46sr0MLdR1Gz+gnUAg@mail.gmail.com>","Message-ID":"<CAM_3v9L32W92ywn08YOZT=MaDJyjKq_r46sr0MLdR1Gz+gnUAg@mail.gmail.com>","To":"Greg Rose <gvrose8192@gmail.com>","X-Spam-Status":"No, score=-0.2 required=5.0 tests=HTML_MESSAGE,\n\tRCVD_IN_DNSWL_LOW, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","X-Content-Filtered-By":"Mailman/MimeDel 2.1.12","Cc":"ovs dev <dev@openvswitch.org>","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1798337,"web_url":"http://patchwork.ozlabs.org/comment/1798337/","msgid":"<aa07e938-39d7-b249-806b-4652b9b997dc@gmail.com>","list_archive_url":null,"date":"2017-11-02T23:49:59","subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","submitter":{"id":69140,"url":"http://patchwork.ozlabs.org/api/people/69140/","name":"Gregory Rose","email":"gvrose8192@gmail.com"},"content":"On 11/02/2017 02:39 PM, Guru Shetty wrote:\n> \n> \n> On 2 November 2017 at 12:55, Greg Rose <gvrose8192@gmail.com <mailto:gvrose8192@gmail.com>> wrote:\n> \n>     On 11/02/2017 11:12 AM, Greg Rose wrote:\n> \n>         On 11/02/2017 11:07 AM, Ben Pfaff wrote:\n> \n>             On Thu, Nov 02, 2017 at 10:46:48AM -0700, Greg Rose wrote:\n>              > On certain Ubuntu systems running the 4.4 based kernel depmod\n>              > may not correctly search for module dependencies when newer\n>              > openvswitch kernel modules have been installed in the extra\n>              > directory at /lib/modules/$(uname -r)/extra.  A symptom of\n>              > this are the following messages in system log that can be\n>              > printed with the dmesg command:\n> \n>             Thanks for figuring out the problem and documenting a fix.  I really\n>             appreciate documentation patches.\n> \n>              > +        #!/bin/sh\n>              > +\n>              > +        check_ubuntu_depmod_config() {\n>              > +            if [ -e /etc/depmod.d/ubuntu.conf ]; then\n>              > +                if ! grep -q extra /etc/depmod.d/ubuntu.conf\n>              > +                    then\n>              > +                    sed -i s\\/search\\/\"search extra\"\\/ /etc/depmod.d/ubuntu.conf\n>              > +                    /sbin/depmod -a\n>              > +                fi\n>              > +            fi\n>              > +        }\n> \n>             I wonder about the details of this particular fix.  Usually, when there\n>             is a configuration file in a .d directory, like depmod.d, it is possible\n>             to add more files to the same directory that also get used for\n>             configuration.  When that works, it is usually better to add files to\n>             the directory rather than changing existing files, because it behaves\n>             better on upgrade.  So, in this case, I wonder whether it is possible to\n>             add a new file that would have something like:\n> \n>                   search extra\n> \n> \n>     This works if put in a separate file such as /etc/depmod.d/ovs-search-path.conf\n>     or something else.  Suggested names are welcome.  It also works if the\n>     instructions already in place to create the /etc/depmod.d/openvswitch.conf\n>     file are amended so that the first line of the file is 'search extra'.\n> \n>     Like this:\n> \n>     search extra\n>     override * * extra\n>     override * * weak-updates\n> \n> \n> I have over the years found something like this to work::\n> \n> |cat > /etc/depmod.d/openvswitch.conf << EOF override openvswitch * extra override vport-geneve * extra override vport-stt * extra \n> override vport-* * extra EOF|\n\nThat does usually work.  Definitely on all the newer Ubuntu releases.\nBut I found a case where it did not and thus the safety override of\n'search extra'.  It won't hurt anything I guess and will prevent\nconfusion.  Especially my own!\n\nI suppose my argument is better safe than unpredictable.\n\nThanks Guru!\n\n- Greg\n\n> \n> \n> \n> \n>             or\n> \n>                   override kmod * extra\n> \n> \n>     Doesn't work.\n> \n> \n>             The latter is suggested by depmod.d(5).\n> \n>         I'll give it a try and get back with the results.\n> \n>         Thanks!\n> \n> \n>     Let me know what the preference is and I'll spin up a V2 of the patch.\n> \n>     Thanks,\n> \n>     - Greg\n> \n>     _______________________________________________\n>     dev mailing list\n>     dev@openvswitch.org <mailto:dev@openvswitch.org>\n>     https://mail.openvswitch.org/mailman/listinfo/ovs-dev <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>\n> \n>","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"gxxIc0Hn\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yShf70v38z9sRq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 10:50:06 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 82DA2D58;\n\tThu,  2 Nov 2017 23:50:04 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 2E222CF5\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 23:50:03 +0000 (UTC)","from mail-pf0-f193.google.com (mail-pf0-f193.google.com\n\t[209.85.192.193])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id A6F6D463\n\tfor <dev@openvswitch.org>; Thu,  2 Nov 2017 23:50:02 +0000 (UTC)","by mail-pf0-f193.google.com with SMTP id t188so861195pfd.10\n\tfor <dev@openvswitch.org>; Thu, 02 Nov 2017 16:50:02 -0700 (PDT)","from gizo.bigblue.kilchis.com (184-100-245-222.ptld.qwest.net.\n\t[184.100.245.222]) by smtp.gmail.com with ESMTPSA id\n\tm1sm7693732pfk.54.2017.11.02.16.50.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 16:50:00 -0700 (PDT)"],"X-Greylist":"whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=hD7CVwNQ855iEgPxMYbzh5xnybxLQV9kKePaY7wkF4w=;\n\tb=gxxIc0HnAgN43O2B8NuYxvMwrTGAq/NQ25fBSgAiwPtSsSgWrZWrWjjljPYEOFGN/E\n\tHRvmWcgFJ21RKj6GL5fSLpJFE/V6h9C9sGw8IEO567sVhHivJHgyssaC+1oZVbfkolNU\n\t3v24S5S6XgXI4oB26ftnAeDaT48c9clgitMM2OZYg1b6zmLnCXqkYYIvch8dyhHoUjHr\n\tWlFbHUEB5+XbvQTG/7LEyDIp3CXIRokYXH4jkIvJfy6qLwcGl67pIu2gfWgFiKyWECQB\n\tHDTuvhuXI8CFBMMbuy/xJzvS2d7+o8a2DkUoN52ZoooNl2p0YauRqbgNKG33IvC0Oh7O\n\tuEeQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=hD7CVwNQ855iEgPxMYbzh5xnybxLQV9kKePaY7wkF4w=;\n\tb=HZuE+dbKUzQO2wxFMSSsgKOUGHJVNv/aJCAMbBv/usFsfp9DcA+XrNeBfgjFQdVH5E\n\tgY6b5hl1krkECGIXrno9L4uUkzNkpgT3bOQpimnG3SNrRPkqTs0cB/fp9JQL3l6B0fLs\n\ttAN1eGs988RWuGSzidDkAB8ccV6KcVo56NrXnVcTxVdu+rWxOcrO0bZyvpHp6Ey0YWEg\n\thib8jFvwyUWR9WPdM9ZULxZVm5y9LnpikfPNIOHWRa2/PS2+39zvBNEBZ+jixxwNEzsD\n\t6m1cQ8sPC+ZNN2wgzHo8qYPWudpeHKX2XTx+GZ7ZTP+cpZ3slYy2gI374C57x1Bv4xyC\n\tEUxQ==","X-Gm-Message-State":"AMCzsaX5xa6QH9qO/obse/5XCDJwPGOD0YCm4yJ5sZiUq3J4K+NTw07l\n\tubLuNMra86gzdQe2OWLvkgTQBPTw","X-Google-Smtp-Source":"ABhQp+T/8nLCXULc/9JGJeKvDRcDSKZh57fZ4b+cQAuri7y+XnVSqHTsyEjUBZbPAukpFDGZkDe3qQ==","X-Received":"by 10.84.245.150 with SMTP id j22mr4998333pll.324.1509666601697; \n\tThu, 02 Nov 2017 16:50:01 -0700 (PDT)","To":"Guru Shetty <guru@ovn.org>","References":"<1509644808-6199-1-git-send-email-gvrose8192@gmail.com>\n\t<20171102180741.GZ27530@ovn.org>\n\t<4bd517e5-068c-3ddb-2c0f-2e699056e11c@gmail.com>\n\t<3bb6454e-3bf1-020e-66c1-47b9489d258a@gmail.com>\n\t<CAM_3v9L32W92ywn08YOZT=MaDJyjKq_r46sr0MLdR1Gz+gnUAg@mail.gmail.com>","From":"Greg Rose <gvrose8192@gmail.com>","Message-ID":"<aa07e938-39d7-b249-806b-4652b9b997dc@gmail.com>","Date":"Thu, 2 Nov 2017 16:49:59 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.1.0","MIME-Version":"1.0","In-Reply-To":"<CAM_3v9L32W92ywn08YOZT=MaDJyjKq_r46sr0MLdR1Gz+gnUAg@mail.gmail.com>","Content-Language":"en-US","X-Spam-Status":"No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, \n\tRCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"ovs dev <dev@openvswitch.org>","Subject":"Re: [ovs-dev] [PATCH] Documentation: Document module install issues","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}}]