bugzilla-daemon | 5 Feb 00:53 2016

[Bug 9217] Cannot use \n in auth_error line

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9217.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"
Bug ID Summary Classification Product Version Hardware OS Status Severity Priority Component Assignee Reporter CC
9217
Cannot use \n in auth_error line
Contribs
SME Contribs
8.2
---
---
CONFIRMED
normal
P3
smeserver-gitweb
marco.hess <at> through-ip.com
jcrisp <at> safeandsoundit.co.uk
contribteam <at> lists.contribs.org

When the Networks DB is unreadable I get this (see https://bugs.contribs.org/show_bug.cgi?id=9202) : <div class="index_include"><br /><br />500 Internal Error - <b>Error:</b> Could not open the networks database!<span class="cntrl">\n</span><br /></div><div class="page_footer"> Seems that you can't use a \n in a auth_error line - no idea why. I think some of these possibly need modifying ? I had a play but can't seem to get a newline to work. /etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook:79 "Could not open the networks database!\n" Also possibly on line 70 database!\nDoes file?\n And on line 73 database!\n
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot use \n in auth_error line" href="https://bugs.contribs.org/show_bug.cgi?id=9217">Bug 9217</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><table border="1" cellspacing="0" cellpadding="8">
<tr>Bug ID
          <td>
<a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot use \n in auth_error line" href="https://bugs.contribs.org/show_bug.cgi?id=9217">9217</a>
          </td>
        </tr>
<tr>Summary
          <td>Cannot use \n in auth_error line
          </td>
        </tr>
<tr>Classification
          <td>Contribs
          </td>
        </tr>
<tr>Product
          <td>SME Contribs
          </td>
        </tr>
<tr>Version
          <td>8.2
          </td>
        </tr>
<tr>Hardware
          <td>---
          </td>
        </tr>
<tr>OS
          <td>---
          </td>
        </tr>
<tr>Status
          <td>CONFIRMED
          </td>
        </tr>
<tr>Severity
          <td>normal
          </td>
        </tr>
<tr>Priority
          <td>P3
          </td>
        </tr>
<tr>Component
          <td>smeserver-gitweb
          </td>
        </tr>
<tr>Assignee
          <td>marco.hess <at> through-ip.com
          </td>
        </tr>
<tr>Reporter
          <td>jcrisp <at> safeandsoundit.co.uk
          </td>
        </tr>
<tr>CC
          <td>contribteam <at> lists.contribs.org
          </td>
        </tr>
</table>
<p>
        </p>
<div>
        When the Networks DB is unreadable I get this (see
<a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="show_bug.cgi?id=9202">https://bugs.contribs.org/show_bug.cgi?id=9202</a>) :

&lt;div class="index_include"&gt;&lt;br /&gt;&lt;br /&gt;500 Internal Error - &lt;b&gt;Error:&lt;/b&gt; Could
not open the networks database!&lt;span class="cntrl"&gt;\n&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div
class="page_footer"&gt;

Seems that you can't use a \n in a auth_error line - no idea why.

I think some of these possibly need modifying ? I had a play but can't seem to
get a newline to work.

/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook:79 

"Could not open the networks database!\n"

Also possibly on line 70

database!\nDoes
file?\n

And on line 73

database!\n
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 5 Feb 00:00 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">bug 9202</a>
              from <span class="vcard"><a class="email" href="mailto:jcrisp <at> safeandsoundit.co.uk" title="John Crisp &lt;jcrisp <at> safeandsoundit.co.uk&gt;"> <span class="fn">John Crisp</span></a>
</span>
        Created <span class=""><a href="attachment.cgi?id=5362" name="attach_5362" title="httpd.conf">attachment 5362</a> <a href="attachment.cgi?id=5362&amp;action=edit" title="httpd.conf">[details]</a></span>
httpd.conf
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 4 Feb 23:57 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 4 on bug 9202 from Hi Marco, Thanks for getting back on this. Here are the basics - I need to go try and generate some log entries for you in the morning. Unfortunately, as I mentioned, there doesn't appear to be much logged ! Something I just noticed as well - I was getting a 500 error and 'network db not accessible' just now when I tried to access it. I can see that your gitweb rpm sets the network db to 0644 but I can see that when I updated the networks db it gets set back to 0640 so this is another issue ! I'll attach the generated httpd.conf shortly [root <at> esmith ~]# config show git git=service GitPath=git GitWeb=enabled GitWebTheme=enabled debugging=disabled gitweb_access_from=internet maxNameLength=31 status=enabled [root <at> esmith ~]# db git show CampaignOpportunitiesReport=repository allow_access_from=internet description=Stuff for the report linking campaigns and opportunities pull_groups=admin,it_dept pull_users=impaadmin,admin,john,will push_groups=admin,it_dept push_users=impaadmin,admin,john,will OldStuff=repository allow_access_from=internet description=old_stuff pull_groups=admin,it_dept pull_users=impaadmin,admin,john,will push_groups=admin,it_dept push_users=impaadmin,admin,john,will graphs=repository allow_access_from=internet description=graphs repo pull_groups=admin,it_dept pull_users=impaadmin,admin,john,will push_groups=admin,it_dept push_users=impaadmin,admin,john,will vTigerCSVConverter=repository allow_access_from=internet description=vTigerCSVConverter pull_groups=admin,it_dept pull_users=impaadmin,admin,john,will push_groups=admin,it_dept push_users=impaadmin,admin,john,will [root <at> esmith ~]# ls -al /home/e-smith/files/git total 24 drwxrws--- 6 admin apache 4096 Jan 26 13:50 . drwxr-xr-x 9 root root 4096 Sep 3 2009 .. drwxrws--- 7 admin apache 4096 Jan 26 12:30 CampaignOpportunitiesReport.git drwxrws--- 7 admin apache 4096 Jan 26 13:50 graphs.git drwxrws--- 7 admin apache 4096 Jan 26 10:42 OldStuff.git drwxrws--- 7 admin apache 4096 Jan 26 10:42 vTigerCSVConverter.git Nothing at all in the logs barring this when I refresh the page - currently I get no login page Try yourself here https://esmith.impamark.com/git/ This is the access_log - nothing in the error logs impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:11 +0000] "GET /git/ HTTP/1.1" 404 1491 "https://esmith.impamark.com/git/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36" impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET /git/static/gitweb.css HTTP/1.1" 304 - "https://esmith.impamark.com/git/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36" impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET /git/static/git-logo.png HTTP/1.1" 304 - "https://esmith.impamark.com/git/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36" impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET /git/static/gitweb.js HTTP/1.1" 304 - "https://esmith.impamark.com/git/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36" impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET /git/static/git-favicon.png HTTP/1.1" 200 1125 "https://esmith.impamark.com/git/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">bug 9202</a>
              from <span class="vcard"><a class="email" href="mailto:jcrisp <at> safeandsoundit.co.uk" title="John Crisp &lt;jcrisp <at> safeandsoundit.co.uk&gt;"> <span class="fn">John Crisp</span></a>
</span>
        Hi Marco,

Thanks for getting back on this.

Here are the basics - I need to go try and generate some log entries for you in
the morning. Unfortunately, as I mentioned, there doesn't appear to be much
logged !

Something I just noticed as well - I was getting a 500 error and 'network db
not accessible' just now when I tried to access it. I can see that your gitweb
rpm sets the network db to 0644 but I can see that when I updated the networks
db it gets set back to 0640 so this is another issue !

I'll attach the generated httpd.conf shortly

[root <at> esmith ~]# config show git
git=service
    GitPath=git
    GitWeb=enabled
    GitWebTheme=enabled
    debugging=disabled
    gitweb_access_from=internet
    maxNameLength=31
    status=enabled

[root <at> esmith ~]# db git show
CampaignOpportunitiesReport=repository
    allow_access_from=internet
    description=Stuff for the report linking campaigns and opportunities
    pull_groups=admin,it_dept
    pull_users=impaadmin,admin,john,will
    push_groups=admin,it_dept
    push_users=impaadmin,admin,john,will
OldStuff=repository
    allow_access_from=internet
    description=old_stuff
    pull_groups=admin,it_dept
    pull_users=impaadmin,admin,john,will
    push_groups=admin,it_dept
    push_users=impaadmin,admin,john,will
graphs=repository
    allow_access_from=internet
    description=graphs repo
    pull_groups=admin,it_dept
    pull_users=impaadmin,admin,john,will
    push_groups=admin,it_dept
    push_users=impaadmin,admin,john,will
vTigerCSVConverter=repository
    allow_access_from=internet
    description=vTigerCSVConverter
    pull_groups=admin,it_dept
    pull_users=impaadmin,admin,john,will
    push_groups=admin,it_dept
    push_users=impaadmin,admin,john,will

[root <at> esmith ~]# ls -al /home/e-smith/files/git
total 24
drwxrws--- 6 admin apache 4096 Jan 26 13:50 .
drwxr-xr-x 9 root  root   4096 Sep  3  2009 ..
drwxrws--- 7 admin apache 4096 Jan 26 12:30 CampaignOpportunitiesReport.git
drwxrws--- 7 admin apache 4096 Jan 26 13:50 graphs.git
drwxrws--- 7 admin apache 4096 Jan 26 10:42 OldStuff.git
drwxrws--- 7 admin apache 4096 Jan 26 10:42 vTigerCSVConverter.git

Nothing at all in the logs barring this when I refresh the page - currently I
get no login page

Try yourself here <a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>

This is the access_log - nothing in the error logs

impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:11 +0000] "GET /git/
HTTP/1.1" 404 1491 "<a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82
Chrome/48.0.2564.82 Safari/537.36"
impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET
/git/static/gitweb.css HTTP/1.1" 304 - "<a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu
Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET
/git/static/git-logo.png HTTP/1.1" 304 - "<a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu
Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET
/git/static/gitweb.js HTTP/1.1" 304 - "<a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu
Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
impamark.com 80.59.216.239 - - [04/Feb/2016:22:43:12 +0000] "GET
/git/static/git-favicon.png HTTP/1.1" 200 1125
"<a href="https://esmith.impamark.com/git/">https://esmith.impamark.com/git/</a>" "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82
Chrome/48.0.2564.82 Safari/537.36"
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 4 Feb 22:45 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 3 on bug 9202 from And finally output from ls -al /home/e-smith/files/git
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">bug 9202</a>
              from <span class="vcard"><a class="email" href="mailto:marco.hess <at> through-ip.com" title="Marco Hess &lt;marco.hess <at> through-ip.com&gt;"> <span class="fn">Marco Hess</span></a>
</span>
        And finally output from

ls -al /home/e-smith/files/git
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 4 Feb 22:43 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 2 on bug 9202 from Also which versions of the git RPM have you got installed?
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">bug 9202</a>
              from <span class="vcard"><a class="email" href="mailto:marco.hess <at> through-ip.com" title="Marco Hess &lt;marco.hess <at> through-ip.com&gt;"> <span class="fn">Marco Hess</span></a>
</span>
        Also which versions of the git RPM have you got installed?
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 4 Feb 22:39 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 1 on bug 9202 from Can you post the sections from the http access, error and redirect logs. Also can you post your httpd.conf And the output from config show git and db git show
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="https://bugs.contribs.org/show_bug.cgi?id=9202">bug 9202</a>
              from <span class="vcard"><a class="email" href="mailto:marco.hess <at> through-ip.com" title="Marco Hess &lt;marco.hess <at> through-ip.com&gt;"> <span class="fn">Marco Hess</span></a>
</span>
        Can you post the sections from the http access, error and redirect logs.

Also can you post your httpd.conf

And the output from

config show git

and

db git show
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 26 Jan 18:02 2016

[Bug 9202] Cannot access gitweb remotely / incorrect redirect

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9202.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"
Bug ID Summary Classification Product Version Hardware OS Status Severity Priority Component Assignee Reporter CC
9202
Cannot access gitweb remotely / incorrect redirect
Contribs
SME Contribs
8.2
---
---
CONFIRMED
normal
P3
smeserver-gitweb
marco.hess <at> through-ip.com
jcrisp <at> safeandsoundit.co.uk
contribteam <at> lists.contribs.org

I have gitweb installed on a server and have noticed a couple of issues I cannot figure out. All repos have Allowfrom : Internet The server can be connected to via either a VPN or from the world at large. If I connect via its Local IP 10.0.0.1/git it redirects to https://10.0.0.1/git Error : 404 - No projects found The page displays a link to the server using the full domain name e.g. https://esmith.mydomain.com/git If I then click this link I get Forbidden You don't have permission to access /git on this server. I then get this in httpd/error_log [client my.remote.ip] client denied by server configuration: /usr/share/gitweb, referer: https://10.0.0.1/git/ I think the link in the page should stay as the local IP and not the domain name. If I then change config setprop git gitweb_access_from internet (which is not documented) I get https://10.0.0.1/git https://esmith.mydomain.com/git "Not Found at..." for both Nothing in the error logs. If I try to access the repo from the server-manager panel I get a password prompt but after entering the correct username and password I get [error] [client my.remote.ip] File does not exist: /usr/share/gitweb/CampaignOpportunitiesReport.git, referer: https://10.0.0.1/server-manager/cgi-bin/git I can see that GIT_PROJECT_ROOT is set to in httpd.conf SetEnv GIT_PROJECT_ROOT /home/e-smith/files/git But this seems to be overruled somewhere and I can't figure it out !
You are receiving this mail because:
  • You are on the CC list for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="http://bugs.contribs.org/show_bug.cgi?id=9202">Bug 9202</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><table border="1" cellspacing="0" cellpadding="8">
<tr>Bug ID
          <td>
<a class="bz_bug_link 
          bz_status_CONFIRMED " title="CONFIRMED - Cannot access gitweb remotely / incorrect redirect" href="http://bugs.contribs.org/show_bug.cgi?id=9202">9202</a>
          </td>
        </tr>
<tr>Summary
          <td>Cannot access gitweb remotely / incorrect redirect
          </td>
        </tr>
<tr>Classification
          <td>Contribs
          </td>
        </tr>
<tr>Product
          <td>SME Contribs
          </td>
        </tr>
<tr>Version
          <td>8.2
          </td>
        </tr>
<tr>Hardware
          <td>---
          </td>
        </tr>
<tr>OS
          <td>---
          </td>
        </tr>
<tr>Status
          <td>CONFIRMED
          </td>
        </tr>
<tr>Severity
          <td>normal
          </td>
        </tr>
<tr>Priority
          <td>P3
          </td>
        </tr>
<tr>Component
          <td>smeserver-gitweb
          </td>
        </tr>
<tr>Assignee
          <td>marco.hess <at> through-ip.com
          </td>
        </tr>
<tr>Reporter
          <td>jcrisp <at> safeandsoundit.co.uk
          </td>
        </tr>
<tr>CC
          <td>contribteam <at> lists.contribs.org
          </td>
        </tr>
</table>
<p>
        </p>
<div>
        I have gitweb installed on a server and have noticed a couple of issues I
cannot figure out.

All repos have Allowfrom : Internet

The server can be connected to via either a VPN or from the world at large.

If I connect via its Local IP 

10.0.0.1/git

it redirects to 

<a href="https://10.0.0.1/git">https://10.0.0.1/git</a>

Error : 404 - No projects found 

The page displays a link to the server using the full domain name e.g.

<a href="https://esmith.mydomain.com/git">https://esmith.mydomain.com/git</a>

If I then click this link I get

Forbidden

You don't have permission to access /git on this server.

I then get this in httpd/error_log

[client my.remote.ip] client denied by server configuration: /usr/share/gitweb,
referer: <a href="https://10.0.0.1/git/">https://10.0.0.1/git/</a>

I think the link in the page should stay as the local IP and not the domain
name.

If I then change

config setprop git gitweb_access_from internet (which is not documented)

I get 
<a href="https://10.0.0.1/git">https://10.0.0.1/git</a>
<a href="https://esmith.mydomain.com/git">https://esmith.mydomain.com/git</a>

"Not Found at..." for both

Nothing in the error logs.

If I try to access the repo from the server-manager panel I get a password
prompt but after entering the correct username and password I get

[error] [client my.remote.ip] File does not exist:
/usr/share/gitweb/CampaignOpportunitiesReport.git, referer:
<a href="https://10.0.0.1/server-manager/cgi-bin/git">https://10.0.0.1/server-manager/cgi-bin/git</a>

I can see that GIT_PROJECT_ROOT is set to in httpd.conf

SetEnv GIT_PROJECT_ROOT /home/e-smith/files/git

But this seems to be overruled somewhere and I can't figure it out !
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are on the CC list for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 25 Jan 10:16 2016

[Bug 9200] Interface traffic graph broken

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9200.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"
Bug ID Summary Classification Product Version Hardware OS Status Severity Priority Component Assignee Reporter QA Contact
9200
Interface traffic graph broken
Contribs
SME Contribs
9.1
---
---
UNCONFIRMED
normal
P3
smeserver-sysmon
tests <at> pialasse.com
mauro.de_carolis <at> chemcharter.com
contribteam <at> lists.contribs.org

System monitor shows no data for the Ethernet Traffic graph. After some checking I believe that this is due to the version of sysstat installed (9.0.4) which reports traffic statistics in kB/s, whereas the old sysstat as installed in SME 8.2 (I believe version 7.0.2) was reporting values in byt/s. Therefore, when parsing the output of /usr/bin/sadf, the sysmon daemon finds no valid values. Affected packages/versions: smeserver-sysmon-6.4-4.el6.sme.noarch sysstat-9.0.4-27.el6.i686 SME version 9.1
You are receiving this mail because:
  • You are the QA Contact for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_UNCONFIRMED " title="UNCONFIRMED - Interface traffic graph broken" href="http://bugs.contribs.org/show_bug.cgi?id=9200">Bug 9200</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><table border="1" cellspacing="0" cellpadding="8">
<tr>Bug ID
          <td>
<a class="bz_bug_link 
          bz_status_UNCONFIRMED " title="UNCONFIRMED - Interface traffic graph broken" href="http://bugs.contribs.org/show_bug.cgi?id=9200">9200</a>
          </td>
        </tr>
<tr>Summary
          <td>Interface traffic graph broken
          </td>
        </tr>
<tr>Classification
          <td>Contribs
          </td>
        </tr>
<tr>Product
          <td>SME Contribs
          </td>
        </tr>
<tr>Version
          <td>9.1
          </td>
        </tr>
<tr>Hardware
          <td>---
          </td>
        </tr>
<tr>OS
          <td>---
          </td>
        </tr>
<tr>Status
          <td>UNCONFIRMED
          </td>
        </tr>
<tr>Severity
          <td>normal
          </td>
        </tr>
<tr>Priority
          <td>P3
          </td>
        </tr>
<tr>Component
          <td>smeserver-sysmon
          </td>
        </tr>
<tr>Assignee
          <td>tests <at> pialasse.com
          </td>
        </tr>
<tr>Reporter
          <td>mauro.de_carolis <at> chemcharter.com
          </td>
        </tr>
<tr>QA Contact
          <td>contribteam <at> lists.contribs.org
          </td>
        </tr>
</table>
<p>
        </p>
<div>
        System monitor shows no data for the Ethernet Traffic graph. 

After some checking I believe that this is due to the version of sysstat
installed (9.0.4) which reports traffic statistics in kB/s, whereas the old
sysstat as installed in SME 8.2 (I believe version 7.0.2) was reporting values
in byt/s.
Therefore, when parsing the output of /usr/bin/sadf, the sysmon daemon finds no
valid values.

Affected packages/versions:
smeserver-sysmon-6.4-4.el6.sme.noarch
sysstat-9.0.4-27.el6.i686
SME version 9.1
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are the QA Contact for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 13 Jan 23:59 2016

[Bug 9185] missing event handlers in fetchmail-routing event

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9185.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 3 on bug 9185 from (In reply to Charlie Brady from comment #2) > (In reply to Stefano Zamboni from comment #0) > > > That's another bug. The conf-masq and restart-masq event handler are > > missing. Not sure what they did, but according to their name, they should be > > replaced with links in the service2adjust dir > > Actually, in templates2expand and services2adjust respectively. Daniel, is > that what you changed? You didn't just remove the broken symlinks, right? Yes, broken symlinks were replaced with templates2expand and services2adjust entries. Except for an unknown "email-assign" event action. I couldn't find any reference to this action script anywhere, and I haven't found something not working regarding email assignment, so I guess it's not needed anymore
You are receiving this mail because:
  • You are the QA Contact for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">Bug 9185</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">bug 9185</a>
              from <span class="vcard"><a class="email" href="mailto:daniel <at> firewall-services.com" title="Daniel B. &lt;daniel <at> firewall-services.com&gt;"> <span class="fn">Daniel B.</span></a>
</span>
        (In reply to Charlie Brady from <a href="show_bug.cgi?id=9185#c2">comment #2</a>)
<span class="quote">&gt; (In reply to Stefano Zamboni from <a href="show_bug.cgi?id=9185#c0">comment #0</a>)
&gt;  
&gt; &gt; That's another bug. The conf-masq and restart-masq event handler are
&gt; &gt; missing. Not sure what they did, but according to their name, they should be
&gt; &gt; replaced with links in the service2adjust dir
&gt; 
&gt; Actually, in templates2expand and services2adjust respectively. Daniel, is
&gt; that what you changed? You didn't just remove the broken symlinks, right?</span>

Yes, broken symlinks were replaced with templates2expand and services2adjust
entries. Except for an unknown "email-assign" event action. I couldn't find any
reference to this action script anywhere, and I haven't found something not
working regarding email assignment, so I guess it's not needed anymore
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are the QA Contact for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 13 Jan 23:55 2016

[Bug 9185] missing event handlers in fetchmail-routing event

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9185.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"

Comment # 2 on bug 9185 from (In reply to Stefano Zamboni from comment #0) > That's another bug. The conf-masq and restart-masq event handler are > missing. Not sure what they did, but according to their name, they should be > replaced with links in the service2adjust dir Actually, in templates2expand and services2adjust respectively. Daniel, is that what you changed? You didn't just remove the broken symlinks, right?
You are receiving this mail because:
  • You are the QA Contact for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">Bug 9185</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><p>
        </p>
<div>
            <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">bug 9185</a>
              from <span class="vcard"><a class="email" href="mailto:charlieb-contribs-bugzilla <at> budge.apana.org.au" title="Charlie Brady &lt;charlieb-contribs-bugzilla <at> budge.apana.org.au&gt;"> <span class="fn">Charlie Brady</span></a>
</span>
        (In reply to Stefano Zamboni from <a href="show_bug.cgi?id=9185#c0">comment #0</a>)

<span class="quote">&gt; That's another bug. The conf-masq and restart-masq event handler are
&gt; missing. Not sure what they did, but according to their name, they should be
&gt; replaced with links in the service2adjust dir</span>

Actually, in templates2expand and services2adjust respectively. Daniel, is that
what you changed? You didn't just remove the broken symlinks, right?
        </div>

      <span>You are receiving this mail because:</span>

      <ul>
<li>You are the QA Contact for the bug.</li>
      </ul>
</div>
bugzilla-daemon | 13 Jan 11:37 2016

[Bug 9185] missing event handlers in fetchmail-routing event

Please DO NOT REPLY to this mail or send email to the developers about this bug.

Please follow-up to Bugzilla via Bug 9185.

Have you checked the Frequently Asked Questions (FAQ)?

Please also take the time to read "How to Report Bugs Effectively"
changed bug 9185
What Removed Added
Version 9.0 9.1

You are receiving this mail because:
  • You are the QA Contact for the bug.
<div>
Please DO NOT REPLY to this mail or send email to the developers about this bug.<br><br>
Please follow-up to Bugzilla via <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">Bug 9185</a>.<br><br>
Have you checked the <a href="http://wiki.contribs.org/SME_Server:Documentation:FAQ">Frequently Asked Questions (FAQ)</a>?<br><br>
Please also take the time to read "<a href="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</a>"<br><span class="vcard"><a class="email" href="mailto:daniel <at> firewall-services.com" title="Daniel B. &lt;daniel <at> firewall-services.com&gt;"> <span class="fn">Daniel B.</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED FIXED - missing event handlers in fetchmail-routing event" href="http://bugs.contribs.org/show_bug.cgi?id=9185">bug 9185</a>
          <br><table border="1" cellspacing="0" cellpadding="8">
<tr>What
            Removed
            Added
          </tr>
<tr>
<td>Version</td>
           <td>9.0
           </td>
           <td>9.1
           </td>
         </tr>
</table>
<p>
      </p>
      <span>You are receiving this mail because:</span>

      <ul>
<li>You are the QA Contact for the bug.</li>
      </ul>
</div>

Gmane