Page MenuHomeDevCentral

D1182.diff
No OneTemporary

D1182.diff

diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md
new file mode 100644
--- /dev/null
+++ b/KNOWN_ISSUES.md
@@ -0,0 +1,33 @@
+# Known issues
+
+Bugs are documented on **DevCentral**, our Phabricator instance.
+
+Issues specific to the Salt configuration are located at
+https://devcentral.nasqueron.org/project/view/67/
+
+More general servers issues are located are
+https://devcentral.nasqueron.org/tag/servers/
+
+This file documents the issues where the Salt states are generally correct
+but where some situations can be troublesome, with the workaround to apply.
+
+## Role: devserver
+
+### pefs-kmod and FreeBSD 11
+
+The pefs-kmod binary package is compiled against a version incompatible
+with FreeBSD 11.1. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221076
+
+**Workaround**
+
+Install pefs-kmod through ports (that requires /usr/src),
+load the module, then require the module to be autoloaded
+on boot.
+
+```
+$ cd /usr/ports/sysutils/pefs-kmod
+$ make build deinstall reinstall
+$ kldload pefs
+$ grep -q pefs_load /boot/loader.conf || cat >> /boot/loader.conf
+pefs_load="YES"
+```
diff --git a/roles/devserver/userland-software/misc.sls b/roles/devserver/userland-software/misc.sls
--- a/roles/devserver/userland-software/misc.sls
+++ b/roles/devserver/userland-software/misc.sls
@@ -85,6 +85,19 @@
/etc/make.conf:
file.managed:
- source: salt://roles/devserver/userland-software/files/make.conf
+
+freebsd_kernel_modules:
+ pkg.installed:
+ - pkgs:
+ - pefs-kmod
+
+freebsd_kernel_modules_enable:
+ module.wait:
+ - name: freebsdkmod.load
+ - mod: pefs
+ - persist: True
+ - watch:
+ - pkg: freebsd_kernel_modules
{% endif %}
devserver_software_misc_p2p:

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 02:17 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248520
Default Alt Text
D1182.diff (1 KB)

Event Timeline