修正する

修正する

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

ベストアンサー1

おすすめ記事