bugGNU Parallel - Bugs: bug #57160, sem fails on Android


bug #57160: sem fails on Android

Submitted by:  Ole Tange <tange>
Submitted on:  Sun 03 Nov 2019 04:16:37 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 03 Nov 2019 04:16:37 PM UTC, original submission:  

This is due to the file system not allowing for hard links:

    $ touch a
    $ ln a b
    ln: failed to create hard link 'b' => 'a': Permission denied

f2fs support hard links on Ubuntu, so it is not because the file system itself does not support hard links. Some other factor plays in.

A way to solve this is to move the locking into shared memory. It means you cannot use this across servers (e.g. sem on server1 will no longer respect sem on server2 if they share $HOME).

Ole Tange <tange>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.7