dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-13 Thread olli hauer
Upgraded a subversion-1.7.18 installation from http-2.2.28 to httpd-2.4.10 and 
running into strange issues.

Two clean builds (jail environment) with apr-1.5.1, apr-util-1.5.3, 
subversion-1.7.18, a) httpd-2.2.28 and b) httpd-2.4.10

No issues on httpd-2.2.28 or by using the svn protocol only via webdav (client 
independ)


Form the http-2.4.10 error log:

[Tue Aug 12 08:46:55.575078 2014] [dav:error] [pid 96427] [client 
1.2.3.5:57266] Unable to PUT new contents for 
/svn/repo_abc/!svn/wrk/d6caf7c8-4701-0010-b3a9-ef26e25e095f/branches/Release_2014_08/file.name.
  [403, #0]

[Tue Aug 12 08:46:55.575126 2014] [dav:error] [pid 96427] [client 
1.2.3.5:57266] Could not prepare to write the file  [500, #200014]

[Tue Aug 12 08:46:55.575137 2014] [dav:error] [pid 96427] [client 
1.2.3.5:57266] Base checksum mismatch on 
'/branches/Release_2014_08/file.name':\n   expected:  
e02e545a6b7d4f347d6e8964db65e51e\n actual:  
108b3c0ab68c457d8da178558187c3f9\n  [500, #200014]

[Tue Aug 12 08:56:26.428469 2014] [dav:error] [pid 96427] [client 
1.2.3.6:50011] Provider encountered an error while streaming a REPORT response. 
 [500, #0]

[Tue Aug 12 08:56:26.428535 2014] [dav:error] [pid 96427] (32)Broken pipe: 
[client 1.2.3.6:50011] Error flushing brigade.  [500, #0]


- switching from http(s)// to svn:// and the issue is no longer present.
- rebuild everything against http-2.2.27 everything is fine again.
- testing the repo with `svnadmin verify' shows no errors.

The issue is also present after a fresh checkout and modify one file, 
regardless the used client (1.7/1.8, native client, tortoise, svnkit, javahl)

Any hint where to start searching for the issue (latest httpd mod_dav changes 
or subversion missing backports)?

-- 
Regards,
olli


Re: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-13 Thread Mark Phippard
On Wed, Aug 13, 2014 at 5:00 PM, olli hauer  wrote:

> Upgraded a subversion-1.7.18 installation from http-2.2.28 to httpd-2.4.10
> and running into strange issues.
>
> Two clean builds (jail environment) with apr-1.5.1, apr-util-1.5.3,
> subversion-1.7.18, a) httpd-2.2.28 and b) httpd-2.4.10
>
> No issues on httpd-2.2.28 or by using the svn protocol only via webdav
> (client independ)



Not to hijack the thread off topic, but I am sure you are aware that httpd
2.2.x and 2.4.x are not binary compatible.  So you will need a different
set of SVN binaries built for each version?  Or, if the APR etc. libs are
all the same, then at least mod_dav_svn would need to be custom built for
each.

Did you consider trying 1.8.x?  I recall there were some 2.4.x fixes made.
 I assume those were backported to 1.7.x but do not remember.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/


Re: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-13 Thread olli hauer
On 2014-08-13 23:06, Mark Phippard wrote:
> On Wed, Aug 13, 2014 at 5:00 PM, olli hauer  wrote:
> 
>> Upgraded a subversion-1.7.18 installation from http-2.2.28 to httpd-2.4.10
>> and running into strange issues.
>>
>> Two clean builds (jail environment) with apr-1.5.1, apr-util-1.5.3,
>> subversion-1.7.18, a) httpd-2.2.28 and b) httpd-2.4.10
>>
>> No issues on httpd-2.2.28 or by using the svn protocol only via webdav
>> (client independ)
> 
> 
> 
> Not to hijack the thread off topic, but I am sure you are aware that httpd
> 2.2.x and 2.4.x are not binary compatible.  So you will need a different
> set of SVN binaries built for each version?  Or, if the APR etc. libs are
> all the same, then at least mod_dav_svn would need to be custom built for
> each.

Sure, therefore I setup two builds, one against a) httpd-2.2.28 and the second
against b) httpd-2.4.10.
Package building is one part of my work ;)
Removing all related packages changing the package repo and reinstall is done
in one minute.

> Did you consider trying 1.8.x?  I recall there were some 2.4.x fixes made.
Yes, but unluckily 1.8 is no option at the moment, also this could be a
potential problem for RHEL7 based systems (they deliver with svn 1.7 and
httpd 2.4)

>  I assume those were backported to 1.7.x but do not remember.
Reading the Changelog it seems so, but i suspect some changes are missing
after the latest changes on the httpd-2.4 dav changes.



Re: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-13 Thread Philip Martin
olli hauer  writes:

>>  I assume those were backported to 1.7.x but do not remember.
> Reading the Changelog it seems so, but i suspect some changes are missing
> after the latest changes on the httpd-2.4 dav changes.

I build/test Subversion 1.7.x branch with Apache 2.4.x branch and
apr[-util] 1.5.x branch and it works here.  I can run the Subversion
regression tests over http:

   make davautocheck APACHE_MPM=worker CLEANUP=1 PARALLEL=1

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*


AW: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-13 Thread Markus Schaber
Hi, Oli,

Von: olli hauer [mailto:oha...@gmx.de]
> On 2014-08-13 23:06, Mark Phippard wrote:
> > Did you consider trying 1.8.x?  I recall there were some 2.4.x fixes made.
> Yes, but unluckily 1.8 is no option at the moment, also this could be a
> potential problem for RHEL7 based systems (they deliver with svn 1.7 and
> httpd 2.4)

Just to rule out a potential misconception: If it only is about the server, you 
can update to self-compiled 1.8 packages, they are fully backwards compatible 
with version 1.7 clients (and even older ones). 


Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.scha...@codesys.com | Web: http://www.codesys.com | CODESYS store: 
http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorised copying, disclosure
or distribution of the material in this e-mail is strictly forbidden.


Re: AW: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-14 Thread Waseem Shahzad
Unsubsidised




Cheers,
Waseem Bukhari | CMer/ALM

"Sent from Samsung Galaxy Note"

 

 

 Original message From: Markus Schaber 
 Date:14/08/2014  11:58  (GMT+05:00) 
To: Subversion  Subject: AW: 
dav issue with subversion-1.7.18 and httpd-2.4.10 
Hi, Oli,

Von: olli hauer [mailto:oha...@gmx.de]
> On 2014-08-13 23:06, Mark Phippard wrote:
> > Did you consider trying 1.8.x?  I recall there were some 2.4.x fixes made.
> Yes, but unluckily 1.8 is no option at the moment, also this could be a
> potential problem for RHEL7 based systems (they deliver with svn 1.7 and
> httpd 2.4)

Just to rule out a potential misconception: If it only is about the server, you 
can update to self-compiled 1.8 packages, they are fully backwards compatible 
with version 1.7 clients (and even older ones). 


Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.scha...@codesys.com | Web: http://www.codesys.com | CODESYS store: 
http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorised copying, disclosure
or distribution of the material in this e-mail is strictly forbidden.


Re: AW: dav issue with subversion-1.7.18 and httpd-2.4.10

2014-08-14 Thread Waseem Shahzad
Unsubscribed




Cheers,
Waseem Bukhari | CMer/ALM

"Sent from Samsung Galaxy Note"

 

 

 Original message From: Waseem Shahzad 
 Date:14/08/2014  13:16  (GMT+05:00) 
To: Markus Schaber ,Subversion 
 Subject: Re: AW: dav issue with 
subversion-1.7.18 and httpd-2.4.10 
Unsubsidised




Cheers,
Waseem Bukhari | CMer/ALM

"Sent from Samsung Galaxy Note"

 

 



 Original message 
From: Markus Schaber
Date:14/08/2014 11:58 (GMT+05:00)
To: Subversion
Subject: AW: dav issue with subversion-1.7.18 and httpd-2.4.10

Hi, Oli,

Von: olli hauer [mailto:oha...@gmx.de]
> On 2014-08-13 23:06, Mark Phippard wrote:
> > Did you consider trying 1.8.x?  I recall there were some 2.4.x fixes made.
> Yes, but unluckily 1.8 is no option at the moment, also this could be a
> potential problem for RHEL7 based systems (they deliver with svn 1.7 and
> httpd 2.4)

Just to rule out a potential misconception: If it only is about the server, you 
can update to self-compiled 1.8 packages, they are fully backwards compatible 
with version 1.7 clients (and even older ones). 


Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.scha...@codesys.com | Web: http://www.codesys.com | CODESYS store: 
http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorised copying, disclosure
or distribution of the material in this e-mail is strictly forbidden.