http://bugzilla.novell.com/show_bug.cgi?id=510740 User suse-beta@cboltz.de added comment http://bugzilla.novell.com/show_bug.cgi?id=510740#c3 --- Comment #3 from Christian Boltz <suse-beta@cboltz.de> 2009-10-16 02:07:54 CEST --- some more debugging: the file $MODULE_PLIST contains the space. This means the space must be lost in this line: sort "$PNAMES_LIST" | comm -2 -3 "$MODULE_PLIST" - | while read profile ; do comm worked fine on some test files, therefore I googled for "bash read space" and found http://dbaspot.com/forums/shell/372688-bash-read-string-preceding-trailing-s... The solution is to unset $IFS in /lib/apparmor/rc.apparmor.functions line 434: - sort "$PNAMES_LIST" | comm -2 -3 "$MODULE_PLIST" - | while read profile ; do + sort "$PNAMES_LIST" | comm -2 -3 "$MODULE_PLIST" - | while IFS= read profile ; do # ignore the line break in bugzilla Please apply this fix to the rc.apparmor.functions script. BTW: You'll get the "No such file or directory" message if you try to remove a profile that is not loaded (or doesn't exist). Try yourself: echo '/does/not_exist' > /sys/kernel/security/apparmor/.remove -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.