-
Sub-task
-
Resolution: Done-Errata
-
Major
-
None
-
None
-
False
-
False
-
-
2
-
2024-R1
-
Testable
The parent issue RHELC-1361 has the label that triggered autocreation of this subtask to track the relative story point estimation for the integration test part of the issue.
The parent issue description at the time of creation of this issue was:
[2024-01-18T12:48:26+0000] TASK - [Prepare: Backup package files] ************************************ Backing up /etc/sysconfig/authconfig. Backing up /etc/logrotate.d/yum. CRITICAL - Error(21): Is a directory ERROR - (ERROR) BACKUP_PACKAGE_FILES::UNEXPECTED_ERROR - Unhandled exception caught Description: Unhandled exception was caught: Error(21): Is a directory Please file a bug at https://issues.redhat.com/ to have this fixed or a specific error message added. Traceback: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/convert2rhel/actions/__init__.py", line 572, in run action.run() File "/usr/lib/python2.7/site-packages/convert2rhel/actions/pre_ponr_changes/backup_system.py", line 113, in run backup.backup_control.push(restorable_file) File "/usr/lib/python2.7/site-packages/convert2rhel/backup.py", line 173, in push restorable.enable() File "/usr/lib/python2.7/site-packages/convert2rhel/backup.py", line 370, in enable loggerinst.critical("Error(%s): %s" % (err.errno, err.strerror)) File "/usr/lib/python2.7/site-packages/convert2rhel/logger.py", line 170, in _critical sys.exit(msg) SystemExit: Error(21): Is a directory Diagnosis: N/A Remediation: N/A
When convert2rhel is executed it takes backup of /etc/yum directory under /var/lib/convert2rhel/backup
Now if /etc/logrorate.d/yum file is modified, convert2rhel tries taking backup of the file on same location(/var/lib/convert2rhel/backup)
Reproducer:
- Modify /etc/logrotate.d/yum
# echo "Test data" >> /etc/logrotate.d/yum
- Proceed with conversion