network: if /sys is rw, then udev should be around
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Dec 2019 10:12:36 +0000 (19:12 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 15 Dec 2019 10:24:50 +0000 (11:24 +0100)
commit96d7083c5499b264ecebd6a30a92e0e8fda14cd5
tree6af0a6265a90cd6843df554de819b52ac721ad9b
parente874419902892d4bc272475b14446fe8385b0e8b
network: if /sys is rw, then udev should be around

This switches detect_container() to path_is_read_only_rw("/sys"), as if
systemd-udevd.service is conditionalized with that way.

This also updates the log message.

(cherry picked from commit bf331d87171b7750d1c72ab0b140a240c0cf32c3)
src/network/networkd-link.c