[augeas-devel] [Augeas] #255: augtool error output
Augeas
trac at fedorahosted.org
Sun Feb 12 20:43:22 UTC 2012
#255: augtool error output
---------------------+--------------------
Reporter: swills | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.10.0
Resolution: | Keywords:
Blocked By: | Blocking:
---------------------+--------------------
Comment (by domcleal):
Replying to [comment:3 swills]:
> BTW, /etc/master.passwd is where the passwords are really stored. See
the pwd_mkdb(8) man page:
Yep, I expect it was just tested with a Linux shadow setup and the letter
"x".
> As far as exports, it is a very different format. A separate lens would
be fine. I can try to take a look at that if it would help.
Sure, thanks. The trouble we'll have is that it can't be autoloaded with
Augeas as we already have one for /etc/exports. It might be worth
including upstream though and then perhaps the FreeBSD package/port can be
patched to autoload the FreeBSD exports lens over the "standard" (Linux)
exports lens?
> The /etc/host.conf file is generated at boot time based on
nsswitch.conf, so perhaps it should just be skipped?
Again, probably better as a patch downstream in FreeBSD.
> For rc.conf, it comes from here:
>
>
http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/augeas/files/rcconf.aug?rev=1.2
;content-type=text%2Fplain
>
> Since rc.conf is just shell which is sourced by other scripts (".
/etc/rc.conf"), it can contain any valid shell syntax, so making things
100% for it may be difficult.
Ok, that's good - we have a lens for shell files (e.g.
/etc/{sysconfig,default} on Linux) so we can add /etc/rc.conf to its incl
list. If the rcconf.aug lens is used downstream, it'll need to be removed
for the next release so there aren't two lenses autoloading the same file.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/255#comment:4>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list