Bug 12668 - Adding a OpenVPN n2n client package generates errors and fails
Summary: Adding a OpenVPN n2n client package generates errors and fails
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: openvpn (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: Will affect all users Major Usability
Assignee: Stefan Schantl
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-03 13:45 UTC by Man Grove
Modified: 2021-12-03 14:08 UTC (History)
7 users (show)

See Also:


Attachments
attachment-163277-0.html (1.81 KB, text/html)
2021-11-03 18:23 UTC, ChrisK
Details
attachment-679946-0.html (1.82 KB, text/html)
2021-11-09 21:38 UTC, ChrisK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Man Grove 2021-08-03 13:45:59 UTC
Since 158, uploading a ZIP package fails with the error

*.conf move failed: No such file or directory

However /var/ipfire/ovpn/n2nconf/<N2NPACKAGENAME> gets created, and the <N2NPACKAGENAME>.conf file is in there.

Subsequent tries to upload the same package generates the error

*.conf move failed: Inappropriate ioctl for device

...which probably has to do with files already existing.

The correct cert is not copied into /var/ipfire/ovpn/certs. That folder had 0700 permissions which I thought was related to other recent permission issues, so I changed them to 0755 and removed the n2nconf directory and repeated the upload, no dice.

/var/ipfire/ovpn/ovpnconfig is not updated with a new line.
Comment 1 Michael Tremer 2021-08-03 14:39:25 UTC
@Stefan, would you like to have a look?
Comment 3 Dragon Slayr 2021-10-05 13:45:38 UTC
Just wondering if any progress has been made on this. Have been waiting to upgrade some servers because of this bug.
Comment 4 Giuseppe C. 2021-10-08 20:19:14 UTC
Hi I confirm same problem on 160.
The error is generated after the move (successful) at line 3398 of ovpnmain.cgi
I'm very limited on cgi script so I have no idea, I only suppose that the result of the move command is differet that previous core build anf triggeer the error

G.
Comment 5 ChrisK 2021-10-14 07:23:49 UTC
+1, this bug currently prevents us from updating, too. Is there a ETA when this will be fixed yet?
Comment 6 Michael Tremer 2021-10-14 15:59:15 UTC
Currently we are very limited in our resources and we have a huge backlog of bugs and other projects that we would like to get through. You can help us with your donation at https://www.ipfire.org/donate.
Comment 7 Stefan Schantl 2021-11-03 18:23:08 UTC
I've sent a fix to the develoment mailing list:

https://patchwork.ipfire.org/project/ipfire/patch/20211103181855.1758-1-stefan.schantl@ipfire.org/

@Arne: A lot of people seems to be affected by this issue and hold back updates or are unable to configure new connections. Could we add this patch as a hot fix to Core update 161?
Comment 8 ChrisK 2021-11-03 18:23:16 UTC
Created attachment 951 [details]
attachment-163277-0.html

Sehr geehrte Damen und Herren,

in der Zeit vom 29.10.2021 bis einschließlich 28.11.2021 bin ich nicht im Hause erreichbar.
Bei Anliegen bezüglich der macio IT-Administration wenden Sie sich bitte an it-support@macio.de, bei allen anderen Themen bitte an meinen Stellvertreter, Herrn Malte Glowinski via malte.glowinski@macio.de.
Bitte beachten Sie, dass die Nachrichten nicht automatisch weitergeleitet werden. Vielen Dank.

Mit freundlichen Grüßen
Christian Keck

Fon: +49 431 67072-0
Fax: +49 431 67072-29
Mail: it-support@macio.de<mailto:it-support@macio.de>

macio GmbH | Kiel
Am Kiel-Kanal 1
D-24106 Kiel
www.macio.de<http://www.macio.de>

macio | software engineering & user interface design
Geschäftsführer: Joern Kowalewski, Alexander Friedel, Sven Schreier
Amtsgericht Kiel, HRB 5832
Comment 9 ChrisK 2021-11-05 07:48:58 UTC
Comment on attachment 951 [details]
attachment-163277-0.html

sorry for the auto-responder. please delete this and the post, thanks.
Comment 10 Adolf Belka 2021-11-09 21:38:49 UTC
Have moved this bug to ON_QA as it has been merged into CU 161 Testing

This has been tested by one of the forum people suffering from the issue and it has been confirmed fixed with the patch in CU 161 Testing

 https://community.ipfire.org/t/158-beta-uploading-openvpn-client-package-results-in-error-message/5839/19
Comment 11 ChrisK 2021-11-09 21:38:59 UTC
Created attachment 952 [details]
attachment-679946-0.html

Sehr geehrte Damen und Herren,

in der Zeit vom 29.10.2021 bis einschließlich 28.11.2021 bin ich nicht im Hause erreichbar.
Bei Anliegen bezüglich der macio IT-Administration wenden Sie sich bitte an it-support@macio.de, bei allen anderen Themen bitte an meinen Stellvertreter, Herrn Malte Glowinski via malte.glowinski@macio.de.
Bitte beachten Sie, dass die Nachrichten nicht automatisch weitergeleitet werden. Vielen Dank.

Mit freundlichen Grüßen
Christian Keck

Fon: +49 431 67072-0
Fax: +49 431 67072-29
Mail: it-support@macio.de<mailto:it-support@macio.de>

macio GmbH | Kiel
Am Kiel-Kanal 1
D-24106 Kiel
www.macio.de<http://www.macio.de>

macio | software engineering & user interface design
Geschäftsführer: Joern Kowalewski, Alexander Friedel, Sven Schreier
Amtsgericht Kiel, HRB 5832
Comment 12 Michael Tremer 2021-11-10 09:00:48 UTC
(In reply to Christian Keck from comment #9)
> sorry for the auto-responder. please delete this and the post, thanks.

No worries. The bugtracker does not allow deleting any messages so that we have a solid track record about how a solution to a problem is reached.
Comment 13 Adolf Belka 2021-12-03 14:08:30 UTC
Core Update 161 with the patch fix has been released.