Hi,

Problem solved.

On Mon, 11 Apr 2011 20:13:00 +0900
Tetsuo Handa <[email protected]> wrote:

> Horvath Andras wrote:
> > When i change 1 to 3, then run:
> > tomoyo-loadpolicy fa
> > tomoyo-savepolicy
> > 
> > Then it stays in profile 1 showing the same as above.
> 
> Excuse me, how did you change from 1 to 3?
> 
> Using tomoyo-editpolicy ? (If so, you don't need to run
> tomoyo-loadpolicy .)

No.

> Editing /etc/tomoyo/domain_policy.conf and loading it via
> tomoyo-loadpolicy ? (If so, you don't need to run tomoyo-savepolicy
> after tomoyo-loadpolicy .)

Yes. I used tomoyo-savepolicy after loading it for just testing.

> > I may have found a bug in Tomoyo. I have a policy file where i
> > cannot update a domain from learning mode to enforcing mode. It
> > doesn't work even after a full reboot.
> 
> Please make sure that "cat /sys/kernel/security/tomoyo/manager" shows
> programs which update policy via /sys/kernel/security/tomoyo/
> interface. You can also check "dmesg" output. If "dmesg" is
> complaining, add the program to /etc/tomoyo/manager.conf and reboot.

manager.conf is the solution, somehow i must have removed it earlier,
and that's why the strange behavior.

Sorry for my mistake, and Thank You for the quick help!


Have a nice day!

Andras

_______________________________________________
tomoyo-users-en mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en

Reply via email to