[augeas-devel] Extra spaces in lens output
Dominic Cleal
dcleal at redhat.com
Sat Mar 10 09:34:21 UTC 2012
On 09/03/12 14:26, Raphaël Pinson wrote:
> On Fri, Mar 9, 2012 at 2:52 PM, Dominic Cleal <dcleal at redhat.com> wrote:
>> On 09/03/12 13:46, Raphaël Pinson wrote:
>>> Actually, I don't think it's really useful to have a specific lens for
>>> this file.
>>>
>>> Unless you really want a strict syntax check for it. We could very
>>> well add /etc/selinux/config to the Simplevars lens, which is made for
>>> this kind of files.
>>
>> It's actually a Shellvars candidate and should already be visible via
>> the /etc/sysconfig/selinux symlink:
>>
>> $ ll /etc/sysconfig/selinux /etc/selinux/config
>> -rw-r--r--. 1 root root 448 May 13 2010 /etc/selinux/config
>> lrwxrwxrwx. 1 root root 17 May 13 2010 /etc/sysconfig/selinux ->
>> ../selinux/config
>
>
> On RHEL 6.2, we don't have this symlink by default, the file is only
> in /etc/selinux/config.
It should do, the selinux-policy package owns the config and the
symlink. Perhaps try an rpm -V?
Anyway, I've now added /etc/selinux/config to Shellvars in git.
--
Dominic Cleal
Red Hat Consulting
m: +44 (0)7817 878113
More information about the augeas-devel
mailing list