Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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


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
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/ 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 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:
Comment by Christian Hesse (eworm) - Wednesday, 25 November 2015, 20:00 GMT