Tetsuo Handa
from-****@i-lov*****
2009年 6月 22日 (月) 15:11:33 JST
熊猫です。 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532920 にて 「 TOMOYO 2.2.0 で ccs-auditd が機能しない」というバグ報告が出ています。 2.2.0 には grant_log および reject_log が存在しないため ccs-auditd が 機能しないのは正しい動作なのですが、エラーメッセージが不適切だったために 混乱させてしまったようです。 そこで、対策として grant_log または reject_log が存在しない場合には ccs-auditd 起動直後にエラーメッセージを表示して終了させるように修正したいと 思います。この修正に関して、何か困ることがありましたらお知らせください。 (明日 ccs-tools-1.6.8-20090623.tar.gz としてリリースします。) # diff -r --exclude .svn tags/ccs-tools/1.6.8/ trunk/1.6.x/ccs-tools/ diff -r --exclude .svn tags/ccs-tools/1.6.8/ccstools/README.ccs trunk/1.6.x/ccs-tools/ccstools/README.ccs 4c4 < for TOMOYO Linux version 1.6.8 . --- > for TOMOYO Linux version 1.6.8 and 2.2.0 . 424a425,429 > > Version 1.6.8p1 2009/06/23 Bug fix release. > > ccs-auditd: > Print error message if auditing interface is not available. diff -r --exclude .svn tags/ccs-tools/1.6.8/ccstools/ccs-tools.spec trunk/1.6.x/ccs-tools/ccstools/ccs-tools.spec 5c5 < Release: 1 --- > Release: 2 11c11 < Conflicts: ccs-tools < 1.6.8-1 --- > Conflicts: ccs-tools < 1.6.8-2 13c13 < Source0: http://osdn.dl.sourceforge.jp/tomoyo/30298/ccs-tools-1.6.8-20090528.tar.gz --- > Source0: http://osdn.dl.sourceforge.jp/tomoyo/30298/ccs-tools-1.6.8-20090623.tar.gz 44a45,47 > * Tue Jun 23 2009 1.6.8-2 > - ccs-auditd: Print error message if auditing interface is not available. > diff -r --exclude .svn tags/ccs-tools/1.6.8/ccstools/ccstools.src/ccs-auditd.c trunk/1.6.x/ccs-tools/ccstools/ccstools.src/ccs-auditd.c 8c8 < * Version: 1.6.8 2009/05/28 --- > * Version: 1.6.8p1 2009/06/23 23c23 < if (access(proc_policy_dir, F_OK)) { --- > if (access(procfile_path[0], R_OK) || access(procfile_path[1], R_OK)) { diff -r --exclude .svn tags/ccs-tools/1.6.8/ccstools/ccstools.src/ccstools.c trunk/1.6.x/ccs-tools/ccstools/ccstools.src/ccstools.c 1225c1225 < printf("ccstools version 1.6.8 build 2009/05/28\n"); --- > printf("ccstools version 1.6.8p1 build 2009/06/23\n");