[SRU] FSVS - not able to commit changes to remote HTTP SVN repo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fsvs (Ubuntu) |
Fix Released
|
Undecided
|
Ph. Marek | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Lunar |
Won't Fix
|
Medium
|
Unassigned | ||
Mantic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[ Impact ]
If the user is using fsvs with SVN via http then fsvs is completely unusable as it will fail to commit to SVN.
With the affected versions of fsvs, the user will see the following error message when they try to commit:
An error occurred: The filesystem editor completion process was not followed (160050)
in ci__work: editor->close_edit: Closing editor with directories or files open
And, as a result fsvs fails to commit changes to HTTP SVN repo.
[ Test Plan ]
* login as root and use the following steps:
- apt-get install apache2 libapache2-mod-svn fsvs
- mkdir -p /home/REPO/
- cd /home/REPO/
- svnadmin create test
- find /home/REPO -exec chown www-data:www-data {} \;
- htpasswd -c /home/REPO/
- cat >/etc/apache2/
<Location /svn/>
### SVN ###
DAV svn
</Location>
EOF
- ln -s /etc/apache2/
- systemctl restart apache2.service
- cd /home/ubuntu/
- fsvs urls http://
- fsvs
- fsvs commit -mstart
[ Where problems could occur ]
* The upstream patch is closing the root_baton at the end of the commit which SVN expects fsvs to do. The root_baton is not used after the point where is now being closed so has little chance of regression due to this. Also, it does not change any other code and so user should not see any change in behaviour.
[ Other Info ]
* The problem exists in versions before v1.2.12 and so Noble is fixed. But Focal, Jammy, Lunar and Mantic are still affected.
[ Original Bug Description ]
After upgrading one of my machines to Ubuntu 20.04 fsvs stopped working. I`m not able to commit changes to remote repo provided by libapache2-mod-svn. I`ve tried to reproduce it by installing apache2+mod-svn+svn locally and the result is the same.
SVN client works fine.
||/ Name Version Architecture Description
+++-===
ii fsvs 1.2.7-1build2 amd64 Full system versioning with metadata support
ii subversion 1.13.0-3 amd64 Advanced version control system
Fresh SVN repo, fresh fsvs config and fresh apache2+svn install (all on the same box):
Apache config:
<Location /svn/>
### SVN ###
DAV svn
</Location>
Result (quick and dirty):
root@BOX /home/REPO/
root@BOX /home/REPO/
root@BOX /home/REPO/
root@BOX /home/bummer # fsvs urls http://
root@BOX /home/bummer # fsvs
N... dir apcupsd
N... 2344 apcupsd/
N... 387 apcupsd/offbattery
N... 12656 apcupsd/
N... 377 apcupsd/commfailure
N... 1052 apcupsd/ups-monitor
N... 352 apcupsd/onbattery
N... 617 apcupsd/killpower
N... 13238 apcupsd/
N... 416 apcupsd/commok
N... 662 apcupsd/hosts.conf
N... 4007 apcupsd/apccontrol
N... 388 apcupsd/changeme
.mC. dir .
root@BOX /home/bummer # fsvs commit -mstart
[... user login here ...]
Committing to http://
N... dir apcupsd
N... 2344 apcupsd/
N... 387 apcupsd/offbattery
N... 12656 apcupsd/
N... 377 apcupsd/commfailure
N... 1052 apcupsd/ups-monitor
N... 352 apcupsd/onbattery
N... 617 apcupsd/killpower
N... 13238 apcupsd/
N... 416 apcupsd/commok
N... 662 apcupsd/hosts.conf
N... 4007 apcupsd/apccontrol
N... 388 apcupsd/changeme
An error occurred: The filesystem editor completion process was not followed (160050)
in ci__work: editor->close_edit: Closing editor with directories or files open
root@BOX /home/bummer #
Changed in fsvs (Ubuntu): | |
status: | New → Fix Released |
summary: |
- FSVS - not able to commit changes to remote HTTP SVN repo + [SRU] FSVS - not able to commit changes to remote HTTP SVN repo |
description: | updated |
Changed in fsvs (Ubuntu Focal): | |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Changed in fsvs (Ubuntu Jammy): | |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Changed in fsvs (Ubuntu Lunar): | |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Changed in fsvs (Ubuntu Mantic): | |
status: | In Progress → Confirmed |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Changed in fsvs (Ubuntu Lunar): | |
status: | Opinion → Won't Fix |
Tried fsvs-1.2.9 - same effect. I guess something changed in subversion libraries.