From nobody Tue Jul 4 08:28:02 2023 X-Original-To: rc@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 4QwGBq1rLmz4lL86 for ; Tue, 4 Jul 2023 08:28:03 +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 4QwGBp4H1vz3yDX for ; Tue, 4 Jul 2023 08:28:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688459282; 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: in-reply-to:in-reply-to:references:references; bh=MBRiPVlhFQEQgQ27rRSEzUUfOnICcgucu//5fUDplhs=; b=BDU8WbITc7rYiUaaX+4bzrr7+Yt0OzE7sOiD/ROZTnFOy6Dpc2cG2dQKaIxTgCVqlEbyff pdTzRqWj1BFirmWA/ITlyt8RIK9rNH0cfW50VUckqIFERj9cB3I0KO6dnURvw/EAGqDx2W 6O6U9un+ntH/iBsBqNy2FJLVFSL688GCZvt3pz85dBupf7+vP5W/icBt3JEats6ZegQmzd 9wFEEDJXWeKgnO5DN9WydFcEZByd3ri4Ptn2s/JzHK6baVtGUyeeO0ikgiIxxjni8Uh+Np 53pjrquHVsMcjWwKNjAwv+QxCNe+sLvo19Jz3O85KTAbSdHa0j6VWHMw59mBjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688459282; a=rsa-sha256; cv=none; b=R931+afvJPyobeWX6W1Roj05eEvmddLtI7cPhVEwG4QXfL1Nt52rAIoNs8oo5JcIC1MRTF EuFugOGW5ee4SacxnoJ7R8JPvN8ZYr/zNA/I9xtAdCLQgF32Zvu0A6yMvRdRgeIhKI6AIj 6IKAcoNQwspHz8snWsrgJG/hvBrPXp/E6GkvjLUVtqupdEVzh59pJIa6a5pjkAYYzLJ0Zi uVSUgY5K3bW9VVGYMfkgTOBVX9YZmttGS0XfMU01YrLVG6dKLWZNQsnoc1bmsFrCSe6gp+ h6Sh9gbFEFSBCnygOZo+7a0I630f84mYAf+MOKSejh6yQJ3B+02Ny6XtKJ+QyQ== 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 4QwGBp3NJdzQd4 for ; Tue, 4 Jul 2023 08:28:02 +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 3648S2b7091945 for ; Tue, 4 Jul 2023 08:28:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3648S2ft091944 for rc@FreeBSD.org; Tue, 4 Jul 2023 08:28:02 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: rc@FreeBSD.org Subject: [Bug 256658] ugidfw starts before late mount of nfs causing permissions errors on /var/run/nslcd Date: Tue, 04 Jul 2023 08:28:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: joris.dedieu@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256658 Joris Dedieu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joris.dedieu@gmail.com --- Comment #4 from Joris Dedieu --- Created attachment 243198 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243198&action= =3Dedit Change ugidfw start order Hi, We have same issues with ldap based users. Boot hangs until ldap timeout because ugidfw starts before network Maybe changing REQUIRE: FILESYSTEMS into REQUIRE: NETWORKING is the simplest way to fix this issue.=20 Regards Joris --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 6 14:48:15 2023 X-Original-To: freebsd-rc@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 4QxfXv53MVz4lQl4 for ; Thu, 6 Jul 2023 14:48:31 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QxfXt2msFz4Nwj for ; Thu, 6 Jul 2023 14:48:30 +0000 (UTC) (envelope-from mpp302@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.160.175 as permitted sender) smtp.mailfrom=mpp302@gmail.com; dmarc=none Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-4009fd0d397so1911871cf.0 for ; Thu, 06 Jul 2023 07:48:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688654909; x=1691246909; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wNSbRU37FmIzMc4k18lBShLMZAXMj3U5gwJss+qT/Zc=; b=E/ed7stZ/ZIEhN5J+aXoUQ9WpihRYs6Dyqo715jAYTztuRspPsWJM9S7v7YSnHO9xq rVpCV8Y5MDbvJFQN+16FtASoSIU/LTvDm6BHGqrFEbv0SC5h/uSSzvrIM97AauzKtGz8 q5ND+VUVLIrp5eGH+ub5jBpORWxlF0SCevGEMXZT9DZpaOz03uGnsRaCFJOMZJWJzkSx Z+o6ipaNN9++OzE65ftsAsCTST0eCPnOLf+PXrrHmONl5vD6D7Ajt4+XJGNYqm7xAJ1Q OvhPesExC3K5Ik38sJxytkqnnyBOi1pbqKbxFm/otyuKxyX1GpTjIZI4+IYJMCRDG4ZN 2Pyg== X-Gm-Message-State: ABy/qLZu+87tZhIND5Al2rmL9J2vH5aX/J4g/s3uND1uUzye6sDFaet+ 872F1YLYbJzJrPWlgA7LwYgkhKfYm9JqCg== X-Google-Smtp-Source: APBJJlEXMgjlRyIh7LaNjxxhBFCAPtNDvW1EalNXKc1/TttG+ZegUyUh7yhSlOeDcfauZ9W1WdPJlA== X-Received: by 2002:ad4:5d6a:0:b0:636:e4f:6b88 with SMTP id fn10-20020ad45d6a000000b006360e4f6b88mr2275004qvb.1.1688654908766; Thu, 06 Jul 2023 07:48:28 -0700 (PDT) Received: from smtpclient.apple (ip5f5af05a.dynamic.kabel-deutschland.de. [95.90.240.90]) by smtp.gmail.com with ESMTPSA id n14-20020a0ce48e000000b006375f9fd170sm946425qvl.34.2023.07.06.07.48.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2023 07:48:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii List-Id: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: detailed manual for rc scripting From: Mateusz Piotrowski <0mp@FreeBSD.org> In-Reply-To: Date: Thu, 6 Jul 2023 16:48:15 +0200 Cc: freebsd-rc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9A3F1FA1-37F0-402B-8C94-536480E15E90@FreeBSD.org> References: To: Miroslav Lachman <000.fbsd@quip.cz> X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-2.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-rc@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.175:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; MLMMJ_DEST(0.00)[freebsd-rc@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.160.175:from] X-Rspamd-Queue-Id: 4QxfXt2msFz4Nwj X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Hey Miroslav, > On 2. Mar 2023, at 21:32, Miroslav Lachman <000.fbsd@quip.cz> wrote: >=20 > I would like to know if there is something more than = https://docs.freebsd.org/en/articles/rc-scripting/ and man rc.subr(8)? >=20 > Every now and then I need to write some rc script for customer = services or fix some existing rc script which became broken after update = of base or some packages. Starting the interpreted (node.js, python = etc.) services are often way more complicated than what is described in = handbook but I always spend about 30% of time by doing the start part = and 70% of doing the part required to stop the service - matching = command / interpreter / procname is not an easy task and debugging it is = even more complicated. Almost always one need to tune just these 3 = variables command, command_interpreter, procname but it is sometimes too = difficult if one do not have deep knowledge of how things works in = rc.subr and sometimes even reading the source of rc.subr is not clear to = me. > So is there some detailed manual how to put things together in edge = cases where service is interpreted, running from Pyhton virtualenv, = there are symlinks in path so the real path shown by "ps" is different = than the path used to start the service and so on. I'm afraid there is nothing else. Regarding the services running interpreted programs, I agree that the = interface could be a bit more friendly. Best, Mateusz= From nobody Thu Jul 6 15:40:14 2023 X-Original-To: rc@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 4Qxghb1thKz4lXr0 for ; Thu, 6 Jul 2023 15:40:15 +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 4Qxghb0v4Xz3F2q for ; Thu, 6 Jul 2023 15:40:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688658015; 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: in-reply-to:in-reply-to:references:references; bh=yi5RItbfxJuge4AfcND71irC1UqKcKC6eP/99rOHaxc=; b=FDF4lLC/sjqyYM+ylb56ksGpLrA5TAXB3oUAuXJu04Sba+sR69jldGkxKbrfQlew30lrSK EnyqZup9TyyGEggDY5u8QpNADShwu0JRxhz49KQ/BScMfBQggZyZ+RrKL99C6OXYj99sag Ili0HMbynL3JR4XO1Infss/ebJSswjy29rC2kwzejTe3L51FC1/FT3L9dG5dZBRH2v+DWE NXyYatZTiqq3fwEgECTMPbv4sMj6QlhbIqq1eE934iKHipz7cmdaCcTrj14N8tDVbdaEDz Z8ANEv4tVyd4EJsr8mYxowsdGtOXaH3rtkrQeJhkTGJJJ8aXjL9KyrDgQqjZyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688658015; a=rsa-sha256; cv=none; b=wOL4W1ZPwjs9jmcm6NcIrKiKQEWMvvXF5uJlIhXrMHI3YJTbZfH+BkbGzYvKFpBGufVhg8 RwwKMWQyYJQwO7/McFLh5Z+IBaB5yT1GIf51S4qXadK3d+1R5YpeAEhHLf1V7nBhvuobnh c/w/fyyTqRvLlpKjd9Gb9k59M2+ajphEIyxxIAVIZ/M++olmjwoFumSmXzxLCoG88WZ9BD t+ZaLY6CM8dMTC0mYoWAFF6YvEb+cEAW0bruwh5fhTJHafKAE9DxuiJ5+oSo1Tx0+l3ZY2 n2YVc39p/n63ifgF69zLPM/KgL+Xrxf+QeXl3c2D6cmwHFoa9VFSF9fBaiLa+A== 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 4QxghZ70Tkz11dD for ; Thu, 6 Jul 2023 15:40:14 +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 366FeEE0005363 for ; Thu, 6 Jul 2023 15:40:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 366FeE1p005362 for rc@FreeBSD.org; Thu, 6 Jul 2023 15:40:14 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: rc@FreeBSD.org Subject: [Bug 240875] usr.sbin/sysrc: If the file to be modified does not exist, an error message is displayed Date: Thu, 06 Jul 2023 15:40:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240875 Mateusz Piotrowski <0mp@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |0mp@FreeBSD.org --- Comment #4 from Mateusz Piotrowski <0mp@FreeBSD.org> --- (In reply to Michael Osipov from comment #3) I've just MFCd that into 12. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 6 15:40:28 2023 X-Original-To: rc@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 4Qxghr1zSmz4lXtN for ; Thu, 6 Jul 2023 15:40:28 +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 4Qxghr00THz3DyS for ; Thu, 6 Jul 2023 15:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688658028; 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: in-reply-to:in-reply-to:references:references; bh=D0AyM6pJbmKOAAIi5YXHo9lZrzJUjST5+QjY5d0xcdU=; b=pSAIh9q3Oq+WX6m1U6Q5OEpOMJyGmc/lG0dYqDiPjHRQodrO4ysr8kxbRpJ1py3phybLE0 1S3Z3WuvGsDFE/bqT4c3IzKQ6P2IaD5vJj0iThVYa+VLQ7JZDY3GUOm7oGSSZIoCep+6PI qYwL2vz2SHkNItCsbPticGx6bwrREOLMjD4P48K8Z+crZq3HVEduBvt7DDyIHqAoJti99i SL8mYqllT7vkLin37Iu6BzBeiXud/muCqx3tK7yNP791DrTSxnTAS/YKi9eDMt9W8OfUSU F0TzO2ZrR7QTyd45lrALojV4sUhlptvZk7tHx88odA4swLcy/fejCovG/1C8Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688658028; a=rsa-sha256; cv=none; b=mw3W01WGUOIVWu4ZCTZ1cwpfvMJia8ZNiO0arvx/e32+YLofG5Oiv9hHhj2ioa3lS6b3B1 yi6u7jJuTnpz4buYYZB4sf1MIKMOXFhEGohf0/GZy5oHlgRShH563fzdNgVcPy8rJ/CjGe k04SsYyB+Ws6A3vITMmo10KNvKUifadC2I0/D3icO/3YI07rapnAogezwf/qVEc+L17Edf iOMnb/YN9244GS7pW1fU91HzNyB6si1ozLO/qUteU98ZKDbqswOLQOny2t3aiGf/0okXIP Ji9ZvZ5uckbzPmRKIUp0BtvFqYDWLvhiwIhkk+F33PPKdvAnqAluWNxZhXqu1g== 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 4Qxghq6CHMz12MK for ; Thu, 6 Jul 2023 15:40:27 +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 366FeRoS005436 for ; Thu, 6 Jul 2023 15:40:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 366FeRwP005435 for rc@FreeBSD.org; Thu, 6 Jul 2023 15:40:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 240875] usr.sbin/sysrc: If the file to be modified does not exist, an error message is displayed Date: Thu, 06 Jul 2023 15:40:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240875 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D98358de5754cc85b50309323ff72a6619= 3502107 commit 98358de5754cc85b50309323ff72a66193502107 Author: Devin Teske AuthorDate: 2019-12-02 05:24:16 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-07-06 15:39:23 +0000 Fix spurious error from sysrc When using sysrc to modify a file, the file should be created silently. However, with the introduction of SVN r335280, an error of "No such file or directory" would appear despite everything else working as-expected. The nature of this spurious error is that SVN r335280 did not check if the file exists first, before trying to fixup the line-endings in the file just prior to modification. PR: bin/240875 Reported by: Jose Luis Duran MFC after: 3 days (cherry picked from commit e19a2226fe3bbeeb6e922987475300868374d09a) usr.sbin/bsdconfig/share/sysrc.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 6 15:42:49 2023 X-Original-To: rc@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 4QxglZ0McXz4lYRD for ; Thu, 6 Jul 2023 15:42:50 +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 4QxglY3tY0z3FjX for ; Thu, 6 Jul 2023 15:42:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688658169; 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: in-reply-to:in-reply-to:references:references; bh=Fmfja5dMZ/sHgBNGLCJ0Yttzb2x1PzQWmKaWFQ+B1jU=; b=lS7M4WDBmRS2NUeKsv56+H8QigwcUVD8yMs2F6fOfwnnVXCMBcOb01ct8oDPmhe7Zifv+N +CSIzbfI3J5oFbR2Hwso9L4oKTRpfHijtxGYiW2XVssZpvsYpFVT4C2B/5Qzl5U03XXgnw PhjdCo7K59irLLE9ySGoFhCs0w6QIpertIRPCPEcx6MKVBHI0PNvOVTHuLiaJQyaAgi67/ Xev9oI7JT6PF96yPy8rp/l++tOfEt5cOBG6eO5/pp9nBvIGvz/Rm+Mco2zxMkuRxUHLURT /ushMMl6Md45aqsFvPiQwc0RCg8g1QnrL6xj93AR0/Uzk7qoBHgmGvbuNBcXeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688658169; a=rsa-sha256; cv=none; b=yf4mGgM6zkJjF5mPK7BTluhneBQCNeX0nAiRI8AD7mbQu/NLtnrIt7utJXlSrhbRWS2ISI yKhyNoLoxAgSwxufk6uiHyk/kJ6pRjGlVSYPjq0ptp5qb8lwSmC5Zov2bzYYV2fOS2jSYa rXRtbMLeuBviaUz1GTSvGFZiv2rJj9+nPrzv1qU5S+ve4GXnLMwoGog4044oE550/4cYgu zOxlvjUt1j5C2VRI+3yVw9xD1/sWTx7//kSnNQ60K8uKql/Lv8cfNmDjAMe7ll12pd+v0K WtAdAG94JILPtcY1/7AA7tQG6Qi1XIqK4nQpnWne3/cFegsmqIH8yMRVIp3tbw== 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 4QxglY310jz12pp for ; Thu, 6 Jul 2023 15:42:49 +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 366FgnEI016732 for ; Thu, 6 Jul 2023 15:42:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 366FgneL016731 for rc@FreeBSD.org; Thu, 6 Jul 2023 15:42:49 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: rc@FreeBSD.org Subject: [Bug 240875] usr.sbin/sysrc: If the file to be modified does not exist, an error message is displayed Date: Thu, 06 Jul 2023 15:42:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240875 --- Comment #6 from Michael Osipov --- (In reply to Mateusz Piotrowski from comment #4) Magic, thank you! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 6 15:43:44 2023 X-Original-To: rc@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 4Qxgmc4gy1z4lYcv for ; Thu, 6 Jul 2023 15:43:44 +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 4Qxgmc3fH0z3Fkh for ; Thu, 6 Jul 2023 15:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688658224; 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: in-reply-to:in-reply-to:references:references; bh=k5cnYDUU6mwPcnsV72/pEpP0YxN98y9MVAfLc+6+ykE=; b=JQhPXFLt4a/ywbif0aojqAWarPh3PP6nwU7ygM44OCLBIalkqPDd8C1SG1Q0qJBc/D9G9j LvM4qjVhJWGgLj3G9icC6eahli0kwItSJWmxdf/VgMoDzZGp08DNo2MYnvCCBzsqFkwrYW akl5KqB76ktR9xGPjQNBM4RUP4FscpWo406GNGRry5c4szeG3PvFNp2Io2K9m7wurglH6O otw6LR+IboPE48cB+0vcjVEBMho/CRu+/nGumz9HqaFssy1R2ersDIYHW46/+iHaeevu+r 8ODgDMRDo2eNyX+b4WO9I11EfHgvbaxDFj71D2VDC0f8N3b+Scis4p470zosQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688658224; a=rsa-sha256; cv=none; b=ABzpd3gNU1b/8XBS4CPFUSxO8GO+J/BFvD1+M2i4KvkQx5nr6oWZwcFB9iTxAjPxbxvGmZ 5VAO30JbH1hrXxPiDzA4s628aIT2wdsfglE61ZM0sZt1bx0ThXz80Lf5aEbFxvXGaRYcVb OOL49wxpB5Q8UDDGrjA7QzF5VAO2HC8pZuzCGxSzJ5aUmI6PiGrQ9kKopRCsBaGHdWauon PVYv1JzkqXLP9LD9lOsd9/J6gZzd6J8h2XmldaRwOQECohFBqQhZ0565OMP9uLEmd1w5ez oOAMna99ZWMe7XWqtGm+DoEymGdoo2dfuLWmojKvwnzQL0F+Vhovl/y1QpbRvg== 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 4Qxgmc2l6Zz12Gv for ; Thu, 6 Jul 2023 15:43:44 +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 366FhirI017162 for ; Thu, 6 Jul 2023 15:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 366FhiUP017161 for rc@FreeBSD.org; Thu, 6 Jul 2023 15:43:44 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: rc@FreeBSD.org Subject: [Bug 240875] usr.sbin/sysrc: If the file to be modified does not exist, an error message is displayed Date: Thu, 06 Jul 2023 15:43:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240875 --- Comment #7 from Mateusz Piotrowski <0mp@FreeBSD.org> --- (In reply to Michael Osipov from comment #6) Thank you for pointing out the issue! --=20 You are receiving this mail because: You are the assignee for the bug.=