Hide Forgot
Description of problem: As I understand correctly semanage make always persistent changes. Option -N should, cause the actual state is unchanged. # rpm -qf `which semanage` policycoreutils-python-2.5-8.el7.x86_64 # semanage boolean -m -1 ftpd_full_access # semanage boolean -l | grep ftpd_full_access ftpd_full_access (on , on) Determine whether ftpd can login to local users and can read and write all files on the system, governed by DAC. # semanage boolean -m -0 ftpd_full_access # semanage boolean -l | grep ftpd_full_access ftpd_full_access (off , off) Determine whether ftpd can login to local users and can read and write all files on the system, governed by DAC. # semanage boolean -N -m -1 ftpd_full_access # semanage boolean -l | grep ftpd_full_access ftpd_full_access (on , on) Determine whether ftpd can login to local users and can read and write all files on the system, governed by DAC. I would expect the last change would cause: # semanage boolean -l | grep ftpd_full_access ftpd_full_access (off , on) Determine whether ftpd can login to local users and can read and write all files on the system, governed by DAC.
# semanage boolean -m --off zebra_write_config # getsebool zebra_write_config zebra_write_config --> off # semanage boolean -N -m --on zebra_write_config # getsebool zebra_write_config zebra_write_config --> on I would expect that -N changes only persistent state, not the current state.
This issue was not selected to be included in Red Hat Enterprise Linux 7.7 because it is seen either as low or moderate impact to a small number of use-cases. The next release will be in Maintenance Support 1 Phase, which means that qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available. We will now close this issue, but if you believe that it qualifies for the Maintenance Support 1 Phase, please re-open; otherwise, we recommend moving the request to Red Hat Enterprise Linux 8 if applicable.