FS#47160 - [systemd] version 228 breaks local port forwarding

Attached to Project: Arch Linux
Opened by Gaetan Bisson (vesath) - Monday, 23 November 2015, 20:34 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 25 November 2015, 20:27 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity High
Priority High
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

After upgrading libsystemd, systemd, and systemd-sysvcompat to version 228-2 from [testing] I am unable to forward local ports:

$ ssh -nNT -L 7722:localhost:22 nymeria.archlinux.org
bind: Cannot assign requested address
channel_setup_fwd_listener_tcpip: cannot listen to port: 7722
Could not request local forwarding.

The same failure happens on any port number, when running as a user or as root, with or without my iptables firewall enabled. I'm using systemd-networkd with a very simple setup: see the attached /etc/systemd/network/any.network file.

All is fine when I downgrade to version 227-1.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 25 November 2015, 20:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 228-3
Comment by Christian Hesse (eworm) - Tuesday, 24 November 2015, 10:25 GMT
I think I had a related problem: After update to system 228-2 dnsmasq could not start within NetworkManager service:

dnsmasq: failed to create listening socket for 127.0.0.1: Cannot assign requested
FAILED to start up

A downgrade to system 227-1 fixed the issue. I did not have the time to look into this.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 24 November 2015, 23:54 GMT
Bisected and reported upstream at: https://github.com/systemd/systemd/issues/2023
Comment by Christian Hesse (eworm) - Wednesday, 25 November 2015, 20:00 GMT

Loading...