Skip to content

Add FreeBSD 13.3 and 14.0#1765

Merged
BareosBot merged 3 commits intobareos:masterfrom
arogge:dev/arogge/master/new-dists
Apr 26, 2024
Merged

Add FreeBSD 13.3 and 14.0#1765
BareosBot merged 3 commits intobareos:masterfrom
arogge:dev/arogge/master/new-dists

Conversation

@arogge
Copy link
Member

@arogge arogge commented Apr 8, 2024

This PR adds the following platforms to matrix.yml:

  • FreeBSD 13.3
  • FreeBSD 14.0

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@arogge arogge added this to the 24.0.0 milestone Apr 8, 2024
@arogge arogge self-assigned this Apr 9, 2024
@arogge arogge force-pushed the dev/arogge/master/new-dists branch from f911651 to 864b45b Compare April 12, 2024 08:34
@arogge arogge changed the title Add Fedora 40, FreeBSD 13.3, FreeBSD 14.0 Add FreeBSD 13.3 and 14.0 Apr 12, 2024
@arogge arogge requested a review from sebsura April 16, 2024 09:58
@arogge arogge mentioned this pull request Apr 17, 2024
6 tasks
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly i can only add notes to files that you actually touched, so i will write my notes here:

in freebsd/bareos-*.in we need to add a default value or we get an ugly warning:

modified   core/platforms/freebsd/bareos-fd.in
@@ -19,4 +19,5 @@ rcvar=bareosfd_enable
 command="@sbindir@/bareos-fd"
 
 load_rc_config $name
+: "${bareosfd_enable:=no}"
 run_rc_command "$1"

see https://docs.freebsd.org/en/articles/rc-scripting/ for reference.

I also have trouble connecting to the director on FreeBSD 14.0. The director seems to crash whenever i try to connect with the console. Ill see if I can get a traceback.

@sebsura
Copy link
Contributor

sebsura commented Apr 26, 2024

It seems like the problem was just that installing bareos-dir did not also install postgresql-server

@sebsura
Copy link
Contributor

sebsura commented Apr 26, 2024

Are you supposed to install bareos-com.database-postgresql separately ? otherwise the installation instructions for bareos-dir dont work as postgresql.sql is missing.

@arogge
Copy link
Member Author

arogge commented Apr 26, 2024

Are you supposed to install bareos-com.database-postgresql separately ? otherwise the installation instructions for bareos-dir dont work as postgresql.sql is missing.

I think so. IIRC when we dropped MySQL catalog support we decided not to remove the postgresql-package and move its files into the director package.

@arogge
Copy link
Member Author

arogge commented Apr 26, 2024

I pushed a fix for the rcscripts default values.

Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work! LGTM

@BareosBot BareosBot force-pushed the dev/arogge/master/new-dists branch from cd1724c to cb23d0f Compare April 26, 2024 15:30
@BareosBot BareosBot merged commit 2efb1c3 into bareos:master Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants