4 Replies Latest reply: Jan 24, 2012 11:44 AM by Carlo de Wolf RSS

sh: error reading information on service netfs: No such file or directory

Carlo de Wolf Master

On Fedora 16:

 

$ cat rawhide-jeos.appl 
name: rawhide-jeos
summary: Just Enough Operating System based on Fedora Rawhide
os:
    name: fedora
    version: rawhide
hardware:
    partitions:
        "/":
            size: 2
packages:
    - @core

 

$ boxgrinder-build rawhide-jeos.appl 
WARNING: couldn't connect to: /tmp/keyring-IPcYsM/pkcs11: No such file or directory
Currently running as non-root user, BoxGrinder will attempt to re-launch under 'sudo -E'
[sudo] password for carlo: 
WARNING: couldn't connect to: /tmp/keyring-IPcYsM/pkcs11: No such file or directory
I, [2012-01-24T11:47:05.407205 #3888]  INFO -- : Validating appliance definition from rawhide-jeos.appl file...
I, [2012-01-24T11:47:05.409713 #3888]  INFO -- : Appliance definition is valid.
I, [2012-01-24T11:47:05.414183 #3888]  INFO -- : Building 'rawhide-jeos' appliance for x86_64 architecture.
I, [2012-01-24T11:47:05.873106 #3888]  INFO -- : Resolving packages added to rawhide-jeos appliance definition file...
I, [2012-01-24T11:47:23.083501 #3888]  INFO -- : All additional packages for rawhide-jeos appliance successfully resolved.
I, [2012-01-24T11:47:23.083674 #3888]  INFO -- : Building rawhide-jeos appliance...
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.1.7-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.7-1.fc16.x86_64 because modpath /lib/modules/3.1.7-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.9-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.9-1.fc16.x86_64 because modpath /lib/modules/3.1.9-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.6-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.6-1.fc16.x86_64 because modpath /lib/modules/3.1.6-1.fc16.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00329ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [01458ms] finished creating appliance
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /tmp/guestfs.csssum/kernel, initrd = /tmp/guestfs.csssum/initrd, appliance = /tmp/guestfs.csssum/root
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.1.7-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.7-1.fc16.x86_64 because modpath /lib/modules/3.1.7-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.9-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.9-1.fc16.x86_64 because modpath /lib/modules/3.1.9-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.6-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.6-1.fc16.x86_64 because modpath /lib/modules/3.1.6-1.fc16.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [01388ms] finished mke2fs
supermin helper [01388ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [01388ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [03197ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [03199ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [10696ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [23458ms] finished creating appliance
W, [2012-01-24T11:52:30.726333 #3888]  WARN -- : Loading SELinux policy failed. SELinux may be not fully initialized.
I, [2012-01-24T11:53:30.904076 #3888]  INFO -- : Executing post operations after build...
F, [2012-01-24T11:53:35.135630 #3888] FATAL -- : Guestfs::Error: sh: error reading information on service netfs: No such file or directory
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:100:in `sh'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:100:in `disable_netfs'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:51:in `execute'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:99:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:130:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:176:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:169:in `prepare_guestfs'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:77:in `log_callback'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:173:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:129:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:76:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:47:in `execute'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:172:in `run'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:174:in `execute_plugin'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `each'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:154:in `create'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:189