Bug#973751: util-linux: flock --conflict-exit-code returns number modulus 255

2020-11-08 Thread Jean-Michel Vourgère
tag -1 + upstream Done. I was lazy looking where exactly to report that. And thank you for pointing out this is a system limitation. signature.asc Description: This is a digitally signed message part.

Bug#973751: util-linux: flock --conflict-exit-code returns number modulus 255

2020-11-08 Thread Chris Hofstaedtler
Hi Jean-Michel Vourgère, * Jean-Michel Vourgère [201104 15:09]: > When using flock --nonblock --conflict-exit-code 600 on a locked file, the > returned value is 88. [..] > flock should fail immediatly if the number parameter is out of > acceptable range and will never be returned. > >

Bug#973751: util-linux: flock --conflict-exit-code returns number modulus 255

2020-11-04 Thread Jean-Michel Vourgère
Package: util-linux Version: 2.36-3+b2 Severity: normal Dear Maintainer, When using flock --nonblock --conflict-exit-code 600 on a locked file, the returned value is 88. I expected it to be 600. This can re reproducted by runing: $ flock --nonblock --conflict-exit-code 600 test.lock -c "sleep