![고쳐 쓰다](https://linux55.com/image/82693/%EA%B3%A0%EC%B3%90%20%EC%93%B0%EB%8B%A4.png)
augtool
다음을 사용하여 일부 매개변수를 설정하려고 합니다.
Linux$ sudo augtool set /files/etc/abrt/abrt-action-save-package-data.conf/OpenGPGCheck no
error: Failed to execute command
saving failed (run 'print /augeas//error' for details)
오류로 인해 다음과 같은 결과가 출력됩니다.
Linux$ sudo augtool print /augeas//error
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error = "parse_failed"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/pos = "167"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/line = "6"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/char = "0"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/lens = "/usr/share/augeas/lenses/libreport.aug:20.14-.43:"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/message = "Iterated lens matched less than it should"
다른 상자에서도 동일한 명령이 작동합니다. 무엇이 빠졌는지 모르시나요?
운영 체제: CentOS7
augtool 1.1.0 <http://augeas.net/>
Copyright (C) 2007-2011 David Lutterkort
License LGPLv2+: GNU LGPL version 2.1 or later
<http://www.gnu.org/licenses/lgpl-2.1.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David Lutterkort
고쳐 쓰다
augtool> print /augeas/files/etc/abrt/abrt-action-save-package-data.conf/error
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error = "parse_failed"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/pos = "167"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/line = "6"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/char = "0"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/lens = "/usr/share/augeas/lenses/libreport.aug:20.14-.43:"
/augeas/files/etc/abrt/abrt-action-save-package-data.conf/error/message = "Iterated lens matched less than it should"
augtool>
/etc/abrt/abrt-action-save-package-data.conf
# With this option set to "yes",
# only crashes in signed packages will be analyzed.
# the list of public keys used to check the signature is
# in the file gpg_keys
#
OpenGPGCheck = no
# Blacklisted packages
#
BlackList = nspluginwrapper, valgrind, strace, mono-core
# Process crashes in executables which do not belong to any package?
#
ProcessUnpackaged = yes
# Blacklisted executable paths (shell patterns)
#
BlackListedPaths = /usr/share/doc/*, */example*, /usr/bin/nspluginviewer, /usr/lib/xulrunner-*/plugin-container
# interpreters names
Interpreters = python2, python2.7, python, python3, python3.3, perl, perl5.16.2