[Ovirt-devel] Re: [PATCH REPOST node-image] Use minimal selinux configuration and add modules selectively

Alan Pevec apevec at redhat.com
Mon Nov 24 11:03:27 UTC 2008


one more change before pusing:

> +++ b/common-pkgs.ks
selinux-policy-targeted is included by @core group, need to exclude it explicitly:
> -selinux-policy-targeted
  +-selinux-policy-targeted
> +selinux-policy-minimum

Otherwise, I get No space left (in instroot), first in selinux-policy-targeted %post:
Installing: selinux-policy-targeted      ##################### [219/224]
libsemanage.semanage_make_sandbox: Could not copy files to sandbox /etc/selinux/targeted/modules/tmp. (No space left on device).
/usr/sbin/semanage: Could not start semanage transaction
then by rpm:
rpmdb: write: 0x7f33f2875190, 4096: No space left on device
rpmdb: /home/apevec/ovirt-cache/ovirt-node-image-tmp/imgcreate-Fze1gI/install_root/var/lib/rpm/Packages: write failed for page 1624
rpmdb: /home/apevec/ovirt-cache/ovirt-node-image-tmp/imgcreate-Fze1gI/install_root/var/lib/rpm/Packages: unable to flush page: 1624
error: db4 error(28) from db->sync: No space left on device

livecd-creator didn't error out on that condition, afaict this error is swallowed already by yum/rpm - yum.runTransaction returned code was 0




More information about the ovirt-devel mailing list