Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dracut-install): Copy xattr when use clone ioctl #2660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HuaxinLu
Copy link

@HuaxinLu HuaxinLu commented Jul 1, 2024

When use clone ioctl to copy a file, the extended attributes of files are missing, which is inconsistent with the result by using the cp command. This commit add the process to copy extended attributes after clone_file().

Changes

Add the process to copy extended attributes after clone_file().

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

When use clone ioctl to copy a file, the extended attributes of files are
missing, which is inconsistent with the result by using the cp command.
This commit add the process to copy extended attributes after clone_file().

Signed-off-by: Huaxin Lu <[email protected]>
@HuaxinLu HuaxinLu requested review from haraldh and johannbg as code owners July 1, 2024 09:04
@github-actions github-actions bot added the dracut-install Issues related to dracut install label Jul 1, 2024
@aafeijoo-suse
Copy link
Member

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

@HuaxinLu
Copy link
Author

HuaxinLu commented Jul 4, 2024

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

OK, the new PR has been submited

Copy link

stale bot commented Jan 21, 2025

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

@stale stale bot added the stale communication is stuck label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dracut-install Issues related to dracut install stale communication is stuck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants