Description of problem: When creating a livecd based image with a symlink from /etc/mtab to /proc/mounts it is removed during the build process Version-Release number of selected component (if applicable): How reproducible: Any kickstart that symlinks /etc/mtab to /proc/mounts Actual results: /etc/mtab -> /proc/mounts is removed Expected results: /etc/mtab -> /proc/mounts still intact Additional info: Under the ImageCreator class in creator.py If you comment out: os.unlink(self._instroot + "/etc/mtab") the symlink is left intact. I'm not entirely sure of the case for it being removed but maybe a check to see if the link was created by something other than livecd-creator and leave intact if so. def unmount(self): """Unmounts the target filesystem. The ImageCreator class detaches the system from the install root, but other subclasses may also detach the loopback mounted filesystem image from the install root. """ try: os.unlink(self._instroot + "/etc/mtab") except OSError: pass self.__destroy_selinuxfs() self._undo_bindmounts() self._unmount_instroot()
There's no way really to tell if it was created otherwise -- livecd-creator always does create it What's the use case you have for wanting it on the later image?