]> git.ipfire.org Git - thirdparty/systemd.git/commit
dbus-socket: fix check of Listen* arguments
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 23 Jun 2021 16:10:57 +0000 (18:10 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jun 2021 12:21:23 +0000 (14:21 +0200)
commitaeecab3804aae973577f36880af4b7799e4eb7d5
treee80dca5d299bc506daaa99bf41bcfe8185bf2688
parenta768492a33716c2a3650725c1a1123ee32a612e8
dbus-socket: fix check of Listen* arguments

We checked the wrong field, which was always NULL here, so we would always
reject the assignment. We would also print the wrong string in the error
message:

$ sudo systemd-run --socket-property ListenFIFO=/tmp/fifo3 cat
Failed to start transient socket unit: Invalid socket path: FIFO
src/core/dbus-socket.c