Red Hat Bugzilla – Bug 1466853
running mkosi without any configuration fails
Last modified: 2017-11-18 10:01:31 EST
Description of problem:
root@w541:~ > mkosi
Output Format: raw_gpt
Output Checksum: n/a
Output Signature: n/a
Output nspawn Settings: n/a
XZ Compression: no
With Documentation: no
Package Cache: none
Extra Trees: none
Build Script: none
Build Sources: /root
Build Packages: none
nspawn Settings: none
Root Partition: 1.0G
Swap Partition: (disabled)
/home Partition: (disabled)
/srv Partition: (disabled)
GPG Key: default
‣ Detaching namespace...
‣ Detaching namespace complete.
‣ Setting up package cache...
‣ Setting up package cache /root/.mkosi-h1f7xxxq completed.
‣ Setting up temporary workspace.
‣ Temporary workspace in /var/tmp/mkosi-9kkf8lxe is now set up.
‣ Creating partition table...
Traceback (most recent call last):
File "/usr/bin/mkosi", line 1657, in <module>
File "/usr/bin/mkosi", line 1653, in main
File "/usr/bin/mkosi", line 1613, in build_stuff
raw, tar = build_image(args, workspace, run_build_script=False)
File "/usr/bin/mkosi", line 1542, in build_image
raw = create_image(args, workspace.name)
File "/usr/bin/mkosi", line 124, in create_image
subprocess.run(["chattr", "+C", f.name], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
File "/usr/lib64/python3.5/subprocess.py", line 398, in run
subprocess.CalledProcessError: Command '['chattr', '+C', '/root/.mkosi-m53lhmz3']' returned non-zero exit status 1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run mkosi without any config
create image file
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'
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.
This was fixed a while back, but I forgot to close this bug (upstream commit v1-4-g398d203a3b).