[Fedora-spins] F23: lorax says "no files matched etc/systemd/logind.conf"

Mark Montague mark at catseye.org
Thu Sep 17 17:58:04 UTC 2015


I use pungi under Fedora 23 Alpha (fully updated) to build DVD images 
containing repositories for use with Kickstart.  This was working until 
a "dnf upgrade" sometime between September 9th and September 14th, when 
pungi started failing due to lorax encountering an error saying "no 
files matched etc/systemd/logind.conf".  Before I open a bugzilla 
report, is anyone else seeing this problem or does anyone have advice 
for how I should investigate it further?

I reproduced the problem with the standard 
/usr/share/spin-kickstarts/fedora-install-server.ks which has only the 
following modifications (specifying the release and arch prevents lorax 
from saying the mirrorlist does not contain any URLs):

--- fedora-install-server.ks.orig    2015-08-19 15:17:00.609994154 +0000
+++ fedora-install-server.ks    2015-09-17 15:02:46.302145106 +0000
@@ -20,8 +20,8 @@
   #repo --name=rawhide-source 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch 
--excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation

   # In non-master branches the fedora repo commands should be uncommented
-repo --name=fedora 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch 
--excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
-repo --name=fedora-source 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch 
--excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
+repo --name=fedora 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-23&arch=x86_64 
--excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
+repo --name=fedora-source 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-23&arch=x86_64 
--excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation

   # Package manifest for the compose.  Uses repo group metadata to 
translate groups.
   # (default groups for the configured repos are added by --default)


I then run pungi using the command ("--nomacboot" is only because I do 
not have the Mac filesystem kernel modules loaded):

    time pungi --nomacboot --flavor="Kickstart" --name="Fedora" --ver="23" \
      --config=/usr/share/spin-kickstarts/fedora-install-server.ks

This command fails with the following error:

DEBUG:pylorax.ltmpl:template line 14: symlink anaconda-shell at .service 
lib/systemd/system/autovt at .service
DEBUG:pylorax.ltmpl:template line 15: replace #ReserveVT=6 ReserveVT=2 
etc/systemd/logind.conf
2015-09-17 15:24:16,588: template command error in runtime-postinstall.tmpl:
template command error in runtime-postinstall.tmpl:
ERROR:pylorax.ltmpl:template command error in runtime-postinstall.tmpl:
2015-09-17 15:24:16,588:   replace #ReserveVT=6 ReserveVT=2 
etc/systemd/logind.conf
    replace #ReserveVT=6 ReserveVT=2 etc/systemd/logind.conf
ERROR:pylorax.ltmpl:  replace #ReserveVT=6 ReserveVT=2 
etc/systemd/logind.conf
2015-09-17 15:24:16,589:   OSError: no files matched etc/systemd/logind.conf
    OSError: no files matched etc/systemd/logind.conf
ERROR:pylorax.ltmpl:  OSError: no files matched etc/systemd/logind.conf
DEBUG:pylorax.ltmpl:  Traceback (most recent call last):
DEBUG:pylorax.ltmpl:    File 
"/usr/lib/python3.4/site-packages/pylorax/ltmpl.py", line 289, in replace
DEBUG:pylorax.ltmpl:      raise IOError("no files matched %s" % " 
".join(fileglobs))
DEBUG:pylorax.ltmpl:  OSError: no files matched etc/systemd/logind.conf
Traceback (most recent call last):
    File "/usr/sbin/lorax", line 317, in <module>
      main(sys.argv)
    File "/usr/sbin/lorax", line 205, in main
      remove_temp=True, verify=opts.verify)
    File "/usr/lib/python3.4/site-packages/pylorax/__init__.py", line 
277, in run
      rb.postinstall()
    File "/usr/lib/python3.4/site-packages/pylorax/treebuilder.py", line 
142, in postinstall
      self._runner.run("runtime-postinstall.tmpl", configdir=configdir_path)
    File "/usr/lib/python3.4/site-packages/pylorax/ltmpl.py", line 191, 
in run
      self._run(commands)
    File "/usr/lib/python3.4/site-packages/pylorax/ltmpl.py", line 210, 
in _run
      f(*args)
    File "/usr/lib/python3.4/site-packages/pylorax/ltmpl.py", line 289, 
in replace
      raise IOError("no files matched %s" % " ".join(fileglobs))
OSError: no files matched etc/systemd/logind.conf


real    20m54.647s
user    2m43.002s
sys     0m30.241s
[root at f23ksb pungi]#


The full output of the pungi command is temporarily available at
http://www-personal.umich.edu/~markmont/pungi.log
in case anyone wants to see what happened earlier in the run.

Has anyone else seen this problem?  Any ideas for troubleshooting it?

-- 
    Mark Montague
    mark at catseye.org




More information about the spins mailing list