Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

README_PODMAN.md out of date #102

Open
CMiksche opened this issue Feb 15, 2023 · 1 comment
Open

README_PODMAN.md out of date #102

CMiksche opened this issue Feb 15, 2023 · 1 comment

Comments

@CMiksche
Copy link

The dnsname\README_PODMAN.md file is out of date.

I use Ubuntu 22.04 and AppArmor is present. However, if I add the currently described lines to the new /etc/apparmor.d/local/usr.sbin.dnsmasq file:

# required by the dnsname plugin in podman
/run/containers/cni/dnsname/*/dnsmasq.conf r,
/run/containers/cni/dnsname/*/addnhosts r,
/run/containers/cni/dnsname/*/pidfile rw,

Following will be returned after executing sudo apparmor_parser -r /etc/apparmor.d/local/usr.sbin.dnsmasq:

AppArmor parser error for /etc/apparmor.d/local/usr.sbin.dnsmasq in profile /etc/apparmor.d/local/usr.sbin.dnsmasq at line 2: syntax error, unexpected TOK_MODE, expecting TOK_OPEN

When I try to execute make install PREFIX=/usr the following is being returned:

install  -d -m 755 /usr/libexec/cni
install  -m 755 bin/dnsname /usr/libexec/cni/dnsname
install: cannot stat 'bin/dnsname': No such file or directory
make: *** [Makefile:76: install] Error 1

I really would love using this plugin but the instructions seem to be full of Issues or missing information now. (E.g. I also have no main /etc/apparmor.d/usr.sbin.dnsmasq file. In which step should this file be created?)

@rhatdan
Copy link
Member

rhatdan commented Feb 15, 2023

dnsmasq and CNI are being depracated in Podman, could you try podman + (netavark&aardvark)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants