Displaying 1 result from an estimated 1 matches for "check_startmsgs".
2013 Apr 28
0
setfsmac and LOMAC aux grades - inconsistent behaviour
...r, that would not
be an issue, as it seems a LOMAC/MLS setup would need a script at boot
time to update the labels anyway - the /dev filesystem needs them too.
When running a script to set the labels from /etc/rc.d I ran into the
following problem. Here's the relevant part of the script:
check_startmsgs && echo -n "Setting MAC policy: "
getpmac
id
ls -lZ /sbin/dhclient
/usr/sbin/setpmac lomac/equal,mls/equal \
/usr/sbin/setfsmac -v -ef /usr/home/test/mac.policy /
ls -lZ /sbin/dhclient
setfmac lomac/high\[low\] /sbin/dhclient
ls -lZ /sbin/dhclient
check_startmsg...