Hi We install various IBM software and DB2 and Tivoli Directory Server add entries to the inittab like this:
fmc:2345:respawn:/opt/ibm/db2/V9.5/bin/db2fmcd #DB2 Fault Monitor Coordinator ids0:2345:once:/opt/ibm/ldap/V6.2/sbin/ibmdiradm -I ldapdb > /dev/null 2>&1 #Autostart IBM LDAP Admin Daemon Instance This doesn't parse in the current inittab.aug (0.5.3) because let value = /[^#:\n]*/ Doesn't allow a # comment character in the value, so the process field can't have it and then it doesn't swallow up everything to the eol as expected... My fix which I have deployed to /usr/share/augeas/lenses/ just sets let value = /[^:\n]*/ i.e. I allow #s in values which seems reasonable as only really ids need that protection... This makes the inittab with the above lines parse with the lense. Please consider adding this change to the official distribution. Two other things which I would appreciate pointers on is: * How do I create an entry which has an empty runlevel value, such as ca::ctrlaltdel:... has? (I can't do it via augtool or puppet) * How do I comment out a line in any config file with augeas? Can I only delete lines? I can't figure out how to add comments... Regards -ant (I am waiting for my fedora registration email so I can log this as an issue, but midnight approaches and by tomorrow I might have forgotten...) _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
