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

systemd user ask-password #627

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

beroal
Copy link
Contributor

@beroal beroal commented Dec 15, 2024

I just updated my OS and this set of profiles. After executing any systemctl command, I get the following log messages:

apparmor="DENIED" operation="mkdir" class="file" profile="systemd-tty-ask-password-agent" name="/run/user/0/systemd/ask-password/"  comm="systemd-tty-ask" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 FSUID="root" OUID="root"

After adding

  @{run}/user/@{uid}/systemd/ask-password/ w,

I get the following log messages:

apparmor="DENIED" operation="open" class="file" profile="systemd-tty-ask-password-agent" name="/run/user/0/systemd/ask-password/"  comm="systemd-tty-ask" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 FSUID="root" OUID="root"

After adding

  @{run}/user/@{uid}/systemd/ask-password/ r,

no log messages.

@roddhjav
Copy link
Owner

Thanks, merged!

@roddhjav roddhjav merged commit f8fc1aa into roddhjav:main Dec 23, 2024
7 checks passed
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.

2 participants