Description of problem: When the config_opts['plugin_conf']['lvm_root_opts']['size'] is not specified, mock fails with "ERROR: 'size'". However, I believe there should be some sensible default. Version-Release number of selected component (if applicable): $ rpm -q mock mock-1.2.0-1.fc20.noarch How reproducible: Always Steps to Reproduce: 1. Set "config_opts['plugin_conf']['lvm_root_enable'] = True" in site-defaults.csf 2. But don't specify size. 3. Actual results: "ERROR: 'size'" Expected results: Sensible default size is used. Additional info:
There is no sensible default. There are people that use mock to rebuild just some small package and 1GB should be sufficient for them. On the other hand there are people who will share the pool across multiple configs and need to rebuild big packages such as libreoffice (it needs 5GB IIRC), so they will need more than 10GB. There used to be a default, but I removed it for this reason. We agreed with Vit on IRC that it would instead be sensible to have a default for pool_name, which will result into sharing the pool across all configurations with lvm plugin enabled. Therefore the decision regarding the size will be made just once.