Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to run on OpenBSD 6.9 #231

Open
atisharma opened this issue Jun 10, 2021 · 3 comments
Open

Fails to run on OpenBSD 6.9 #231

atisharma opened this issue Jun 10, 2021 · 3 comments
Assignees
Milestone

Comments

@atisharma
Copy link

atisharma commented Jun 10, 2021

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
@deajan
Copy link
Owner

deajan commented Jun 29, 2021 via email

@atisharma
Copy link
Author

It was with the latest git master.

I no longer have openbsd, so unable to test (sorry).

@deajan
Copy link
Owner

deajan commented Jun 29, 2021

Okay, thanks for the quick answer anyway.
I'll add this to the list of OSes to test.

Best regards.

@deajan deajan self-assigned this Jun 29, 2021
@deajan deajan added this to the v1.3 release milestone Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants