1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

udev-test: use passwd instead of machine-id for checks

Much more likely to be present
This commit is contained in:
Luca Boccassi 2022-10-25 15:10:05 +01:00
parent b2d896f059
commit f028957745

View File

@ -1980,8 +1980,8 @@ EOF
not_exp_links => ["notthere"],
}],
rules => <<EOF
TEST=="/etc/machine-id", SYMLINK+="there"
TEST!="/etc/machine-id", SYMLINK+="notthere"
TEST=="/etc/passwd", SYMLINK+="there"
TEST!="/etc/passwd", SYMLINK+="notthere"
EOF
},
{