From nobody Wed Sep 14 09:39:40 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSFfh4Gjkz4cqkx for ; Wed, 14 Sep 2022 09:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSFfh1xvmz3ZlP for ; Wed, 14 Sep 2022 09:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MSFfh0pxFzdDl for ; Wed, 14 Sep 2022 09:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28E9dd2V040036 for ; Wed, 14 Sep 2022 09:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28E9ddNA040035 for bugs@FreeBSD.org; Wed, 14 Sep 2022 09:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266410] Locate database update scripts runs even it is disabled in periodic.conf Date: Wed, 14 Sep 2022 09:39:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sgubdsbeerf@asmco.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663148380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u36ok9YwUJyseobgaox07odgtjvO5lPlbYIfbKjZoTY=; b=L+lF0ZVBcwAT9hI3U2AFGxm6DH7ley+yNaiwEs3Br79wSPTGwcyT826DKUGrKYo0m41czq ulS3JaUwNewwAwS10h5OCgEA7XjpCA+TWCAaPDgVcgK+tG4TAqi0sRw7Bx/BdBVFixZMOd SSlxIa2r8aEOkXRAi6MY/ArHHuhmwtCvMCifkxmyg8W9J1LOClX5GSI66h2Zc52/UxKSGW rmOmFE5AQuRitW5ONxoq8Isb+aTulcGooZQsvbqpivZaoWmYmtHpCFUXYmpqVF0lR1i6zk +GG5T0BidO3gAyI1rlxMR8aYQxoN+SbBoEvB87kLU42qV+uQzIM5LWQ2LNZNTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663148380; a=rsa-sha256; cv=none; b=hJG4X9PSAZZgVf0TYF/rSLDABJkVz0DByppIaiw6iOm38Mei2F89mJZ4FdfAokS+/o5tpd mAEmdvY+4/t7GAErNbSMOCd1hKUH06wAzN+iWdAa4/GqJaxY12ONqEMp8zedJD2aKucHHN 2bHkZ5l02J3cTbbgHkfdHVKgwg8dcEFGuhByd6HVXv0+eJHElbeauvAAhZJwJ4oQ6rNWiN Nlk4+at3E3fjijy3mKh7GS4U0fABf4JZzfmXzIdIrVDAQ97PC+2CYi3/sNoHEthekaaj15 QIzg6zP3IXxrEGb0n8CRWMMW2mEKgWupjGXSetYinLMoPfmluZWUapyicrhqKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266410 Bug ID: 266410 Summary: Locate database update scripts runs even it is disabled in periodic.conf Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: sgubdsbeerf@asmco.de What is happening? I observed several times a find command running over my ZFS data pool and causing many read operations. I disabled updating the locate database in periodic.conf but it seems to run nevertheless. What do I expect to happen? Not to run if it is disabled. How to reproduce? Set weekly_locate_enable to NO in /etc/periodic.conf and monitor IO operations and the process list. Further information $ grep locate /etc/periodic.conf weekly_locate_enable=3D"NO" PID PPID COMMAND 93005 92862 /bin/sh /usr/libexec/locate.updatedb 93611 93005 find -s / ! ( -fstype msdosfs -or -fstype zfs ) -prune -or -path /tmp -prune -or -path /usr/tmp -prune 93636 93005 /bin/sh /usr/libexec/locate.mklocatedb -presort pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- zdata 4.21T 3.05T 713 29 3.19M 540K zroot 4.25G 105G 0 12 0 115K ---------- ----- ----- ----- ----- ----- ----- --=20 You are receiving this mail because: You are the assignee for the bug.=