public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Daniel Abrahamsson <daniel.abrahamsson@prover.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: flock: cannot set up timer: Invalid argument
Date: Fri, 18 Jan 2019 07:12:00 -0000	[thread overview]
Message-ID: <AM6PR08MB3957781AA97C883116D985E2E99C0@AM6PR08MB3957.eurprd08.prod.outlook.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 619 bytes --]

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
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

             reply	other threads:[~2019-01-18  7:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18  7:12 Daniel Abrahamsson [this message]
2019-01-20  5:10 ` Yaakov Selkowitz
2019-01-21  7:11   ` Daniel Abrahamsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM6PR08MB3957781AA97C883116D985E2E99C0@AM6PR08MB3957.eurprd08.prod.outlook.com \
    --to=daniel.abrahamsson@prover.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).