Skip to content
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

Fix apparmor profile for access of client.conf and override templates directory #2254

Merged
merged 2 commits into from
Aug 9, 2019

Conversation

okurz
Copy link
Member

@okurz okurz commented Aug 9, 2019

  • apparmor: Allow loading of client.conf in usual home of geekotest
  • apparmor: Allow loading override templates in /etc/openqa/templates/

This fixes the "Permission denied" problem as observed on o3 when openQA
tries to access the client.conf file in the home directory of user
"geekotest". While this file is not directly used by openQA but instead
/etc/openqa/client.conf the file in the home directory is necessary for
the sync and trigger scripts currently.

Related progress issue: https://progress.opensuse.org/issues/54308
@codecov
Copy link

codecov bot commented Aug 9, 2019

Codecov Report

Merging #2254 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2254      +/-   ##
==========================================
- Coverage   86.07%   86.03%   -0.04%     
==========================================
  Files         166      166              
  Lines       10826    10826              
==========================================
- Hits         9318     9314       -4     
- Misses       1508     1512       +4
Impacted Files Coverage Δ
lib/OpenQA/Worker/Settings.pm 84.9% <0%> (-13.21%) ⬇️
lib/OpenQA/Worker/Engines/isotovideo.pm 93.68% <0%> (-0.98%) ⬇️
lib/OpenQA/Worker/WebUIConnection.pm 84.42% <0%> (+2.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eca6e30...5075b01. Read the comment docs.

@okurz okurz merged commit ce1d443 into os-autoinst:master Aug 9, 2019
@okurz okurz deleted the fix/apparmor branch August 9, 2019 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants