Created attachment 1766426 [details] logfile of --logfile=/pub/livecd/logfile Description of problem: Checking for stray cats under /usr/share/man/es... Checking for stray cats under /var/cache/man/es... Processing manual pages under /usr/local/share/man... Updating index cache for path `/usr/local/share/man/man9'. Wait...done. Checking for stray cats under /usr/local/share/man... Checking for stray cats under /var/cache/man/local... 118 man subdirectories contained newer manual pages. 7425 manual pages were added. 0 stray cats were added. 0 old database entries were purged. error reading information on service network: No such file or directory Retrieving https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-33.noarch.rpm curl: (6) Could not resolve host: mirrors.rpmfusion.org error: skipping https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-33.noarch.rpm - transfer failed Retrieving https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-33.noarch.rpm curl: (6) Could not resolve host: mirrors.rpmfusion.org error: skipping https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-33.noarch.rpm - transfer failed ignoring %post failure (code 1) cp: cannot stat '/pub/livecd/imgcreate-brfpmoha/install_root/usr/share/licenses/*-release/*': No such file or directory / 100.0% Unmounting directory /pub/livecd/imgcreate-brfpmoha/install_root Losetup remove /dev/loop18 Checking filesystem /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img e2fsck 1.45.6 (20-Mar-2020) /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img is mounted. e2fsck: Cannot continue, aborting. resizing /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img resize2fs 1.45.6 (20-Mar-2020) The filesystem is already 1703936 (4k) blocks long. Nothing to do! Checking filesystem /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img e2fsck 1.45.6 (20-Mar-2020) /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img is mounted. e2fsck: Cannot continue, aborting. Error creating Live CD : fsck after resize returned an error (8)! [root@localhost pub]# Version-Release number of selected component (if applicable): livecd-tools-27.1-8.fc33.x86_64 How reproducible: Build a live CD using standard protocols. Steps to Reproduce: 1. [root@localhost pub]# cd /pub; livecd-creator /usr/share/spin-kickstarts/fedora-live-workstation.ks --tmpdir=/pub/livecd --cache=/pub/livecd/cache --debug --logfile=/pub/livecd/logfile-livecd-creator.txt 2. 3. Actual results: Failure due to mounted filesystem.. fsck returns a message that is not descriptive nor suggests how to rectify the issue. Expected results: LiveCD is build and an ISO image is formed. Additional info: I'm attaching my log file. It should be attached. Also, I used --tmpdir=/pub/livecd while my --cache directory was /pub/livecd/cache This might be the cause but I haven't checked. I will update after I try. If I try.
I changed the cache and tmpd dir options and still I get a faiulure, what part of livecd-tools should I be loloking at? -------------------------- error: skipping https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-33.noarch.rpm - transfer failed ignoring %post failure (code 1) cp: cannot stat '/pub/livecd/tmpdir/imgcreate-93lblc0i/install_root/usr/share/licenses/*-release/*': No such file or directory / 100.0% Unmounting directory /pub/livecd/tmpdir/imgcreate-93lblc0i/install_root Losetup remove /dev/loop20 Checking filesystem /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img e2fsck 1.45.6 (20-Mar-2020) /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img is mounted. e2fsck: Cannot continue, aborting. resizing /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img resize2fs 1.45.6 (20-Mar-2020) The filesystem is already 1703936 (4k) blocks long. Nothing to do! Checking filesystem /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img e2fsck 1.45.6 (20-Mar-2020) /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img is mounted. e2fsck: Cannot continue, aborting. Error creating Live CD : fsck after resize returned an error (8)! [root@localhost pub] --------------------------------------------
I see a bunch of livecd-creator directories never get unmounted for some reason: [root@localhost patches]# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,seclabel,size=3405140k,nr_inodes=851285,mode=755,inode64) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel,inode64) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,size=1370176k,nr_inodes=819200,mode=755,inode64) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime,seclabel) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) none on /sys/kernel/tracing type tracefs (rw,relatime,seclabel) /dev/mapper/fedora_localhost--live-00 on / type ext4 (rw,relatime,seclabel) selinuxfs on /sys/fs/selinux type selinuxfs (rw,nosuid,noexec,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17160) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime,seclabel) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime,seclabel) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,seclabel,size=3425436k,nr_inodes=409600,inode64) /dev/sda3 on /boot type ext2 (rw,relatime,seclabel) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=685084k,nr_inodes=171271,mode=700,inode64) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sdd1 on /run/media/root/ESD-USB type vfat (rw,nosuid,nodev,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /var/tmp/imgcreate-dex0x7nh/tmp-oqhfxroj/ext3fs.img (deleted) on /run/media/root/_fedora-live--x8 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /var/tmp/imgcreate-w7ipmms0/tmp-w2fi08fl/ext3fs.img (deleted) on /run/media/root/_fedora-live--x81 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /var/tmp/imgcreate-rh2tefg_/tmp-h89h51uc/ext3fs.img (deleted) on /run/media/root/_fedora-live--x82 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-_1s3h7ts/tmp-jymfpu90/ext3fs.img (deleted) on /run/media/root/_fedora-live--x83 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-9m_h9z2v/tmp-2he_galo/ext3fs.img (deleted) on /run/media/root/_fedora-live--x84 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-u_c_ea_v/tmp-d65fh6d1/ext3fs.img (deleted) on /run/media/root/_fedora-live--x85 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-h4l6iajr/tmp-10oj4l7x/ext3fs.img (deleted) on /run/media/root/_fedora-live--x86 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-tiewj7t2/tmp-v2xnans8/ext3fs.img (deleted) on /run/media/root/_fedora-live--x87 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-try8a7ru/tmp-27qwa_6g/ext3fs.img (deleted) on /run/media/root/_fedora-live--x88 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-k4zj8mmm/tmp-861n3j05/ext3fs.img (deleted) on /run/media/root/_fedora-live--x89 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-fkvrjpdj/tmp-7y1qysw5/ext3fs.img (deleted) on /run/media/root/_fedora-live--x810 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-6unahm64/tmp-u143gsrh/ext3fs.img (deleted) on /run/media/root/_fedora-live--x811 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-u6y_j7e_/tmp-jcolzts6/ext3fs.img (deleted) on /run/media/root/_fedora-live--x812 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-2zjs88dw/tmp-4551it4u/ext3fs.img (deleted) on /run/media/root/_fedora-live--x813 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-qhwf4v05/tmp-pnzim2id/ext3fs.img (deleted) on /run/media/root/_fedora-live--x814 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-yyxnyg9_/tmp-aab285pm/ext3fs.img (deleted) on /run/media/root/_fedora-live--x815 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-l6s6aply/tmp-y1w2cj86/ext3fs.img (deleted) on /run/media/root/_fedora-live--x816 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/imgcreate-a856s8cc/tmp-6_val9eo/ext3fs.img (deleted) on /run/media/root/_fedora-live--x817 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime,seclabel) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) /pub/livecd/imgcreate-brfpmoha/iso-tvhzh175/isolinux/macboot.img (deleted) on /run/media/root/Livecd Fedora type hfsplus (rw,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2) /pub/livecd/imgcreate-brfpmoha/tmp-pk_yb9kw/ext3fs.img (deleted) on /run/media/root/_fedora-live--x818 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) /pub/livecd/tmpdir/imgcreate-93lblc0i/iso-hs4yinq0/isolinux/macboot.img (deleted) on /run/media/root/Livecd Fedora1 type hfsplus (rw,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2) /pub/livecd/tmpdir/imgcreate-93lblc0i/tmp-gtaiuq_g/ext3fs.img (deleted) on /run/media/root/_fedora-live--x819 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2) [root@localhost patches]#
We need to unljmount the ext3fs.img too: 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. """ self.__destroy_selinuxfs() self._undo_bindmounts() self._unmount_instroot() Not just the intsalll root.
This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '33'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 33 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.