Skip to content

Fails to run on OpenBSD 6.9 #231

@atisharma

Description

@atisharma

osync (stable or git HEAD) fails to sync due to not recognising the OS.

To reproduce

For example,

asharma:~$ bash /usr/local/bin/osync.sh /etc/osync/notes.conf 
TIME: 1 - Running on >> GENERIC.MP#1 << not supported. Please report to the author.

but

asharma:~$ IGNORE_OS_TYPE=yes bash /usr/local/bin/osync.sh /etc/osync/notes.conf 
TIME: 0 - Running on unknown local OS [GENERIC.MP#1].
TIME: 0 - -------------------------------------------------------------
TIME: 0 - Thu Jun 10 13:10:19 BST 2021 - osync 1.2 script begin.
TIME: 0 - -------------------------------------------------------------
TIME: 0 - Sync task [sync_notes] launched as asharma@XXXXX. (PID 75192)
TIME: 2 - Checking minimum disk space in local replica [/home/asharma/notes/].
ps: /dev/mem: Permission denied
ps: /dev/mem: Permission denied
ps: /dev/mem: Permission denied
[...]

works, even with the errors.

Expected behavior
I'd expect osync to recognise the OS and proceed.

Deviated behavior
It doesn't recognise the OS and bails out early.

Environment:

  • Full osync version (including build) osync 1.2 2017032101 and 1.3.0-dev-rc2 2021022401
  • OS: OpenBSD 6.9
  • Bitness x64
  • bash

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions