[rsbac] ACL menu and RSBAC_EINVALIDTARGET

Samuli Kärkkäinen skarkkai at woods.iki.fi
Fri Sep 12 07:39:05 MEST 2003


When using the ACL management menu and choosing a new target, it sometimes
happens that the user interface doesn't list any entries, and in the syslog
appears one or two lines like

rsbac_acl_sys_get_mask(): rsbac_acl_get_mask() returned error RSBAC_EINVALIDTARGET!

This is apparently when the target dependent specifier field (first/second
field from the top) isn't given. Perhaps the contents of that field is kept
the same as with previously used target, which makes the field content
invalid. I haven't managed to figure out exactly when this happens.

This is not actually harmful, but quite confusing. Getting such messages
into the syslog makes one think something is broken. The UI should probably
make it more obvious that the user needs to enter something sensible into
the field in question when its contents aren't valid.

-- 
  Samuli Kärkkäinen                   |\      _,,,---,,_
 skarkkai at woods.iki.fi ---------ZZZzz /,`.-'`'    -.  ;-;;,_------
http://www.woods.iki.fi              |,4-  ) )-,_. ,\ (  `'-'
                                     '---''(_/--'  `-'\_)


More information about the rsbac mailing list