Bug 1178760

Summary: Ocserv does not listen on IPv4 address when started after network.target
Product: [Fedora] Fedora Reporter: gohai <gottfried.haider>
Component: ocservAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: nmavrogi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ocserv-0.8.9-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 00:00:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gohai 2015-01-05 13:05:51 UTC
On my (virtual) machine ocserv is only listening on IPv6 when started automatically via systemd on startup. This might be because for some reason, the IPv6 address gets assigned before the IPv4 one. sshd, which gets started on the same time, seems to be unaffected, as it's listening on 0.0.0.0.

(Starting ocserv manually after startup works for me, but currently "systemctl enable ocserv" is broken for me.)

Comment 1 Fedora Update System 2015-01-06 10:20:49 UTC
ocserv-0.8.9-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ocserv-0.8.9-2.fc21

Comment 2 Fedora Update System 2015-01-06 10:47:22 UTC
ocserv-0.8.9-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ocserv-0.8.9-2.fc20

Comment 3 gohai 2015-01-06 11:15:32 UTC
I haven't tested the updated package per se, but I can confirm that manually recreating the change (changing network.target to network-online.target) worked for me. Thanks.

Comment 4 Nikos Mavrogiannopoulos 2015-01-06 12:11:37 UTC
Hi, I'd appreciate if you could test the new package because it also moves to 0.8.9.

Comment 5 gohai 2015-01-06 13:33:55 UTC
Manually updated to ocserv-0.8.9-2.fc20, still working. Thanks.

Comment 6 Fedora Update System 2015-01-06 16:34:15 UTC
ocserv-0.8.9-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ocserv-0.8.9-3.fc21

Comment 7 Fedora Update System 2015-01-07 01:25:01 UTC
Package ocserv-0.8.9-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ocserv-0.8.9-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0258/ocserv-0.8.9-2.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-01-07 09:23:12 UTC
ocserv-0.8.9-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ocserv-0.8.9-3.fc20

Comment 9 Fedora Update System 2015-01-15 00:00:03 UTC
ocserv-0.8.9-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-02-01 00:26:08 UTC
ocserv-0.8.9-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.