Actions
action #31894
closedWorker fails on 'chattr' command with xfs filesystem
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-02-16
Due date:
% Done:
0%
Estimated time:
Description
Worker fails with error "DIE runcmd failed with exit code 1 at /usr/lib/os-autoinst/osutils.pm line 127.
",see: http://moon.qa.suse.cz/tests/1664/file/autoinst-log.txt
After a quick investigation the error came from the 'chattr' command.
Version 4.5.1518541136.0ac2c9f6 added the following change:
- qemu: disable CoW for the HDD image directory (#790)
With this command in /usr/lib/os-autoinst/backend/qemu.pm, line 609:
runcmd('/usr/bin/chattr', '-f', '+C', $basedir);
But this chattr call failed if the filesystem is not btrfs (this is my case, I use xfs).
So, maybe a test of the filesystem type is needed before, or simply just ignore the error (but ignoring an error is not good ;-)).
Updated by szarate about 6 years ago
- Related to action #31771: 0ac2c9f6cd1bd5f2d7091e1c08096152ed02a23f failing on chattr added
Actions