Hide Forgot
Description of problem: Trying to create a live iso, livemedia-creator fails to start the installation process anaconda and aborts with the following message : 'No protocol specified' - 'Unable to init server: cannot connect : connection refused' Version-Release number of selected component (if applicable): lorax-25.17-1.fc25.x86_64 anaconda-25.20.8-1.fc25.x86_64 How reproducible: Always Steps to Reproduce: 1. See 'https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD' to determine the steps to follow 2. sudo chroot /var/lib/mock/fedora-25-x86_64/root 3. in the chroot, enter the command: livemedia-creator --ks flat-fedora-live-kde.ks --logfile=/var/lmc-logs/livemedia-out.log --no-virt --resultdir /var/lmc --project fedora-live-kde --make-iso --volid Fedora-KDE-25 --iso-only --iso-name Fedora-KDE-Live-25-x86_64.iso --releasever 25 --title Fedora-KDE-live --macboot Actual results: Nothing Expected results: Additional info: Output (logfile) of livemedia-creator: 2016-12-13 06:43:00,589 DEBUG livemedia-creator: Namespace(anaconda_args=None, app_file='appliance.xml', app_name=None, app_template=None, arch=None, armplatform=None, compress_args=[], compression='xz', disk_image=None, domacboot=True, dracut_args=None, fs_image=None, fs_label='Anaconda', image_name=None, image_only=False, image_type=None, iso=None, iso_name='Fedora-KDE-Live-25-x86_64.iso', iso_only=True, keep_image=False, kernel_args=None, ks=['/fedora-kickstarts/flat-fedora-live-kde.ks'], live_rootfs_keep_size=False, live_rootfs_size=0, location=None, logfile='/var/lmc-logs/livemedia-out.log', lorax_templates=None, make_ami=False, make_appliance=False, make_disk=False, make_fsimage=False, make_iso=True, make_oci=False, make_ostree_live=False, make_pxe_live=False, make_tar=False, make_vagrant=False, no_kvm=False, no_virt=True, oci_config=None, oci_runtime=None, ovmf_path='/usr/share/edk2/ovmf/', project='fedora-live-kde', proxy=None, qcow2=False, qemu_args=[], ram=1024, releasever='25', result_dir='/var/lmc', squashfs_args=None, timeout=None, title='Fedora-KDE-live', tmp='/var/tmp', vagrant_metadata=None, vagrantfile=None, vcpus=None, virt_uefi=False, vnc=None, volid='Fedora-KDE-25') 2016-12-13 06:43:00,635 INFO livemedia-creator: disk_img = /var/lmc/lmc-disk-24tog06z.img 2016-12-13 06:43:00,635 INFO livemedia-creator: Using disk size of 6146MiB 2016-12-13 06:43:01,684 DEBUG pylorax.imgutils: make tmp mountdir /var/tmp/lorax.imgutils.gnvjy6wo 2016-12-13 06:43:01,833 DEBUG pylorax.imgutils: remove tmp mountdir /var/tmp/lorax.imgutils.gnvjy6wo 2016-12-13 06:43:02,274 INFO livemedia-creator: Running anaconda. 2016-12-13 06:43:02,458 INFO livemedia-creator: 2016-12-13 06:43:02,459 INFO livemedia-creator: ** (process:5976): WARNING **: Cannot load the DM plugin: Failed to determine dmsetup's version from: (null) 2016-12-13 06:43:03,472 INFO livemedia-creator: Starting installer, one moment... 2016-12-13 06:43:03,472 INFO livemedia-creator: terminal size detection failed, using default width 2016-12-13 06:43:03,472 INFO livemedia-creator: anaconda 25.20.8-1 for fedora-live-kde 25 (pre-release) started. 2016-12-13 06:43:03,493 INFO livemedia-creator: Processing logs from ('127.0.0.1', 37930) 2016-12-13 06:46:53,345 INFO livemedia-creator: Début de l'installation automatique.....................................................................................................................................................................................................................................No protocol specified 2016-12-13 06:46:53,345 INFO livemedia-creator: Unable to init server: Impossible de se connecter : Connection refused 2016-12-13 06:46:53,369 INFO livemedia-creator: No protocol specified 2016-12-13 06:46:53,369 INFO livemedia-creator: Unable to init server: Impossible de se connecter : Connection refused 2016-12-13 06:46:53,369 INFO livemedia-creator: No protocol specified 2016-12-13 06:46:53,369 INFO livemedia-creator: Unable to init server: Impossible de se connecter : Connection refused 2016-12-13 06:46:54,297 INFO livemedia-creator: No protocol specified 2016-12-13 06:46:54,297 INFO livemedia-creator: Unable to init server: Impossible de se connecter : Connection refused 2016-12-13 06:47:04,309 INFO livemedia-creator: 2016-12-13 06:47:04,310 INFO livemedia-creator: 2016-12-13 06:47:04,311 INFO livemedia-creator: Exécution en mode lignes de commande, pas de débogage interactif permis. 2016-12-13 06:47:04,311 INFO livemedia-creator: Le message d'erreur exact est : 2016-12-13 06:47:04,311 INFO livemedia-creator: 2016-12-13 06:47:04,312 INFO livemedia-creator: 1. 2016-12-13 06:47:04,312 INFO livemedia-creator: 2016-12-13 06:47:04,312 INFO livemedia-creator: Le programme d'installation va maintenant s'arrêter. 2016-12-13 06:47:04,617 ERROR livemedia-creator: Running anaconda failed: process '['anaconda', '--kickstart', '/fedora-kickstarts/flat-fedora-live-kde.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:41973']' exited with status 1 2016-12-13 06:47:04,618 INFO livemedia-creator: Shutting down log processing 2016-12-13 06:47:04,645 ERROR livemedia-creator: Install failed: novirt_install failed 2016-12-13 06:47:04,646 INFO livemedia-creator: Removing bad disk image 2016-12-13 06:47:04,646 ERROR livemedia-creator: ERROR: Image creation failed: novirt_install failed Contents of program.log: Running... losetup --find --show /var/lmc/lmc-disk-24tog06z.img /dev/loop2 Return code: 0 Running... mkfs.ext4 -L Anaconda -b 4096 -m 0 /dev/loop2 mke2fs 1.43.3 (04-Sep-2016) Discarding device blocks: done Creating filesystem with 1572864 4k blocks and 393984 inodes Filesystem UUID: 7a5a5848-2de7-4dee-897e-99f91ac6416b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done Return code: 0 Running... mount /dev/loop2 /var/tmp/lorax.imgutils.gnvjy6wo Return code: 0 Running... umount /var/tmp/lorax.imgutils.gnvjy6wo Return code: 0 Running... losetup --detach /dev/loop2 Return code: 0 Running... sync Return code: 0 Running... mount -o loop /var/lmc/lmc-disk-24tog06z.img /mnt/sysimage/ Return code: 0 Running... anaconda --kickstart /fedora-kickstarts/flat-fedora-live-kde.ks --cmdline --dirinstall --remotelog 127.0.0.1:41973 Running... umount /mnt/sysimage Return code: 0
No protocol specified' - 'Unable to init server: cannot connect : connection refused is from python-meh (IIRC) the actual error should be logged in the ./anaconda/*log files someplace.
There are/were 2 issues: 1. My internet connection was much, much too slow, and this confused anaconda... This issue is now corrected. 2. I can now create a live image with the following kickstart file (I keep only the %package section, as the problem seems to arise in that section - it's a bit rough, but my only concern for now is getting livemedia-creator to work): %packages @anaconda-tools @base-x @core @dial-up @firefox @fonts @guest-desktop-agents @hardware-support # @kde-apps # @kde-desktop # @kde-media # @kde-office # @kde-telepathy @multimedia @networkmanager-submodules @printing @standard aajohan-comfortaa-fonts anaconda dracut-live fuse glibc-all-langpacks grub2-efi # k3b # kde-l10n # kdegames-minimal kernel kernel-modules kernel-modules-extra mariadb-embedded mariadb-libs mariadb-server #mediawriter memtest86+ # qupzilla syslinux system-config-language wqy-microhei-fonts #-@input-methods #-adobe-source-han-sans-cn-fonts #-adobe-source-han-sans-tw-fonts #-autofs #-coolkey #-desktop-backgrounds-basic #-digikam #-gnome-disk-utility #-hplip #-ibus* #-iok #-isdn4k-utils #-kdeaccessibility* #-kdegames #-kipi-plugins #-m17n* #-make #-mpage #-naver-nanum-gothic-fonts #-numactl #-paratype-pt-sans-fonts #-sane-backends #-scim* #-sox #-system-config-printer #-system-config-services #-system-config-users #-vlgothic-fonts #-wget #-xsane #-xsane-gimp xterm twm %end The next kickstart file (again the %packages section) does not work : %packages @anaconda-tools @base-x @core @dial-up @firefox @fonts @guest-desktop-agents @hardware-support @kde-apps @kde-desktop @kde-media @kde-office @kde-telepathy @multimedia @networkmanager-submodules @printing @standard aajohan-comfortaa-fonts anaconda dracut-live fuse glibc-all-langpacks grub2-efi k3b kde-l10n kdegames-minimal kernel kernel-modules kernel-modules-extra mariadb-embedded mariadb-libs mariadb-server mediawriter memtest86+ qupzilla syslinux system-config-language wqy-microhei-fonts -@input-methods -adobe-source-han-sans-cn-fonts -adobe-source-han-sans-tw-fonts -autofs -coolkey -desktop-backgrounds-basic -digikam -gnome-disk-utility -hplip -ibus* -iok -isdn4k-utils -kdeaccessibility* -kdegames -kipi-plugins -m17n* -make -mpage -naver-nanum-gothic-fonts -numactl -paratype-pt-sans-fonts -sane-backends -scim* -sox -system-config-printer -system-config-services -system-config-users -vlgothic-fonts -wget -xsane -xsane-gimp %end Please note that the only real difference with the working .ks file is the presence of the @kde... group specifications. I'm struggling with that problem. Maybe I missed something ?
Are you seeing the same error, or a new one? Packaging problems are either anaconda, dnf, or repository issues so attaching (not pasting) the logs as individual text/plain attachments would help.
Created attachment 1231865 [details] anaconda error log (software selection error)
I ran into this same bug when trying to create a gold install image for our school. I downgraded device-mapper and lvm2 to the following, and that fixed it: device-mapper x86_64 1.02.131-3.fc25 fedora device-mapper-event x86_64 1.02.131-3.fc25 fedora device-mapper-event-libs x86_64 1.02.131-3.fc25 fedora device-mapper-libs x86_64 1.02.131-3.fc25 fedora lvm2 x86_64 2.02.161-3.fc25 fedora lvm2-libs x86_64 2.02.161-3.fc25 fedora
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. 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 '25'. 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 25 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 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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.