Bernard wrote:
> Thanks Tetsuo Handa,
> 
> I executed :
> 
> bernard@vbox11:/usr/lib/tomoyo$ sudo init_policy
> [sudo] password for hulsman:
> sudo: init_policy: command not found

Please try "sudo /usr/lib/tomoyo/init_policy" than "sudo init_policy".
/usr/lib/tomoyo is not included in $PATH environment variable, and
people don't include "." in $PATH environment variable.

> bernard@vbox11:/usr/lib/tomoyo$ ls
> audit-exec-param   convert-exec-param  tomoyo-editpolicy-agent
> convert-audit-log  init_policy
> bernard@vbox11:/usr/lib/tomoyo$
> 
> so still no result.
> 
> With regards,
> 
> Bernard
> 
> 
> Citeren Tetsuo Handa <[email protected]>:
> 
> > Hello.
> >
> > Bernard wrote:
> >> But see the next statements :
> >>
> >> bernard@vbox11:/usr/lib/tomoyo$ grep tomoyo_write_inet_network
> >> /proc/kallsyms
> >> 0000000000000000 T tomoyo_write_inet_network
> >> bernard@vbox11:/usr/lib/tomoyo$ /usr/lib/tomoyo/init_policy
> >> Creating policy directory... failed.
> >> bernard@vbox11:/usr/lib/tomoyo$ init_policy
> >> init_policy: command not found
> >> bernard@vbox11:/usr/lib/tomoyo$ ls
> >> audit-exec-param   convert-exec-param  tomoyo-editpolicy-agent
> >> convert-audit-log  init_policy
> >> bernard@vbox11:/usr/lib/tomoyo$
> >>
> >> Could you help me what I did wrong here?
> >
> > Please run /usr/lib/tomoyo/init_policy as root user, for it
> > creates directories and files under /etc/ directory.
> >
> > The # prompt in documentation means "need to run as root user"
> > whereas the $ prompt means "not required to run as root user".
> >
> > Regards.
> >
> 
> _______________________________________________
> tomoyo-users-en mailing list
> [email protected]
> http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en
> 

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

Reply via email to