5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-09-19 00:59:37 +00:00
yggdrasil-go/contrib
rany 709ea6976c
apparmor: allow yggdrasil to resolve hostnames (#739)
The apparmor profile in it's current state won't allow resolving hostnames. We need `<abstractions/nameservice>` because we simply can't just allow `/etc/resolv.conf`. This is because systemd-resolved, resolvconf, and others rely on symbolic links to `/etc/resolv.conf` which would make this extremely complicated.  `<abstractions/nameservice>` deals with this complexity to allow every single one of those packages (systemd-resolved, resolvconf, ... ).

```
  network inet stream,
  network inet dgram,
  network inet6 dgram,
  network inet6 stream,
  network netlink raw,
```
was removed because it's already included in `<abstractions/nameservice>`. Some permissions that are no longer needed in newer yggdrasil versions were also removed.

`owner /sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,` was changed to `/sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,` because there is no guarantee that yggdrasil will always be run as root. (`owner` makes sure that the process's user and the file have the same owner, in that case, root. This might not always be the case so `owner` was removed)
2020-12-06 20:52:10 +00:00
..
ansible check if an error was returned by Core._init and return it if so 2020-03-31 18:14:20 -05:00
apparmor apparmor: allow yggdrasil to resolve hostnames (#739) 2020-12-06 20:52:10 +00:00
busybox-init contrib/busybox-init: add reload and use -useconffile 2019-03-06 11:30:49 +01:00
deb Hopefully really actually fix it this time 2020-02-21 19:32:36 +00:00
docker docker: build and copy genkeys 2020-01-05 15:26:08 -05:00
freebsd Add freebsd service script into contrib 2018-10-06 00:24:07 +01:00
logo Update neilalexander's logo proposal 2018-11-14 19:25:35 +00:00
macos Fix launchd file for macOS to use -useconffile 2019-03-04 08:44:25 +00:00
msi Fix syntax error in build-msi.sh 2019-12-10 11:40:16 +00:00
openrc contrib/openrc: I like symmetry 2019-03-05 22:27:51 +01:00
semver semver: Don't return failure codes when git history is not present 2019-09-18 20:09:53 +01:00
systemd Merge pull request #607 from Arano-kai/feature/systemd_modular_unit 2019-12-10 12:02:46 +00:00
yggdrasil-brute-simple remove ygg-brute gitignore 2019-05-18 04:25:57 -07:00