X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DFB2385843E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1702303674;
	bh=6Tm+VojOdHLyfKHRfkIt5ybEVqPEqp1YMDkVysyEHTE=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=SUMqXwrXNi1uAGvqXzIPmmOkVSw11T3PXKP5TVGzctwGol+UwZngeYhZ8GhPkeI02
	 TvlxSGUzDSenkE1eW0/WaDjrPg+53WHeQaRBHgEFpA3WaGDm6Od3IjY0uvwK592OUA
	 lqQ2NVhSBqpkb33Fktw3GYbm8YVemuzT2ngcFYAQ=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 655A73858C50
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 655A73858C50
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702303637; cv=none;
 b=mShJEoc4nKd949xLFrwuNcigeV8SlFg5vs4zTsS9CA8o+iGefpkNaALEFO+kUyxsqzUSKJCn/CWgL/vQ2fxyfScXw6z/NZGZeJRsFiHr4bG/J8tcCEfdTxNAIGAVD1aPPPsLEC7Pc20XtbCA/pUQNnGqr76cQklUlQ/jxk7ddlI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1702303637; c=relaxed/simple;
 bh=ZHl76RKNOTTDePlffe/5tszH4+KzfS+QTGah3aUuLcU=;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=F6/T+Kxl0KFjXCbmAn6E35J1zB5Yw0KzdxtTKW03cFTtNfMYcRsVSwra5YJ8ETi5eEL2Xd4e8V1nB64l8rpNdF8Faw4Vaq2j/IY/SEB+ZuX9NSndFV+dCa032xK3EvD68IMPxOHGpSsjl7/doDgZRh2slV3jvXSIDWL0yVb6+zE=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-SNCR-Rigid: 6567CD7101EE1B2C
X-Originating-IP: [81.129.146.217]
X-OWM-Source-IP: 81.129.146.217
X-OWM-Env-Sender: jon.turney@dronecode.org.uk
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvkedrudelvddgiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpedvvdeuheffuedvtdfhveekieefvdfhfeetffdvudehkeeigeetvdetjeetieeileenucfkphepkedurdduvdelrddugeeirddvudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdejngdpihhnvghtpeekuddruddvledrudegiedrvddujedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheprggurghmseguihhnfihoohguihgvrdhorhhgpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgvvhfkrfephhhoshhtkeduqdduvdelqddugeeiqddvudejrdhrrghnghgvkeduqdduvdelrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgv
 ohfkrfepifeupdfovfetjfhoshhtpehsrgdqphhrugdqrhhgohhuthdqtddtfe
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <bc93f4f5-ebe0-4755-988d-ac332a1b3f16@dronecode.org.uk>
Date: Mon, 11 Dec 2023 14:07:08 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Cannot set up cron as a service on corporate PC
To: Adam Dinwoodie <adam@dinwoodie.org>,
        The Cygwin Mailing List <cygwin@cygwin.com>
References: <20231209215527.bg5slflpy6bufbmw@lucy.dinwoodie.org>
Content-Language: en-GB
In-Reply-To: <20231209215527.bg5slflpy6bufbmw@lucy.dinwoodie.org>
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Jon Turney via Cygwin <cygwin@cygwin.com>
Reply-To: Jon Turney <jon.turney@dronecode.org.uk>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 09/12/2023 21:55, Adam Dinwoodie via Cygwin wrote:
> Hi,
> 
> I've been trying to set up Cygwin cron to work as a service on my work
> PC.  I'm able to get it working just fine on a Windows system where I'm
> using a personal Microsoft account, but when I attempt the same process
> using on a Windows system using my work account, I get the following
> error:
> 
>      cygrunsrv: Error starting a service: StartService:  Win32 error 1068:
>      The dependency service or group failed to start.
> 
> I also note that in the failing scenario, I see the following log appear
> at this time in Windows Event Viewer:
> 
>> This computer is configured as a member of a workgroup, not as a
>> member of a domain. The Netlogon service does not need to run in this
>> configuration.
> 
> I've reproduced this behaviour in virtual machines using fresh
> installations of Windows, and where the only actions taken were to
> bootstrap, log in, install Cygwin including cygrunsrv and cron, then
> attempt to set up cron as a service.  I've attached copies of the MinTTY
> output and the cronbug.txt files (which appear to include the normal
> cygcheck -srv output, so I've not added those separately.  I've also
> attached the full Event Viewer log
> 
> My guess is that something about how Windows manages user accounts has
> changed over the years, and cygrunsrv hasn't been updated to cope, but
> that's a very wild guess.  Searching the archives hasn't got me very

You might test this hypothesis by attempting to run 'true', or perhaps 
it needs to be something that runs forever like 'sleep infinity' and see 
if you get the same error about netlogon?

(Or are you able to run other cygwin services without problems?)


-- 
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
