From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbdFPVPL (ORCPT ); Fri, 16 Jun 2017 17:15:11 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:34155 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750792AbdFPVPK (ORCPT ); Fri, 16 Jun 2017 17:15:10 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Dick Streefland Cc: linux-kernel@vger.kernel.org References: <20170616101440.GA1480@neos> <878tkrvp9r.fsf@xmission.com> <20170616203952.GA7565@streefland.net> Date: Fri, 16 Jun 2017 16:08:04 -0500 In-Reply-To: <20170616203952.GA7565@streefland.net> (Dick Streefland's message of "Fri, 16 Jun 2017 22:39:52 +0200") Message-ID: <87fuezr68b.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1dLya4-0000jU-D6;;;mid=<87fuezr68b.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=67.3.213.87;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+HTEsB9nuNeHL9miBSNUtYh2ImUpkLJqA= X-SA-Exim-Connect-IP: 67.3.213.87 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4979] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 1397; Body=1 Fuz1=1 Fuz2=1] * 0.5 XM_Body_Dirty_Words Contains a dirty word X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Dick Streefland X-Spam-Relay-Country: X-Spam-Timing: total 5640 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.7 (0.0%), b_tie_ro: 1.79 (0.0%), parse: 0.82 (0.0%), extract_message_metadata: 18 (0.3%), get_uri_detail_list: 3.4 (0.1%), tests_pri_-1000: 8 (0.1%), tests_pri_-950: 1.08 (0.0%), tests_pri_-900: 0.88 (0.0%), tests_pri_-400: 23 (0.4%), check_bayes: 22 (0.4%), b_tokenize: 10 (0.2%), b_tok_get_all: 6 (0.1%), b_comp_prob: 1.87 (0.0%), b_tok_touch_all: 2.4 (0.0%), b_finish: 0.56 (0.0%), tests_pri_0: 345 (6.1%), check_dkim_signature: 0.51 (0.0%), check_dkim_adsp: 7 (0.1%), tests_pri_500: 5238 (92.9%), poll_dns_idle: 5228 (92.7%), rewrite_mail: 0.00 (0.0%) Subject: Re: autofs multi-map regression X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dick Streefland writes: > On Friday 2017-06-16 12:03, Eric W. Biederman wrote: > | Interesting... > | > | Can you test this on a stock 4.11 kernel? > | > | I definitely need a little bit more information to solve this. That > | commit did not add any new error condidtions so I need to understand > | what state you are getting yourself into that is affected by this > | commit. > | > | Is there a chance you can post /proc/self/mountinfo from when this is > | happening? > > I've installed the mainline 4.11 kernel from: > > http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/ > > and this kernel works correctly! > > So either this issue was fixed in the meantime, or it is something > specific to the Ubuntu kernel. I guess I should file a bug report > with Ubuntu then? Please. > I've also looked at /proc/self/mountinfo before and directly after the > mount attempt. Here are the ext4 and autofs entries for the failing 4.4 > kernel: Thank you. I am definitely out of my depth on the autofs portion of this. As things are working with 4.11 and failing with my test of 4.4 with a much older kernel. I will leave this with you and the ubuntu folks to sort out. Good Luck, Eric > before: > 23 0 8:2 / / rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 41 19 0:34 / /proc/sys/fs/binfmt_misc rw,relatime shared:24 - autofs systemd-1 rw,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct > 46 23 8:4 / /loc rw,nosuid,nodev,noatime shared:30 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl > 202 23 0:44 / /net rw,relatime shared:160 - autofs /etc/auto.net rw,fd=6,pgrp=1724,timeout=120,minproto=5,maxproto=5,indirect > > after: > 23 0 8:2 / / rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 41 19 0:34 / /proc/sys/fs/binfmt_misc rw,relatime shared:24 - autofs systemd-1 rw,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct > 46 162 8:4 / /loc rw,nosuid,nodev,noatime shared:30 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl > 202 23 0:44 / /net rw,relatime shared:160 - autofs /etc/auto.net rw,fd=6,pgrp=1724,timeout=120,minproto=5,maxproto=5,indirect > 157 202 8:2 / /net/localhost rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 161 157 0:47 / /net/localhost/loc rw,relatime shared:119 - autofs /etc/auto.net rw,fd=6,pgrp=1724,timeout=120,minproto=5,maxproto=5,offset > 162 23 0:47 / /loc rw,relatime shared:119 - autofs /etc/auto.net rw,fd=6,pgrp=1724,timeout=120,minproto=5,maxproto=5,offset > > And here the info for the working mainline 4.11 kernel: > > before: > 23 0 8:2 / / rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 74 19 0:36 / /proc/sys/fs/binfmt_misc rw,relatime shared:56 - autofs systemd-1 rw,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12754 > 45 23 8:4 / /loc rw,nosuid,nodev,noatime shared:28 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl > 208 23 0:46 / /net rw,relatime shared:164 - autofs /etc/auto.net rw,fd=6,pgrp=1545,timeout=120,minproto=5,maxproto=5,indirect,pipe_ino=26555 > > after: > 23 0 8:2 / / rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 74 19 0:36 / /proc/sys/fs/binfmt_misc rw,relatime shared:56 - autofs systemd-1 rw,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12754 > 45 175 8:4 / /loc rw,nosuid,nodev,noatime shared:28 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl > 208 23 0:46 / /net rw,relatime shared:164 - autofs /etc/auto.net rw,fd=6,pgrp=1545,timeout=120,minproto=5,maxproto=5,indirect,pipe_ino=26555 > 162 208 8:2 / /net/localhost rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered > 166 162 0:48 / /net/localhost/loc rw,relatime shared:122 - autofs /etc/auto.net rw,fd=6,pgrp=1545,timeout=120,minproto=5,maxproto=5,offset,pipe_ino=26555 > 167 23 0:48 / /loc rw,relatime shared:122 - autofs /etc/auto.net rw,fd=6,pgrp=1545,timeout=120,minproto=5,maxproto=5,offset,pipe_ino=26555 > 174 166 8:4 / /net/localhost/loc rw,nosuid,nodev,noatime shared:28 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl > 175 167 8:4 / /loc rw,nosuid,nodev,noatime shared:28 - ext4 /dev/sda4 rw,block_validity,delalloc,barrier,user_xattr,acl