[SM-Grimoire-Bugs] [Bug 8912] how to define hardened profile ?

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue May 17 21:21:17 EDT 2005


http://bugs.sourcemage.org/show_bug.cgi?id=8912





------- Additional Comments From acedit at armory.com  2005-05-17 18:21 -------
Is this 'profile' a new concept or something i just havent heard about?

I suppose there could be a special tool (or perhaps in the sorcery command) that
brings up a menu for profiles, and sets up a config file somewhere. The tool
could begin life as a fake spell. Spells can then refer to the config data if
they care about it and use it to make decisions. The way im reading this it isnt
much different from use flags just less anarchic so far. Another alternative to
the tool method is a profile spell, like our <desktop env>-profile spells, they
could just setup the config flag somewhere and depend on all the spells we care
about having special flags.

This is largely outside of sorcery since sorcery doesnt really actively
participate in config_query.

The only part that really needs sorcery work is integration with depends
queries, which also could presumably be done in spells:
if [[ $SELINUX_PROFILE ]] ; then
  depends selinux --with-selinux
else
  optional_depends selinux --with-selinux --without-selinux
fi
I prefer that actually since selecting the profile should hardwire the depends
anyway.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the SM-Grimoire-Bugs mailing list