Date: Fri, 30 Apr 2021 13:08:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255514] etcupdate cleared the executable bit from /etc/rc.d/netif when resolving conflicts Message-ID: <bug-255514-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255514 Bug ID: 255514 Summary: etcupdate cleared the executable bit from /etc/rc.d/netif when resolving conflicts Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: uqs@FreeBSD.org Hi, this basically bricked a remote system (luckily I had OOB access). First, freebsd-update bricked the update to 13 as it copied a half kernel over but the modules failed to load due to version symbol mismatch (what?). Then I did the regular kernel/world build and install, followed by etcupdate. I have a sleep in /etc/rc.d/netif (phys link takes too long to come up), etcupdate entered the EDITOR to fix up the conflict, then I marked as resolved. Rebooted and: Starting devd. eval: /etc/rc.d/netif: Permission denied em1: link state changed to UP debugnet_any_ifnet_update: Bad dn_init result from em1 (ifp 0xfffff80003c98000), ignoring. eval: /etc/rc.d/netif: Permission denied route: writing to routing socket: Network is unreachable add net default: gateway 185.95.219.48 fib 0: Network is unreachable Autoloading module: ichsmb.ko eval: /etc/rc.d/netif: Permission denied Dafuq? root@acme:~# ls -l /etc/rc.d/net* -rw-r--r-- 1 root wheel 5995 Apr 30 14:42 /etc/rc.d/netif -r-xr-xr-x 1 root wheel 2774 Jan 6 16:52 /etc/rc.d/netoptions -r-xr-xr-x 1 root wheel 3067 Jan 6 16:52 /etc/rc.d/netwait -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255514-227>
