[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] "aug_init: Augeas initialization failed" on Fedora



I encountered this when trying to build images with Boxgrinder.  I
updated to the test build for F17 and the initial error was fixed.
However, there's another Augeas-related error, which I'll send here so
it doesn't pollute the existing bug report:

D, [2013-01-28T16:26:19.461168 #28615] DEBUG -- : GFS: launch = 0
D, [2013-01-28T16:26:19.461282 #28615] DEBUG -- : GFS: list_devices
D, [2013-01-28T16:26:19.463863 #28615] DEBUG -- : GFS: list_devices =
["/dev/vda"]
D, [2013-01-28T16:26:19.463943 #28615] DEBUG -- : GFS: list_partitions
D, [2013-01-28T16:26:19.465416 #28615] DEBUG -- : GFS: list_partitions
= ["/dev/vda1", "/dev/vda2", "/dev/vda3"]
D, [2013-01-28T16:26:19.465579 #28615] DEBUG -- : GFS: list_partitions
D, [2013-01-28T16:26:19.466846 #28615] DEBUG -- : GFS: list_partitions
= ["/dev/vda1", "/dev/vda2", "/dev/vda3"]
D, [2013-01-28T16:26:19.479102 #28615] DEBUG -- : GFS: vfs_type "/dev/vda1"
D, [2013-01-28T16:26:19.504235 #28615] DEBUG -- : GFS: vfs_type = "ext4"
D, [2013-01-28T16:26:19.504372 #28615] DEBUG -- : GFS: vfs_type "/dev/vda1"
D, [2013-01-28T16:26:19.527525 #28615] DEBUG -- : GFS: vfs_type = "ext4"
D, [2013-01-28T16:26:19.527732 #28615] DEBUG -- : GFS: vfs_type "/dev/vda2"
D, [2013-01-28T16:26:19.541941 #28615] DEBUG -- : GFS: vfs_type = "ext3"
D, [2013-01-28T16:26:19.542121 #28615] DEBUG -- : GFS: vfs_type "/dev/vda2"
D, [2013-01-28T16:26:19.556303 #28615] DEBUG -- : GFS: vfs_type = "ext3"
D, [2013-01-28T16:26:19.556506 #28615] DEBUG -- : GFS: vfs_type "/dev/vda3"
D, [2013-01-28T16:26:19.571506 #28615] DEBUG -- : GFS: vfs_type = "swap"
D, [2013-01-28T16:26:19.571683 #28615] DEBUG -- : GFS: vfs_type "/dev/vda3"
D, [2013-01-28T16:26:19.585583 #28615] DEBUG -- : GFS: vfs_type = "swap"
D, [2013-01-28T16:26:19.585981 #28615] DEBUG -- : GFS: mount_options
"" "/dev/vda1" "/"
D, [2013-01-28T16:26:19.661306 #28615] DEBUG -- : GFS: mount_options = 0
D, [2013-01-28T16:26:19.683130 #28615] DEBUG -- : GFS: set_e2label
"/dev/vda1" "79d3d2d4"
D, [2013-01-28T16:26:19.991984 #28615] DEBUG -- : GFS: set_e2label = 0
D, [2013-01-28T16:26:19.992338 #28615] DEBUG -- : GFS: mount_options
"" "/dev/vda2" "/boot"
D, [2013-01-28T16:26:20.071243 #28615] DEBUG -- : GFS: mount_options = 0
D, [2013-01-28T16:26:20.071353 #28615] DEBUG -- : GFS: set_e2label
"/dev/vda2" "e21a3e10"
D, [2013-01-28T16:26:20.094198 #28615] DEBUG -- : GFS: set_e2label = 0
D, [2013-01-28T16:26:20.094521 #28615] DEBUG -- : GFS: exists
"/etc/sysconfig/selinux"
D, [2013-01-28T16:26:20.124908 #28615] DEBUG -- : GFS: exists = 1
D, [2013-01-28T16:26:20.125113 #28615] DEBUG -- : GFS: aug_init "/" 32
D, [2013-01-28T16:26:20.710161 #28615] DEBUG -- : GFS: aug_init = 0
D, [2013-01-28T16:26:20.710335 #28615] DEBUG -- : GFS: aug_rm
"/augeas/load//incl[. != '/etc/sysconfig/selinux']"
D, [2013-01-28T16:26:20.712567 #28615] DEBUG -- : GFS: aug_rm = 297
D, [2013-01-28T16:26:20.712674 #28615] DEBUG -- : GFS: aug_load
D, [2013-01-28T16:26:20.745857 #28615] DEBUG -- : GFS: aug_load = 0
D, [2013-01-28T16:26:20.746073 #28615] DEBUG -- : GFS: aug_get
"/files/etc/sysconfig/selinux/SELINUX"
D, [2013-01-28T16:26:20.749687 #28615] DEBUG -- : GFS: aug_get = NULL (error)
F, [2013-01-28T16:26:20.749933 #28615] FATAL -- : Guestfs::Error:
aug_get: no matching node
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:219:in
`aug_get'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:219:in
`load_selinux_policy'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:202:in
`execute'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:174:in
`block in customize'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in
`block (2 levels) in initialize_guestfs'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:169:in
`prepare_guestfs'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in
`block in initialize_guestfs'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:77:in
`log_callback'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in
`initialize_guestfs'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/guestfs-helper.rb:173:in
`customize'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/helpers/image-helper.rb:129:in
`customize'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:76:in
`build_with_appliance_creator'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/os/rhel/rhel-plugin.rb:33:in
`build_rhel'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/os/sl/sl-plugin.rb:50:in
`execute'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/base-plugin.rb:172:in
`run'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:184:in
`execute_plugin'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:200:in
`block in execute_with_userchange'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/util/permissions/user-switcher.rb:27:in
`call'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/util/permissions/user-switcher.rb:27:in
`change_user'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:199:in
`execute_with_userchange'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:127:in
`block in execute_plugin_chain'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:125:in
`each'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:125:in
`execute_plugin_chain'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:164:in
`create'
/usr/share/gems/gems/boxgrinder-build-0.10.4/bin/boxgrinder-build:203:in
`<main>'

On Mon, Jan 21, 2013 at 12:26 PM, Richard W.M. Jones <rjones redhat com> wrote:
> This is the final Rawhide build:
>
> http://koji.fedoraproject.org/koji/buildinfo?buildID=379609
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Fedora Windows cross-compiler. Compile Windows programs, test, and
> build Windows installers. Over 100 libraries supported.
> http://fedoraproject.org/wiki/MinGW
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs redhat com
> https://www.redhat.com/mailman/listinfo/libguestfs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]