From unknown Thu Aug 14 17:27:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76130 <76130@debbugs.gnu.org> To: bug#76130 <76130@debbugs.gnu.org> Subject: Status: 'herd status' cannot handle inaccessible logfiles (shepherd 1.0.1) Reply-To: bug#76130 <76130@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:27:29 +0000 retitle 76130 'herd status' cannot handle inaccessible logfiles (shepherd 1= .0.1) reassign 76130 guix submitter 76130 Andrew Wong severity 76130 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 15:29:45 2025 Received: (at submit) by debbugs.gnu.org; 7 Feb 2025 20:29:45 +0000 Received: from localhost ([127.0.0.1]:36834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tgUyu-0003Vv-L7 for submit@debbugs.gnu.org; Fri, 07 Feb 2025 15:29:44 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52802) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tgUyt-0003Ve-BO for submit@debbugs.gnu.org; Fri, 07 Feb 2025 15:29:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tgUyi-0005Rq-HV for bug-guix@gnu.org; Fri, 07 Feb 2025 15:29:33 -0500 Received: from qs51p00im-qukt01072501.me.com ([17.57.155.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tgUyg-0005Du-Vi for bug-guix@gnu.org; Fri, 07 Feb 2025 15:29:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=1NpwMZ/wlC4WB9kCCcxXy/m6SZH+DYrrKoz154IOGAY=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:x-icloud-hme; b=eIcqxFI/N7GG0Jl6koodzre4srfwoFmXrPj6IY0dlTWVTrKzk4wVf2wy8YuP42gOB wyHSE2b76pRamqv2gUoq5e/1eVpoT0pHCQk51OtkNMF0F05MF3BRXdpb4/UrNUCYe1 3LF8X9SFOKsTSvQgXHDzQWLsqf2KRZWkzs3WOjNhHdoHNVSE/ujYbXIPZNAMR4X2Jy pwFuKi/d9L98z5ym4jOnVmRcirZLjh/Nqtoy4Yf8hi08k/QYNaVwpQXDWOsGILlOS3 WOm1AHkOLsGsWJ7Bi3sZsANsoIjPVOkXa8uSXHrCFd8/1nuDxRlqAACSWPPviBp0dN Jy474ECDCtNOA== Received: from [192.168.86.109] (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072501.me.com (Postfix) with ESMTPSA id 32C544400AA for ; Fri, 7 Feb 2025 20:29:27 +0000 (UTC) Message-ID: <75e91a02-a779-47f7-8c22-810012733dc7@icloud.com> Date: Fri, 7 Feb 2025 15:29:25 -0500 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: bug-guix@gnu.org From: Andrew Wong Subject: 'herd status' cannot handle inaccessible logfiles (shepherd 1.0.1) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: LsIGxj8Y4yH9BgFb02Ack_l1dY8Y-qeW X-Proofpoint-GUID: LsIGxj8Y4yH9BgFb02Ack_l1dY8Y-qeW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-07_09,2025-02-07_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=370 clxscore=1015 adultscore=0 malwarescore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2502070153 Received-SPF: pass client-ip=17.57.155.14; envelope-from=wongandj@icloud.com; helo=qs51p00im-qukt01072501.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, I've found a bug in shepherd 1.0.1. When a service has a log file in an 'inaccessible' location, e.g. a home service logging to /var/log, it causes 'herd status $service' to hang, as well as the overall 'herd service' command. I found it with this service[1] which silently failed to log, I guess, until I updated shepherd and found this bug. [1]: (service home-shepherd-service-type         (home-shepherd-configuration          (services           (list            (shepherd-service         (provision '(emacs))         (start #~(make-forkexec-constructor               (list #$(file-append emacs-pgtk-xwidgets "/bin/emacs")                 "--fg-daemon")               #:log-file "/var/log/emacs.log"))         (stop #~(make-kill-destructor))))))) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 16:59:14 2025 Received: (at 76130-done) by debbugs.gnu.org; 8 Feb 2025 21:59:14 +0000 Received: from localhost ([127.0.0.1]:41771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tgsr3-0007Lp-MT for submit@debbugs.gnu.org; Sat, 08 Feb 2025 16:59:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53444) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tgsqz-0007LV-VV for 76130-done@debbugs.gnu.org; Sat, 08 Feb 2025 16:59:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tgsqu-0003rw-JD; Sat, 08 Feb 2025 16:59:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=FanwcaZvC5ah0CdUxu1zNJXxv9DZqnohhs4JZDVmIwM=; b=mkWp7jbIsq0P+CHVuUIX quCpgrg/GQYMjm/FGZhuNEROZQYT+rI5kIYb9SuEDu6kpwyjfNQNlwX96Qw3Mwud2pjyuXq3A+rk0 aRZ5sE2DQOdgdYWMhVfofsZJ5kwHlHvjRKELtIg3nHOPUYcpe6DhLvCjojJETcZgRc2Yc0VKcZyf1 6bBpRDBMIaRo6ax2bNuAbMkrxh/Kjyj1UyUuTzmGXp20LV0agiSKumJ9VB+vt+sN3YVkJwvKSDN2F eWQIqe1HrGonBguULLdAFy2Youaklz2gGJmKkiwjcD4zFyObIlJobGKXUy5CxRldd85o/OlOom8KJ YuyzTOz+gEkGmQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andrew Wong Subject: Re: bug#76130: 'herd status' cannot handle inaccessible logfiles (shepherd 1.0.1) In-Reply-To: <75e91a02-a779-47f7-8c22-810012733dc7@icloud.com> (Andrew Wong's message of "Fri, 7 Feb 2025 15:29:25 -0500") References: <75e91a02-a779-47f7-8c22-810012733dc7@icloud.com> Date: Sat, 08 Feb 2025 22:58:59 +0100 Message-ID: <87seooumho.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76130-done Cc: 76130-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Andrew, Andrew Wong skribis: > I've found a bug in shepherd 1.0.1. When a service has a log file in > an 'inaccessible' location, e.g. a home service logging to /var/log, > it causes 'herd status $service' to hang, as well as the overall 'herd > service' command. I found it with this service[1] which silently > failed to log, I guess, until I updated shepherd and found this bug. Good catch. This is fixed by cd6d35fe8adf5baaeb50adf2a96662fb30382eca, which will be in 1.0.2, to be released in the coming days. Thank you! Ludo=E2=80=99. From unknown Thu Aug 14 17:27:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 09 Mar 2025 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator