-
Notifications
You must be signed in to change notification settings - Fork 687
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
test_apparmor.py failure on Focal #5636
Comments
Yup, the correct path is |
kushaldas
added a commit
that referenced
this issue
Nov 17, 2020
`sbin/dhclient` string is the correct path in Xenial and on Focal. In Xenial the file is at `/sbin/dhclient`. In Focal the file is at `/usr/sbin/dhclient`
9 tasks
eloquence
changed the title
test_apparmor.py failiure on Focal
test_apparmor.py failure on Focal
Nov 30, 2020
emkll
pushed a commit
that referenced
this issue
Nov 30, 2020
`sbin/dhclient` string is the correct path in Xenial and on Focal. In Xenial the file is at `/sbin/dhclient`. In Focal the file is at `/usr/sbin/dhclient`
zenmonkeykstop
pushed a commit
that referenced
this issue
Dec 7, 2020
* Fixes #5636 uses right path of dhclient in Focal `sbin/dhclient` string is the correct path in Xenial and on Focal. In Xenial the file is at `/sbin/dhclient`. In Focal the file is at `/usr/sbin/dhclient` * Adds CI job staging-test-with-rebase-focal This will run the Focal staging job in the CI. * Updates test strings to verify gpg2 output * Adds systemd service file ossec and DNS fix Disables systemd-resolved and hardcoded DNS for Focal In Focal by default we have systemd-resolved trying to do DNS resolution. This does not pick up our DNS configuration via resolvconf. So, we can have hardcoded /etc/resolv.conf via template file. Enables and restarts OSSEC service properly via systemd module Now instead of a command, we are enabling and restarting the service using the Ansible systemd module. We also remove the old /etc/init.d/ossec file as only we want only our service to exists. * Update listing port test Now uses testinfra primitives instead of lsof workaround * Adds ossec.service file while building the ossec-server package We remove the /etc/init.d/ossec file and using the systemd service file in the ossec-server package. * Uses ossec.service only for Focal build * Adds new testinfra test for ossec We verify that Xenial uses sysv script, and Focal is using the ossec.service file to start the service in the mon server. * Consolidates resolvconf config for dual distros Under Focal, we were writing the nameserver info to two (2) files, but only testing one of them. Using a vars-based approach now, and the test logic now looks in the correct spot for Focal. * Adds systemd service check for ossec-agent Same as we've done for ossec-server, let's make sure that ossec-agent is also managed via systemd when running under Focal. * Use service file ossec pacakges * Adds ossec.service file for the agent OSSEC server and agent requires two different service files. Details at https://kushaldas.in/posts/story-of-debugging-exit-0.html Co-authored-by: mickael e <mickael@freedom.press> Co-authored-by: Conor Schaefer <conor@freedom.press>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Steps to Reproduce
molecule test -s libvirt-staging-focal
Expected Behavior
Actual Behavior
Comments
Most probably the
dhclient
path has changed inFocal
.The text was updated successfully, but these errors were encountered: