From owner-freebsd-stable@freebsd.org Wed Jul 10 19:21:38 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 943A415E1329 for ; Wed, 10 Jul 2019 19:21:38 +0000 (UTC) (envelope-from SRS0=9cMO=VH=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 133C56D83B for ; Wed, 10 Jul 2019 19:21:38 +0000 (UTC) (envelope-from SRS0=9cMO=VH=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E534928428 for ; Wed, 10 Jul 2019 21:21:25 +0200 (CEST) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 38C0D28423 for ; Wed, 10 Jul 2019 21:21:24 +0200 (CEST) To: freebsd-stable@freebsd.org From: Miroslav Lachman <000.fbsd@quip.cz> Subject: wrong permissions on files edited by etcupdate after upgrade to 11.3-RELEASE Message-ID: Date: Wed, 10 Jul 2019 21:21:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 133C56D83B X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.94)[ip: (0.52), ipnet: 94.124.104.0/21(0.26), asn: 42000(3.82), country: CZ(0.08)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.96)[0.963,0]; MX_GOOD(-0.01)[cached: elsa.codelab.cz]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_MEDIUM(1.00)[0.996,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=9cMO=VH=quip.cz=000.fbsd@elsa.codelab.cz]; DMARC_NA(0.00)[quip.cz]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=9cMO=VH=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2019 19:21:38 -0000 I upgraded our first machine from 11.2-p10 to 11.3-RELEASE from the sources with GENERIC kernel. I did not run "make delete-old" but some installed apps, like tmux, cannot run anymore: # tmux Shared object "libevent-2.1.so.6" not found, required by "tmux" Then I found some services are not running. For example jails and PF. I tried to run PF manually: # service pf reload pf does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable # ls -l /etc/rc.d/pf -rw-r--r-- 1 root wheel 1.2K Jul 10 16:56 /etc/rc.d/pf OK, now I know what this problem is: # ls -l /etc/rc.d/ | grep 'rw-r--r' -rw-r--r-- 1 root wheel 3032 Jul 10 20:30 ipfw -rw-r--r-- 1 root wheel 788 Jul 10 20:32 ipmon -rw-r--r-- 1 root wheel 14256 Jul 10 16:58 jail -rw-r--r-- 1 root wheel 2956 Jul 10 16:56 ldconfig -rw-r--r-- 1 root wheel 4500 Jul 10 20:34 ntpd -rw-r--r-- 1 root wheel 1263 Jul 10 16:56 pf All these files where edited by etcupdate because there were some conflicts. I was using mergemaster in the past and never had a problem like this so my question is: why files with conflicts edited by etcupdate have wrong permissions? Kind regards Miroslav Lachman