public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* flock: cannot set up timer: Invalid argument
@ 2019-01-18  7:12 Daniel Abrahamsson
  2019-01-20  5:10 ` Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Abrahamsson @ 2019-01-18  7:12 UTC (permalink / raw)
  To: cygwin

[-- 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РÐ

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18  7:12 flock: cannot set up timer: Invalid argument Daniel Abrahamsson
2019-01-20  5:10 ` Yaakov Selkowitz
2019-01-21  7:11   ` Daniel Abrahamsson

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