Skip to content

Commit 474cb04

Browse files
authored
AppArmor profile update for PGroonga + MeCab tokenizer (#479)
* chore: update postgres armor profile to support MeCab tokenizer for PGroonga * chore: bump pg version
1 parent e8c052d commit 474cb04

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.24"
1+
postgres-version = "15.1.0.25"

ebssurrogate/files/apparmor_profiles/usr.lib.postgresql.bin.postgres

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ deny @{HOME}/** rwx,
2020
/etc/java-11-openjdk/security/default.policy r,
2121
/etc/java-11-openjdk/security/java.policy r,
2222
/etc/java-11-openjdk/security/java.security r,
23+
/etc/mecabrc r,
2324
/etc/postgresql-custom/** r,
2425
/etc/postgresql/** r,
2526
/etc/timezone r,
@@ -31,10 +32,12 @@ deny @{HOME}/** rwx,
3132
/usr/bin/admin-mgr Ux,
3233
/usr/lib/postgresql/bin/* mrix,
3334
/usr/local/bin/wal-g rix,
35+
/usr/local/lib/groonga/plugins/tokenizers/mecab.so mr,
3436
/usr/local/lib/libSFCGAL.so.* mr,
3537
/usr/local/lib/libgroonga.so.* mr,
3638
/usr/local/pgsql/etc/pljava.policy r,
3739
/usr/share/postgresql/** r,
40+
/var/lib/mecab/** r,
3841
/var/lib/postgresql/** rwl,
3942
/var/log/postgresql/** rw,
4043
/var/log/wal-g/** w,

0 commit comments

Comments
 (0)