delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/18/02:12:13

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <daniel DOT abrahamsson AT prover DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: flock: cannot set up timer: Invalid argument
Date: Fri, 18 Jan 2019 07:11:58 +0000
Message-ID: <AM6PR08MB3957781AA97C883116D985E2E99C0@AM6PR08MB3957.eurprd08.prod.outlook.com>
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
X-IsSubscribed: yes
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019