DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60F60ubF1341348 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60F60ubF1341348 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=KGF/bMD+ X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48C8C4BA2E38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1768456855; bh=3x5NLGFwriwcGJLOzHYkJwUiIGtfEzoFxSspltjFSsU=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=KGF/bMD+JIEYK6C0zEiSZmE6nkCkUZZBeQWSUQsFhEHtmfcAl1pSkNXEZVGCV5Al0 7+7aOR4aDKFUfJ3h1lTsrCABWGHgFkYplX2/QdDE6LwlRgbejHfnJTScKMFICVWD5K Hxc6W0VOq1JB5k4R31t/NtAJbNkyGngojFCPzx3I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 84E9C4BA2E21 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 84E9C4BA2E21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768456806; cv=none; b=ZbledHbdmRvmdYz2XZUSvlLojj65MFM4IvP5coOu3B7hD9246Vch0xYilSoBzg2Hq5dVn4Xz5IJsDSJeP/+yQXf3XekV1MnMOkV9vbg9Y1lim2USndu4KJ9RitMXHDlqB7x6QUs6qYiVHcmjUXBlVwwtZOEc/U+PD5Vip2WLKIQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768456806; c=relaxed/simple; bh=RpfI//REcNAvRS/qkEIY2hvCKXE5XIsSxuynKdRvrrU=; h=DKIM-Signature:Subject:To:From:Message-ID:Date:MIME-Version; b=ww5LaLtdc4aeBXVJIl7oZ2SQEDi2+uqk0dv2OzUeBPCKNBJcoq30HXlEGmyxXfPNArmqjluzlT81ITpsPk/salCqBHmnv8hFQQZxLQ9VZC3Of6RwC895c+S16yW/vBjlP9/c/pUVbfLLkrCmLVPwrufKx8UbfsC/Y/ZZM0MsjEM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84E9C4BA2E21 Subject: Re: init-config has incorrect path for /etc/rc.d/rc [FIX] To: cygwin AT cygwin DOT com References: <40d280bb-3491-4745-bf8f-bb7c8a40a0c4 AT gmail DOT com> <2129011334 DOT 56100 DOT 1768370973438 AT mail DOT yahoo DOT com> Organization: WiseMo A/S Message-ID: <597ddfb6-5083-1feb-fb60-36498c2c36b0@wisemo.com> Date: Thu, 15 Jan 2026 07:00:05 +0100 X-Mailer: Epyrus/2.1.3 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jakob Bohm via Cygwin Reply-To: Jakob Bohm Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 60F60ubF1341348 On 14/01/2026 18:21, Bruce Jerrick via Cygwin wrote: > On 1/13/26 22:09, matthew patton wrote: > >> or is it a case someone broke/removed the symlink from /etc/rc to >> /etc/rc.d/rc? Or more correctly /etc/rc -> /etc/init.d/rc.Removed, I >> believe, not broke. See below re executables in /etc . > >> /etc/rc dates back to SunOS v4 at least. Similarly /etc/init and >> /sbin/init. > Long before any SunOS or BSD.  It was probably in Version 6 Unix . > Way back then (as they say), /etc contained "system" executables, as > well as config files. > The executables were eventually moved to /sbin .  I don't remember if > that happened in BSD or SunOS.  It was /sbin, then, not /usr/sbin, > because they had to be available before /usr was mounted (SunOS > commonly got a read-only /usr via NFS). > >> /etc/rc.d (and children like /etc/rc[0-6].d) is more of a "expression >> of state" directory. > Agreed, but only in regard to /etc/rc.d/rc[0-6].d . > (A better name for /etc/rc.d (or /etc/init.d) would be /etc/init, > since a ".d" suffix usually implies optional contents.) .d indicates a Directory variant of the single file designated without the .d . Forexample, /etc/crontab.d is a directory of additional crontab files beyond the commonglobal entries in /etc/crontab. Nothing in a sane /etc directory should represent state,as the directory is supposed to be the core system-wide system config, not writableexcept by admin action.  In particular, /etc should not be writable by automated thingssuch as boot executables and daemons (that belongs in /run and /var).  On a real system rather than a compatibility layer like Cygwin, /etc will be part of the a small read-only root mount that gets remounted r/w only during relevant sysadmin tasks such as installing and removing packages. /etc/default/ is supposed to be a directory of per package config overrides, such aschoosing additional invocation options for daemons started by scripts in /etc/init.d/ . /etc/default/etc/inittab is clearly out of place. > >> The actual scripts are supposed to live in /etc/init.d/. > See my "ideal" fix below. > 'rc' and rc.sysinit are special cases -- they're called via > /etc/inittab, and don't have to be added to the rc[0-6].d dirs. > rc.local is also a special case -- it's source'd rc.sysinit . > >> Your local /etc/inittab should be FULL of references to >> /etc/init.d/rc like so: >> ... >> # System initialization >> si::sysinit:/etc/init.d/rcS >> >> # Runlevel scriptsI woul >> l0:0:wait:/etc/init.d/rc 0 >> l1:1:wait:/etc/init.d/rc 1 >> l2:2:wait:/etc/init.d/rc 2 >> l3:3:wait:/etc/init.d/rc 3 >> l4:4:wait:/etc/init.d/rc 4 >> l5:5:wait:/etc/init.d/rc 5 >> l6:6:wait:/etc/init.d/rc 6 > Not so in /etc/defaults/etc/inittab -- those subdirs are all "rc.d", > not init.d .  See my comments above re 'rc' being a special case. > > Enjoy Jakob -- Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 This public discussion message is non-binding and may contain errors. WiseMo - Remote Service Management for PCs, Phones and Embedded -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple