ros-infrastructure / apparmor_profiles

2 stars 1 forks source link

Failed running example #4

Open ShihaoJing opened 7 years ago

ShihaoJing commented 7 years ago

Hi, I am new to ROS and I am interested in securing ROS with apparmor. When I try to run your example rosmaster_talker_listener, it gives me a error message:

AppArmor parser error for /etc/apparmor.d/rosmaster_talker_listener in/etc/apparmor.d`/rosmaster_talker_listener at line 1: Could not open 'ros/global'

I have already copied everything in profiles to /etc/apparmor.d. It seems there is no file or folder called global.

Can you help me with this problem? I really appreciate your help :)

ruffsl commented 7 years ago

Hello @ShihaoJing , Just got around to checking this out. I think you were using the old example embedded in the readme? I've updated it to reflect what is in the example folder, so let me know if that was your issue? See https://github.com/ros-infrastructure/apparmor_profiles/pull/5