From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4042 invoked from network); 25 Feb 2021 07:01:17 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 25 Feb 2021 07:01:17 -0000 Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 33645584; Thu, 25 Feb 2021 07:01:03 +0000 (UTC) Return-Path: Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 505a84b3 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 25 Feb 2021 07:01:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; b=Y8Yrq5LzVQlDTCfwizjJBXVoUIfAzfFlBuddqiB6y2keKF4deN+TlW22KQFrEvxuEI8TeFuT7v69oDTtpuNUR7l0WP7N6KlIAlKlTL3yna5UjzqtKTwlNOn2r01VH5Dk48n+L/QzviXBzw2FqeP/j9DACD/mezrVbQNV8DuuwopzDttl/dLuaiVA1TJ1KI6lmT5+dvZ2+7ALb1R1uvZqSfd0hFVg7vCCoasqLULmIpyv8nJsy6holQqlU4h9bhmonRhx4OUYf9yclIm6x4O2iJin1r3qtly6yp2C7J/4ThbMJHzs4vG9QWcx97H8LO8L8ryow+w/9ZswPRpC+5ivEw==; s=purelymail1; d=bydasein.com; v=1; bh=LSpu62L4FfqAW3+5pNtnNK1wiPAnptKuEW6SK8iBo/U=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=ANaBeKAns7eIfJaEdJYfbInp37A44A/YIqGJJubp6Eu8VyM+QdUkmqzWSliqeT8Ep3Df+sDrxzbu9GbC9ruvwlFxlkoAQ+/OZP1KGob2rBBtokcxzX1N1DT0+Ym0dL+FOn3h7Ld8mAcJaDl7bVi7YZ4fqbXvHps6HHBi5zOZAlkTxto1DOPeUb/WE4HlyVoS2oD0hY/5Cy/KZ5Ix/+d/M7yWLm2KTRDohYTa+nXZzH6drKmrJ5Z8GkHnQvHANKkxUeGC7t8J+d6q23nF5eLhf+qMp/bzI8jdfeDOauYM8t283QWPwg7aBxiDELYZcY5M2MwZ45FgBAe3VcyOb5tlMg==; s=purelymail1; d=purelymail.com; v=1; bh=LSpu62L4FfqAW3+5pNtnNK1wiPAnptKuEW6SK8iBo/U=; h=Feedback-ID:Received:From:To; Feedback-ID: 791:353:null:purelymail X-Pm-Original-To: cgit@lists.zx2c4.com Received: by ip-172-30-0-247.ec2.internal (JAMES SMTP Server ) with ESMTPA ID -1031768075 for ; Thu, 25 Feb 2021 07:00:57 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 25 Feb 2021 17:00:57 +1000 From: "Paul W. Rankin" To: cgit@lists.zx2c4.com Subject: OpenBSD - Error reading owner-info for : No such file or directory (2) User-Agent: Purely Mail via Roundcube/1.4.10 Message-ID: X-Sender: pwr@bydasein.com Organization: By Dasein Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" Hello, I'm running cgit v1.2.3 on OpenBSD 6.8 with httpd and slowcgi. I'm getting tons of log errors in the form: Error reading owner-info for : No such file or directory (2) I've found this Stack Overflow question https://stackoverflow.com/questions/48450631/ which suggests that the problem is with the call to getpwuid trying to access /etc/passwd: if ((pwd = getpwuid(st.st_uid)) == NULL) { fprintf(stderr, "Error reading owner-info for %s: %s (%d)\n", path->buf, strerror(errno), errno); break; } @ https://git.zx2c4.com/cgit/tree/scan-tree.c#n139 On OpenBSD, httpd runs in a chroot at /var/www, which would seem to suggest why cgit would not be able to access /etc/passwd In my cgitrc I have enable-git-config=0 enable-index-owner=0 so that doesn't help. Is there any way to prevent all these error logs? Currently this fills up a log file about once an hour... Thanks! -- Paul W. Rankin https://bydasein.com The single best thing you can do for the world is delete your social media accounts.