Bug 147905 - RFE: introduce booleans.d instead of/in addition to booleans file?
Summary: RFE: introduce booleans.d instead of/in addition to booleans file?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-12 14:16 UTC by Alexandre Oliva
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-04-21 15:02:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexandre Oliva 2005-02-12 14:16:37 UTC
A single booleans file is a problem for updates/upgrades that
introduce new booleans, if you've ever modified the booleans file
before.  The new settings will be in booleans.rpmnew, and new `active'
defaults won't take effect.

One possibility to overcome this problem would be to only add booleans
that defaulted to false.

Another possibility is to switch from a single booleans file to a
directory structure: booleans.d/<property> containing either 0/1, or
<property>=0/1.  The latter won't waste space and makes it easier to
cat them all together, but it makes room for introducing unrelated
settings under different filenames.

It's more work in maintaining the rpm, for sure, but it makes for
cleaner upgrades.

Comment 1 Daniel Walsh 2005-04-21 15:02:16 UTC
I have switched to using booleans.local instead of just booleans.

So now /etc/selinux/TYPE/booleans is config and booleans.local is config(noreplace)


Note You need to log in before you can comment on or make changes to this bug.