Description of problem: When defining a mount in a mock cfg file and you pass in a fs type mock prepends a -t to the vfstype. This causes the mount command to have -t -t fstype and the mount fails. Version-Release number of selected component (if applicable): mock-1.1.28-1.el6.noarch How reproducible: Always Steps to Reproduce: 1. Define mount point in mock cfg 2. Try to use cfg Actual results: Mount fails to be mounted. Expected results: Mount is mounted in chroot Additional info: This is how the mount is defined in the config: config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/export/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid')) To fix this comment out the section in mount.py: --- mount.py.orig 2013-02-08 13:54:47.000000000 -0700 +++ mount.py 2012-11-01 14:59:25.000000000 -0600 @@ -43,10 +43,10 @@ rootObj.addHook("preshell", self._mountPreInitHook) rootObj.addHook("prechroot", self._mountPreInitHook) for device, dest_dir, vfstype, mount_opts in self.opts['dirs']: - if vfstype: - vfstype = "-t " + vfstype - else: - vfstype = "" +# if vfstype: +# vfstype = "-t " + vfstype +# else: +# vfstype = "" rootObj.mounts.add(FileSystemMountPoint(rootObj.makeChrootPath(dest_dir), filetype=vfstype, device=device,
Yeah, that doesn't make much sense. I've deleted the vfstype lines and queued the change for the 1.1.31 release.
mock-1.1.31-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc19
mock-1.1.31-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc17
mock-1.1.31-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.31-1.el6
mock-1.1.31-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc18
Package mock-1.1.31-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.1.31-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5858/mock-1.1.31-1.fc19 then log in and leave karma (feedback).
mock-1.1.32-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc17
mock-1.1.32-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc18
mock-1.1.32-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.32-1.el6
mock-1.1.32-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc19
mock-1.1.32-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.32-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.32-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.