Bugzilla – Bug 1218588
git instaweb returns "No such projects found"
Last modified: 2024-01-08 18:48:08 UTC
I am having trouble setting up git instaweb on OpenSUSE Tumbleweed. I did install git-web and lighttpd. When I do git instaweb in the root of my git project, the browser opens in a page that says "No such projects found". I tryed to put the project root in /srv/git but it also did not work. As documented here: https://stackoverflow.com/questions/77767445/problem-with-git-instaweb-on-opensuse-tumbleweed-no-such-projects-found, I found out that the problem is in the configuration of AppArmor in the file provided with the package git-web. In order to make it work, the following line needs to be added to the file /etc/apparmor.d/usr.share.git-web.gitweb.cgi: /usr/libexec/git/git rix, Best regards, Marcelo.
Thanks for the report! SR 1137616 submitted. For the records: since the profile and the git binary come from the same source package (which means there's no risk of backwards compability issues), I removed the old path /usr/lib/git/git from the profile.