From: guido@trentalancia.com (Guido Trentalancia) Date: Wed, 15 Aug 2012 11:48:00 +0200 Subject: [refpolicy] [PATCH]: clarify the file_contexts.subs_dist configuration file usage In-Reply-To: <20120815084548.GA2701@siphos.be> References: <50250912.50902@trentalancia.com> <502A3EAE.2060905@tresys.com> <20120815080226.GA32379@siphos.be> <502B5A26.5070309@trentalancia.com> <20120815082038.GA1471@siphos.be> <502B6010.1060007@trentalancia.com> <20120815084548.GA2701@siphos.be> Message-ID: <502B7050.9010301@trentalancia.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 15/08/2012 10:45, Sven Vermeulen wrote: > On Wed, Aug 15, 2012 at 10:38:40AM +0200, Guido Trentalancia wrote: >> You may have a broken version of the userspace tools. >> >> I have just tested again and the copy of semanage that I have runs fine >> the above mentioned test. >> >> The version of semanage I am using should be dated June 2012, if that >> helps... >> >> It's important to keep that note in my opinion, because otherwise it >> tends to generate confusion due to the somewhat unfortunate name that >> has been chosen for the file and due to the lack of a specific >> (userspace) manual page. > > The latest release of policycoreutils is from 2012-02-16 > (policycoreutils-2.1.10). The one I have is that version, plus a few > python-3 supporting fixes. I tried it with Python-2.7 to be sure, but got > the same result. > > Perhaps your distribution has fixes to it that haven't been made upstream > yet (or not in a stable release)? I have tested with the SELinux userspace tree dated 4th of June 2012 without any patch applied. Either it works or it should be made to work as it's just comments and #-comments should be supported in configuration files. Regards, Guido