Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2041847

Summary: [virtio-win][virtiofs] git init doesn't work when running on VirtIO-FS
Product: Red Hat Enterprise Linux 9 Reporter: Viktor Prutyanov <vprutyan>
Component: virtio-winAssignee: Viktor Prutyanov <vprutyan>
virtio-win sub component: virtio-win-prewhql QA Contact: xiagao
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: medium CC: coli, jinzhao, juzhang, mdean, yvugenfi
Version: 9.0Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:35:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viktor Prutyanov 2022-01-18 11:19:41 UTC
Description of problem:
git init doesn't work when running on VirtIO-FS

Version-Release number of selected component (if applicable):
virtio-win-prewhql-0.1-215

How reproducible: 50%

Steps to Reproduce:
1. Run VirtIO-FS
2. Z:\> git init test

Actual results:

fatal: cannot copy 'C:/Program Files/Git/mingw64/share/git-core/templates/hooks/commit-msg.sample' to 'Z:/test/.git/hooks/commit-msg.sample': No such file or directory

but sometimes

Initialized empty Git repository in Z:/test/.git/

Expected results:

Initialized empty Git repository in Z:/test/.git/

Comment 1 Viktor Prutyanov 2022-01-18 11:22:15 UTC
Upstream PR to fix this bug: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/719

Comment 2 Yvugenfi@redhat.com 2022-01-18 13:24:52 UTC
Fix merged upstream: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/719

Comment 5 xiagao 2022-02-15 01:39:39 UTC
Victor hi,
Could you set DTM for this bz, so that I will set ITM accordingly.
Thanks,
Xiaoling

Comment 6 xiagao 2022-02-15 02:09:59 UTC
(In reply to xiagao from comment #5)
> Victor hi,
> Could you set DTM for this bz, so that I will set ITM accordingly.
> Thanks,
> Xiaoling

Sorry,ignore this, as the ITR is RHEL910.

Comment 8 xiagao 2022-02-23 01:06:41 UTC
Can reproduce with virtio-win-prewhql-0.1-215.
Z:\> git init test
fatal: cannot copy 'C:/Program Files/Git/mingw64/share/git-core/templates/hooks/post-update.sample' to 'Z:/test/.git/hooks/post-update.sample': No such file or directory



Verify this bz on virtio-win-prewhql-0.1-216.
Z:\> git init test
Initialized empty Git repository in Z:/test/.git/

other pkg:
qemu-kvm-6.2.0-8.el9.x86_64
kernel-5.14.0-39.el9.x86_64
RHEL-9.0.0-20220205.d.3

Comment 11 errata-xmlrpc 2022-05-17 15:35:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: virtio-win), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3890