X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=fTy HnTxdoTAH+DfA3SGULoEmH3A4+iPO+/DR1Fx7IQv26n5NmhfSEuRpCJcsLsql9h6 6a/YUxp6k+/xgwY4+wGPIozqz1+BGJOBjkwyEOvG3aG2YsthoWQ/b0vA17RMqlEP jCdPdgZbXk3TY5csC0IfEaC2e2sidLL0Q18ELnsY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=O763hKvaY oyCAbGB1r5nrwEa93U=; b=ylb2H1uzG+JhO3A3vrrmYwVwL1+jTJ8gyXFyp4LJK s18+oPXr1tdz/fV4rV/rkgpOXVArIVXoWjFlUTBM4X2udwyRxhNAmRTSssU8EVrt lVNUYDT6BY0taG8NERmsH/PGN0Mm3+GKK/UnkU/KRaBWonuTiW87K3Pj4JXVlevq 28= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:lock, Hx-languages-length:776, H*c:alternative, H*c:HHH X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com From: Daniel Abrahamsson To: "cygwin AT cygwin DOT com" Subject: flock: cannot set up timer: Invalid argument Date: Fri, 18 Jan 2019 07:11:58 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel DOT abrahamsson AT prover DOT com; received-spf: None (protection.outlook.com: prover.com does not designate permitted sender hosts) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x0I7CCSn032744 Hi, After upgrading from util-linux 2.25.2-2 to 2.32.1-1, flock started producing the following error message: flock: cannot set up timer: Invalid argument This is the test script I am using (which works under 2.25.2-2): #!/bin/bash --login ( echo "Waiting for file lock” flock -x -w 300 200 || exit 1 echo “Success” ) 200>test.lock Ideas? //Daniel -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple