-
Notifications
You must be signed in to change notification settings - Fork 13
[hbsd14] fix(resolv): nameserver in jails #110
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
base: dev
Are you sure you want to change the base?
Conversation
| # http://netlab.dhis.org/download/software/os_cfg/FBSD/13/base/etc/sysctl.conf | ||
| # http://netlab.dhis.org/download/software/os_cfg/FBSD/14/base/etc/sysctl.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can delete my sources if needed.
| security.bsd.unprivileged_proc_debug=0 # Disallow ptrace/debug on other users’ processes | ||
| security.bsd.unprivileged_read_msgbuf=0 # Prevent non-root users from reading kernel message buffer | ||
|
|
||
| vfs.zfs.bclone_enabled=1 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a moment to identify the need of this setting please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer not enabling this for now, as it could cause unexpected problems
| vfs.zfs.bclone_enabled=1 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). | |
| vfs.zfs.bclone_enabled=0 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). |
38f8d47 to
a8bb6bf
Compare
3ab9966 to
9407c0f
Compare
9407c0f to
ac2aaa8
Compare
| security.bsd.unprivileged_proc_debug=0 # Disallow ptrace/debug on other users’ processes | ||
| security.bsd.unprivileged_read_msgbuf=0 # Prevent non-root users from reading kernel message buffer | ||
|
|
||
| vfs.zfs.bclone_enabled=1 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer not enabling this for now, as it could cause unexpected problems
| vfs.zfs.bclone_enabled=1 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). | |
| vfs.zfs.bclone_enabled=0 # Allows shallow copies of data blocks (introduced in OpenZFS 2.2). |
| OS_RELEASE=`/usr/bin/grep 'branch="' $1/etc/hbsd-update.conf | /usr/bin/sed 's/branch="\(.*\)"/\1/'` | ||
| OS_BRANCH_VERSION=`/usr/bin/grep 'os_version="' $1/etc/hbsd-update.conf | /usr/bin/sed 's/os_version="\(.*\)"/\1/'` | ||
| pkg_url="http://pkg.vultureproject.org/" | ||
| vulture_conf="Vulture.conf" | ||
| pkg_ca="pkg.vultureproject.org" | ||
| update_url="http://updates.vultureproject.org/" | ||
| vulture_update_conf="hbsd-update.conf" | ||
| update_url="http://hbsd.vultureproject.org/" | ||
| vulture_update_conf="hbsd-update-${OS_RELEASE}-${OS_BRANCH_VERSION}.conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move the dynamic fields in the update_repositories() and control their value and set to default if necessary
| # /bin/mkdir -p "${prefix_dir}/usr/local/etc/pkg/repos" | ||
| # /usr/bin/printf "# HardenedBSD are now disabled by default on Vulture\n# Vulture repositories should be enough to go by, but you can delete this file if you want to enable default HBSD repos again\nHardenedBSD: { enabled: no }\n" > ${prefix_dir}/usr/local/etc/pkg/repos/HardenedBSD.disabled.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete if unused
Changed
Fixed