David, > This is very strange, especially in the case of /etc/aliases: the above > output says that for either it found one file matching the incl pattern, > but then discarded it because it matched an excl pattern - which is > particularly puzzling in the Aliases case, since there's no excl > pattern. > > Can you try again with the attached patch on top of the one I sent > yesterday ?
I ran it with the following result: $ augtool print FILTER: Aliases glob(/etc/aliases, pathc=1) = 0 0 matches FILTER: Sudoers glob(/etc/sudoers, pathc=1) = 0 fnmatch(*.augnew, sudoers, pathc=1) = 1 fnmatch(*.augsave, sudoers, pathc=1) = 1 fnmatch(*.rpmsave, sudoers, pathc=1) = 1 fnmatch(*.rpmnew, sudoers, pathc=1) = 1 fnmatch(*~, sudoers, pathc=1) = 1 0 matches /augeas /augeas/root = "/" /augeas/version = "0.5.2" /augeas/version/save /augeas/version/save/mode[1] = "backup" /augeas/version/save/mode[2] = "newfile" /augeas/version/save/mode[3] = "noop" /augeas/version/save/mode[4] = "overwrite" /augeas/version/defvar /augeas/save = "overwrite" /augeas/load /augeas/load/Aliases /augeas/load/Aliases/lens = "@Aliases" /augeas/load/Aliases/incl = "/etc/aliases" /augeas/load/Sudoers /augeas/load/Sudoers/lens = "@Sudoers" /augeas/load/Sudoers/incl = "/etc/sudoers" /augeas/load/Sudoers/excl[1] = "*.augnew" /augeas/load/Sudoers/excl[2] = "*.augsave" /augeas/load/Sudoers/excl[3] = "*.rpmsave" /augeas/load/Sudoers/excl[4] = "*.rpmnew" /augeas/load/Sudoers/excl[5] = "*~" /augeas/files /files I will be out of the country for a week without internet connection, but I'll check in as soon as I get back. Kind regards, kristof _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
