tmpfiles: Consider ENOPKG as information not available

We already handle the case where /etc/machine-id is empty. Let's make
sure we also handle the case where /etc/machine-id is "uninitialized".
This commit is contained in:
Daan De Meyer 2023-08-04 16:12:35 +02:00
parent bdfa3f3a5c
commit 5dd814d7cd

View file

@ -237,6 +237,7 @@ static inline bool ERRNO_IS_NOINFO(int r) {
return IN_SET(abs(r),
EUNATCH, /* os-release or machine-id missing */
ENOMEDIUM, /* machine-id or another file empty */
ENOPKG, /* machine-id is uninitialized */
ENXIO); /* env var is unset */
}