Public bug reported:

The step where the ikiwiki-hosting managed git repository is cloned is
failing:

git clone git://foo.example.com/source.git
Cloning into 'source'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The reason is that the new git doesn't trust it:

2024-06-13T12:06:08.678455+00:00 autopkgtest-lxd-xukspx git-daemon[7458]: 
[7458] Interpolated dir '/var/lib/ikiwiki-hosting-web/git/foo.example.com'
2024-06-13T12:06:08.678481+00:00 autopkgtest-lxd-xukspx git-daemon[7458]: 
fatal: detected dubious ownership in repository at 
'/var/lib/ikiwiki-hosting-web/git/foo.example.com.git'
2024-06-13T12:06:08.678504+00:00 autopkgtest-lxd-xukspx git-daemon[7458]: To 
add an exception for this directory, call:
2024-06-13T12:06:08.678526+00:00 autopkgtest-lxd-xukspx git-daemon[7458]: 
#011git config --global --add safe.directory 
/var/lib/ikiwiki-hosting-web/git/foo.example.com.git


I suspect that this change in behavior is related to recent git CVEs: 
https://github.blog/2024-05-14-securing-git-addressing-5-new-vulnerabilities/

** Affects: ikiwiki-hosting (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069293

Title:
  Autopkgtests failing due to new git 2.45

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ikiwiki-hosting/+bug/2069293/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to