[augeas-devel] Extra spaces in lens output

Raphaël Pinson raphink at gmail.com
Fri Mar 9 14:26:35 UTC 2012


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.



Raphaël




More information about the augeas-devel mailing list