Running the autopkgtest commands manually in an LXC container: ``` AUTOPKGTEST_TMP="/tmp/autopkgtest.mitch/autopkgtest_tmp" rm -rf "$AUTOPKGTEST_TMP" mkdir -p "$AUTOPKGTEST_TMP" cd "$AUTOPKGTEST_TMP" export GIT_AUTHOR_NAME=root export GIT_AUTHOR_EMAIL=root@localhost export GIT_AUTHOR_DATE=@1234567890 +0000 export GIT_COMMITTER_NAME=root export GIT_COMMITTER_EMAIL=root@localhost export GIT_COMMITTER_DATE=@1234567890 +0000 git init test1 git -C test1 commit --allow-empty -m test
tee /etc/nginx/sites-available/default <<EOF server { listen 80; location / { fastcgi_pass unix:/run/fcgiwrap.socket; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend; fastcgi_param GIT_PROJECT_ROOT "$AUTOPKGTEST_TMP"; fastcgi_param GIT_HTTP_EXPORT_ALL ""; fastcgi_param PATH_INFO \$uri; fastcgi_param NO_BUFFERING ""; fastcgi_buffering off; gzip off; } } EOF systemctl restart nginx git clone http://localhost/test1 test2 ``` I see: # cat /var/log/nginx/error.log 2024/06/04 00:23:09 [error] 14300#14300: *1 FastCGI sent in stderr: "fatal: detected dubious ownership in repository at '/tmp/autopkgtest.mitch/autopkgtest_tmp/test1/.git' To add an exception for this directory, call: git config --global --add safe.directory /tmp/autopkgtest.mitch/autopkgtest_tmp/test1/.git" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /test1/info/refs?service=git-upload-pack HTTP/1.1", upstream: "fastcgi://unix:/run/fcgiwrap.socket:", host: "localhost" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2067942 Title: autopkgtest failure in oracular To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fcgiwrap/+bug/2067942/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs