Skip to content
Snippets Groups Projects
Unverified Commit 48ac3439 authored by Dimitri Papadopoulos's avatar Dimitri Papadopoulos
Browse files

Attempt to fix name resolution (#4)

Option 3: Use resolvconf from core. Does not work as expected.
/sbin/resolvconf fails at execution with:
mkdir: cannot create directory '/run/resolvconf': Permission denied
parent cb3b1984
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ description: | ...@@ -7,7 +7,7 @@ description: |
the gateway and this process. the gateway and this process.
license: GPL-3.0 license: GPL-3.0
adopt-info: openfortivpn adopt-info: openfortivpn
base: core18 base: core
confinement: strict confinement: strict
grade: stable grade: stable
...@@ -17,10 +17,6 @@ architectures: ...@@ -17,10 +17,6 @@ architectures:
- build-on: amd64 - build-on: amd64
layout: layout:
/usr/sbin/pppd:
bind-file: $SNAP/usr/sbin/pppd
/sbin/resolvconf:
bind-file: $SNAP/sbin/resolvconf
/etc/openfortivpn: /etc/openfortivpn:
bind: $SNAP_COMMON bind: $SNAP_COMMON
...@@ -45,20 +41,9 @@ parts: ...@@ -45,20 +41,9 @@ parts:
- pkg-config - pkg-config
- libssl-dev - libssl-dev
- libsystemd-dev - libsystemd-dev
stage-packages:
- ppp
- resolvconf
stage: stage:
- bin/openfortivpn - bin/openfortivpn
- etc/network/*
- etc/ppp/*
- etc/resolvconf/*
- lib/resolvconf/list-records
- sbin/resolvconf
- share/* - share/*
- usr/sbin/pppd
- usr/lib
- usr/share/ppp
# Infer version from Git tags: # Infer version from Git tags:
# * Remove the leading "v" from openfortivpn Git tags. # * Remove the leading "v" from openfortivpn Git tags.
# * We propose specific Git tags for openfortivpn snaps, if needed. # * We propose specific Git tags for openfortivpn snaps, if needed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment