From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78346 invoked by alias); 20 Jan 2019 05:10:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 78328 invoked by uid 89); 20 Jan 2019 05:10:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, Success, timer, HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 20 Jan 2019 05:10:31 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E2675804FF for ; Sun, 20 Jan 2019 05:10:29 +0000 (UTC) Received: from ovpn-116-50.phx2.redhat.com (ovpn-116-50.phx2.redhat.com [10.3.116.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4C9635D6AA for ; Sun, 20 Jan 2019 05:10:29 +0000 (UTC) Message-ID: <41eec858fea3a796406875078fe63e55cdc39d79.camel@cygwin.com> Subject: Re: flock: cannot set up timer: Invalid argument From: Yaakov Selkowitz To: "cygwin@cygwin.com" Date: Sun, 20 Jan 2019 05:10:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-01/txt/msg00134.txt.bz2 On Fri, 2019-01-18 at 07:11 +0000, Daniel Abrahamsson wrote: > 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? This appears to be fixed in the latest snapshot. -- Yaakov -- 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