Skip to content

Conversation

pcnc
Copy link
Member

@pcnc pcnc commented Jan 12, 2023

What kind of change does this PR introduce?

type=AVC msg=audit(1673528594.152:92): apparmor="DENIED" operation="open" profile="/usr/lib/postgresql/bin/postgres" name="/usr/local/lib/groonga/plugins/tokenizers/mecab.so" pid=2301 comm="postgres" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
type=AVC msg=audit(1673529033.829:138): apparmor="DENIED" operation="open" profile="/usr/lib/postgresql/bin/postgres" name="/etc/mecabrc" pid=2941 comm="postgres" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
type=AVC msg=audit(1673529088.150:150): apparmor="DENIED" operation="open" profile="/usr/lib/postgresql/bin/postgres" name="/var/lib/mecab/dic/naist-jdic/dicrc" pid=3004 comm="postgres" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
  • This updates the Postgres profile so that the database process can access required files

@pcnc pcnc requested a review from a team as a code owner January 12, 2023 13:16
@pcnc pcnc merged commit 474cb04 into develop Jan 12, 2023
@pcnc pcnc deleted the pcnc/pgroonga-plugin-apparmor-update branch January 12, 2023 14:09
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
* chore: update postgres armor profile to support MeCab tokenizer for PGroonga

* chore: bump pg version
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